Wireless problem with ndiswrapper and Broadcom 4312

I have been trying to get by Broadcom BCM4312 wireless card to work with OpenSuse 11.1.
Following the directions in the sticky post of the wireless forum. I tried installing
the firmware using
sudo /usr/sbin/install_bcm43xx_firmware

This resulted in nothing being listed in the dmesg output.

I downloaded the XP drivers and installed ndiswrapper. I can run:
iwlist wlan0 scan essid any
which provides a list of the wireless signals in my vicinity. However, I still cannot
connect with the signal. Firefox still cannot find the server for any web page I try.

The frustrating this is that this worked right out of the box in Ubuntu, but I’d like to
use OpenSuse.

Any help would be appreciated.

Other output is:

lspci | grep Broadcom
05:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)

lspci -n
05:00.0 0280: 14e4:4315 (rev 01)

dmesg
ndiswrapper (link_pe_images:575): fixing KI_USER_SHARED_DATA address in the driver
ndiswrapper: driver bcmwl5 (Broadcom,09/20/2007, 4.170.25.12) loaded
acpi device:22: registered as cooling_device1
input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:1f/device:20/inp
ut/input7
ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
vendor=1002 device=7915
ndiswrapper 0000:05:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ndiswrapper 0000:05:00.0: setting latency timer to 64
ndiswrapper: using IRQ 17
ACPI: AC Adapter [ADP1] (off-line)
wlan0: ethernet device 00:23:4d:93:b5:d5 using NDIS driver: bcmwl5, version: 0x4aa190
c, NDIS version: 0x501, vendor: ‘NDIS Network Adapter’, 14E4:4315.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with W
PA, WPA2, WPA2PSK

iwconfig
wlan0 IEEE 802.11g ESSID:“MyWifi” Nickname:“linux-cazx”
Mode:Managed Frequency:2.437 GHz Access Point: 00:21:29:A8:92:B5
Bit Rate=54 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:--** Security mode:open
Power Management:off
Link Quality:95/100 Signal level:-35 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:18 Invalid misc:132342 Missed beacon:0

From /var/log/messages
Jan 1 20:41:51 linux-cazx syslog-ng[1924]: Configuration reload request received, reloading configuration;
Jan 1 20:41:51 linux-cazx syslog-ng[1924]: New configuration initialized;
Jan 1 20:41:51 linux-cazx ifdown: wlan0 device: Broadcom Corporation BCM4312 802.11b/g (rev 01)
Jan 1 20:41:51 linux-cazx ifup-dhcp:
Jan 1 20:41:51 linux-cazx ifup-dhcp: wlan0 IP address: 10.10.10.104/24 (linux-cazx)
Jan 1 20:41:52 linux-cazx ifup-route: Error while executing:
Jan 1 20:41:52 linux-cazx ifup-route: Command ‘ip route replace to 10.10.10.102/24 via 10.10.10.1 dev wlan0’ returned:
Jan 1 20:41:52 linux-cazx ifup-route: RTNETLINK answers: Invalid argument
Jan 1 20:41:52 linux-cazx ifup-route: Configuration line: 10.10.10.102 10.10.10.1 255.255.255.0 wlan0
Jan 1 20:41:52 linux-cazx SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 …
Jan 1 20:41:52 linux-cazx ifup: wlan0 device: Broadcom Corporation BCM4312 802.11b/g (rev 01)
Jan 1 20:41:52 linux-cazx SuSEfirewall2: using default zone ‘ext’ for interface pan0
Jan 1 20:41:52 linux-cazx SuSEfirewall2: using default zone ‘ext’ for interface wlan0
Jan 1 20:41:52 linux-cazx SuSEfirewall2: Another SuSEfirewall2 with PID 8576 found, waiting …
Jan 1 20:41:52 linux-cazx SuSEfirewall2: batch committing…
Jan 1 20:41:52 linux-cazx SuSEfirewall2: Firewall rules successfully set
Jan 1 20:41:54 linux-cazx kernel: klogd 1.4.1, ---------- state change ----------
Jan 1 20:41:54 linux-cazx SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 …
Jan 1 20:41:54 linux-cazx SuSEfirewall2: using default zone ‘ext’ for interface pan0
Jan 1 20:41:54 linux-cazx SuSEfirewall2: using default zone ‘ext’ for interface wlan0
Jan 1 20:41:55 linux-cazx SuSEfirewall2: batch committing…
Jan 1 20:41:55 linux-cazx SuSEfirewall2: Firewall rules successfully set
Jan 1 20:41:55 linux-cazx dhcpcd[8093]: wlan0: exiting

And finally,
ifup wlan0 output
wlan0 device: Broadcom Corporation BCM4312 802.11b/g (rev 01)
DHCP4 client is already running on wlan0
Error while executing:
Command ‘ip route replace to 10.10.10.102/24 via 10.10.10.1 dev wlan0’ returned:
RTNETLINK answers: Invalid argument
Configuration line: 10.10.10.102 10.10.10.1 255.255.255.0 wlan0

toddsimons wrote:
> I have been trying to get by Broadcom BCM4312 wireless card to work with
> OpenSuse 11.1.
> Following the directions in the sticky post of the wireless forum. I
> tried installing
> the firmware using
> sudo /usr/sbin/install_bcm43xx_firmware
>
> This resulted in nothing being listed in the dmesg output.

It shouldn’t. The output from dmesg is for kernel messages - the
script is run in user space.

