Home  |  About  | Last |  Submit  |  Contact
AllQuests.com



Previous Question:  Would program help accessibility  Assistive Technology AccessibilityNext Question:  playing video  Gutsy Gibbon Idea Pool CLOSED
Question How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper ( Ubuntu Forums Tutorials Tips )
Updated: 2008-05-11 07:52:22 (287)
How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

This How-To describes how to get WiFi working with the Broadcom 1390 WLAN offered in many Dell and HP laptops using ndiswrapper. Many of us use ndiswrapper as an alternative to the native drivers (b43), as we feel the native drivers have not quite reached a point where they compare with ndiswrapper, usually this relates to only being able to use 802.11b connections (11Mbps) as opposed to 802.11g (54Mbps).

The how-to has been tested and found to work on both AMD64 and i386 installs of Ubuntu Hardy Heron.

NOTICE: There is no 'linux-ubuntu-modules' meta-package that can be used to install new versions of this package whenever a kernel update is pushed through. Therefore, everytime you install a new kernel, make sure to also install the corresponding linux-ubuntu-modules package, for example:
Code:
sudo apt-get install linux-ubuntu-modules-2.6.24-19-generic


THIS HOW-TO IS FOR UBUNTU HARDY HERON (8.04) ONLY. The How-To is loosely based on Paperdiesel's How-To for earlier versions of Ubuntu which can be found here. If you are not running Hardy, then this How-To will not work. You should refer to paperdiesel's How-To.

DISCLAIMER It's important to note that many people struggle to get wireless working simply because they have unsuccessfully tried a variety of methods and left their system in a shambles. If you've been playing around with alternative methods there's a good chance you won't be able to get this to work until you reverse any previous changes you may have made. It's perhaps best to come straight to this How-To after a fresh install.

To check that you have the same card that this how-to is written for, run the following command:
Code:
lspci -nn | grep 14e4
and you should see something similar to the following:
Code:
05:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 01)
The section in bold is the important part. If that part doesn't match then you will need a different driver to use with ndiswrapper. The how-to should still be valid however! If you don't have the same WiFi card, have a look at the list of supported cards here, and it should point you in the right direction for a driver to use.

STEP 1: OBTAINING THE REQUIRED PACKAGES
Thankfully, Hardy includes a new enough version of ndiswrapper to remove the need for installing it from source. This saves a lot of trouble during the install process.

For the install process I find it best to create a separate working directory to get all this done in. You can use whatever directory you'd like so long as you're consistent, if you're unsure copy the way I've done it.

Most of the work from here on will be done from the command-line, so open up a terminal (Applications > Accessories > Terminal), and use it to create your working directory:
Code:
mkdir wireless-install
cd wireless-install
First we need to obtain the correct XP driver (Vista drivers WILL NOT WORK with ndiswrapper) for this chipset, and also install some extra packages. This is easy if you have access to the internet (via a wired connection or otherwise):
Code:
wget http://ftp.us.dell.com/network/R151519.EXE
NOTE: If lspci above showed that you had a different chipset, this driver won't work. You're welcome to try using a different driver, however ndiswrapper is a temperamental thing, so I can't guarantee it will work with just any driver. A google search for the number relating to your card, ie. 14e4:4315 or 14e4:4318, and ndiswrapper should return a driver you can use quite quickly.

Next install ndiswrapper. The latest version is available from the Hardy repositories which is a rather nice change for those of us who are used to the need to recompile ndiswrapper on every kernel change! Although, on that note, the most recent kernel update didn't install the modules that were needed alongside it, so I'll include the installation here.
Code:
sudo apt-get update
sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9
sudo apt-get install linux-ubuntu-modules-$(uname -r)
If you have no internet access on your Ubuntu machine then you'll need to get the appropriate driver from here and copy it to your working directory (~/wireless-install). The packages can be installed from your trusty Hardy LiveCD (a Gutsy, or any other, LiveCD WILL NOT WORK):
Code:
sudo mount /dev/cdrom /cdrom
sudo apt-cdrom add -m
sudo apt-get update
sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9 linux-ubuntu-modules-$(uname -r)

STEP 2: PREVENTING THE NATIVE MODULES FROM INTERFERING WITH NDISWRAPPER

NOTE FOR ANYONE WHO IS NOT USING A FRESH INSTALL
If you used ndiswrapper in Gutsy and upgraded directly to Hardy (or tried another method before coming here), odds are good that you'll have a line in the /etc/modules file that loads ndiswrapper, in order for this part of the how-to to work you'll need to remove that line:
Code:
gksudo gedit /etc/modules
#if under KDE, replace gksudo with kdesudo and gedit with kedit
And delete any line(s) that contain "ndiswrappe 1f40 r"
END NOTE

This process is not quite as simple as it has been in the past due to the different native modules and how they interact with each other. So firstly we're going to blacklist a few things by adding them to the /etc/modprobe.d/blacklist file:
Code:
echo blacklist b43 | sudo tee -a /etc/modprobe.d/blacklist
echo blacklist b43legacy | sudo tee -a /etc/modprobe.d/blacklist
NOTE: You can do this with a text editor, using "gksudo gedit /etc/modprobe.d/blacklist" for example. I like the fancy way because it means you can copy and paste just one command and removes the chance of typos.

We also need to add a bootscript to load a couple of modules in an order that suits us. The reason being that the ssb module takes control of our card, thus preventing ndiswrapper from controlling it, however ssb is required by the b44 driver, which handles wired broadcom cards, so we can't just blacklist it. If you would like (and know how to), you can easily use a new script to do this, however the easiest way I find is to add it to /etc/rc.local. To do this we need to edit the file:
Code:
gksudo gedit /etc/rc.local
#if under KDE, replace gksudo with kdesudo and gedit with kedit
Feel free to replace gedit with the text editor of your choice (kate, mousepad, emacs, nano, vi, bluefish, etc), then add the following to lines to the end of the script, just before the "exit 0":
Code:
modprobe -r b44
modprobe -r ssb
modprobe ndiswrapper
modprobe b44
To give you an idea, my /etc/rc.local now looks like this:
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

## Loading ndiswrapper and b44 in correct order
modprobe -r b44
modprobe -r ssb
modprobe ndiswrapper
modprobe b44

exit 0

STEP 3: INSTALLING THE DRIVER WITH NDISWRAPPER

Now we're going to use the driver we downloaded from the Dell website (note that it doesn't matter if your laptop is not a Dell, this driver should still work if you have the same chipset) to give ndiswrapper all it needs to access our card:
Code:
cd ~/wireless-install/
unzip -a R151519.EXE -d R151519/
cd R151519/DRIVER/
sudo ndiswrapper -i bcmwl5.inf
NOTE: Make sure you use the right case, in Linux driver and Driver very different to DRIVER.
NOTE II: For those of you who have funky fonts in the forum, the driver is a lower caps BCMWL5.inf. Some confusion has occurred as to whether the "L" is a "1" or an "I", hopefully that clarifies!

And that's it! You should be just a reboot away from having a working wireless card:
Code:
sudo shutdown -r now
If you'd like to verify it's working properly without the need for a reboot, try the following series of commands. If your laptop has a wifi-light it should light up after you "modprobe ndiswrapper".
Code:
sudo rmmod b43 b44 ssb
sudo modprobe ndiswrapper
sudo modprobe b44
NOTE: This is essentially what the script we added to /etc/rc.local does, only that script doesn't need to remove the b43 module as it is blacklisted and should not be loaded to start with.


CLEANING UP

Once you're happy everything is working well, you can safely remove the working directory:
Code:
rm -r ~/wireless-install
Or you could keep it on hand for future reference!


