Netgear WN511B issues

I have just installed SuSE on my Mrs. laptop she got from a friend. Its an old POS (hp n5420l) and am still kinda new to linux. I have already put the card into the pcmcia slot and used ndiswrapper to create the drivers, blacklisted the native driver, and still cant get the card to show up in YaST. If anyone can please give me a hand, i would greatly appreciate it.

Thanks

download this script

Benutzeranleitung/Usersguide von/of collectNWData | collectNWData.sh

that Axel recommends; it was developed by framp in Germany and seems to run very well;

you might even discern the answer you need by reading the results: it safely analyses your system without risking it;

if you cannot discern the answer, post the results back and forum may be able to help you

ran it and this is what it told me.


collectNWData.sh V0.6.1.15 (Rev: 1.165, Build: 2009/09/02 18:39:22)
--- Which type of your network connection should be tested?
--- (2) Wireless connection (WLAN)
--- What's the type of networktopology?
--- (1) WLAN access point <---> LinuxClient
--- On which host is the script executed?
--- (1) LinuxClient
!!! CND0110E: For the selected connection type there was no active network interface found on your system
!!! CND0260E: ndiswrapper for wn511b can't be used in parallel with linux native driver ssb
!!! CND0230W: IPV6 enabled
!!! CND0310W: Classic network configuration with ifup was detected. Configuration with knetworkmanager is much easier
--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions about the error/warning messages and how to fix the problems
--- If you still don't have success then post the contents of file collectNWData.txt in the net (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links) and then the nopaste link on your favorite Linux forum.
==================================================================================================================
==================================================================================================================
*** uname -a
Linux ledonne 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux
==================================================================================================================
*** cat /etc/*-release
openSUSE 11.1 (i586)
VERSION = 11.1
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-2.0-ia32:core-3.2-ia32"
==================================================================================================================
*** cat /etc/resolv | grep -vi "search"
==================================================================================================================
*** cat /etc/hosts
127.0.0.1       localhost
127.0.0.2       ledonne.site ledonne
==================================================================================================================
*** cat /etc/HOSTNAME
ledonne.site
==================================================================================================================
*** route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
==================================================================================================================
*** 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:382 errors:0 dropped:0 overruns:0 frame:0
          TX packets:382 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:25892 (25.2 Kb)  TX bytes:25892 (25.2 Kb)
==================================================================================================================
*** ping tests
connect: Network is unreachable
Ping of 195.135.220.3 failed
ping: unknown host www.suse.de
Ping of www.suse.de failed
==================================================================================================================
*** dhcpcd-test
==================================================================================================================
*** lspci
06:00.0 Network controller [0280]: Broadcom Corporation BCM43XG [14e4:4329] (rev 01)
==================================================================================================================
*** lsusb
Bus 001 Device 103: ID 0781:5406 SanDisk Corp. Cruzer Micro 1/2/4GB Flash Drive
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
==================================================================================================================
*** hwinfo --netcard; # (filtered)
21: PCI 600.0: 0280 Network controller
  Model: "Broadcom BCM43XG"
  Vendor: pci 0x14e4 "Broadcom"
  Device: pci 0x4329 "BCM43XG"
  SubVendor: pci 0x1385 "Netgear"
  SubDevice: pci 0x7b00 
  Driver: "b43-pci-bridge"
  Driver Modules: "ssb"
    Driver Status: ssb is active
    Driver Activation Cmd: "modprobe ssb"
==================================================================================================================
*** lsmod
| ac97_bus                | agpgart                 | ata_generic             | ata_piix                 |
| autofs4                 | b43                     | binfmt_misc             | cdrom                    |
| cfg80211                | crc_ccitt               | crc_t10dif              | dm_mod                   |
| dock                    | edd                     | ext3                    | fat                      |
| floppy                  | fuse                    | hwmon                   | i2c_core                 |
| i2c_piix4               | ide_cd_mod              | ide_core                | ide_disk                 |
| ide_pci_generic         | input_polldev           | intel_agp               | ip_tables                |
| iptable_filter          | ipv6                    | ircomm                  | ircomm_tty               |
| irda                    | isp1760                 | jbd                     | joydev                   |
| led_class               | libata                  | loop                    | lp                       |
| mac80211                | mbcache                 | ndiswrapper             | nls_cp437                |
| nls_iso8859_1           | parport                 | parport_pc              | pci_hotplug              |
| pcmcia                  | pcmcia_core             | pcspkr                  | piix                     |
| ppdev                   | raw                     | rfkill                  | rsrc_nonstatic           |
| rtc_cmos                | rtc_core                | rtc_lib                 | scsi_mod                 |
| sd_mod                  | sg                      | shpchp                  | snd                      |
| snd_ac97_codec          | snd_maestro3            | snd_mixer_oss           | snd_page_alloc           |
| snd_pcm                 | snd_pcm_oss             | snd_seq                 | snd_seq_device           |
| snd_timer               | soundcore               | sr_mod                  | ssb                      |
| st                      | thermal_sys             | uhci_hcd                | usb_storage              |
| usbcore                 | vfat                    | x_tables                | yenta_socket             |
==================================================================================================================
*** cat /etc/sysconfig/network/ifcfg-[earwd]* | egrep -v ".*=''"
==================================================================================================================
*** cat /etc/sysconfig/network/ifcfg-wlan0
BOOTPROTO='dhcp'
STARTMODE='auto'
USERCONTROL='no'
WIRELESS_AUTH_MODE='open'
WIRELESS_BITRATE='auto'
WIRELESS_DEFAULT_KEY='@@@@@@'
WIRELESS_KEY_LENGTH='@@@@@@'
WIRELESS_MODE='Managed'
WIRELESS_POWER='yes'
==================================================================================================================
*** iwconfig
lo        no wireless extensions.
==================================================================================================================
*** Actual date for bias of following greps
11:04:48 2009-10-21
==================================================================================================================
*** grep -i radio /var/log/boot.msg | tail -n 5
==================================================================================================================
*** dmesg | grep -i radio | tail -n 5
==================================================================================================================
*** tail -n 300 /var/log/messages* | /usr/bin/grep -i firmware | tail -n 5
==================================================================================================================
*** ls /lib/firmware
| 2.6.27.7-9-default      | 2.6.27.7-9-pae          | 2.6.27.7-9-xen          | 3CCFEM556.cis            |
| 3CXEM556.cis            | COMpad2.cis             | COMpad4.cis             | DP83903.cis              |
| E-CARD.cis              | LA-PCM.cis              | MT5634ZLX.cis           | NE2K.cis                 |
| PCMLM28.cis             | PE-200.cis              | PE520.cis               | RS-COM-2P.cis            |
| aica_firmware.bin       | asihpi                  | digiface_firmware.bin   | digiface_firmware_rev11.bin |
| ea                      | emagic                  | emu                     | ess                      |
| korg                    | mixart                  | multiface_firmware.bin  | multiface_firmware_rev11.bin |
| pcxhr                   | sb16                    | tamarack.cis            | vx                       |
| yamaha                  |
==================================================================================================================
*** ndiswrapper -l
wn511b : driver installed
	device (14E4:4329) present (alternate driver: ssb)
==================================================================================================================
*** Active processes
wpa_supplicant:NO knetworkmanager:NO nm-applet:NO
==================================================================================================================
*** grep NETWORKMANAGER /etc/sysconfig/network/config
NETWORKMANAGER="no"
==================================================================================================================
*** grep -i persistent /etc/sysconfig/network/config
==================================================================================================================
*** grep 'eth|ath|wlan|ra' /etc/udev/rules.d/*net_persistent* /etc/udev/rules.d/70-persistent-net
/usr/bin/egrep: /etc/udev/rules.d/*net_persistent*: No such file or directory
==================================================================================================================
*** grep -r 'eth[0-10]|ath[0-10]|wlan[0-10]|ra[0-10]' /etc/modprobe.*
/etc/modprobe.conf:install eth0             /bin/true
/etc/modprobe.conf:install eth1             /bin/true
==================================================================================================================
*** iwlist scanning
No WLANs found
==================================================================================================================
*** NWEliza states
DI:0 dI:0 NI:1 cNI:1 NDIS:1 NIWL:1 IP6:1 KM:0 WLW: 0 AP:0 

no matter how i try to configure the network settings, it doesnt want to connect. HELP!

On 10/21/2009 10:16 AM, Kealin wrote:
>
> ran it and this is what it told me.
>
>
> Code:
> --------------------
>
> collectNWData.sh V0.6.1.15 (Rev: 1.165, Build: 2009/09/02 18:39:22)
> — Which type of your network connection should be tested?
> — (2) Wireless connection (WLAN)
> — What’s the type of networktopology?
> — (1) WLAN access point <—> LinuxClient
> — On which host is the script executed?
> — (1) LinuxClient
> !!! CND0110E: For the selected connection type there was no active network interface found on your system
> !!! CND0260E: ndiswrapper for wn511b can’t be used in parallel with linux native driver ssb

Blacklist ssb.

I have already put the card into the pcmcia slot and used ndiswrapper to create the drivers, blacklisted the native driver

I have confirmed and reconfirmed that it is blacklisted. Maybe i wrote the entry wrong. in /etc/modprobe.d/blacklist.txt i typed “blacklist <ssb>” without the quotes.

On 10/21/2009 02:46 PM, Kealin wrote:
>
>> I have already put the card into the pcmcia slot and used ndiswrapper to
>> create the drivers, blacklisted the native driver
>
> I have confirmed and reconfirmed that it is blacklisted. Maybe i wrote
> the entry wrong. in /etc/modprobe.d/blacklist.txt i typed “blacklist
> <ssb>” without the quotes.

Get rid of the brackets as well.

ok, Ive removed the bracketsm collectNWData.sh show’s all is ok. but i still cant connect to any network. I am also noticing when i try a manual config of the network, it says “wireless card (no hwinfo)” could this be the issue, and if it is, how do i fix it?

there’s a package named compat-wireless in the update repo, have you got it installed ?

On 10/22/2009 11:26 AM, broumbroum23 wrote:
>
> there’s a package named compat-wireless in the update repo, have you got
> it installed ?

Compat-wireless will not work for a 14e4:4329! He either needs to use
ndiswrapper of Broadcom-wl. Obviously, he chose ndiswrapper.

well I’ve got several wireless cards/dongle installed on various computers, which have also different way to setting up.
e.g. all intel wless mini pci cards were recognized by the default set of kernel modules in opensuse 11.1, where all of the dongles needed a optional module.
2 mini-pci from intel wlan were alright at first boot.
1 dongle from linksys was right ok with ndiswrapper
2 netgear dongles weren’t ok with ndiswrapper, and I found compat-wireless on the web, compiled and installed in 3 hours…But it went fine. that could be avoided if i had checked the open build service repositories for compat-wireless before.

Index of /repositories/driver:/wireless

I downloaded the repository files, but when i try to install the rmp’s i get a window with a long list of errors. I’m seriously about ready to through this thing against the wall >.<… My friend and i have been working on this thing all week to no avail. Maybe i should just put windows back on it.

If anyone else can possibly think of how to get this thing working, PLEASE PLEASE help… I really dont wanna have to resort back to windows.

you better add the repository to the system repositories.
open yast2 -> software repositories -> add repository and use as an URL :

http://download.opensuse.org/repositories/driver:/wireless/openSUSE_11.1/

or
open terminal:

sudo zypper ar http://download.opensuse.org/repositories/driver:/wireless/openSUSE_11.1/ WIFI

to add the repo

then go to the software packages and look for “wireless” packages

EDIT : found that also netgear uses broadcom so the b43 may be supporting it : http://www.broadcom.com/support/802.11/linux_sta.php
GOOD LUCK !

EDIT : found that also netgear uses broadcom so the b43 may be supporting it : Broadcom.com - 802.11 Linux STA driver where the readme file mention the device id (cardbus as PCI ?):

Is my Brcm device with PCI Device ID XYZ Supported?  These PCI Device IDs are supported:

	  Device ID	Product Name
          ---------   	-------------
          0x4311  	4311 2.4 Ghz
          0x4312  	4311 Dualband
          0x4313  	4311 5 Ghz
          0x4315  	4312 2.4 Ghz
          0x4328  	4321 Dualband
          0x4329  	4321 2.4 Ghz
          0x432a  	4321 5 Ghz
          0x432b  	4322 Dualband
          0x432c  	4322 2.4 Ghz
          0x432d  	4322 5 Ghz
          0x4353  	43224 Dualband
          0x4357  	43225 2.4 Ghz


b43 - Linux Wireless

it said that b43 would not support it, the broadcom hybrid space driver is recommended. I’ve built from the latest source yesterday a kmp wifi-sta-driver on the OBS below.
http://download.opensuse.org/repositories/home://broumbroum23/openSUSE_11.1_oss/

Searching for “broadcom” in OBS or at packman repo would have saved you that work.

There are quite a few other -and to be honest better- packages than yours.

well I’m trying to make them better than yours alkoehl for example, still it’s not easy to build a package from source, I’m training to make packages available to people I help, even though packman finds almost everything…
Never mind if you think my products are not enough good stuff, it shall be considered as original products and not sample copies.

If you want to learn, I recommend to read -in this case- the SPEC of the packman packages.

IMHO this is the best way to learn, reading stuff of people with experience.

A few examples:


# Set build to default kernel
%if 0%{?suse_version} == 1120
export flavors to build=desktop pae default
%else
export flavors to build=default pae
%endif

Unnecessary.

If you want to exclude flavors from building, use the %suse_kernel_module_package macro in the correct way.

  1. The name is also not a good choice, it should reflect the name of the package given by its developers, “wifi” and “sta” are too general.

  2. No changelog and consequently no possibility to contact the packager for feedback or bugreports

%post
echo -e "# replaced by wl.ko lib80211 
blacklist ssb" | sudo tee -a /etc/modprobe.d/blacklist
echo -e "# replaced by wl.ko lib80211 
blacklist b43" | sudo tee -a /etc/modprobe.d/blacklist
modprobe lib80211
insmod wl.ko

Good idea but with two major drawbacks.

  • no routine to remove those entries on deinstalling the package

  • loading the modules is OK, but you forgot to unload the modules ssb and b43 which will cause trouble, if they are already loaded

Good literature to start:

Packaging/SUSE Package Conventions - openSUSE

Kernel Module Packages - openSUSE

thanks for those remarks. I’ll see further back in my code.

%post
echo -e "# replaced by wl.ko lib80211 
blacklist ssb" | sudo tee -a /etc/modprobe.d/blacklist
echo -e "# replaced by wl.ko lib80211 
blacklist b43" | sudo tee -a /etc/modprobe.d/blacklist
modprobe lib80211
insmod wl.ko

How would you impl. the %postun ?? I could make a backup but it could not reflect changes after the blacklistings.
there’s much more things I want to do, and I’ve already read and the wiki you mentioned… EDiT : well no translation here…

I would not.

The solution in the packman package is much better, so download the src.rpm, unpack it and read the spec.