• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Wlan funktioniert nicht (Broadcom 4312) [gelöst] + Anleitung

zman

Newbie
Moin,

irgendwie werde ich nicht schlau, unter windows funktioniert das WLAN einwandfrei und unter Suse funktioniert es nicht (Knetworkmangaer)....

Code:
collectNWData.sh V0.6.1.12 (Rev: 1.162, Build: 2009/06/09 18:29:26)
--- Welcher Netzwerkverbindungtyp soll getestet werden?
--- (2) Kabellose Verbindung (WLAN)
--- Welche Netzwerktopologie liegt vor?
--- (2) WLAN HW router <---> LinuxClient
--- Auf welchem Rechner wird das Script ausgeführt?
--- (1) LinuxClient

--- Keine offensichtlichen Konfigurationsfehler/-warnungen gefunden. Die Datei collectNWData.txt im bevorzugten Linux Forum posten und http://www.linux-tips-and-tricks.de/CND_UPL lesen.
==================================================================================================================
==================================================================================================================
*** uname -a
Linux linux-nvx0 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux
==================================================================================================================
*** cat /etc/*-release
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-2.0-x86_64:core-3.2-x86_64"
openSUSE 11.1 (x86_64)
VERSION = 11.1
==================================================================================================================
*** cat /etc/resolv | grep -vi "search"
==================================================================================================================
*** cat /etc/hosts
127.0.0.1	linux-nvx0	localhost.localdomain	localhost
127.0.0.1       localhost
127.0.0.2       linux-nvx0.site linux-nvx0
==================================================================================================================
*** cat /etc/HOSTNAME
linux-nvx0.site
==================================================================================================================
*** route
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
==================================================================================================================
*** ifconfig
eth0      Link encap:Ethernet  Hardware Adresse ##:##:##:##:##:#1  
          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 Sendewarteschlangenlänge:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:16 
lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:192 errors:0 dropped:0 overruns:0 frame:0
          TX packets:192 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 Sendewarteschlangenlänge:0 
          RX bytes:13840 (13.5 Kb)  TX bytes:13840 (13.5 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
02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. Device [11ab:4357] (rev 10)
06:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
==================================================================================================================
*** lsusb
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c052 Logitech, Inc. 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
==================================================================================================================
*** hwinfo --netcard; # (filtered)
31: PCI 200.0: 0200 Ethernet controller
  Model: "Marvell Ethernet controller"
  Vendor: pci 0x11ab "Marvell Technology Group Ltd."
  Device: pci 0x4357 
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x30e4 
  Driver: "sky2"
  Driver Modules: "sky2"
  Device File: eth0
  Link detected: no
    Driver Status: sky2 is active
    Driver Activation Cmd: "modprobe sky2"
32: PCI 600.0: 0280 Network controller
  Model: "Hewlett-Packard Company BCM4312 802.11b/g Wireless LAN Controller"
  Vendor: pci 0x14e4 "Broadcom"
  Device: pci 0x4315 "BCM4312 802.11b/g"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x137d "BCM4312 802.11b/g Wireless LAN Controller"
==================================================================================================================
*** lsmod
| ac                      | aes_generic             | aes_x86_64              | ahci                     |
| battery                 | binfmt_misc             | bluetooth               | bnep                     |
| bridge                  | btusb                   | button                  | cbc                      |
| cdrom                   | container               | cpufreq_conservative    | cpufreq_powersave        |
| cpufreq_userspace       | crc_t10dif              | crypto_blkcipher        | dm_crypt                 |
| dm_mod                  | dock                    | edd                     | ehci_hcd                 |
| ext3                    | fan                     | ff_memless              | fuse                     |
| hid                     | hwmon                   | i2c_core                | i2c_piix4                |
| ip6_tables              | iptable_filter          | iptable_raw             | ip_tables                |
| ipt_LOG                 | ipt_REJECT              | jbd                     | joydev                   |
| l2cap                   | libata                  | loop                    | mbcache                  |
| nf_conntrack            | nf_conntrack_ipv4       | nf_conntrack_netbios_ns | ohci_hcd                 |
| output                  | pci_hotplug             | pcspkr                  | powernow_k8              |
| processor               | rfcomm                  | rtc_cmos                | rtc_core                 |
| rtc_lib                 | sco                     | scsi_mod                | sd_mod                   |
| serio_raw               | sg                      | sha256_generic          | shpchp                   |
| sky2                    | snd                     | snd_hda_intel           | snd_hwdep                |
| snd_mixer_oss           | snd_page_alloc          | snd_pcm                 | snd_pcm_oss              |
| snd_seq                 | snd_seq_device          | snd_timer               | soundcore                |
| sr_mod                  | stp                     | thermal                 | thermal_sys              |
| uhci_hcd                | usbcore                 | usbhid                  | video                    |
| wmi                     | x_tables                | xt_limit                | xt_NOTRACK               |
| xt_physdev              | xt_pkttype              | xt_state                | xt_tcpudp                |
==================================================================================================================
*** cat /etc/sysconfig/network/ifcfg-[earwd]* | egrep -v ".*=''"
==================================================================================================================
*** iwconfig
lo        no wireless extensions.
eth0      no wireless extensions.
pan0      no wireless extensions.
==================================================================================================================
*** Actual date for bias of following greps
20:21:52 2009-06-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      | 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           | tamarack.cis            |
==================================================================================================================
*** ndiswrapper -l
No ndiswrapper module loaded
==================================================================================================================
*** Active processes
wpa_supplicant:YES knetworkmanager:YES nm-applet:NO
==================================================================================================================
*** grep NETWORKMANAGER /etc/sysconfig/network/config
NETWORKMANAGER="yes"
==================================================================================================================
*** 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*: Datei oder Verzeichnis nicht gefunden
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="##:##:##:##:##:#1", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
==================================================================================================================
*** 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
IF:eth0  IM:1
DI:1 dI:0 NI:1 cNI:1 NDIS:0 NIWL:0 IP6:0 KM:0 WLW: 0 AP:0

Ich hoffe mal ihr könnt mir irgendwie helfen, langsam bin ich ratlos-

Danke schonmal im vorraus

zman

//Edit Lösung

So habe dann ma nach ein paar Stunden Arbeit die Lösung herausgefunden:

Wenn mann den Befehl hwinfo --netcard in einer Konsole als root ausführt und dort in etwa folgendes erscheint:

Code:
32: PCI 600.0: 0280 Network controller
  [Created at pci.318]                
  UDI: /org/freedesktop/Hal/devices/pci_14e4_4315
  Unique ID: vTuk.Zw5lzS0+r93                    
  Parent ID: WL76.CFWB_c05nW2                    
  SysFS ID: /devices/pci0000:00/0000:00:09.0/0000:06:00.0
  SysFS BusID: 0000:06:00.0                                                                                                                                                         
  Hardware Class: network                                                                                                                                                           
  Model: "Hewlett-Packard Company BCM4312 802.11b/g Wireless LAN Controller"                                                                                                        
  Vendor: pci 0x14e4 "Broadcom"                                                                                                                                                     
  Device: pci 0x4315 "BCM4312 802.11b/g"                                                                                                                                            
  SubVendor: pci 0x103c "Hewlett-Packard Company"                                                                                                                                   
  SubDevice: pci 0x137d "BCM4312 802.11b/g Wireless LAN Controller"                                                                                                                 
  Revision: 0x01                                                                                                                                                                    
  Memory Range: 0x92000000-0x92003fff (rw,non-prefetchable)                                                                                                                         
  IRQ: 5 (no events)                                                                                                                                                                
  Module Alias: "pci:v000014E4d00004315sv0000103Csd0000137Dbc02sc80i00"                                                                                                             
  Config Status: cfg=no, avail=yes, need=no, active=unknown                                                                                                                         
  Attached to: #12 (PCI bridge)

Dann sind die nötigen Treiber nicht installiert. Woran erkennt man das?!
Man erkennt es daran das folgende Zeilen fehlen:
Code:
Driver: "wl"
Driver Modules: "wl"
Device File: eth1
Features: WLAN
Driver Status: wl is active
Driver Activation Cmd: "modprobe wl"

Wichtig: Bei der nachfolgenden Anleitung ist es umgehend erforderlich mit dem Internet verbunden zu sein via Kabel!

Wo bekomme ich die nötigen Treiber her? Am einfachsten ist es einfach folgende One-Klick installation zu downloaden:
http://packman.links2linux.de/install/broadcom-wl
Dann braucht ihr diese nur noch mit root rechten ausführen (einfach anklicken)
Und Yast installiert automatisch alle benötigten Pakete.

Danach Rechner neustarten, und das Internet genießen!

Hier noch mal das was bei hwinfo --netcard in etwa stehen sollte:

Code:
32: PCI 600.0: 0282 WLAN controller
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_14e4_4315
  Unique ID: JNkJ.bL_9V016GP1
  Parent ID: WL76.CFWB_c05nW2
  SysFS ID: /devices/pci0000:00/0000:00:09.0/0000:06:00.0
  SysFS BusID: 0000:06:00.0
  Hardware Class: network
  Model: "Hewlett-Packard Company BCM4312 802.11b/g Wireless LAN Controller"
  Vendor: pci 0x14e4 "Broadcom"
  Device: pci 0x4315 "BCM4312 802.11b/g"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x137d "BCM4312 802.11b/g Wireless LAN Controller"
  Revision: 0x01
  Driver: "wl"
  Driver Modules: "wl"
  Device File: eth1
  Features: WLAN
  Memory Range: 0x92000000-0x92003fff (rw,non-prefetchable)
  IRQ: 17 (52009 events)
  HW Address: 00:21:00:98:c3:22
  Link detected: yes
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472
  WLAN bitrates: 1 2 5.5 6 9 11 12 18 24 36 48 54
  WLAN encryption modes: WEP40 WEP104 WEP256 WEP128 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v000014E4d00004315sv0000103Csd0000137Dbc02sc80i00"
  Driver Info #0:
    Driver Status: wl is active
    Driver Activation Cmd: "modprobe wl"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #12 (PCI bridge)

Für welche Chipsätze ist das ganze geeignet?

These packages contain Broadcom's IEEE 802.11a/b/g/n hybrid Linux® device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4321-, and BCM4322-based hardware.

So ich hoffe ich konnte euch durch meine Erfahrung helfen, danke an die jenigen die mich unterstützt haben

zman
 
OP
Z

zman

Newbie
hmm

Ich brauche wohl eine neue Firmware....

Habe mir das Paket broadcom-wl-5.10.91.9-6.pm.13.x86_64.rpm + die abhängigen Pakete besorgt.

Jetzt habe ich nur das Problem das ich die nicht installieren kann weil yast den gpg Key braucht. Den habe ich mir besorgt:
ftp://ftp.links2linux.de/pub/packman/public-keys.asc
Jedoch lässt sich dieser Key nicht manuell bei yast einfügen, weil er den nicht akzeptieren will.......

Das Problem ist das ich zur Zeit nur über WLAN ins netz komme sonst hätte ich das schon über Kabel versucht.

An der Stelle stehe ich jetzt auf dem Schlauch...
 
Oben