TROUBLESHOOTING
If you have any trouble with the How-To or it doesn't work as expected please post in the thread. I check the thread quite often and I'm always happy to help. It's also possible there's something I've missed which I can then incorporate into the How-To for everyone else to benefit from. If you're posting seeking help, please include the outputs of the following commands:
Code:
lspci -nn | grep 14e4
ndiswrapper -l
ndiswrapper -v
lsmod | grep b43
lsmod | grep ndiswrapper
ls -l /etc/rc.local
cat /etc/rc.local
lshw -C network
as well as anything else you think is relevant. Please include long code outputs in [code] tags (the # button in the advanced edit view) so they're easier to read.


UNINSTALLING

If for some reason you'd like to remove everything that this how-to has done, it's rather simple:
Undo the file changes we made:
Code:
gksudo gedit /etc/modprobe.d/blacklist
# Remove the line we added: "blacklist b43"
gksudo gedit /etc/rc.local
# Remove the four modprobe lines we added
Remove the driver we told ndiswrapper to use:
Code:
sudo modprobe -r ndiswrapper
sudo ndiswrapper -e bcmwl5
Remove ndiswrapper:
Code:
sudo apt-get remove ndiswrapper-common ndiswrapper-utils


Changelog:
21/04/08: Made minor clarifications to layout
22/04/08: Added Troubleshooting section
26/04/08: Added redundancy for users with no broadcom wired card
26/04/08: Added note for Gutsy upgraders
01/05/08: Added blacklist for b43legacy
10/05/08: Fixed old link
11/05/08: Added link to NDISwrapper wiki (list of supported cards)
04/06/08: Added extra package to install
08/07/08: Updated troubleshooting
24/07/08: Added redundancy for KDE users

Answers: How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper ( Ubuntu Forums Tutorials Tips )
How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by raj83168
Now i get this new error!



here are some details i have:



Help help!

RAj
Quote:
Originally Posted by mpgarate
Same here.
It appears as though you don't have the ndiswrapper-utils-1.9 package installed, try
Code:
sudo aptitude install ndiswrapper-utils-1.9

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by RiseAgainst540
Works like a charm on my e1505. Only question, will it auto detect every time I boot up?
That's what the commands the how-to adds to /etc/rc.local are all about, those are the commands you need to use to add the ndiswrapper module and get your wireless rolling, so that runs them at startup!

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by davidefergnani
i`ve checked on my bios but there is nothing about my wireless card,i cant get this fixed. What else could be?
After you run the commands to add ndiswrapper to the kernel:
Code:
sudo rmmod b44 ssb
sudo modprobe ndiswrapper
Does
Code:
iwlist scan
report a wlan0 interface? So run those three commands and post the output here.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

worked like a charm on acer aspire 5104 (which has the same chipset)

now i'm typing this over a wireless network,

thanks soo much

SoulSmasher

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

I'm getting this error code while running this command, and can't make heads or tails of it

tom@PCNO1Linux:~/wireless-install$ sudo rmmod b43 b44 ssb
ERROR: Module b43 does not exist in /proc/modules
ERROR: Module b44 does not exist in /proc/modules
ERROR: Module ssb does not exist in /proc/modules

I've followed the guide, with every detail, and still my Wifi light remains orange, for off.

Any idea's ?

I'm on a HPG6030EA with a rev 02 of the WIFI card

0004tom

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by 0004tom
I'm getting this error code while running this command, and can't make heads or tails of it

tom@PCNO1Linux:~/wireless-install$ sudo rmmod b43 b44 ssb
ERROR: Module b43 does not exist in /proc/modules
ERROR: Module b44 does not exist in /proc/modules
ERROR: Module ssb does not exist in /proc/modules

I've followed the guide, with every detail, and still my Wifi light remains orange, for off.

Any idea's ?

I'm on a HPG6030EA with a rev 02 of the WIFI card
That output is ok, just means that when you're trying to remove the modules, they're not added anyway so it can't remove them. What happens when you run
Code:
sudo modprobe ndiswrapper

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

I want to try this on my HP Compaq Lappy which has the same specs as mentioned. If I upgrade my system rather than do a new install is anything different? Also when I upgrade I will lose my wireless connection. Any further advice would be very much appreciated. Thanks.

adam15c

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

EDIT: Everything works. I just forgot to turn on my wireless xD Thanks jw5801!

cta16

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by fishfillet
There could be a thousand ways on how to skin a cat.

Mine works with this how-to: http://tek4dpipol.blogspot.com/2008/...novo-g400.html

Only that I used the .inf supplied with the driver CD given to me and I only rebooted after the last step.

And oh, I am using a Lenovo 3000 g400.
Not really, that's exactly the same thing as this How-To :P

The only differences are:
They created a new file to run the commands at startup (adds another step required to cause this file to be run) and they included "modprobe -r ndiswrapper" in the start-up script, which is completely unnecessary as ndiswrapper should not be loaded prior to then anyway. And,
They unload b43 in their start-up script instead of preventing it from loading at all (the more efficient and graceful option).

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
My first suggestion would be to try an alternate network manager like wicd or wifi-radar. Otherwise you could try something like "sudo /etc/init.d/networking restart" But I'm reasonably sure all that does is take down your interfaces and bring them back up again. You could also try killing nm-applet and starting it again.
wifi-rader performs the same way, and restarting nm-applet doesnt do it either. It acts really strange. I will try the network restart next time I need wifi. Any thoughts on what could be causing this?

mpgarate

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by mpgarate
wifi-rader performs the same way, and restarting nm-applet doesnt do it either. It acts really strange. I will try the network restart next time I need wifi. Any thoughts on what could be causing this?
How strong is the signal at your laptop? The problems you're seeing are fairly symptomatic of a weak signal.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

very strong. its my router, and this happens whether im sitting directly next to it or just upstairs.

mpgarate

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

For anyone else who installs the most recent kernel update through the repositories, if you reboot and find yourself without wireless you may need to manually install the package containing the ndiswrapper module, to do that run:
Code:
sudo apt-get install linux-ubuntu-modules-$(uname -r)
$(uname -r) will expand out into the name of your kernel, for example 2.6.24-18-generic.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

I followed the steps of the howto to get the wireless card of my Dell laptop working.

Model: Dell inspiron e1405
OS: Ubuntu 8.04

After executing "sudo modprobe ndiswrapper" it gave the following error

FATAL: Could not open '/lib/modules/2.6.24-18-generic/misc/ndiswrapper.ko': No such file or directory

Also my wired internet stopped working. The output of "lspci -nn | grep 14e4" is

02:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
0c:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 01)

So i uninstalled ndiswrapper and others following the steps in howto. After reboot the wired internet is working. Can anyone please help how to proceed?

dilipmannil

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by dilipmannil
I followed the steps of the howto to get the wireless card of my Dell laptop working.

Model: Dell inspiron e1405
OS: Ubuntu 8.04

After executing "sudo modprobe ndiswrapper" it gave the following error

FATAL: Could not open '/lib/modules/2.6.24-18-generic/misc/ndiswrapper.ko': No such file or directory

Also my wired internet stopped working. The output of "lspci -nn | grep 14e4" is

02:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
0c:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 01)

So i uninstalled ndiswrapper and others following the steps in howto. After reboot the wired internet is working. Can anyone please help how to proceed?
Code:
sudo apt-get install linux-ubuntu-modules-2.6.24-18-generic
For some reason not listed as a dependency for the new kernel when it really should be.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Running "sudo apt-get install linux-ubuntu-modules-2.6.24-18-generic" instead of "sudo apt-get install linux-ubuntu-modules-$(uname -r)" didn't work. After reboot wired broadcomm card stopped working.

Also,
After executing "sudo modprobe ndiswrapper" it gave the same error

FATAL: Could not open '/lib/modules/2.6.24-18-generic/misc/ndiswrapper.ko': No such file or directory

Following are the command outputs,
#lspci -nn | grep 14e4
02:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
0c:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 01)

#ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: bcm43xx)



#lsmod | grep b43 (This command didn't give any output!!!!!)

#lsmod | grep ndiswrapper (This command also didn't give any output!!!!)

# ls -l /etc/rc.local
-rwxr-xr-x 1 root root 421 2008-06-08 20:23 /etc/rc.local

The strange thing is that the wired card stops working after reboot(sudo shutdown -r now). Then I followed the uninstalling steps in howto to get the wired internet working.

dilipmannil

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by dilipmannil
Running "sudo apt-get install linux-ubuntu-modules-2.6.24-18-generic" instead of "sudo apt-get install linux-ubuntu-modules-$(uname -r)" didn't work. After reboot wired broadcomm card stopped working.

Also,
After executing "sudo modprobe ndiswrapper" it gave the same error

FATAL: Could not open '/lib/modules/2.6.24-18-generic/misc/ndiswrapper.ko': No such file or directory

Following are the command outputs,
#lspci -nn | grep 14e4
02:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
0c:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 01)

#ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: bcm43xx)



#lsmod | grep b43 (This command didn't give any output!!!!!)

#lsmod | grep ndiswrapper (This command also didn't give any output!!!!)

# ls -l /etc/rc.local
-rwxr-xr-x 1 root root 421 2008-06-08 20:23 /etc/rc.local

The strange thing is that the wired card stops working after reboot(sudo shutdown -r now). Then I followed the uninstalling steps in howto to get the wired internet working.
Code:
sudo modprobe b44
is all that's required to bring you wired interface back up. If it doesn't then something has gone seriously wrong somewhere before this how-to.

The issue with your Wireless driver is that the module should be located at /lib/modules/2.6.24-18-generic/ubuntu/misc/ndiswrapper/ndiswrapper.ko, rather than the location your install is searching. Try running
Code:
sudo depmod
Then trying again.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

I know I missed the '-a' in the command, but it doesn't really matter, tried it again:

osiris@osiris-laptop:~/wireless-install$ unzip -a SP33008.EXE -d SP33008/
Archive: SP33008.EXE
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: SP33008.EXE may be a plain executable, not an archive
unzip: cannot find zipfile directory in one of SP33008.EXE or
SP33008.EXE.zip, and cannot find SP33008.EXE.ZIP, period.

bardu0708

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
This How-To describes how to get WiFi working with the Broadcom 1390 WLAN offered in many Dell and HP laptops using ndiswrapper. Many of us use ndiswrapper as an alternative to the native drivers (b43), as we feel the native drivers have not quite reached a point where they compare with ndiswrapper, usually this relates to only being able to use 802.11b connections (11Mbps) as opposed to 802.11g (54Mbps).

The how-to has been tested and found to work on both AMD64 and i386 installs of Ubuntu Hardy Heron.

THIS HOW-TO IS FOR UBUNTU HARDY HERON (8.04) ONLY. The How-To is loosely based on Paperdiesel's How-To for earlier versions of Ubuntu which can be found here. If you are not running Hardy, then this How-To will not work. You should refer to paperdiesel's How-To.

DISCLAIMER It's important to note that many people struggle to get wireless working simply because they have unsuccessfully tried a variety of methods and left their system in a shambles. If you've been playing around with alternative methods there's a good chance you won't be able to get this to work until you reverse any previous changes you may have made. It's perhaps best to come straight to this How-To after a fresh install.

To check that you have the same card that this how-to is written for, run the following command:
Code:
lspci -nn | grep 14e4
and you should see something similar to the following:
Code:
05:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 01)
The section in bold is the important part. If that part doesn't match then you will need a different driver to use with ndiswrapper. The how-to should still be valid however! If you don't have the same WiFi card, have a look at the list of supported cards here, and it should point you in the right direction for a driver to use.

STEP 1: OBTAINING THE REQUIRED PACKAGES
Thankfully, Hardy includes a new enough version of ndiswrapper to remove the need for installing it from source. This saves a lot of trouble during the install process.

For the install process I find it best to create a separate working directory to get all this done in. You can use whatever directory you'd like so long as you're consistent, if you're unsure copy the way I've done it.

Most of the work from here on will be done from the command-line, so open up a terminal (Applications > Accessories > Terminal), and use it to create your working directory:
Code:
mkdir wireless-install
cd wireless-install
First we need to obtain the correct XP driver (Vista drivers WILL NOT WORK with ndiswrapper) for this chipset, and also install some extra packages. This is easy if you have access to the internet (via a wired connection or otherwise):
Code:
wget http://ftp.us.dell.com/network/R151519.EXE
NOTE: If lspci above showed that you had a different chipset, this driver won't work. You're welcome to try using a different driver, however ndiswrapper is a temperamental thing, so I can't guarantee it will work with just any driver. A google search for the number relating to your card, ie. 14e4:4315 or 14e4:4318, and ndiswrapper should return a driver you can use quite quickly.

Next install ndiswrapper. The latest version is available from the Hardy repositories which is a rather nice change for those of us who are used to the need to recompile ndiswrapper on every kernel change!
Code:
sudo apt-get update
sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9
If you have no internet access on your Ubuntu machine then you'll need to get the appropriate driver from here and copy it to your working directory (~/wireless-install). The packages can be installed from your trusty Hardy LiveCD (a Gutsy, or any other, LiveCD WILL NOT WORK):
Code:
sudo mount /dev/cdrom /cdrom
sudo apt-cdrom add -m
sudo apt-get update
sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9

STEP 2: PREVENTING THE NATIVE MODULES FROM INTERFERING WITH NDISWRAPPER

NOTE FOR ANYONE WHO IS NOT USING A FRESH INSTALL
If you used ndiswrapper in Gutsy and upgraded directly to Hardy (or tried another method before coming here), odds are good that you'll have a line in the /etc/modules file that loads ndiswrapper, in order for this part of the how-to to work you'll need to remove that line:
Code:
gksudo gedit /etc/modules
And delete any line(s) that contain "ndiswrapper"
END NOTE

This process is not quite as simple as it has been in the past due to the different native modules and how they interact with each other. So firstly we're going to blacklist a few things by adding them to the /etc/modprobe.d/blacklist file:
Code:
echo blacklist b43 | sudo tee -a /etc/modprobe.d/blacklist
echo blacklist b43legacy | sudo tee -a /etc/modprobe.d/blacklist
NOTE: You can do this with a text editor, using "gksudo gedit /etc/modprobe.d/blacklist" for example. I like the fancy way because it means you can copy and paste just one command and removes the chance of typos.

We also need to add a bootscript to load a couple of modules in an order that suits us. The reason being that the ssb module takes control of our card, thus preventing ndiswrapper from controlling it, however ssb is required by the b44 driver, which handles wired broadcom cards, so we can't just blacklist it. If you would like (and know how to), you can easily use a new script to do this, however the easiest way I find is to add it to /etc/rc.local. To do this we need to edit the file:
Code:
gksudo gedit /etc/rc.local
Feel free to replace gedit with the text editor of your choice (kate, mousepad, emacs, nano, vi, bluefish, etc), then add the following to lines to the end of the script, just before the "exit 0":
Code:
modprobe -r b44
modprobe -r ssb
modprobe ndiswrapper
modprobe b44
To give you an idea, my /etc/rc.local now looks like this:
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

## Loading ndiswrapper and b44 in correct order
modprobe -r b44
modprobe -r ssb
modprobe ndiswrapper
modprobe b44

exit 0

STEP 3: INSTALLING THE DRIVER WITH NDISWRAPPER

Now we're going to use the driver we downloaded from the Dell website (note that it doesn't matter if your laptop is not a Dell, this driver should still work if you have the same chipset) to give ndiswrapper all it needs to access our card:
Code:
cd ~/wireless-install/
unzip -a R151519.EXE -d R151519/
cd R151519/DRIVER/
sudo ndiswrapper -i bcmwl5.inf
NOTE: Make sure you use the right case, in Linux driver and Driver very different to DRIVER.
NOTE II: For those of you who have funky fonts in the forum, the driver is a lower caps BCMWL5.inf. Some confusion has occurred as to whether the "L" is a "1" or an "I", hopefully that clarifies!

And that's it! You should be just a reboot away from having a working wireless card:
Code:
sudo shutdown -r now
If you'd like to verify it's working properly without the need for a reboot, try the following series of commands. If your laptop has a wifi-light it should light up after you "modprobe ndiswrapper".
Code:
sudo rmmod b43 b44 ssb
sudo modprobe ndiswrapper
sudo modprobe b44
NOTE: This is essentially what the script we added to /etc/rc.local does, only that script doesn't need to remove the b43 module as it is blacklisted and should not be loaded to start with.


CLEANING UP

Once you're happy everything is working well, you can safely remove the working directory:
Code:
rm -r ~/wireless-install
Or you could keep it on hand for future reference!


TROUBLESHOOTING
If you have any trouble with the How-To or it doesn't work as expected please post in the thread. I check the thread quite often and I'm always happy to help. It's also possible there's something I've missed which I can then incorporate into the How-To for everyone else to benefit from. If you're posting seeking help, please include the outputs of the following commands:
Code:
lspci -nn | grep 14e4
ndiswrapper -l
lsmod | grep b43
lsmod | grep ndiswrapper
ls -l /etc/rc.local
as well as anything else you think is relevant. Please include long code outputs in [code] tags (the # button in the advanced edit view) so they're easier to read.


UNINSTALLING

If for some reason you'd like to remove everything that this how-to has done, it's rather simple:
Undo the file changes we made:
Code:
gksudo gedit /etc/modprobe.d/blacklist
# Remove the line we added: "blacklist b43"
gksudo gedit /etc/rc.local
# Remove the four modprobe lines we added
Remove the driver we told ndiswrapper to use:
Code:
sudo modprobe -r ndiswrapper
sudo ndiswrapper -e bcmwl5
Remove ndiswrapper:
Code:
sudo apt-get remove ndiswrapper-common ndiswrapper-utils


Changelog:
21/04/08: Made minor clarifications to layout
22/04/08: Added Troubleshooting section
26/04/08: Added redundancy for users with no broadcom wired card
26/04/08: Added note for Gutsy upgraders
01/05/08: Added blacklist for b43legacy
10/05/08: Fixed old link
11/05/08: Added link to NDISwrapper wiki (list of supported cards).

These are my reports for trying the steps you've said but got nothing no light zilch.I run dell vostro 1000 with ubuntu 8.04

steve@steve-laptop:~$ lspci -nn | grep 14e4
05:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 01)
08:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
steve@steve-laptop:~$ ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: ssb)
steve@steve-laptop:~$ lsmod | grep b43
steve@steve-laptop:~$ lsmod | grep ndiswrapper
ndiswrapper 193564 0
usbcore 146028 4 ndiswrapper,ehci_hcd,ohci_hcd
steve@steve-laptop:~$ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 372 2008-05-11 20:08 /etc/rc.local
steve@steve-laptop:~$

Can you suggest anything?

Thanks Steve

srdempster

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by bardu0708
Thanks a lot for your help,

But now I get the following problem:
osiris@osiris-laptop:~/wireless-install$ unzip SP33008.EXE -d SP33008/
Archive: SP33008.EXE
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: SP33008.EXE may be a plain executable, not an archive
unzip: cannot find zipfile directory in one of SP33008.EXE or
SP33008.EXE.zip, and cannot find SP33008.EXE.ZIP, period.

(It's a driver I found at the site you gave me)
Ah, sorry. I should have checked that shouldn't I? You'll need to use cabextract rather than unzip:
Code:
 cabextract SP33008.EXE -d SP33008/

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by srdempster
These are my reports for trying the steps you've said but got nothing no light zilch.I run dell vostro 1000 with ubuntu 8.04

steve@steve-laptop:~$ lspci -nn | grep 14e4
05:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 01)
08:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
steve@steve-laptop:~$ ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: ssb)
steve@steve-laptop:~$ lsmod | grep b43
steve@steve-laptop:~$ lsmod | grep ndiswrapper
ndiswrapper 193564 0
usbcore 146028 4 ndiswrapper,ehci_hcd,ohci_hcd
steve@steve-laptop:~$ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 372 2008-05-11 20:08 /etc/rc.local
steve@steve-laptop:~$

Can you suggest anything?

Thanks Steve
Well everything looks to be ok, what happens when you run the commands at the end:
Code:
sudo rmmod b43 b44 ssb ndiswrapper
sudo modprobe ndiswrapper
dmesg | tail -n30
sudo modprobe b44
Copy and paste the whole lot up to here.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
Well everything looks to be ok, what happens when you run the commands at the end:
Code:
sudo rmmod b43 b44 ssb ndiswrapper
sudo modprobe ndiswrapper
dmesg | tail -n30
sudo modprobe b44
Copy and paste the whole lot up to here.
steve@steve-laptop:~$ rmmod b43 b44 ssb ndiswrapper
ERROR: Module b43 does not exist in /proc/modules
ERROR: Removing 'b44': Operation not permitted
ERROR: Module ssb is in use by b44
ERROR: Removing 'ndiswrapper': Operation not permitted
steve@steve-laptop:~$ sudo rmmod b43 b44 ssb ndiswrapper
ERROR: Module b43 does not exist in /proc/modules
steve@steve-laptop:~$ sudo modprobe ndiswrapper
steve@steve-laptop:~$ dmesg | tail -n30
[ 914.680278] PCI: Setting latency timer of device 0000:05:00.0 to 64
[ 914.685314] ndiswrapper: using IRQ 19
[ 915.051633] wlan0: ethernet device 00:1d:d9:36:1b:c2 using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4311.5.conf
[ 915.053311] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[ 915.076410] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 915.077878] usbcore: registered new interface driver ndiswrapper
[ 922.361729] ACPI: PCI Interrupt 0000:08:00.0[A] -> GSI 21 (level, low) -> IRQ 21
[ 922.388553] ssb: Sonics Silicon Backplane found on PCI device 0000:08:00.0
[ 922.388581] b44.c:v2.0
[ 922.398357] eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:1c:23:a0:8d:42
[ 922.552085] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 925.804546] b44: eth0: Link is up at 100 Mbps, full duplex.
[ 925.804551] b44: eth0: Flow control is off for TX and off for RX.
[ 925.805279] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 946.162050] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 956.811485] wlan0: no IPv6 routers present
[ 1018.012393] eth0: no IPv6 routers present
[ 1077.898620] ACPI: PCI interrupt for device 0000:08:00.0 disabled
[ 1077.967087] ndiswrapper: device wlan0 removed
[ 1077.967106] ACPI: PCI interrupt for device 0000:05:00.0 disabled
[ 1077.967223] usbcore: deregistering interface driver ndiswrapper
[ 1089.923910] ndiswrapper version 1.52 loaded (smp=yes, preempt=rt)
[ 1089.938700] ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
[ 1089.939828] ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> IRQ 19
[ 1089.939872] PCI: Setting latency timer of device 0000:05:00.0 to 64
[ 1089.945151] ndiswrapper: using IRQ 19
[ 1090.315393] wlan0: ethernet device 00:1d:d9:36:1b:c2 using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4311.5.conf
[ 1090.317073] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[ 1090.340573] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1090.342219] usbcore: registered new interface driver ndiswrapper
steve@steve-laptop:~$ sudo modprobe b44

Now the funny thing was it did start to work at 54mbs then it now has stopped so I followed it all again and still nowt.It just shows the circling icon and shows waiting for wireless key but nowt.Rebooted router and still nowt, so if this reboot fails might try and re-enter network key in router.

Ta Steve

p.s. It connects if I amend the wireless profile from roaming to manual and then back again!!Every time it connects it keeps asking for the key as if it forgets it too if that helps!

srdempster

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by srdempster
Code:
steve@steve-laptop:~$ rmmod b43 b44 ssb ndiswrapper
ERROR: Module b43 does not exist in /proc/modules
ERROR: Removing 'b44': Operation not permitted
ERROR: Module ssb is in use by b44
ERROR: Removing 'ndiswrapper': Operation not permitted
steve@steve-laptop:~$ sudo rmmod b43 b44 ssb ndiswrapper
ERROR: Module b43 does not exist in /proc/modules
steve@steve-laptop:~$ sudo modprobe ndiswrapper
steve@steve-laptop:~$ dmesg | tail -n30
[  914.680278] PCI: Setting latency timer of device 0000:05:00.0 to 64
[  914.685314] ndiswrapper: using IRQ 19
[  915.051633] wlan0: ethernet device 00:1d:d9:36:1b:c2 using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4311.5.conf
[  915.053311] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[  915.076410] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  915.077878] usbcore: registered new interface driver ndiswrapper
[  922.361729] ACPI: PCI Interrupt 0000:08:00.0[A] -> GSI 21 (level, low) -> IRQ 21
[  922.388553] ssb: Sonics Silicon Backplane found on PCI device 0000:08:00.0
[  922.388581] b44.c:v2.0
[  922.398357] eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:1c:23:a0:8d:42
[  922.552085] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  925.804546] b44: eth0: Link is up at 100 Mbps, full duplex.
[  925.804551] b44: eth0: Flow control is off for TX and off for RX.
[  925.805279] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  946.162050] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  956.811485] wlan0: no IPv6 routers present
[ 1018.012393] eth0: no IPv6 routers present
[ 1077.898620] ACPI: PCI interrupt for device 0000:08:00.0 disabled
[ 1077.967087] ndiswrapper: device wlan0 removed
[ 1077.967106] ACPI: PCI interrupt for device 0000:05:00.0 disabled
[ 1077.967223] usbcore: deregistering interface driver ndiswrapper
[ 1089.923910] ndiswrapper version 1.52 loaded (smp=yes, preempt=rt)
[ 1089.938700] ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
[ 1089.939828] ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> IRQ 19
[ 1089.939872] PCI: Setting latency timer of device 0000:05:00.0 to 64
[ 1089.945151] ndiswrapper: using IRQ 19
[ 1090.315393] wlan0: ethernet device 00:1d:d9:36:1b:c2 using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4311.5.conf
[ 1090.317073] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[ 1090.340573] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1090.342219] usbcore: registered new interface driver ndiswrapper
steve@steve-laptop:~$ sudo modprobe b44
Now the funny thing was it did start to work at 54mbs then it now has stopped so I followed it all again and still nowt.It just shows the circling icon and shows waiting for wireless key but nowt.Rebooted router and still nowt, so if this reboot fails might try and re-enter network key in router.

Ta Steve

p.s. It connects if I amend the wireless profile from roaming to manual and then back again!!Every time it connects it keeps asking for the key as if it forgets it too if that helps!
Ok, well everything in the How-To has worked correctly. This is an issue with how you're connecting to the access point. If it's waiting for wireless key it's waiting for your input. If you're really struggling I'd be inclined to turn off the encryption at the router entirely and see if you can connect then. If that works then turn it back on and have a play with different settings. kevdog's thread is excellent for debugging network connections from the command line.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Just a point worth noting....

If your laptop doesn't have a broadcom wired chipset, you shouldn't need the b44 module. This howto works on those laptops without a b44 chipset because the b44 module implies the ssb module. Just modprobe the ssb module instead of the b44 if this is the case.

Sam.

samborambo

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by samborambo
Just a point worth noting....

If your laptop doesn't have a broadcom wired chipset, you shouldn't need the b44 module. This howto works on those laptops without a b44 chipset because the b44 module implies the ssb module. Just modprobe the ssb module instead of the b44 if this is the case.

Sam.
That's a fair point, I've left it the way it is to try and keep it as simple as possible. That and because I'm not entirely sure what would cause ssb to be loaded if b44 were not being loaded in the initramfs. I don't really want 5 different how-tos combined into one thread, it's long enough as is.

If you don't need b44 however, you can just blacklist b43, b43legacy and ssb, then add ndiswrapper to /etc/modules, there's no need for this annoying script to load things properly. I'm not entirely sure what ssb is used for, apparently it has something to do with USB, but I use many USB devices and I haven't encountered any other modules that need it for anything. It's a much nicer solution and it should help you be connected to a network by the time you reach your desktop (if the rest of it is set up nicely anyway) as it'll load ndiswrapper much earlier in the boot-up sequence.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by tvs
I've upgraded from Gutsy and it didn't work for me (in Gutsy the wireless worked perfectly).

Also, the lines you add in /etc/rc.local unconfigures my lan!! (eth0 loses its IP).

BTW, I have a Dell 1505n

I believe this post related to my problem, but I may be wrong.

I did the how-to and the wireless light came on perfectly(thank you). But when I restarted, my wired network(the one I usually use) did not start. So after a little scowling and fist-shaking I decided to try:

Quote:
sudo /etc/init.d/networking restart
...without knowing exactly what it does. But it seems to get my wired connection working. (previously, when I tried to connect to wired connection using wicd, it just kept searching for IP). Is there any less roundabout way to have my wired connection work on start-up than to paste the above commands in terminal every time?

Thanks.

lifeinoleg

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by lifeinoleg
I believe this post related to my problem, but I may be wrong.

I did the how-to and the wireless light came on perfectly(thank you). But when I restarted, my wired network(the one I usually use) did not start. So after a little scowling and fist-shaking I decided to try:



...without knowing exactly what it does. But it seems to get my wired connection working. (previously, when I tried to connect to wired connection using wicd, it just kept searching for IP). Is there any less roundabout way to have my wired connection work on start-up than to paste the above commands in terminal every time?

Thanks.
So wireless is working perfectly, but your wired interface doesn't come back up? Ok, reboot (don't bring up your wired card) and pass along some outputs (please use [code] tags):
Code:
lshw -C network
cat /etc/rc.local
lsmod | grep b44
cat /etc/network/interfaces
ifconfig
Then bring your wired card up using "/etc/init.d/networking restart" and again run:
Code:
lshw -C network
ifconfig

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by Bandit09
Hi, I just upgrade to 8.04 Hardy from 7.10 Gutsy. I followed paperdiesel's guide and successfully got my wireless working with ndiswrapper. Now after the upgrade, it no longer worked, so I tried this guide. Everything seems to be fine, but I cannot successfully connect to my network encrypted with WPA. It can connect to unencrypted open networks fine, but not my home network, which is encrypted. Is there some kind of conflict with the new version of ndiswrapper and the new Dell drivers, or perhaps the new linux kernel? Any help would be appreciated. Here is a log of some of my commands:

Code:
bandit@Obsidian:~$ lscpi -nn | grep 14e4
bash: lscpi: command not found
bandit@Obsidian:~$ ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4311) present (alternate driver: bcm43xx)
bandit@Obsidian:~$ lsmod | grep b43
bandit@Obsidian:~$ lsmod | grep ndiswrapper
ndiswrapper           192920  0
usbcore               146028  4 ndiswrapper,ehci_hcd,uhci_hcd
bandit@Obsidian:~$ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 557 2008-04-25 21:18 /etc/rc.local
bandit@Obsidian:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
#tunndiswrapper
ndiswrapper
bandit@Obsidian:~$
Here is the important stuff in my rc.local:

Code:
modprobe -r b44
modprobe -r b43
modprobe -r ssb
modprobe -r ndiswrapper
modprobe ndiswrapper
modprobe b44

exit 0
My Blacklist:

Code:
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
#blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

blacklist b43
Thanks!

Bandit
Hmm... well I'm not aware of any conflict between the new kernel and WPA, and this is the same version of ndiswrapper and the same driver as in paperdiesel's howto, so it can't be between ndiswrapper and WPA. That being said, I don't know all that much about WPA. If you can connect to an unecrypted (or WEP) network then the driver and ndiswrapper install all went correctly. What are you using for WPA? wpa_supplicant?

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by Bandit09
UPDATE: I finally fixed it via another method. For those of you who are still having difficulties with the ndiswrapper solution, check out:

http://paste.ubuntu-nl.org/64457/

Use those commands, reboot and it works like a charm. Please note I am using Hardy 8.04, not sure if it will work with other versions.

For you lazy people who don't feel like clicking, here are the commands (copy and paste them to reduce the room for error)

Code:
 
wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2
tar xjf b43-fwcutter-011.tar.bz2
cd b43-fwcutter-011
make
cd ..
export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
tar xjf broadcom-wl-4.80.53.0.tar.bz2
cd broadcom-wl-4.80.53.0/kmod
sudo ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
Hope this helps some people out!

Bandit
That would be for b43, the open source driver for these cards. There are reasons for and against using it as I've discussed on numerous occasions. Just be aware that the two solutions are mutually exclusive, you'll need to undo pretty much everything done in Step 2 of this how-to if you want to get b43 working. That being said from a fresh install, b43-fwcutter is in the repos, so it should be necessary to get it externally and compile it. You should also be able to use the restricted drivers manager to do all of this for you, with one click. This how-to is primarily an alternative to b43, for those of us who feel that the open source drivers aren't quite up to the same standard yet.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
So after you reboot you have no wireless until you run:
Code:
sudo modprobe ndiswrapper
Correct?
If i run that command, nothin happens, I have to remove the Driver, and reinstall it.

Come to think about it, I'm using Vista Drivers, but i can't see why thats stopping the Card starting on boot up ?

The Vista Drivers are working, as i'm writing this to you now, From Ubuntu, on a wireless network. i didn't realise untill a few moments ago.
I'll tottle of and try with XP drivers

Edit, same happens with XP drivers, not working after restart.

This is my output from cat /etc/modules

Code:
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper


could it be the line thats missing ?

0004tom

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by 0004tom
If i run that command, nothin happens, I have to remove the Driver, and reinstall it.

Come to think about it, I'm using Vista Drivers, but i can't see why thats stopping the Card starting on boot up ?

The Vista Drivers are working, as i'm writing this to you now, From Ubuntu, on a wireless network. i didn't realise untill a few moments ago.
I'll tottle of and try with XP drivers

Edit, same happens with XP drivers, not working after restart.

This is my output from cat /etc/modules

Code:
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper
ndiswrapper


could it be the line thats missing ?
Well you can probably remove all the redundant lines! You only need one ndiswrapper. What's in /etc/rc.local?:
Code:
cat /etc/rc.local
Let's try and narrow down what it's requiring you to do on each boot. What happens if you run:
Code:
sudo rmmod b43
sudo rmmod b44
sudo rmmod ssb
sudo modprobe ndiswrapper
As soon as you boot up?

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
Well you can probably remove all the redundant lines! You only need one ndiswrapper. What's in /etc/rc.local?:
Code:
# By default this script does nothing.

modprobe -r b43
modprobe -r b44
modprobe -r ssb
modprobe ndiswrapper
modprobe b44


exit 0
I added the -r b43 line to see if that worked, no joy


Quote:
Originally Posted by jw5801
Let's try and narrow down what it's requiring you to do on each boot. What happens if you run:
Code:
sudo rmmod b43
sudo rmmod b44
sudo rmmod ssb
sudo modprobe ndiswrapper
As soon as you boot up?
Nothing, i if i don't start from,

Code:
sudo modprobe -r ndiswrapper
and work my way though the guide again i can't get the light to go blue.

Code:
tom@PCNO1Linux:~$ sudo modprobe -r ndiswrapper
tom@PCNO1Linux:~$ sudo ndiswrapper -e bcmwl5
tom@PCNO1Linux:~$ sudo rmmod b44
ERROR: Module b44 does not exist in /proc/modules
tom@PCNO1Linux:~$ echo blacklist b43 | sudo tee -a /etc/modprobe.d/blacklist
blacklist b43
tom@PCNO1Linux:~$ echo ndiswrapper | sudo tee -a /etc/modules
ndiswrapper
tom@PCNO1Linux:~$ cd ~/wireless-install/
tom@PCNO1Linux:~/wireless-install$ sudo ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
tom@PCNO1Linux:~/wireless-install$ sudo rmmod b43 b44 ssb
ERROR: Module b43 does not exist in /proc/modules
ERROR: Module b44 does not exist in /proc/modules
ERROR: Module ssb does not exist in /proc/modules
tom@PCNO1Linux:~/wireless-install$ sudo modprobe ndiswrapper
If i do this, on the final command, light goes blue, and i'm wireless

just a little ball ache, having to do this everytime i wanna use Ubuntu

0004tom

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

The b43 proprietary driver works fine for me, I just need to undo these steps for blacklisting it on startup...

This method did not work for me. Thank you for the effort of filling in the missing spaces for paperdiesel's howto, however.

st33med

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
You can use the same thing again. That's a different method to this one. The reason many of us use ndiswrapper as opposed to the open source driver for this chipset (bcm43xx in earlier kernels, b43 in this one), is because the older drivers only support 802.11b connections (11Mb/s) as compared to 802.11g (54Mb/s). It's really just a matter of preference though, if you're not going to be copying files over your local network, then you probably won't notice a difference.
Thank you for your assistance with this. I followed your tutorial and I have wireless on my Compaq lappy with a Broadcom card. What would we do without help such as yours? Excellent, thank you

adam15c

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
That's what /etc/rc.local does. It's a script that is called by another script in /etc/init.d/, so if you followed the how-to correctly you would have wound up at the same point.
Hi jw5801,

Thank you for taking the time to write such a clear guide. I got it working but after a minor(?) alteration to /etc/rc.local.

Champers pointed out that he needed to create a script to run:

Code:
modprobe -r b44
modprobe -r ssb
modprobe -r ndiswrapper
modprobe ndiswrapper
modprobe b44
These lines worked for me straight away in /etc/rc.local - no extra script needed.

The problem I had at first was that your version of this was

Code:
modprobe -r b44
modprobe -r ssb
modprobe ndiswrapper
modprobe b44
The above didn't work for me after booting up but it did once I added

Code:
modprobe -r ndiswrapper
before

Code:
modprobe ndiswrapper
Hope that helps others!

gulgulguru

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by 0004tom
Code:
# By default this script does nothing.

modprobe -r b43
modprobe -r b44
modprobe -r ssb
modprobe ndiswrapper
modprobe b44


exit 0
I added the -r b43 line to see if that worked, no joy




Nothing, i if i don't start from,

Code:
sudo modprobe -r ndiswrapper
and work my way though the guide again i can't get the light to go blue.

Code:
tom@PCNO1Linux:~$ sudo modprobe -r ndiswrapper
tom@PCNO1Linux:~$ sudo ndiswrapper -e bcmwl5
tom@PCNO1Linux:~$ sudo rmmod b44
ERROR: Module b44 does not exist in /proc/modules
tom@PCNO1Linux:~$ echo blacklist b43 | sudo tee -a /etc/modprobe.d/blacklist
blacklist b43
tom@PCNO1Linux:~$ echo ndiswrapper | sudo tee -a /etc/modules
ndiswrapper
tom@PCNO1Linux:~$ cd ~/wireless-install/
tom@PCNO1Linux:~/wireless-install$ sudo ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
tom@PCNO1Linux:~/wireless-install$ sudo rmmod b43 b44 ssb
ERROR: Module b43 does not exist in /proc/modules
ERROR: Module b44 does not exist in /proc/modules
ERROR: Module ssb does not exist in /proc/modules
tom@PCNO1Linux:~/wireless-install$ sudo modprobe ndiswrapper
If i do this, on the final command, light goes blue, and i'm wireless

just a little ball ache, having to do this everytime i wanna use Ubuntu
Hmm... ok, so I notice that b43, b44 and ssb are all not loaded on start up, that's ok, in fact it's a good thing. Do you have a line for ndiswrapper in both /etc/rc.local and in /etc/modules? If you do you can probably remove everything from /etc/rc.local (other than the "exit 0" that was there to start with) and that might make a difference.

One last test, after you've booted up simply try removing the module and adding it again:
Code:
sudo rmmod ndiswrapper
sudo modprobe ndiswrapper
And see if that does it.
By the way, "rmmod" and "modprobe -r" are equivalent, just to alleviate any confusion the use of the two may have caused. They both remove a module from the kernel.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by gulgulguru
Hi jw5801,

Thank you for taking the time to write such a clear guide. I got it working but after a minor(?) alteration to /etc/rc.local.

Champers pointed out that he needed to create a script to run:

Code:
modprobe -r b44
modprobe -r ssb
modprobe -r ndiswrapper
modprobe ndiswrapper
modprobe b44
These lines worked for me straight away in /etc/rc.local - no extra script needed.

The problem I had at first was that your version of this was

Code:
modprobe -r b44
modprobe -r ssb
modprobe ndiswrapper
modprobe b44
The above didn't work for me after booting up but it did once I added

Code:
modprobe -r ndiswrapper
before

Code:
modprobe ndiswrapper
Hope that helps others!
Ok, I notice that this appears to be a recurring problem. If you've upgraded straight from Gutsy, odds are you will have a line in /etc/modules that loads ndiswrapper. Removing this line will solve this issue!

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by davidefergnani
i followed all the instructions but the wireless card is not workin yet.
I have a Hp pavillion dv9410us with hardy 64 bit
My card is a [14e4:4311] (rev 02).
this is the result of the command in the troubleshooting section:


davidefergnani@davidefergnani-laptop:~$ lscpi -nn | grep 14e4
bash: lscpi: command not found
davidefergnani@davidefergnani-laptop:~$ ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: ssb)
davidefergnani@davidefergnani-laptop:~$ lsmod | grep b43
davidefergnani@davidefergnani-laptop:~$ lsmod | grep ndiswrapper
ndiswrapper 243872 0
usbcore 169904 5 ndiswrapper,uvcvideo,ohci_hcd,ehci_hcd
davidefergnani@davidefergnani-laptop:~$ ls -l /etc/rc.local



i dont understand why is not working. i followed all the instructions
You're a dolt. Sorry, but you typed in "lscpi" instead of "lspci".

SidStudios

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
Ok, well the driver install has gone fine, so redoing the how-to ain't going to help. Loading ndiswrapper all works fine. Given the line about "wlan0: link is not ready" and the fact your WiFi light isn't coming on, I'm inclined to thing that the card is being disabled somewhere. Have a look in your bios, there's almost certainly a setting about WiFi, either disabling/enabling a hotkey, or something similar. Also, if you have a WiFi hotkey, it wouldn't hurt to try it. On most Dells it's Fn+F2.
It's the wierdest thing. I've hit Fn+F2 many hundred times the last two days, and I did the same thing like 10 times now and suddenly the light came on and the wireless works perfectly! Thanks for the help!

Larss

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by Larss
It's the wierdest thing. I've hit Fn+F2 many hundred times the last two days, and I did the same thing like 10 times now and suddenly the light came on and the wireless works perfectly! Thanks for the help!
Haha, yeah it'll do that!

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by SidStudios
You're a dolt. Sorry, but you typed in "lscpi" instead of "lspci".
lspci is only a diagnosis tool, so it's not going to make anything start working. Also, I had that typo in the how-to for about a week before I corrected it, so please keep the insults to a minimum!

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

I am using Ubuntu Ultimate Edition 1.8 64bit, based on Hardy.

Paperdiesel's tutorial worked for UUE 1.7 32bit, so I tried it yesterday without luck. After that I found your tutorial.
Two things: in the code you put R151519.EXE but the link you put below that points to R151517.EXE. I guess both should work, but I?m not sure. I already had R151517.EXE and used it in this tutorial, but maybe I didn?t clean everything (ndiswrapper etc) so maybe that?s why it didn?t work the first. Then I just followed every single step of the tutorial, and after rebooting, I had wifi working.


The other thing is that this time I had to reboot, modprobe didn?t help. In In 1.7 I didn?t need to reboot.

Thankz a lot.

NMambre

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by NMambre
I am using Ubuntu Ultimate Edition 1.8 64bit, based on Hardy.

Paperdiesel's tutorial worked for UUE 1.7 32bit, so I tried it yesterday without luck. After that I found your tutorial.
Two things: in the code you put R151519.EXE but the link you put below that points to R151517.EXE. I guess both should work, but I?m not sure. I already had R151517.EXE and used it in this tutorial, but maybe I didn?t clean everything (ndiswrapper etc) so maybe that?s why it didn?t work the first. Then I just followed every single step of the tutorial, and after rebooting, I had wifi working.


The other thing is that this time I had to reboot, modprobe didn?t help. In In 1.7 I didn?t need to reboot.

Thankz a lot.
No idea why you should need to reboot, but all's well that ends well! R151519 is essentially the same as R151517, just an updated version, I find it is a little more stable, but R151517 works just as well.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Hei,
Your guide got me further than all of the other ones but I still run into a problem with the driver.
I don't have the one specified in your guide but it's similar and I found xp drivers here: http://zh-tw.broadcom.com/support/et...ic/netlink.php

Because I don't have a clue which one is the right one I just tried all three of them but the b57win32 seems to be the right one (the IA64 one simply stated: driver installed, and the other 64 one stated: driver malfunction or something like that).

The information below states that there is an alternate driver, should I blacklist that one and if so how to? Thanks in advance.

osiris@osiris-laptop:~$ lspci -nn | grep 14e4
10:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
30:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11a/b/g [14e4:4312] (rev 02)

osiris@osiris-laptop:~$ ndiswrapper -l
b57win32 : driver installed
device (14E4:1693) present (alternate driver: tg3)

lsmod | grep b57
lsmod 1 grep ndiswrapper

Won't give me anything, neither when I give the command using sudo lsmod....

(I haven't blacklisted anything because it's a fresh install, but just because you asked for it)
osiris@osiris-laptop:~$ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 306 2008-04-22 19:49 /etc/rc.local

bardu0708

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

I just realised something, should I get a driver for the
Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693]
or should I install a driver for the
Broadcom Corporation BCM4312 802.11a/b/g [14e4:4312]
?

(I'm a total newbie at computer things)

bardu0708

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by bardu0708
I just realised something, should I get a driver for the
Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693]
or should I install a driver for the
Broadcom Corporation BCM4312 802.11a/b/g [14e4:4312]
?

(I'm a total newbie at computer things)
The second one! The first one is your ethernet (wired) interface and is almost certainly supported out of the box. For the 4312 you can have a try with this driver here, follow the same instructions to extract it, and look for the bcmwl5.inf. Everything else should be the same (blacklisting b43 and creating a file to load ndiswrapper properly on bootup).

EDIT: The list of cards supported by NDISwrapper can be found here:
http://ndiswrapper.sourceforge.net/j...id,33/id,list/

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Thanks a lot for your help,

But now I get the following problem:
osiris@osiris-laptop:~/wireless-install$ unzip SP33008.EXE -d SP33008/
Archive: SP33008.EXE
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: SP33008.EXE may be a plain executable, not an archive
unzip: cannot find zipfile directory in one of SP33008.EXE or
SP33008.EXE.zip, and cannot find SP33008.EXE.ZIP, period.

(It's a driver I found at the site you gave me)

bardu0708

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
Well the install all appears to be working. What have you done in between now and when the wifi light was coming on? I'm thinking that's probably an issue at bios level or with the hotkey.
well, the wifi light comes on a startup now and I can see the wireless networks around me but I can't connect to them. I've installed WICD and it keeps locking up when I try to use it to connect to the wireless networks.

How can I check to see if the problem is at the BIOS level? What do I look for?

vexingmodstwo

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by vexingmodstwo
well, the wifi light comes on a startup now and I can see the wireless networks around me but I can't connect to them. I've installed WICD and it keeps locking up when I try to use it to connect to the wireless networks.

How can I check to see if the problem is at the BIOS level? What do I look for?
If the card is being recognised then you should be fine there. I thought maybe the wireless card had been disabled in the bios or some such, since it's working and seeing networks I would assume not. Have you tried connecting via the commandline?

Code:
sudo -s
dhclient -r wlan0
ifconfig wlan0 down
iwconfig wlan0 essid "Your-ESSID"
ifconfig wlan0 up
dhclient wlan0
exit
You'll need to replace "Your-ESSID" with whatever the ESSID (name) of your network is. That also assumes that your network is open and unencrypted. If it's not I'd be inclined to make it this way and then try connecting.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
If the card is being recognised then you should be fine there. I thought maybe the wireless card had been disabled in the bios or some such, since it's working and seeing networks I would assume not. Have you tried connecting via the commandline?

Code:
sudo -s
dhclient -r wlan0
ifconfig wlan0 down
iwconfig wlan0 essid "Your-ESSID"
ifconfig wlan0 up
dhclient wlan0
exit
You'll need to replace "Your-ESSID" with whatever the ESSID (name) of your network is. That also assumes that your network is open and unencrypted. If it's not I'd be inclined to make it this way and then try connecting.
Ok. Disable encryption on the router, did everything up there and got this at the dhclient wlan0 command:

Code:
There is already a pid file /var/run/dhclient.pid with pid 23685
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:1b:fc:de:c6:9e
Sending on   LPF/wlan0/00:1b:fc:de:c6:9e
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

vexingmodstwo

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by vexingmodstwo
Ok. Disable encryption on the router, did everything up there and got this at the dhclient wlan0 command:

Code:
There is already a pid file /var/run/dhclient.pid with pid 23685
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:1b:fc:de:c6:9e
Sending on   LPF/wlan0/00:1b:fc:de:c6:9e
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
What do
Code:
iwconfig
ifconfig
dmesg | tail -n10
have to say?

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
What do
Code:
iwconfig
ifconfig
dmesg | tail -n10
have to say?
iwconfig:

Code:
lo        no wireless extensions.

wlan0     IEEE 802.11g  ESSID:off/any  
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Bit Rate:54 Mb/s   Tx-Power:32 dBm   
          RTS thr:2347 B   Fragment thr:2346 B   
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.
ifconfig

Code:
eth0      Link encap:Ethernet  HWaddr 00:1c:23:8e:62:77  
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:23ff:fe8e:6277/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8508 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5276 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6232757 (5.9 MB)  TX bytes:865411 (845.1 KB)
          Interrupt:21 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5095 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5095 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:255328 (249.3 KB)  TX bytes:255328 (249.3 KB)

wlan0     Link encap:Ethernet  HWaddr 00:1b:fc:de:c6:9e  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17 Memory:c0200000-c0204000 

wlan0:avahi Link encap:Ethernet  HWaddr 00:1b:fc:de:c6:9e  
          inet addr:169.254.10.220  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Interrupt:17 Memory:c0200000-c0204000
dmesg | tail -n10

Code:
[  935.030741] b44: eth0: Flow control is off for TX and off for RX.
[  935.032987] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  421.835010] eth0: no IPv6 routers present
[  988.832391] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  992.537061] b44: eth0: Link is up at 100 Mbps, full duplex.
[  992.537076] b44: eth0: Flow control is off for TX and off for RX.
[  992.539581] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  502.672421] eth0: no IPv6 routers present
[ 1628.108485] APIC error on CPU0: 00(40)
[ 2879.095005] ADDRCONF(NETDEV_UP): wlan0: link is not ready

vexingmodstwo

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by vexingmodstwo
iwconfig:

Code:
lo        no wireless extensions.

wlan0     IEEE 802.11g  ESSID:off/any  
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Bit Rate:54 Mb/s   Tx-Power:32 dBm   
          RTS thr:2347 B   Fragment thr:2346 B   
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.
ifconfig

Code:
eth0      Link encap:Ethernet  HWaddr 00:1c:23:8e:62:77  
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:23ff:fe8e:6277/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8508 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5276 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6232757 (5.9 MB)  TX bytes:865411 (845.1 KB)
          Interrupt:21 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5095 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5095 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:255328 (249.3 KB)  TX bytes:255328 (249.3 KB)

wlan0     Link encap:Ethernet  HWaddr 00:1b:fc:de:c6:9e  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17 Memory:c0200000-c0204000 

wlan0:avahi Link encap:Ethernet  HWaddr 00:1b:fc:de:c6:9e  
          inet addr:169.254.10.220  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Interrupt:17 Memory:c0200000-c0204000
dmesg | tail -n10

Code:
[  935.030741] b44: eth0: Flow control is off for TX and off for RX.
[  935.032987] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  421.835010] eth0: no IPv6 routers present
[  988.832391] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  992.537061] b44: eth0: Link is up at 100 Mbps, full duplex.
[  992.537076] b44: eth0: Flow control is off for TX and off for RX.
[  992.539581] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  502.672421] eth0: no IPv6 routers present
[ 1628.108485] APIC error on CPU0: 00(40)
[ 2879.095005] ADDRCONF(NETDEV_UP): wlan0: link is not ready
What did you run for the "iwconfig wlan0 essid " command? Did you put your ESSID in? Because iwconfig is still reporting that the interface is not associated with an access point. That command should tell it what AP to try connecting to.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

after using this tutorial I can use wifi, but after many many many retries to connect with nm-applet. I have noticed it is around 1-3 retries after a system restart, but after a previous connection and disconnection it could take 20+ times of retyping in the password. Is there any way I could restart just the network daemon? I'm guessing that is whats corrected by a reboot?

mpgarate

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by mpgarate
after using this tutorial I can use wifi, but after many many many retries to connect with nm-applet. I have noticed it is around 1-3 retries after a system restart, but after a previous connection and disconnection it could take 20+ times of retyping in the password. Is there any way I could restart just the network daemon? I'm guessing that is whats corrected by a reboot?
My first suggestion would be to try an alternate network manager like wicd or wifi-radar. Otherwise you could try something like "sudo /etc/init.d/networking restart" But I'm reasonably sure all that does is take down your interfaces and bring them back up again. You could also try killing nm-applet and starting it again.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
What did you run for the "iwconfig wlan0 essid " command? Did you put your ESSID in? Because iwconfig is still reporting that the interface is not associated with an access point. That command should tell it what AP to try connecting to.
I put the name of my AP in there in quotes:

sudo iwconfig wlan0 essid "pumpkin"

EDIT: I was waiting for your suggestions and I decided to scrap WICD and installed wifiradar. Somehow that worked. I'm wireless! (now I just hope it sticks on a reboot)

vexingmodstwo

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

There could be a thousand ways on how to skin a cat.

Mine works with this how-to: http://tek4dpipol.blogspot.com/2008/...novo-g400.html

Only that I used the .inf supplied with the driver CD given to me and I only rebooted after the last step.

And oh, I am using a Lenovo 3000 g400.

fishfillet

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by adam15c
I want to try this on my HP Compaq Lappy which has the same specs as mentioned. If I upgrade my system rather than do a new install is anything different? Also when I upgrade I will lose my wireless connection. Any further advice would be very much appreciated. Thanks.
It all depends on how you got your wireless working to begin with. If you changed anything that will persist into this install, like adding ndiswrapper to /etc/modules, then you'll need to undo that for this to work properly.

If you have the how-to you followed for Gutsy, or you can remember how you got it working, then doing the opposite of whatever you did that time ought to be enough to fix any issues it might cause. It will still be a little bit more difficult and require some more ground work on your part.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

sorry for the long repply, forums are going slow for me :s

anyway, when i run the command, sudo modprobe ndiswrapper

This is what i get back

tom@PCNO1Linux: sudo modprobe ndiswrapper
tom@PCNO1Linux:

0004tom

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
It all depends on how you got your wireless working to begin with. If you changed anything that will persist into this install, like adding ndiswrapper to /etc/modules, then you'll need to undo that for this to work properly.

If you have the how-to you followed for Gutsy, or you can remember how you got it working, then doing the opposite of whatever you did that time ought to be enough to fix any issues it might cause. It will still be a little bit more difficult and require some more ground work on your part.
For Gutsy I am using the Restricted Drivers Manager (firmware for Broadcom 43xx) with fwcutter. Which was very easy to set up.

adam15c

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Right, quick update, i wiped Ubuntu and installed it again,

Started from the very start, whent though the How to, with a fine hair combe.

got to the end, and where you say do command lines to check if it works before rebooting, i did... SUCESS, light went blue !!!

Reboot, nothing, orange light...

What could have gone wrong ?

this is what i have to do, to enable my card after a restart

tom@PCNO1Linux:~$ sudo modprobe -r ndiswrapper
tom@PCNO1Linux:~$ sudo ndiswrapper -e bcmwl5
tom@PCNO1Linux:~$ sudo rmmod b44
ERROR: Module b44 does not exist in /proc/modules
tom@PCNO1Linux:~$ echo blacklist b43 | sudo tee -a /etc/modprobe.d/blacklist
blacklist b43
tom@PCNO1Linux:~$ echo ndiswrapper | sudo tee -a /etc/modules
ndiswrapper
tom@PCNO1Linux:~$ cd ~/wireless-install/
tom@PCNO1Linux:~/wireless-install$ sudo ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
tom@PCNO1Linux:~/wireless-install$ sudo rmmod b43 b44 ssb
ERROR: Module b43 does not exist in /proc/modules
ERROR: Module b44 does not exist in /proc/modules
ERROR: Module ssb does not exist in /proc/modules
tom@PCNO1Linux:~/wireless-install$ sudo modprobe ndiswrapper
tom@PCNO1Linux:~/wireless-install$

after the last command, the wireless card works.

is it i at vault, or my installion, as i'm doing everythin in your guide ?

0004tom

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Ahhh! Thank you so much! Finally got my wireless up and running!

EastBayAnt

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by adam15c
For Gutsy I am using the Restricted Drivers Manager (firmware for Broadcom 43xx) with fwcutter. Which was very easy to set up.
You can use the same thing again. That's a different method to this one. The reason many of us use ndiswrapper as opposed to the open source driver for this chipset (bcm43xx in earlier kernels, b43 in this one), is because the older drivers only support 802.11b connections (11Mb/s) as compared to 802.11g (54Mb/s). It's really just a matter of preference though, if you're not going to be copying files over your local network, then you probably won't notice a difference.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by 0004tom
Right, quick update, i wiped Ubuntu and installed it again,

Started from the very start, whent though the How to, with a fine hair combe.

got to the end, and where you say do command lines to check if it works before rebooting, i did... SUCESS, light went blue !!!

Reboot, nothing, orange light...

What could have gone wrong ?

this is what i have to do, to enable my card after a restart

tom@PCNO1Linux:~$ sudo modprobe -r ndiswrapper
tom@PCNO1Linux:~$ sudo ndiswrapper -e bcmwl5
tom@PCNO1Linux:~$ sudo rmmod b44
ERROR: Module b44 does not exist in /proc/modules
tom@PCNO1Linux:~$ echo blacklist b43 | sudo tee -a /etc/modprobe.d/blacklist
blacklist b43
tom@PCNO1Linux:~$ echo ndiswrapper | sudo tee -a /etc/modules
ndiswrapper
tom@PCNO1Linux:~$ cd ~/wireless-install/
tom@PCNO1Linux:~/wireless-install$ sudo ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
tom@PCNO1Linux:~/wireless-install$ sudo rmmod b43 b44 ssb
ERROR: Module b43 does not exist in /proc/modules
ERROR: Module b44 does not exist in /proc/modules
ERROR: Module ssb does not exist in /proc/modules
tom@PCNO1Linux:~/wireless-install$ sudo modprobe ndiswrapper
tom@PCNO1Linux:~/wireless-install$

after the last command, the wireless card works.

is it i at vault, or my installion, as i'm doing everythin in your guide ?
So after you reboot you have no wireless until you run:
Code:
sudo modprobe ndiswrapper
Correct?

In that case have a look at the output from
Code:
cat /etc/modules
Should be something like:
Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
rtc
ndiswrapper
If that last line isn't there (or it's on the same line as something else) then you'll need to edit the file and make sure ndiswrapper is on the last line (or on it's own line somewhere in the file).
Code:
gksudo gedit /etc/modules

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Hi, I just upgrade to 8.04 Hardy from 7.10 Gutsy. I followed paperdiesel's guide and successfully got my wireless working with ndiswrapper. Now after the upgrade, it no longer worked, so I tried this guide. Everything seems to be fine, but I cannot successfully connect to my network encrypted with WPA. It can connect to unencrypted open networks fine, but not my home network, which is encrypted. Is there some kind of conflict with the new version of ndiswrapper and the new Dell drivers, or perhaps the new linux kernel? Any help would be appreciated. Here is a log of some of my commands:

Code:
bandit@Obsidian:~$ lscpi -nn | grep 14e4
bash: lscpi: command not found
bandit@Obsidian:~$ ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4311) present (alternate driver: bcm43xx)
bandit@Obsidian:~$ lsmod | grep b43
bandit@Obsidian:~$ lsmod | grep ndiswrapper
ndiswrapper           192920  0
usbcore               146028  4 ndiswrapper,ehci_hcd,uhci_hcd
bandit@Obsidian:~$ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 557 2008-04-25 21:18 /etc/rc.local
bandit@Obsidian:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
#tunndiswrapper
ndiswrapper
bandit@Obsidian:~$
Here is the important stuff in my rc.local:

Code:
modprobe -r b44
modprobe -r b43
modprobe -r ssb
modprobe -r ndiswrapper
modprobe ndiswrapper
modprobe b44

exit 0
My Blacklist:

Code:
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
#blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

blacklist b43
Thanks!

Bandit

Bandit09

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Got stuck at one point -- "sudo ndiswrapper -i bcmwl5.inf"

The l looks an awful lot like a 1 on my computer. It looks like bcmwFIFTEEN.inf instead of bcmwEL5.inf

Overall, very easy to follow guide for a newbie like me. I thank you very much for getting my wireless working!

i speak in math

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

UPDATE: I finally fixed it via another method. For those of you who are still having difficulties with the ndiswrapper solution, check out:

http://paste.ubuntu-nl.org/64457/

Use those commands, reboot and it works like a charm. Please note I am using Hardy 8.04, not sure if it will work with other versions.

For you lazy people who don't feel like clicking, here are the commands (copy and paste them to reduce the room for error)

Code:
 
wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2
tar xjf b43-fwcutter-011.tar.bz2
cd b43-fwcutter-011
make
cd ..
export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
tar xjf broadcom-wl-4.80.53.0.tar.bz2
cd broadcom-wl-4.80.53.0/kmod
sudo ../../b43-fwcutter-011/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
Hope this helps some people out!

Bandit

Bandit09

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Very interesting find about the initramfs -- in fact i learned a lot. However there may be some consequences of removing the ssb module and not reloading it if a USB module depends on ssb. Again I think some logic is going to have to be employed for a solution.

Just curious about the initramfs -- if you dont have a broadcom wired nic card -- is the ssb module loaded? Isnt the module only loaded after a hardware detection sequence has finished?

kevdog

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

For davidefergnani: It seems that you just mis-typed the first command. You typed "lscpi", but it should be "lspci" ... That's why you got a "command not found" message.

Fernanddo Saenz

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by kevdog
Very interesting find about the initramfs -- in fact i learned a lot. However there may be some consequences of removing the ssb module and not reloading it if a USB module depends on ssb. Again I think some logic is going to have to be employed for a solution.

Just curious about the initramfs -- if you dont have a broadcom wired nic card -- is the ssb module loaded? Isnt the module only loaded after a hardware detection sequence has finished?
I use a USB mouse and have an external harddrive permanently attached when I'm at home, as well as a couple of flash drives I use when I'm out and about, so far none of them have required ssb (the mouse uses the ohci_hcd, the harddrive uses usb_storage, I think, both of which use usbcore). I have it blacklisted at the moment along with b44 and b43, I might try unblacklisting ssb and seeing if it still loads. I think if another module needed it it would still be loaded regardless of blacklisting wouldn't it? I'm not sure.

I'll keep b44 blacklisted, I'm loading it and unloading it with pre-up and post-down commands in /etc/network/interfaces (I rarely ever use the interface). Although I think I'll need to verify at what stage b44 gets loaded if it's not blacklisted to see whether ndiswrapper is called prior.

As for systems without a broadcom wired nic, I honestly have no idea. If anyone has a broadcom wireless nic but a different wired nic and wants to have a play around with it, I'd be most curious to find out! I'm thinking it probably wouldn't be loaded in the initramfs, but it possibly is still loaded during boot.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
I'm unsure whether this will work on unaltered systems, I rarely use my ethernet interface so I have it set up to not load automatically, but to load the modules it needs ('b44' and the nasty 'ssb') when I bring it up, and to unload them when I take it down.

If someone (who is competent enough to undo what is done above and return to the how-to method should it fail) wants to test this for me that would be fantastic. I think I will leave the how-to as is, using the brute force method, for now.
Well, after the initramfs.conf changes, b44 and thus ssb are still loading at startup for me.
Code:
matt@matt-laptop:~$ lsmod | grep b44
b44                    28432  0 
ssb                    32260  1 b44
mii                     6400  1 b44
and thus my wireless card remains unavailable.

Code:
matt@matt-laptop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0d:56:32:37:a4  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:7 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1784 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1784 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:89360 (87.2 KB)  TX bytes:89360 (87.2 KB)

matt@matt-laptop:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
Given my problems with the brute-force howto as well, I think it's time for a clean install in the next few days. After that I'll retest both the regular howto as well as the initramfs.conf method again and hopefully get some better restults. If not, I guess it's back to Gutsy for me.

quill7111

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by quill7111
Well, after the initramfs.conf changes, b44 and thus ssb are still loading at startup for me.
Code:
matt@matt-laptop:~$ lsmod | grep b44
b44                    28432  0 
ssb                    32260  1 b44
mii                     6400  1 b44
and thus my wireless card remains unavailable.

Code:
matt@matt-laptop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0d:56:32:37:a4  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:7 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1784 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1784 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:89360 (87.2 KB)  TX bytes:89360 (87.2 KB)

matt@matt-laptop:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
Given my problems with the brute-force howto as well, I think it's time for a clean install in the next few days. After that I'll retest both the regular howto as well as the initramfs.conf method again and hopefully get some better restults. If not, I guess it's back to Gutsy for me.
Yeah, I have a funny feeling that networking is brought up before /etc/modules is read, which means your eth0 would still be brought up, thus loading b44 and ssb. I have b44 and ssb blacklisted, as well as having eth0 not be auto, which explains why it still works so well for me. You could always try adding ndiswrapper to the initramfs (add ndiswrapper to /etc/initramfs-tools/modules). That would be my next attempt.

It would definitely appear that the How-To method, is by far the most robust solution to this issue.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

I've upgraded from Gutsy and it didn't work for me (in Gutsy the wireless worked perfectly).

Also, the lines you add in /etc/rc.local unconfigures my lan!! (eth0 loses its IP).

BTW, I have a Dell 1505n

tvs

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by tvs
I've upgraded from Gutsy and it didn't work for me (in Gutsy the wireless worked perfectly).

Also, the lines you add in /etc/rc.local unconfigures my lan!! (eth0 loses its IP).

BTW, I have a Dell 1505n
That's the point... your wired card uses the b44 module, which loads the ssb module which prevents your wireless card from working. Thus, we need to unload it and 'unconfigure your LAN' if we want to be able to use wireless.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Okay, have tried this guide several times now, but it just won't work. Even did a fresh install, but still no luck. I get the wireless option in the network-manager in the notification area, but there are none wireless networks in the "Wireless Networks"-list. The wifi-light isn't on either (edit: and doesn't come on with -> sudo rmmod b44 b43 ssb ndiswrapper -> sudo modprobe ndiswrapper). Could it be a problem with my wifi-card (it worked perfectly two days ago in gutsy, but no luck in hardy heron)? Any idea what else could it be? Kinda new to ubuntu, so try to keep it neewbie-friendly =)

Thanks for any help.

Troubleshooting (same before and after a reboot):
Code:
lars@lars-laptop:~$ lspci -nn | grep 14e4
03:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
0b:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 01)

lars@lars-laptop:~$ ndiswrapper -l
bcmwl5 : driver installed
	device (14E4:4311) present (alternate driver: ssb)

lars@lars-laptop:~$ lsmod | grep b43

lars@lars-laptop:~$ lsmod | grep ndiswrapper
ndiswrapper           192920  0 
usbcore               146028  4 ndiswrapper,ehci_hcd,uhci_hcd

lars@lars-laptop:~$ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 373 2008-05-08 13:37 /etc/rc.local

lars@lars-laptop:~$ cat /etc/rc.local
#!/bin/sh -e
# (...)
# By default this script does nothing.
modprobe -r b44
modprobe -r ssb
modprobe ndiswrapper
modprobe b44
exit 0
edit:
Code:
lars@lars-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.

wlan0     No scan results

eth0      Interface doesn't support scanning.

lars@lars-laptop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:b9:88:49:99  
          inet addr:129.241.150.129  Bcast:129.241.151.255  Mask:255.255.254.0
          inet6 addr: 2001:700:303:f:219:b9ff:fe88:4999/64 Scope:Global
          inet6 addr: fe80::219:b9ff:fe88:4999/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14370 errors:0 dropped:0 overruns:0 frame:0
          TX packets:720 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2531715 (2.4 MB)  TX bytes:76143 (74.3 KB)
          Interrupt:22 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1490 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1490 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:74500 (72.7 KB)  TX bytes:74500 (72.7 KB)

wlan0     Link encap:Ethernet  HWaddr 00:19:7e:c7:6d:d2  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 Memory:efdfc000-efe00000
edit2:
Code:
lars@lars-laptop:~$ sudo rmmod b44 b43 ssb ndiswrapper
ERROR: Module b43 does not exist in /proc/modules
lars@lars-laptop:~$ sudo modprobe ndiswrapper
lars@lars-laptop:~$ sudo modprobe b44
lars@lars-laptop:~$ dmesg | tail -n25
[  841.132949] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  844.815180] b44: eth0: Link is up at 100 Mbps, full duplex.
[  844.815186] b44: eth0: Flow control is off for TX and off for RX.
[  844.817170] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1073.123963] ACPI: PCI interrupt for device 0000:03:00.0 disabled
[ 1071.191752] ndiswrapper: device wlan0 removed
[ 1071.191781] ACPI: PCI interrupt for device 0000:0b:00.0 disabled
[ 1071.191895] usbcore: deregistering interface driver ndiswrapper
[ 1080.643705] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
[ 1080.655142] ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
[ 1080.656304] ACPI: PCI Interrupt 0000:0b:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 1080.656991] PCI: Setting latency timer of device 0000:0b:00.0 to 64
[ 1080.664352] ndiswrapper: using IRQ 16
[ 1080.864998] wlan0: ethernet device 00:19:7e:c7:6d:d2 using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4311.5.conf
[ 1080.865248] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[ 1078.865021] usbcore: registered new interface driver ndiswrapper
[ 1080.891256] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1087.130917] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 22
[ 1085.167618] ssb: Sonics Silicon Backplane found on PCI device 0000:03:00.0
[ 1085.167655] b44.c:v2.0
[ 1085.188383] eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:19:b9:88:49:99
[ 1085.250180] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1088.815796] b44: eth0: Link is up at 100 Mbps, full duplex.
[ 1088.815806] b44: eth0: Flow control is off for TX and off for RX.
[ 1088.819917] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Larss

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

it is working!!!! i .. love.. you.. you are awesome!!! i think this problem is with many laptop users. i say please goto page 1 and follow the original instruction. wifi works like c charm. i even try to reboot... the wifi works just like that after reboot. no need to do any further tweaking.

i am once again a very happy camper..

wlee618

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by Larss
Okay, have tried this guide several times now, but it just won't work. Even did a fresh install, but still no luck. I get the wireless option in the network-manager in the notification area, but there are none wireless networks in the "Wireless Networks"-list. The wifi-light isn't on either (edit: and doesn't come on with -> sudo rmmod b44 b43 ssb ndiswrapper -> sudo modprobe ndiswrapper). Could it be a problem with my wifi-card (it worked perfectly two days ago in gutsy, but no luck in hardy heron)? Any idea what else could it be? Kinda new to ubuntu, so try to keep it neewbie-friendly =)

Thanks for any help.

Troubleshooting (same before and after a reboot):
Code:
lars@lars-laptop:~$ lspci -nn | grep 14e4
03:00.0 Ethernet controller [0200]: Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
0b:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 01)

lars@lars-laptop:~$ ndiswrapper -l
bcmwl5 : driver installed
	device (14E4:4311) present (alternate driver: ssb)

lars@lars-laptop:~$ lsmod | grep b43

lars@lars-laptop:~$ lsmod | grep ndiswrapper
ndiswrapper           192920  0 
usbcore               146028  4 ndiswrapper,ehci_hcd,uhci_hcd

lars@lars-laptop:~$ ls -l /etc/rc.local
-rwxr-xr-x 1 root root 373 2008-05-08 13:37 /etc/rc.local

lars@lars-laptop:~$ cat /etc/rc.local
#!/bin/sh -e
# (...)
# By default this script does nothing.
modprobe -r b44
modprobe -r ssb
modprobe ndiswrapper
modprobe b44
exit 0
edit:
Code:
lars@lars-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.

wlan0     No scan results

eth0      Interface doesn't support scanning.

lars@lars-laptop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:b9:88:49:99  
          inet addr:129.241.150.129  Bcast:129.241.151.255  Mask:255.255.254.0
          inet6 addr: 2001:700:303:f:219:b9ff:fe88:4999/64 Scope:Global
          inet6 addr: fe80::219:b9ff:fe88:4999/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14370 errors:0 dropped:0 overruns:0 frame:0
          TX packets:720 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2531715 (2.4 MB)  TX bytes:76143 (74.3 KB)
          Interrupt:22 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1490 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1490 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:74500 (72.7 KB)  TX bytes:74500 (72.7 KB)

wlan0     Link encap:Ethernet  HWaddr 00:19:7e:c7:6d:d2  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 Memory:efdfc000-efe00000
edit2:
Code:
lars@lars-laptop:~$ sudo rmmod b44 b43 ssb ndiswrapper
ERROR: Module b43 does not exist in /proc/modules
lars@lars-laptop:~$ sudo modprobe ndiswrapper
lars@lars-laptop:~$ sudo modprobe b44
lars@lars-laptop:~$ dmesg | tail -n25
[  841.132949] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  844.815180] b44: eth0: Link is up at 100 Mbps, full duplex.
[  844.815186] b44: eth0: Flow control is off for TX and off for RX.
[  844.817170] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1073.123963] ACPI: PCI interrupt for device 0000:03:00.0 disabled
[ 1071.191752] ndiswrapper: device wlan0 removed
[ 1071.191781] ACPI: PCI interrupt for device 0000:0b:00.0 disabled
[ 1071.191895] usbcore: deregistering interface driver ndiswrapper
[ 1080.643705] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
[ 1080.655142] ndiswrapper: driver bcmwl5 (Broadcom,10/12/2006, 4.100.15.5) loaded
[ 1080.656304] ACPI: PCI Interrupt 0000:0b:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 1080.656991] PCI: Setting latency timer of device 0000:0b:00.0 to 64
[ 1080.664352] ndiswrapper: using IRQ 16
[ 1080.864998] wlan0: ethernet device 00:19:7e:c7:6d:d2 using NDIS driver: bcmwl5, version: 0x4640f05, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4311.5.conf
[ 1080.865248] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[ 1078.865021] usbcore: registered new interface driver ndiswrapper
[ 1080.891256] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1087.130917] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 22
[ 1085.167618] ssb: Sonics Silicon Backplane found on PCI device 0000:03:00.0
[ 1085.167655] b44.c:v2.0
[ 1085.188383] eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:19:b9:88:49:99
[ 1085.250180] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1088.815796] b44: eth0: Link is up at 100 Mbps, full duplex.
[ 1088.815806] b44: eth0: Flow control is off for TX and off for RX.
[ 1088.819917] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Ok, well the driver install has gone fine, so redoing the how-to ain't going to help. Loading ndiswrapper all works fine. Given the line about "wlan0: link is not ready" and the fact your WiFi light isn't coming on, I'm inclined to thing that the card is being disabled somewhere. Have a look in your bios, there's almost certainly a setting about WiFi, either disabling/enabling a hotkey, or something similar. Also, if you have a WiFi hotkey, it wouldn't hurt to try it. On most Dells it's Fn+F2.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

No need to apologize. It works like a charm now. Thank you so much!!!

hmhmhm

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

I have been trying to get this to work all weekend, and I saw the old thread and didn't see this one, I tried a different method on my E1505 and ran into a problem.

I had done the method where you install windows gui drivers (can't remember the exact name since I am not on my machine at the moment), I downloaded and used the drivers R151517.EXE from dell's site. I rebooted it asked to update the b43 and rebooted again after. My wireless would work, then suddenly it would drop connection, Should I go back and try this method? Or maybe use a different program for my wireless connection? Thanks (I don't get any errors, connection just suddenly stops so I don't have anything to copy/paste, sorry )

Freakeomi

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

I realized after posting that I had discovered that a module called b43legacy was being loaded which was using ssb and preventing it from being unloaded. I blacklisted both b43 and b43legacy (although google told me that only one of the two would be used). The outputs from my previous post were all with the rc.local changes from the howto and with both b43 and b43legacy blacklisted. With only b43 blacklisted, I get the following:

Code:
matt@matt-laptop:~$ ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1814 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1814 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:90860 (88.7 KB)  TX bytes:90860 (88.7 KB)

matt@matt-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

eth1      No scan results

matt@matt-laptop:~$ ndiswrapper -l
bcmwl5 : driver installed
	device (14E4:4320) present (alternate driver: bcm43xx)
Here's my network interfaces file
Code:
matt@matt-laptop:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback


auto eth2
#iface eth2 inet dhcp

auto ath0
#iface ath0 inet dhcp
Here's the output for the commands you suggested in your recent post, which illustrate the b43legacy issue (which reminded me why I had blacklisted it).
Code:
matt@matt-laptop:~$ sudo rmmod b44 b43 ssb ndiswrapper
[sudo] password for matt: 
ERROR: Module b44 does not exist in /proc/modules
ERROR: Module b43 does not exist in /proc/modules
ERROR: Module ssb is in use by b43legacy
ERROR: Module ndiswrapper does not exist in /proc/modules
matt@matt-laptop:~$ sudo modprobe ndiswrapper
matt@matt-laptop:~$ sudo modprobe b44
matt@matt-laptop:~$ dmesg | tail -n25
[   54.615583] [drm] Initialized drm 1.1.0 20060810
[   54.639161] ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
[   54.639170] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKE] -> GSI 11 (level, low) -> IRQ 11
[   54.639424] [drm] Initialized radeon 1.28.0 20060524 on minor 0
[   55.057939] ppdev: user-space parallel port driver
[   55.292387] audit(1209567184.327:2): type=1503 operation="inode_permission" requested_mask="a::" denied_mask="a::" name="/dev/tty" pid=5197 profile="/usr/sbin/cupsd" namespace="default"
[   55.373888] apm: BIOS not found.
[   55.751720] b43legacy-phy0 ERROR: Firmware file "b43legacy/ucode4.fw" not found or load failed.
[   55.751731] b43legacy-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the correct firmware (version 3).
[   55.928206] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
[   55.928233] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[   55.928270] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[   57.295865] [drm] Setting GART location based on new memory map
[   57.295920] [drm] writeback test succeeded in 1 usecs
[   57.800853] NET: Registered protocol family 10
[   57.801976] lo: Disabled Privacy Extensions
[   57.804083] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   59.280706] ACPI: PCI interrupt for device 0000:02:01.0 disabled
[  616.397554] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
[  616.423459] usbcore: registered new interface driver ndiswrapper
[  625.299443] ACPI: PCI Interrupt 0000:02:01.0[A] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
[  625.358009] ssb: Sonics Silicon Backplane found on PCI device 0000:02:01.0
[  625.358051] b44.c:v2.0
[  625.379294] eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0d:56:32:37:a4
[  625.543959] ADDRCONF(NETDEV_UP): eth0: link is not ready
Here's another try with removing both b43 and b43legacy. After running these commands, the gnome network manager was able to see my wireless network, but neither my wired nor wireless interfaces could establish a connection.
Code:
matt@matt-laptop:~$ sudo rmmod b44 b43 b43legacy ssb ndiswrapper
ERROR: Module b43 does not exist in /proc/modules
matt@matt-laptop:~$ sudo modprobe ndiswrapper
matt@matt-laptop:~$ sudo modprobe b44
matt@matt-laptop:~$ dmesg | tail -n25
[  616.397554] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
[  616.423459] usbcore: registered new interface driver ndiswrapper
[  625.299443] ACPI: PCI Interrupt 0000:02:01.0[A] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
[  625.358009] ssb: Sonics Silicon Backplane found on PCI device 0000:02:01.0
[  625.358051] b44.c:v2.0
[  625.379294] eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0d:56:32:37:a4
[  625.543959] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  802.055880] ACPI: PCI interrupt for device 0000:02:01.0 disabled
[  802.185821] ACPI: PCI interrupt for device 0000:02:02.0 disabled
[  802.195829] usbcore: deregistering interface driver ndiswrapper
[  818.552304] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
[  819.073927] ndiswrapper: driver bcmwl5 (Broadcom,02/10/2005, 3.100.35.1) loaded
[  819.075225] ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[  819.087312] ndiswrapper: using IRQ 11
[  819.521698] wlan0: ethernet device 00:90:4b:2c:b3:e4 using NDIS driver: bcmwl5, version: 0x3642301, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4320.5.conf
[  819.523504] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
[  819.524774] usbcore: registered new interface driver ndiswrapper
[  819.527626] ndiswrapper: changing interface name from 'wlan0' to 'eth1'
[  819.527745] udev: renamed network interface wlan0 to eth1
[  819.563682] ADDRCONF(NETDEV_UP): eth1: link is not ready
[  832.084397] ACPI: PCI Interrupt 0000:02:01.0[A] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
[  832.141201] ssb: Sonics Silicon Backplane found on PCI device 0000:02:01.0
[  832.141237] b44.c:v2.0
[  832.162481] eth0: Broadcom 44xx/47xx 10/100BaseT Ethernet 00:0d:56:32:37:a4
[  832.325295] ADDRCONF(NETDEV_UP): eth0: link is not ready
I'm pretty confounded. I'm almost tempted to think this is also related to the gnome network manager, so I think I'll try wicd and see if that helps.

quill7111

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Hi! Thanks a lot for this guide
I'd been staring into a terminal for most of the afternoon, and firefox was choking under the weight of so many tabs open while I tried to fix this.

It *definitely* works so much better on a fresh install -- if you have /home on a separate partition reinstalling is a fairly trivial task so I can't recommend that enough.

My laptop is a Dell Inspiron 1300 so slightly different -- the card is a 4318,
Code:
02:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
And I used a different driver pack from HP. Despite not being Dell drivers, it works. I suspect the exact Dell driver pack for this laptop and card (R115321) would work too.

I've tried this so many times this afternoon that I can't figure out why this guide worked and all the other similar ones didn't, heh

-x-

The driver pack I used was: ftp://ftp.compaq.com/pub/softpaq/sp3...00/sp33008.exe (4.2M)
I found it on this list.

This can be extracted using cabextract, instead of unzip:
Code:
(make working dir + cd to it)
...
sudo apt-get -y install cabextract
wget ftp://ftp.compaq.com/pub/softpaq/sp33001-33500/sp33008.exe
cabextract sp33008.exe
...
(install ndiswrapper, etc)

Cinnander

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

So I installed wicd and now neither my wired nor wireless will connect. Weak. Probably shouldn't have introduced another variable. I've tried wicd's one troubleshooting suggestion of limiting the /etc/network/interfaces file to this:
Code:
auto lo
iface lo inet loopback
and it didn't help. I ran through all the howto steps again just to make sure, but still nothing.
This raises the further problem of not being able to reinstall network-manager since I did the upgrade and don't have a Hardy cd or any blank cds.
Cinnander, this has definitely been an inspiration to put my /home folders on separate partitions on all my machines. I had high hopes for the upgrade option, and it's a great idea in theory, but a fresh install would be pretty nice right now.

*EDIT
After following all the howto steps and rebooting then refreshing the network list in wicd it was able to see my wireless network, but it still won't recognize the wired connection or actually connect to the wireless network. The similar behavior of network-manager and wicd seem to confirm that the problem lies elsewhere.

quill7111

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by quill7111
So I installed wicd and now neither my wired nor wireless will connect. Weak. Probably shouldn't have introduced another variable. I've tried wicd's one troubleshooting suggestion of limiting the /etc/network/interfaces file to this:
Code:
auto lo
iface lo inet loopback
and it didn't help. I ran through all the howto steps again just to make sure, but still nothing.
This raises the further problem of not being able to reinstall network-manager since I did the upgrade and don't have a Hardy cd or any blank cds.
Cinnander, this has definitely been an inspiration to put my /home folders on separate partitions on all my machines. I had high hopes for the upgrade option, and it's a great idea in theory, but a fresh install would be pretty nice right now.

*EDIT
After following all the howto steps and rebooting then refreshing the network list in wicd it was able to see my wireless network, but it still won't recognize the wired connection or actually connect to the wireless network. The similar behavior of network-manager and wicd seem to confirm that the problem lies elsewhere.
Thanks for the heads up on b43legacy, I'll add that to be blacklisted as well.

Ok, well it appears as though everything is loading nicely and you card is being recognised and finding networks, so the scope of this how-to appears to have been met. Maybe try disabling any encryption you have on the wireless and connecting?

As for the wired try adding to your /etc/network/interfaces:
Code:
iface eth0 inet dhcp
     pre-up modprobe b44
     post-down rmmod b44 ssb
Then you can bring your wired interface up, and take it down with:
Code:
sudo ifup eth0 #to bring up
sudo ifdown eth0 #to take down
I like that approach because it means you can remove the "modprobe b44" from rc.local, and you're only using the ethernet card at all when you want it up, good from a power management perspective.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by Freakeomi
I have been trying to get this to work all weekend, and I saw the old thread and didn't see this one, I tried a different method on my E1505 and ran into a problem.

I had done the method where you install windows gui drivers (can't remember the exact name since I am not on my machine at the moment), I downloaded and used the drivers R151517.EXE from dell's site. I rebooted it asked to update the b43 and rebooted again after. My wireless would work, then suddenly it would drop connection, Should I go back and try this method? Or maybe use a different program for my wireless connection? Thanks (I don't get any errors, connection just suddenly stops so I don't have anything to copy/paste, sorry )
ndisgtk? Something like that anyway.

If it's installing b43 bits and pieces that means you haven't blacklisted b43 properly, have a look at /etc/modprobe.d/blacklist(gksudo gedit /etc/modprobe.d/blacklist) and make sure there's the following two lines there:
Code:
blacklist b43
blacklist b43legacy
You can check if the module has been loaded with:
Code:
lsmod | grep b43
If it has been, the following should get you working (provided the rest of the ndiswrapper install went correctly):
Code:
sudo rmmod b43 b44 ssb
sudo modprobe ndiswrapper

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Thanks for the quick response, I tried to redo everything exactly as listed and added
Quote:
If it's installing b43 bits and pieces that means you haven't blacklisted b43 properly, have a look at /etc/modprobe.d/blacklist(gksudo gedit /etc/modprobe.d/blacklist) and make sure there's the following two lines there:
Code:

blacklist b43
blacklist b43legacy

You can check if the module has been loaded with:
Code:

lsmod | grep b43

If it has been, the following should get you working (provided the rest of the ndiswrapper install went correctly):
Code:

sudo rmmod b43 b44 ssb
sudo modprobe ndiswrapper
This didn't work still, I kept the items on Blacklist and what happened was my normal network card doesn't show up anymore and the wireless card under System --> admin --> network. I went into System --> admin --> Windows Wireless Drivers and loaded the .inf file and the wireless started working, but I still do not see the network card, also upon reboot, I'd have to go into Windows Wireless Drivers again, uninstall the driver and reinstall it.

Freakeomi

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by Freakeomi
Thanks for the quick response, I tried to redo everything exactly as listed and added


This didn't work still, I kept the items on Blacklist and what happened was my normal network card doesn't show up anymore and the wireless card under System --> admin --> network. I went into System --> admin --> Windows Wireless Drivers and loaded the .inf file and the wireless started working, but I still do not see the network card, also upon reboot, I'd have to go into Windows Wireless Drivers again, uninstall the driver and reinstall it.
Try following the how-to and use it's method. If it's not working until you reload ndiswrapper, then something in /etc/rc.local or /etc/modules is wrong.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

If anyone is curious, I have found a much more graceful solution to this issue, it does however remove a small amount of "functionality" from the bootup process. I'm also debating whether to alter the how-to to use this method, as it does present an opportunity for people to put their system in an unbootable state.

The reason 'ssb' gets loaded (even if we blacklist it) and is able to take control of our WiFi card, is because it is contained in the initramfs. That is, the initial RAM image that gets loaded by Grub so that the kernel can have modules available to it immediately. Now, the reason 'ssb' is in the initramfs, is because 'b44' is in the initramfs and 'ssb' is a dependency of 'b44'. 'b44' is there in case you ever want to do a network boot over ethernet, in other words, so the eth0 interface can be up and working before any other boot scripts are run, so that everything else can be booted up from a remote network location. Now, this sort of feature is immensely important in a large scale office/university situation, but really not necessary at all for a regular Joe. *Especially* not on a laptop.

So, the more graceful solution is to remove 'b44' (and thus 'ssb') from our initramfs by doing the following:
Code:
gksudo gedit /etc/initramfs-tools/initramfs.conf
Scroll down to the section that looks like the following:
Code:
#
# DEVICE: ...
#
# Specify the network interface, like eth0
#

DEVICE=eth0
And change the eth0 to an lo:
Code:
DEVICE=lo
Then you'll need to update your initramfs:
Code:
sudo update-initramfs -u
Now remove the lines we put in /etc/rc.local:
Code:
gksudo gedit /etc/rc.local
And remove everything other than the "exit 0".

And finally add ndiswrapper to /etc/modules:
Code:
gksudo gedit /etc/modules
and add a line that contains only "ndiswrapper" at the bottom.

Then reboot and *hopefully* your WiFi light will still come one, but much earlier than it did using the previous solution.

I'm unsure whether this will work on unaltered systems, I rarely use my ethernet interface so I have it set up to not load automatically, but to load the modules it needs ('b44' and the nasty 'ssb') when I bring it up, and to unload them when I take it down.

If someone (who is competent enough to undo what is done above and return to the how-to method should it fail) wants to test this for me that would be fantastic. I think I will leave the how-to as is, using the brute force method, for now.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by kevdog
Is the rc.local file really necessary? This is what I'm experimenting with!

If you add b44, ssb to the /etc/modprobe.d/blacklist file, and then add

ndiswrapper
ssb
b44

in that order to the /etc/modules file does everything then work?

When does the rc.local file get called?

And if this doesn't work, would it be possible to just add the modprobe statements to the /etc/network/interfaces file just using a series of pre-up commands? -- That way you could reload everything calling sudo /etc/init.d/networking restart.

Just some ideas I'm tossing around -- need others to play with these things to confirm if they work.
I tried blacklisting the lot of them and then calling them in /etc/modules in the correct order, that didn't work. Didn't think of /etc/network/interfaces, might give it a try. The other option that was floating around was altering /etc/modprobe.d/ndiswrapper so that it removes ssb and readds it after adding itself.

So you suggest adding something like:
Code:
iface wlan0 inet dhcp
	pre-up rmmod b44 ssb
	pre-up modprobe ndiswrapper
	post-up modprobe b44
to /etc/network/interfaces?

EDIT: Well that works, it's effectively doing the same thing though. I guess we could blacklist the lot of them and do it as:
Code:
iface wlan0 inet dhcp
	pre-up modprobe ndiswrapper
	post-up modprobe b44
EDIT2: Blacklisting the lot and running that doesn't work. And using the first alternative there's still the need to add a line somewhere to bring the interface up. Unless we're going to make it auto, which doesn't really work well with roaming.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Hi there. I have a Dell Vostro 1500 with the 1390 wireless adapter. I have XP on one partition and Ubuntu 8.04 on the other partition. I followed all the instructions to a T on this thread and encountered no problems during the install process. However, I can't view wireless networks. Also, when I boot into XP Pro, all of a sudden my wireless adapter [as well as my cat5 adapter] does not resolve DNS. So basically, I get an IP address, subnet and gateway address, but no DNS suffix. Consequently, both adapters attempt to repair constantly.

Here are my questions:

1. What can I do to attempt to get wireless networking working on Ubuntu 8.04?
2. I made sure to put in the command for bypassing the firmware install for the NDISWrapper; however, it seems like my hardware is going a little nuts in XP now. Is there any chance I messed with the hardware which is causing XP to go on the fritz?

Thank you for the help...

noiseordinance

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by noiseordinance
Hi there. I have a Dell Vostro 1500 with the 1390 wireless adapter. I have XP on one partition and Ubuntu 8.04 on the other partition. I followed all the instructions to a T on this thread and encountered no problems during the install process. However, I can't view wireless networks. Also, when I boot into XP Pro, all of a sudden my wireless adapter [as well as my cat5 adapter] does not resolve DNS. So basically, I get an IP address, subnet and gateway address, but no DNS suffix. Consequently, both adapters attempt to repair constantly.

Here are my questions:

1. What can I do to attempt to get wireless networking working on Ubuntu 8.04?
2. I made sure to put in the command for bypassing the firmware install for the NDISWrapper; however, it seems like my hardware is going a little nuts in XP now. Is there any chance I messed with the hardware which is causing XP to go on the fritz?

Thank you for the help...
What command to "bypass the firmware install" for ndiswrapper? ndiswrapper is not firmware! It uses the same driver you'll use in XP, just wraps it into the linux kernel. So no, you can't have messed with the hardware (especially not with the wired interface as well).

What do you get from the following?
Code:
ifconfig
iwlist scan
ndiswrapper -l

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by jw5801
What command to "bypass the firmware install" for ndiswrapper? ndiswrapper is not firmware! It uses the same driver you'll use in XP, just wraps it into the linux kernel. So no, you can't have messed with the hardware (especially not with the wired interface as well).

What do you get from the following?
Code:
ifconfig
iwlist scan
ndiswrapper -l
Ok, for some reason I thought the blacklist command was having me skip a firmware update on the card. You know, I actually did a different driver than the one listed on this thread. I believe the version I did was 151517R.exe and not 151519R.exe. When I get home I will run the lines that you mentioned.

(Still totally confused why my XP network adapters have gone haywire but it must be purely coincidental.)

Thanks your for help, btw.

noiseordinance

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Great tutorial! I had a few problems but they were due to me not reading through it first.

BTW, being pretty new to Linux, why use 'gksudo' instead of 'sudo'? 'Gksudo' didn't allow me to edit modprobe.d and rc.local. Is that a Gnome specific command?

Anyway, thanks again for all the work that was put into it. Well Done!!

Lundok

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by Lundok
Great tutorial! I had a few problems but they were due to me not reading through it first.

BTW, being pretty new to Linux, why use 'gksudo' instead of 'sudo'? 'Gksudo' didn't allow me to edit modprobe.d and rc.local. Is that a Gnome specific command?

Anyway, thanks again for all the work that was put into it. Well Done!!
Are you using KDE? Then yeah you should use "kdesudo" I guess I should include that. As to why, you can read about it here:
http://www.psychocats.net/ubuntu/graphicalsudo

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by noiseordinance
Ok, for some reason I thought the blacklist command was having me skip a firmware update on the card. You know, I actually did a different driver than the one listed on this thread. I believe the version I did was 151517R.exe and not 151519R.exe. When I get home I will run the lines that you mentioned.

(Still totally confused why my XP network adapters have gone haywire but it must be purely coincidental.)

Thanks your for help, btw.
R151517.EXE is simply an older version of the same driver, I find R151519.EXE to be slightly more stable, but I think that's just a placebo! Both should work equally well.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Ok I reinstalled 8.04 (i know, a little extreme) and followed the updated instructions and it works like a charm. It doesn't seem like it permanently saves my wireless password (it prompts after reboot every other reboot) but I'm happy.

noiseordinance

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by noiseordinance
Ok I reinstalled 8.04 (i know, a little extreme) and followed the updated instructions and it works like a charm. It doesn't seem like it permanently saves my wireless password (it prompts after reboot every other reboot) but I'm happy.
Yeah, that's an issue with network-manager, rather than a driver issue.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Beautiful tutorial. Worked fine for me:

Inspiron 1505
Broadcom ethernet
Dell 1390 wireless card

pavanmaverick

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

I got it to work, eventually. I had a LOT of trouble with it. There's something in particular with the modprobe/modprobe -r things that you have to do in a particular order. I finally got it to work, but it was luck not skill and I was unable to track down what order I did it. Or it may have been a side effect of the next issue. But, not to have a negative attitude, thanks.

My current problem is WPA security. I have a secured wireless router and an unsecured wireless router on different channels. What happens is the secured one requires several trials before it finally connects. The unsecured one starts right up first time every time. It isn't signal strength--the unsecured one also has reduced power.

thinking2loud

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

Quote:
Originally Posted by thinking2loud
I got it to work, eventually. I had a LOT of trouble with it. There's something in particular with the modprobe/modprobe -r things that you have to do in a particular order. I finally got it to work, but it was luck not skill and I was unable to track down what order I did it. Or it may have been a side effect of the next issue. But, not to have a negative attitude, thanks.

My current problem is WPA security. I have a secured wireless router and an unsecured wireless router on different channels. What happens is the secured one requires several trials before it finally connects. The unsecured one starts right up first time every time. It isn't signal strength--the unsecured one also has reduced power.
Alot of people seem to have issues with reliably connecting to a WPA network, but it doesn't seem to be specific to any one card or setup. About all the advice I have is to try an alternate network manager or have a look at kevdog's tutorial on commandline connections. kevdog is somewhat of an authority on wpa_supplicant and similar apps so his thread is a good place to ask for help with it. I don't have the link handy but I've referenced it many a time already in this thread.

jw5801

How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper

JW - first let me say what a wonderful guide and easy to use/read. I wish all guides were that way. The wireless card is the last thing I need to configure and I'll be a happy man. I'm running a HP laptop, tx1000, hardy heron, amd x64. I believe I have run your guide to a T- even ran it twice. I'm having an issue with ndiswrapper. Can't find the module even though I installed the latest version. (excuse the linux beginner-ness exuding here)

Here is my output as requested in trouble shooting:

PHP Code:
nick@Hobbes:~$ lspci -nn grep 14e4
03
:00.0 Network controller [0280]: Broadcom Corporation BCM94311MCG wlan mini-PCI [14e4:4311] (rev 02
PHP Code:
nick@Hobbes:~$ ndiswrapper -l
bcmwl5 
driver installed
    device 
(14E4:4311present (alternate driverbcm43xx
PHP Code:
nick@Hobbes:~$ lsmod grep b43
nick
@Hobbes:~$ 
--no output--

PHP Code:
nick@Hobbes:~$ lsmod grep ndiswrapper
nick
@Hobbes:~$ 
--no output--

PHP Code:
nick@Hobbes:~$ ls -/etc/rc.local
-rwxr-xr-x 1 root root 580 2008-05-28 21:16 /etc/rc.local 
PHP Code:
nick@Hobbes:~$ sudo rmmod b43 b44 ssb
[sudopassword for nick
ERRORModule b43 does not exist in /proc/modules
ERROR
Module b44 does not exist in /proc/modules 
PHP Code:
nick@Hobbes:~$ sudo modprobe ndiswrapper
FATAL
Module ndiswrapper not found
PHP Code:
nick@Hobbes:~$ sudo modprobe b44
nick
@Hobbes:~$ 
--no output--


--So I thought I missed the step to install ndiswrapper, and it seemed to go ok:

PHP Code:
nick@Hobbes:~$ sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9
Reading package lists
... Done
Building dependency tree       
Reading state information
... Done
ndiswrapper
-common is already the newest version.
ndiswrapper-utils-1.9 is already the newest version.
0 upgraded0 newly installed0 to remove and 1 not upgraded
Which is what I received before. (when I ran the guide)

I also have read the previous posts and you mentioned something about a command had to been run as the root user? I scanned the guide and didn't see it. Although it's late right now and I could have missed it.

Any more information you would want, let me know. Thanks again for your time and dedication to this.



*edit*
Here is my blacklist file

PHP Code:
nick@Hobbes:~$ cat /etc/modprobe.d/blacklist
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

#blacklist bcm43xx

#blacklist ssb
blacklist b43
blacklist b43legacy 
and my rc.local file:

PHP Code:
nick@Hobbes:~$ cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

## TouchKit kernel module section begin ##
rmmod touchkitusb
# This module may be renamed ?usbtouchscreen?.
insmod /lib/modules/tkusb.o
# for Kernel 2.6.x only.
## TouchKit kernel module section end ##

modprobe -r b44
modprobe 
-r ssb
modprobe ndiswrapper
modprobe b44

exit 
and finally my /etc/modules file:

PHP Code:
nick@Hobbes:~$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
rtc 
Gosh that's all I can think of.

toastermm

 0 1 2
Previous Question:  Would program help accessibility  Ubuntu Forums  Assistive Technology AccessibilityNext Question:  playing video  Ubuntu Forums  Gutsy Gibbon Idea Pool CLOSED

- Source: How To Dell 1390 WLAN Broadcom 4311 [14e4 4311] for Laptops using ndiswrapper Ubuntu Forums Tutorials Tips
- Previous Question: Would program help accessibility Ubuntu Forums Assistive Technology Accessibility
- Next Question: playing video Ubuntu Forums Gutsy Gibbon Idea Pool CLOSED