Code: Select all
DEVICE=ath0 TYPE=Wireless ONBOOT=yes BOOTPROTO=dhcp IWPRIV="mode 0" ESSID=VoidsSecret DHCP_HOSTNAME=voidlinux USERCTL=yes PEERDNS=yes
Another thing is I am not currently using the wireless router as a router (although I did test it as such and it worked fine). I am currently just using it as a bridge. It has 5 ports, 4 are just a 4 port switch on the private side and the other is the public interface that you are supposed to plug into your cable/dsl router. I use my 3 interface Linux box for my firewall/gateway so I just wanted a bridge. I figured I could use the wireless router as a bridge just by plugging one of the regular switch ports into my existing network and leaving the cable/dsl interface empty. Sure enough, it works like a champ. My laptop gets it's DHCP assigned address from my regular DHCP server. It even works in promiscuous mode with Ethereal or other sniffer type utilities (snort etc).
I paid less than $180 total for both devices from amazon.com. Free shipping if you do the slow UPS ground (listed at 5-7 days, but only took 3 in my case). It's funny, just a wireless bridge was close to $300 and I can't figure out why. It's less functional than a wireless router that can do the same thing.
I'll update this if I run into any problems or have any more successes.
Ok, WEP is easy. I set my router to use 128 bit WEP, had it generate a few keys, set it to use the 1st key and took that key and added it to my wireless interface config in Linux so it now looks like:
Code: Select all
DEVICE=ath0 TYPE=Wireless ONBOOT=yes BOOTPROTO=dhcp IWPRIV="mode 0" ESSID=VoidsSecret KEY=NOTREALLYVOIDSKEY123456789 DHCP_HOSTNAME=voidlinux USERCTL=yes PEERDNS=yes