dec 31 2001, this document is basicaly useless now. i now suggest that you use the HostAp prism2 drivers on the server, which will give you the ability to create a real access point, and use orinoco_cs on the client machines (yes it works fine for prism2 cards as long as they are using infastructure mode. the DebianAp document should work for setting that up.
but, if you for some reason really want ad-hoc (laptop lan gaming on mount ashland?) here is some stuff on how i got the D-Link DWL-650 (pcmcia) and DWL-500 (a pci adapter and a 650) working under DebianLinux, in ad-hoc mode. sure, there's no drivers in the kernel for this, which is a shame... but... they are the cheapest wireless hardware you can find on pricewatch ($84 for the pcmcia, and $115 for pcmcia w/ pci adapter).
stuff to download:
[http://www.sem.samsung.com/product/magiclan/download/popup.jsp?code=null&model_code=0001&fileseq=341 samsung binaries]
[http://pcmcia-cs.sourceforge.net pcmcia-cs]
[http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html wireless tools]
kernel source is also nice ftp://ftp.kernel.org (though i suppose you could get the kernel headers for your distro generic kernel, i don't have that though)
- do any kernel stuff you need to (make sure to select wireless lan support) CONFIG_NET_RADIO i belive.
- untar the pcmcia-cs stuff
- untar the samsung tarbal withing the pcmcia-cs dir, make config, make all, make install.
- apt-get install wireless-tools
- if you are using the pci card, all refs i make from this point on to "swld11_cs", need to be "swldpc11_cs".
- edit /etc/pcmcia/config if these lines are not already there, add them. {{{device "swld11_cs"
- class "network" module "swld11_cs"
card "D-Link DWL-650 11 Mbps Wireless Adapter"
- manfid 0x0156, 0x0002 bind "swld11_cs"
card "Intersil PRISM2 11 Mbps Wireless Adapter"
- manfid 0x0156, 0x0002 bind "swld11_cs"
}}}
- edit /etc/pcmcia/config.opts this part is specific to your network, this is for ad-hoc mode, with the essid set to ADHOC_ESSID.
module "swld11_cs" opts "essid=ADHOC_ESSID networkmode=3" network mode=1 is infastructure mode. there are a lot of other options, including WEP, just read the README.swld11_cs file in your pcmcia-cs source directory. i found that the wireless.opts file didn't actually DO anything. which bums me out needless to say, but, oh well.
- now, repeat that on the server, with swldpc11_cs subbed for swld11_cs.
- edit /etc/pcmcia/network.opts for the network information. on my laptop i have this simply set to: {{{case "$ADDRESS" in
- ,*,*,*) PUMP="y" ;;
esac}}}
- and on the server: {{{case "$ADDRESS" in
- ,*,*,*) IPADDR="192.168.4.1" NETMASK="255.255.255.0" NETWORK="192.168.4.0" BROADCAST="192.168.4.255" DOMAIN="truffula.net" DNS_1="192.168.1.1" ;;
esac}}}
setup nat and dhcp, and you're good to go (or of course specify the ip manually).
sorry if this is a bit messy, first time actually creating anything on the wiki.
Will gives a great demonstration of how to add an external antenna to the D-Link DWL-650 http://kevlar.burdell.org/~will/antenna/
[http://www.seattlewireless.net/index.cgi/DlinkCardComments Seattle Wireless] has some more pictures that use the same hack described on Will's page.
-- ScottMcClung