Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
# For DHCP - I either use static or DHCP - not both at the same time.
iface eth-wifi inet dhcp
# Then these settings
pre-up ifconfig eth-wifi up
pre-up iwconfig eth-wifi essid MyESSID
Please note, I am on channel 6, and my essid is correct. My static IP is in range. I am also hooked into the (Linksys WRT54G v8) router via ethernet, so I can configure it as I test. For simplicity's sake, I have disabled encryption until I can actually connect.
When I do ifup eth-wifi, it pulls the card up but receives no DHCPOFFERs. When I use static IP, and try to ping 192.168.1.1, it says "destination host unreachable".
ifconfig and iwconfig both show the card up, and as I said, I can see networks with Kismet. Just can't connect. So this leads me to believe that the card is fine, but I'm just doing the networking part wrong.
I have the essid set to the AP I want to connect to
iwconfig eth-wifi essid MyESSID
But then I had to tell it to use any AP (as opposed to the one I want - weird, I know).
iwconfig eth-wifi ap any
I also told it to use managed mode:
iwconfig eth-wifi mode managed
Now when I do
iwlist eth-wifi scan
I only see my AP, and I can pull a dhcp address
For the record, this Hawking card was a real cheapie at CompUSA (I think I got it for around $10 with rebates), so it seems to perform as such. But it looks to be working now. Good luck to those who run across this thread.