I've done it! I got mad at Ubuntu 6.1 and refused to allow it to beat me. I went to my laptop and decided that I would either get Wireless working on it or Ubuntu 6.1 was leaving this laptop for good. I have spent about 5 hours reading and internet hunting to figure this out. As I read I reliazed that Ubuntu 6.1 did not work with BCM (Broadcom Chip Set) chip set which includes LINKSYS and DELL built-in wireless card. Now I could understand missing a few off brands, but DELL built-ins and Linksys are the two most common out there. Ok, enough of the rant, how did I do it?
I installed a MICROSOFT WINDOWS DRIVER, let me say that again, I used a driver designed for MICROSOFT WINDOWS. In addition I had to downgrade my Ubuntu install to use something called ndiswrapper. This method is not mine, I have just compiled it here from various news groups for your easy use:
HOW TO INSTALL A MOTOROLA WN825G WIRELESS CARD ON UBUNTU 6.1 LINUX
HOW TO READ THIS
1. STEP - Wait until your computer completes each STEP until you go to the next.
2. commands - these will be in red and this is exactly what you type in a TERMINAL window.
3. adding text to text to files - some of these commands open a file in a text editor. What you type will be in blue. After you typed in your text make sure to SAVE the file.
4. programs - that run in the windows envirmont (no command line needed).
--------------------------------------
STEP 0 start a TERMINAL windows (application / Accessories / TERMINAL)
STEP 1 (downgrade) unload the bcm43xx module.
sudo rmmod bcm43xx
STEP 2 add it to modprobe.d's blacklist to ensure that it is never loaded again, even by accident.
sudo gedit /etc/modprobe.d/blacklist
This opens a text editor, at the bottom of the file that is opened type the following then save it
blacklist bcm43xx
STEP 3 install the ndiswrapper-utils package.
sudo apt-get install ndiswrapper-utils
STEP 4 change the ID for your wireless nic to wlan0 from the default eth1.
sudo gedit /etc/iftab
This opens a text editor you change "eth1" to "wlan0" in this file and save it.
STEP 5 restart the network.
sudo /etc/init.d/networking restart
STEP 6 get your MICROSOFT WINDOWS DRIVERS for your wireless card.
Mine is a Motorola WN 825G and was found here
Motorola WN54G Drivers
STEP 7 extract your MICROSOFT WINDOWS DRIVERS and put them someplace you can find again.
I put mine HOME\DOWNLOADS\DRIVERS\WIRELESS
NOTE: if your driver is like mine you will have to extract the file on a MS Windows machine and then copy the files to your linux box or burn them to a CD. I cheated and renamed my WN-WPCI-Web-Update-v1.1.exe file to WIRELESSDRIVER.ZIP then used the Linux Archive Manager to extract it.
In the end you are looking for a file called bcmw15a.inf. I assume other .inf files for other cards will work the same way just change the name.
STEP 8 change to the directory where your .inf file is located.
cd DOWNLOADS
cd DRIVERS
cd WIRELESS
STEP 9 creates the driver wrapper.
sudo ndiswrapper -i bcmwl5a.inf
STEP 10 create the module in /ect/modutils.d.
sudo ndiswrapper -m
Step 11 move the module.
sudo cp /etc/modprobe.d/ndiswrapper /etc/modutils/
Step 12 update the module.
sudo update-modules
STEP 13 restarts your network.
sudo /etc/init.d/networking restart
-------------------------------------------------
Ok that should be it if you do not have WEP enabled. I have WEP enable ...sigh... But I did see that my wireless cards lights were on. I remember what my friend El Gee told me he used to help him, WIFI RADAR. I downloaded and installed WIFI RADAR (add/remove applications) I ran it and it saw my wireless network !!!!
I then disconnected my WIRED Lan line and rebooted becuase I'm a MS Windows person and have to reboot all the time and besides it doesn't hurt anything. After the boot I ran WIFI RADAR and selected my WIRELESS NETWORK (home) and then clicked connect. It told me there was no configuration file for (home) and asked if I'd like to create one. I said YES and was presented with a standard WIRELESS config setup. (SEE Photo) it wanted MODE, CHANNEL, KEY, SECURITY. I set MODE and CHANNEL to AUTO, entered my 26 digit wep KEY, and selected OPEN for SECURITY. There was a small delay and then I was CONNECTED with WEP!!!!
You will notice in the screen shot it says I'm connected in the B mode (11mbs) hmm... this is a G card (54 mbs) ... At least I have wireless on the laptop.
IMPROVING THIS GUIDE
I'm sure there is a command line to configure the WIRELESS card (MODE, CHANNEL, KEY, SECURITY) but I couldn't find it and the WIFI RADAR program has other uses too and is worth getting.
NOTES
1) gets help with the ndiswrapper command
ndiswrapper --help
2) to run WIFI RADAR you have to enter your password like any sudo command.
3) This is not my work. Other people smarter then me figured this out. I just put all the small pieces together in one place in a step by step guide. Some of the steps take a few seconds to complete and will display lots of information in the TERMINAL window. I read it and understood some of it but it did not impact what I did.
3 comments:
I haven not read up on why these are left out but I am thinking has to be legal issues. I sent you a link yesterday...see if that answers your question.
I got the link an read the articles and more. It isn't that the drivers are not freeware, they are, it's that they are not open source. Nvidia drivers are this way and they could be included in the distro but the authors of the distro have an attitude that it has to be open source. Just being freeware is not enough. If they can't have the source code they will not include it.
Until this changes Linux will never become main stream.
I read the articles you linked me too thinking that Ubuntu was going to a PAY model. It's not they are just going to include Nvidia and ATI's closed drivers so that the desktop can keep pace with Vista.
As a Newbie to this it makes me mad to know that this could have been a 100% working out of the box experience except that someone tried to force their morals on me. I understand someone sticking to their principals and I respect that person, but why not offer the choice for the newbie, give him the all working right away version and tell him the problem with closed source freeware and let him decide.
Almost every problem I complained about in this Blog has a freeware solution, but not an open source one.
Post a Comment