> I downloaded the XP drivers and installed ndiswrapper. I can run:
> iwlist wlan0 scan essid any
> which provides a list of the wireless signals in my vicinity. However,
> I still cannot
> connect with the signal. Firefox still cannot find the server for any
> web page I try.
>
> The frustrating this is that this worked right out of the box in
> Ubuntu, but I’d like to
> use OpenSuse.
>
> Any help would be appreciated.
>
>
> Other output is:
>
> lspci | grep Broadcom
> 05:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev
> 01)
>
> lspci -n
> 05:00.0 0280: 14e4:4315 (rev 01)

The 4315 is not supported by b43. You do need to use ndiswrapper and
the Windows XP driver.

> dmesg
> ndiswrapper (link_pe_images:575): fixing KI_USER_SHARED_DATA address in
> the driver
> ndiswrapper: driver bcmwl5 (Broadcom,09/20/2007, 4.170.25.12) loaded
> acpi device:22: registered as cooling_device1
> input: Video Bus as
> /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:1f/device:20/inp
> ut/input7
> ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
> vendor=1002 device=7915
> ndiswrapper 0000:05:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> ndiswrapper 0000:05:00.0: setting latency timer to 64
> ndiswrapper: using IRQ 17
> ACPI: AC Adapter [ADP1] (off-line)
> wlan0: ethernet device 00:23:4d:93:b5:d5 using NDIS driver: bcmwl5,
> version: 0x4aa190
> c, NDIS version: 0x501, vendor: ‘NDIS Network Adapter’,
> 14E4:4315.5.conf
> wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK;
> AES/CCMP with W
> PA, WPA2, WPA2PSK
>
> iwconfig
> wlan0 IEEE 802.11g ESSID:“MyWifi” Nickname:“linux-cazx”
> Mode:Managed Frequency:2.437 GHz Access Point:
> 00:21:29:A8:92:B5
> Bit Rate=54 Mb/s Tx-Power:32 dBm
> RTS thr:2347 B Fragment thr:2346 B
> Encryption key:--** Security mode:open
> Power Management:off
> Link Quality:95/100 Signal level:-35 dBm Noise level:-96
> dBm
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:18 Invalid misc:132342 Missed
> beacon:0

You have connected with the AP and the encryption is correct.

> From /var/log/messages
> Jan 1 20:41:51 linux-cazx syslog-ng[1924]: Configuration reload
> request received, reloading configuration;
> Jan 1 20:41:51 linux-cazx syslog-ng[1924]: New configuration
> initialized;
> Jan 1 20:41:51 linux-cazx ifdown: wlan0 device: Broadcom
> Corporation BCM4312 802.11b/g (rev 01)
> Jan 1 20:41:51 linux-cazx ifup-dhcp:
> Jan 1 20:41:51 linux-cazx ifup-dhcp: wlan0 IP address:
> 10.10.10.104/24 (linux-cazx)
> Jan 1 20:41:52 linux-cazx ifup-route: Error while executing:
> Jan 1 20:41:52 linux-cazx ifup-route: Command ‘ip route replace to
> 10.10.10.102/24 via 10.10.10.1 dev wlan0’ returned:
> Jan 1 20:41:52 linux-cazx ifup-route: RTNETLINK answers: Invalid
> argument
> Jan 1 20:41:52 linux-cazx ifup-route: Configuration line:
> 10.10.10.102 10.10.10.1 255.255.255.0 wlan0
> Jan 1 20:41:52 linux-cazx SuSEfirewall2: Setting up rules from
> /etc/sysconfig/SuSEfirewall2 …
> Jan 1 20:41:52 linux-cazx ifup: wlan0 device: Broadcom
> Corporation BCM4312 802.11b/g (rev 01)
> Jan 1 20:41:52 linux-cazx SuSEfirewall2: using default zone ‘ext’ for
> interface pan0
> Jan 1 20:41:52 linux-cazx SuSEfirewall2: using default zone ‘ext’ for
> interface wlan0
> Jan 1 20:41:52 linux-cazx SuSEfirewall2: Another SuSEfirewall2 with
> PID 8576 found, waiting …
> Jan 1 20:41:52 linux-cazx SuSEfirewall2: batch committing…
> Jan 1 20:41:52 linux-cazx SuSEfirewall2: Firewall rules successfully
> set
> Jan 1 20:41:54 linux-cazx kernel: klogd 1.4.1, ---------- state change
> ----------
> Jan 1 20:41:54 linux-cazx SuSEfirewall2: Setting up rules from
> /etc/sysconfig/SuSEfirewall2 …
> Jan 1 20:41:54 linux-cazx SuSEfirewall2: using default zone ‘ext’ for
> interface pan0
> Jan 1 20:41:54 linux-cazx SuSEfirewall2: using default zone ‘ext’ for
> interface wlan0
> Jan 1 20:41:55 linux-cazx SuSEfirewall2: batch committing…
> Jan 1 20:41:55 linux-cazx SuSEfirewall2: Firewall rules successfully
> set
> Jan 1 20:41:55 linux-cazx dhcpcd[8093]: wlan0: exiting
>
>
> And finally,
> ifup wlan0 output
> wlan0 device: Broadcom Corporation BCM4312 802.11b/g (rev 01)
> DHCP4 client is already running on wlan0
> Error while executing:
> Command ‘ip route replace to 10.10.10.102/24 via 10.10.10.1 dev
> wlan0’ returned:
> RTNETLINK answers: Invalid argument
> Configuration line: 10.10.10.102 10.10.10.1 255.255.255.0 wlan0

You have a DHCP configuration problem.

Why are you using ifup to control this device? If you use YaST to set
NetworkManager to control the device, setup is much easier.

Larry

Thanks- using NetworkManager fixed the problem.