HowTo ?: Remove current wireless card drivers and use ndiswrapper

Asked by Gunnar Tryggvason

I am running hp-laptop zd7188cl as dual boot and wireless is working perfect on windows XP. The problem is that the wireless connection is extremely slow when running Ubuntu and it keeps losing connection every few minutes.If I take the laptop and place it right in front of the router it connects, but dos not where it used to be placed. I read that ndiswrapper drivers should solve my problems, but how do I get rid of the linux drivers? I did install the ndiswrapper-drivers, how do I tell ubuntu to use the ndiswrapper drivers. Or is there another solution?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What windows does is of zero value, its a different OS with different support.

Can you give the output of:

sudo lshw -C network

Thanks

Revision history for this message
Gunnar Tryggvason (gtryggvason) said :
#2

gunnar@ferdavel:~$ sudo lshw -C network
[sudo] password for gunnar:
  *-network:0
       description: Ethernet interface
       product: RTL-8139/8139C/8139C+
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 10
       serial: 00:c0:9f:2f:e4:de
       size: 100MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=10.1.31.143 latency=32 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100MB/s
       resources: irq:20 ioport:3000(size=256) memory:d2007800-d20078ff
  *-network:1
       description: Network controller
       product: BCM4306 802.11b/g Wireless LAN Controller
       vendor: Broadcom Corporation
       physical id: 3
       bus info: pci@0000:02:03.0
       version: 02
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list
       configuration: driver=b43-pci-bridge latency=32
       resources: irq:21 memory:d2004000-d2005fff
  *-network
       description: Wireless interface
       physical id: 2
       logical name: wlan0
       serial: 00:90:4b:52:05:d2
       capabilities: ethernet physical wireless
       configuration: broadcast=yes multicast=yes wireless=IEEE 802.11bg

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

ok then you need to blacklist the wireless driver in use: b43-pci-bridge

Then you can use ndisgtk + windows driver (Make sure you use 64bit driver if your OS is 64bit and 32bit driver for 32bit OS)

Revision history for this message
Gunnar Tryggvason (gtryggvason) said :
#4

How do I do that? What is the name of the driver?: b43legacy or cfg80211 or b43-pci-bridge
sudo modprobe -r NameOfTheDriver
sudo gedit /etc/modprobe.d/blacklist
Add this line to the end of the file "blacklist NameOfTheDriver"
gunnar@ferdavel:~$ lsmod
Module Size Used by
binfmt_misc 6587 1
pcmcia 30784 0
snd_intel8x0 25588 2
snd_ac97_codec 100646 1 snd_intel8x0
ac97_bus 1002 1 snd_ac97_codec
snd_pcm_oss 35308 0
snd_mixer_oss 13746 1 snd_pcm_oss
snd_pcm 70694 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy 1338 0
snd_seq_oss 26722 0
arc4 1153 2
snd_seq_midi 4557 0
snd_rawmidi 19056 1 snd_seq_midi
snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
nls_utf8 1069 0
clip 9438 1
snd_seq 47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 19098 2 snd_pcm,snd_seq
cifs 248735 0
joydev 8708 0
atm 35745 3 clip
b43legacy 115152 0
snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
nvidia 7087672 36
fbcon 35102 71
tileblit 2031 1 fbcon
font 7557 1 fbcon
bitblit 4707 1 fbcon
softcursor 1189 1 bitblit
cb710_mmc 6007 0
mac80211 205402 1 b43legacy
snd 54180 14 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
yenta_socket 20408 1
vga16fb 11385 1
vgastate 8961 1 vga16fb
psmouse 63245 0
intel_agp 24119 1
cfg80211 126528 2 b43legacy,mac80211
led_class 2864 1 b43legacy
rsrc_nonstatic 10015 1 yenta_socket
cb710 4885 1 cb710_mmc
pcmcia_core 32964 3 pcmcia,yenta_socket,rsrc_nonstatic
serio_raw 3978 0
agpgart 31724 2 nvidia,intel_agp
soundcore 6620 1 snd
snd_page_alloc 7076 2 snd_intel8x0,snd_pcm
shpchp 28820 0
ppdev 5259 0

parport_pc 25962 1
irda 186556 0
crc_ccitt 1339 1 irda
video 17375 0
output 1871 1 video
lp 7060 0
parport 32635 3 ppdev,parport_pc,lp
usbhid 36110 0
hid 67032 1 usbhid
ohci1394 26950 0
8139too 18545 0
ssb 38902 1 b43legacy
ieee1394 81181 1 ohci1394
8139cp 16186 0
mii 4381 2 8139too,8139cp

Revision history for this message
Gunnar Tryggvason (gtryggvason) said :
#5

gunnar@ferdavel:~$ sudo modprobe -r b43-pci-bridge
[sudo] password for gunnar:
WARNING: All config files need .conf: /etc/modprobe.d/blacklist.local, it will be ignored in a future release.
FATAL: Module b43_pci_bridge not found.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

You should run:

sudo mv /etc/modprobe.d/blacklist.local /etc/modprobe.d/blacklist.conf

You need to blacklist b43legacy, my bad. Files in /etc/modprobe.d MUST end in .conf

Revision history for this message
Gunnar Tryggvason (gtryggvason) said :
#7

I left blacklist.local untouched but added "blacklist b43legacy" to the blacklist.conf. I tryed to follow instructions acc. to this link.:http://ubuntu-virginia.ubuntuforums.org/showthread.php?t=201902&page=61. I placed following drivers on ~/drivers/bcmwl5.ini and -.sys. Bcmwl5.ini I downloaded from http://www.infdump.com/inffiles/B/bcmwl5.inf. I installed bcmwl5.ini threw graphical interface ndisgtk. But never the less no luck. Any chance you could help me?

Revision history for this message
Gunnar Tryggvason (gtryggvason) said :
#8

when I do sudo lshw -C network
  *-network:1
       description: Network controller
       product: BCM4306 802.11b/g Wireless LAN Controller
       vendor: Broadcom Corporation
       physical id: 3
       bus info: pci@0000:02:03.0
       version: 02
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list
       configuration: driver=b43-pci-bridge latency=32
       resources: irq:21 memory:d2004000-d2005fff

It seems that b43-pci-bridge driver is still assigned to the network controller, but when I run the lsmod the name b43-pci-bridge dos not appear. How do I proceed?

Revision history for this message
Launchpad Janitor (janitor) said :
#9

This question was expired because it remained in the 'Open' state without activity for the last 15 days.