WirelessTroubleshootingGuide - Ubuntu Wiki

Posted by on Jan 17th, 2006
2006
Jan 17

for those of you who are being KILLED trying to set up a wireless adapter in linux, here’s what worked for me..

i am using the D-Link DWL-G520 on some random amd64 box. when i tried connecting to the net on an open system, i had no problems. as soon as i tried connecting using WEP, there were problems galore.. i couldn’t get dhcp to give me an address or anything..

the link about gives a ton of great advice, but the part that fixed the whole problem for me was fixing the auth mode.. i had a feeling that this was the problem as the network utility did not give me any oprions for auth mode.

if you are using WEP-64, you can do this:

iwpriv ath0 authmode 2

then do a:

dhclient ath0

and you should get an address..

if this DOES work, make sure to add it to your /etc/network/interfaces file so it will happen on boot.

pre-up iwpriv ath0 authmode 2

worked for me..

be sure you use the correct interface for your system.. my wireless happens to be ath0… yours might be different..

Leave a Comment




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.