DD-WRT and Linux Wireless Issues: A Possible Fix
After installing many different Linux Distributions, I was getting fed up with my wireless not working properly. At first I thought it was just the Broadcom chip, but after switching to an Intel Chip, I was having the same issues as with the Broadcom. Doing massive googling, I was unable to actually narrow down the problem to anything in particular. That is until last week when I found an interesting forum post on Linux Drivers using DD-WRT. This is not widely known, hence the blog post with all the right key words. If you are using DD-WRT and are having Linux Wireless issues, read on!
All credit is due to pigiron given he found all this information out and posted it! I am stoked he did because it led to me figuring out how to fix my problems and finally being able to stick to a Linux Distro! I cannot explain the problem as well as he did, but you can read the details about it here.
The symptoms, namely, after I would put the computer to sleep and then wake it back up, my wireless network would never reconnect it would keep asking for the network key, I would input the right network key and it would just continue to loop never connecting. I had NetworkManager installed by default, so I decided to try Wicd. Wicd was actually worse in that it just showed a weird network name of “\x0b...\x00\x00\x00” etc. This was a weird situation that I could not explain. What it ends up being is that DD-WRT does not obey a Specification and send an extra signal or beacon, which the Linux Wireless Drivers pick up and think is the “Access Point”, which it is not. Windows / Mac so nicely ignoring the extra data sent. But why send it out if it is not apart of the specification? Reading the post above, the basic gist is, “you are screwed, deal with it” from what I gathered, given no one truly responded.
So in light of that I looked for alternatives. What first peaked my mind was Tomato, unfortunately it only works with Broadcom Chipsets. I settled on OpenWRT. The install on my Buffalo router WZR-HP-G300NH was easy using the Wiki / SSH to my router. Did the install and within 15 minutes was back up and running. OpenWRT’s interface may not be as nice as DD-WRT, but after I installed the Wireless Drivers for it and setup QOS / Wireless, it was working. To top it all off...it was working better. The QOS actually works, with DD-WRT, it never seemed to work at all. So all in all, it was totally worth the trade to actually have my Linux Wireless Card Drivers supported and a whole host of extras that are easily installed. Too bad the interface does fall a bit short, but hey, at least it works!
Hopefully this helps you, whether you were having wireless issues on Ubuntu, Debian, ArchLinux, #!CrunchBang, Fedora Core, CentOS, Slackware, etc.
Installing OpenWRT completely solved my issue and I will never go back to a Windows box now as the issue was DD-WRT all this time! So if your wireless seems like it is in an endless loop / keeps asking you for a network key, but never connects, or shows a weird wireless network name like \x0B\x00\x00\x00\x00 and you have DD-WRT, think about trying out OpenWRT if there is a build for your router model!