dec 31 2001, this document is basicaly useless now. i now suggest that you use the HostApMode 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 Prism2Cards as long as they are using infastructure mode. the DebianAp document should work for setting that up.
WARNING: after kernel 2.4.12 these drivers stop functioning. i've also had issues with certain versions of pcmcia-cs. if the latest version of pcmcia-cs is giving you problems, try the next one down from that.
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 were the cheapest cards on pricewatch at the original time of writing, around july 2001 i think).
stuff to download:
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).
Will gives a great demonstration of how to add an external antenna to the D-Link DWL-650 http://kevlar.burdell.org/~will/antenna/
Seattle Wireless has some more pictures that use the same hack described on Will's page.
-- ScottMcClung
[CategoryExample][CategoryDocumentation][CategoryHistorical]