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

open suse11 wlan mit WL-138g -gelöst!

Habe hier folgendes Problem:
unter OpenSuse 11 mit KDE3.5 kriege ich den Treiber für folgende WLan-Karte nicht installiert.
Ist ein Dell PC mit ner Asus/Broadcom Karte, den Treiber dafür habe ich unter http://support.asus.com/download gefunden.
Entpacken kriege ich hin, jedoch mit den Befehlen aus der Readme gelange ich zu keinem Erfolg.

cd src/linuxsta/src/wl/linux
ok
make
Linux Directory is /usr/src/linux
Linux Kernel Versions is 2.6.25.18-0.2-default
make -C /usr/src/linux CROSS_COMPILE= M=/home/nico/src/linuxsta/src/wl/linux modules
make: *** /usr/src/linux: Datei oder Verzeichnis nicht gefunden. Schluss.
make: *** [default] Fehler 2

unter kndiswrapper wird leider auch keine Karte angezeigt, wer kann mir n heissen Tipp geben?
 
Hallo Faxweiche,

Du hast vermutlich die Kernel-Quellen und evtl. auch die nötigen Entwicklungs-Pakete (Schemata -> C/C++ Entwicklung) nicht installiert.

Bitte (über YAST2 / Softwareinstallation) nachinstallieren, damit das mit dem Kompilieren klappt.

Gruß Greg
 
danke, sind installiert. jetzt kommt aber bei make:
Code:
Linux Directory is /lib/modules/2.6.25.18-0.2-default/build
Linux Kernel Versions is 2.6.25.18-0.2-default
make -C /lib/modules/2.6.25.18-0.2-default/build CROSS_COMPILE= M=/home/nico/src/linuxsta/src/wl/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.25.18-0.2-obj/x86_64/default'
make -C /usr/src/linux-2.6.25.18-0.2 O=/usr/src/linux-2.6.25.18-0.2-obj/x86_64/default/. modules
  CC [M]  /home/nico/src/linuxsta/src/wl/linux/wlc_led.o
In file included from /home/nico/src/linuxsta/src/wl/linux/wlc_led.c:17:
/home/nico/src/linuxsta/src/wl/linux/../../include/typedefs.h:166: error: conflicting types for ‘bool’
/usr/src/linux-2.6.25.18-0.2/include/linux/types.h:33: error: previous declaration of ‘bool’ was here
In file included from /home/nico/src/linuxsta/src/wl/linux/../../include/linux_osl.h:21,
                 from /home/nico/src/linuxsta/src/wl/linux/../../include/osl.h:24,
                 from /home/nico/src/linuxsta/src/wl/linux/wlc_led.c:19:
/home/nico/src/linuxsta/src/wl/linux/../../include/linuxver.h:19:26: error: linux/config.h: Datei oder Verzeichnis nicht gefunden
make[4]: *** [/home/nico/src/linuxsta/src/wl/linux/wlc_led.o] Fehler 1
make[3]: *** [_module_/home/nico/src/linuxsta/src/wl/linux] Fehler 2
make[2]: *** [sub-make] Fehler 2
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.18-0.2-obj/x86_64/default'
make: *** [default] Fehler 2

die readme ist für mich auch nicht besonders hilfreich:
Building the Driver from Package:
--------------------------------

1. Extract the tar package.
tar -xzvf src-<ver>.tar.gz

2. Build the Driver
cd src/linuxsta/src/wl/linux
in the makefile make sure to set the variables
CROSS_COMPILE=<xxx>, if the the gcc is not already in the $PATH or if a different compiler needs to be used, and
GCC-REV=<xxx> dictates the path of the prebuild regulatory binaries, to use while building the driver.(values it takes now are 3.4.2 or 4.0.2),
if the kernel version is 2.6.14.3 the driver expects that iee80211_crypto.ko module be loaded, prior to loading this driver.

make clean
make

3. Test the Driver by loading it
insmod wl.ko
 
Code:
Linux Directory is /lib/modules/2.6.25.18-0.2-default/build
Code:
make[1]: Leaving directory `/usr/src/linux-2.6.25.18-0.2-obj/x86_64/default'

Hast du ein 64 Bit System aufgesetzt?

Bitte mal zeigen.

Code:
uname -a
 
jepp, sieht nach 64bit aus:
Code:
Linux linux-vw39 2.6.25.18-0.2-default #1 SMP 2008-10-21 16:30:26 +0200 x86_64 x86_64 x86_64 GNU/Linux
 
Bitte führe mal das Script aus und stell das Ergebnis hier rein.

http://www.linux-tips-and-tricks.de/index.php/content/view/52/76/
 
ok:
Code:
- [code]
- collectNWData.sh V0.6.1.7-2 (Rev 1.129)
- --- 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
- 
- !!! CND0330E: Es existiert keine WLAN Verbindung und es ist keine ESSID am Interface wlan0 gesetzt
- !!! CND0190W: Es scheint ein Problem mit der WLAN firmware vorzuliegen
- !!! CND0230W: IPV6 ist eingeschaltet
- !!! CND0240E: Knetworkmanager wird für die Netzwerkkonfiguration benutzt aber die Netzwerkkartenkonfiguration für wlan0,eth0 existiert
- !!! CND0360E: Eine drahtlose Verbindung wurde getestet obwohl eine kabelgebundene Verbindung am Interface eth0 existiert . Das Netzwerkkabel ausstecken und das Script noch einmal starten
- --- Netzwerkkonfigurationsinformationen werden in Datei collectNWData.txt geschrieben ...
- --- 3 Fehler gefunden
- --- 2 Warnungen gefunden
- --- Gehe zu http://www.linux-tips-and-tricks.de/CND um detailiertere Hinweise zu den Fehlermeldungen/Warnungen zu bekommen und wie die Fehler beseitigt werden könnenF
- 
- ==================================================================================================================
- ==================================================================================================================
- *** uname -a
- Linux linux-vw39 2.6.25.18-0.2-default #1 SMP 2008-10-21 16:30:26 +0200 x86_64 x86_64 x86_64 GNU/Linux
- ==================================================================================================================
- *** cat /etc/SuSE-release
- openSUSE 11.0 (X86-64)
- VERSION = 11.0
- ==================================================================================================================
- *** cat /etc/resolv | grep -vi "search"
- nameserver 192.168.1.1
- ==================================================================================================================
- *** route
- Kernel IP Routentabelle
- Ziel            Router          Genmask         Flags Metric Ref    Use Iface
- 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
- 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
- 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
- ==================================================================================================================
- *** ifconfig
- eth0      Link encap:Ethernet  Hardware Adresse ##:##:##:##:##:#1  
-           inet Adresse:192.168.1.4  Bcast:192.168.1.255  Maske:255.255.255.0
-           inet6 Adresse: fe80::221:70ff:fe09:ec3f/64 Gültigkeitsbereich:Verbindung
-           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
-           RX packets:123642 errors:0 dropped:0 overruns:0 frame:0
-           TX packets:71625 errors:0 dropped:0 overruns:0 carrier:0
-           collisions:0 Sendewarteschlangenlänge:100 
-           RX bytes:172486957 (164.4 Mb)  TX bytes:5909495 (5.6 Mb)
-           Speicher:fdfc0000-fdfe0000 
- lo        Link encap:Lokale Schleife  
-           inet Adresse:127.0.0.1  Maske:255.0.0.0
-           inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
-           UP LOOPBACK RUNNING  MTU:16436  Metric:1
-           RX packets:440 errors:0 dropped:0 overruns:0 frame:0
-           TX packets:440 errors:0 dropped:0 overruns:0 carrier:0
-           collisions:0 Sendewarteschlangenlänge:0 
-           RX bytes:33288 (32.5 Kb)  TX bytes:33288 (32.5 Kb)
- ==================================================================================================================
- *** ping tests
- Ping of 195.135.220.3 OK
- Ping of www.suse.de OK
- ==================================================================================================================
- *** lspci
- 00:19.0 Ethernet controller [0200]: Intel Corporation 82562V-2 10/100 Network Connection [8086:10c0] (rev 02)
- 02:00.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)
- ==================================================================================================================
- *** lsusb
- Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- 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 004: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
- Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- Bus 005 Device 003: ID 13fd:1240 Initio Corporation 
- Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 006 Device 002: ID 1307:0165 Transcend Information, Inc. 
- Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- ==================================================================================================================
- *** hwinfo --netcard; # (filtered)
- 09: PCI 200.0: 0282 WLAN controller
-   Model: "Broadcom BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller"
-   Vendor: pci 0x14e4 "Broadcom"
-   Device: pci 0x4318 "BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller"
-   SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
-   SubDevice: pci 0x100f 
-   Driver: "b43-pci-bridge"
-   Driver Modules: "ssb"
-   Device File: wlan0
-     Driver Status: ssb is active
-     Driver Activation Cmd: "modprobe ssb"
- 26: PCI 19.0: 0200 Ethernet controller
-   Model: "Intel 82562V-2 10/100 Network Connection"
-   Vendor: pci 0x8086 "Intel Corporation"
-   Device: pci 0x10c0 "82562V-2 10/100 Network Connection"
-   SubVendor: pci 0x1028 "Dell"
-   SubDevice: pci 0x0238 
-   Driver: "e1000e"
-   Driver Modules: "e1000e"
-   Device File: eth0
-   Link detected: yes
-     Driver Status: e1000e is active
-     Driver Activation Cmd: "modprobe e1000e"
- ==================================================================================================================
- *** List of loaded modules
- | acpi_cpufreq            | af_packet               | arc4                    | ata_piix                 |
- | b43                     | binfmt_misc             | button                  | cdrom                    |
- | cfg80211                | cpufreq_conservative    | cpufreq_powersave       | cpufreq_userspace        |
- | crypto_blkcipher        | dcdbas                  | dm_mod                  | dock                     |
- | e1000e                  | ecb                     | edd                     | ehci_hcd                 |
- | ext3                    | fan                     | fat                     | ff_memless               |
- | fglrx                   | firmware_class          | floppy                  | fuse                     |
- | hid                     | i2c_core                | i2c_i801                | input_polldev            |
- | intel_agp               | ip6table_filter         | ip6table_mangle         | ip6_tables               |
- | ip6t_LOG                | ip6t_REJECT             | iptable_filter          | iptable_mangle           |
- | iptable_nat             | ip_tables               | ipt_LOG                 | ipt_REJECT               |
- | ipv6                    | iTCO_vendor_support     | iTCO_wdt                | jbd                      |
- | joydev                  | led_class               | libata                  | loop                     |
- | mac80211                | mbcache                 | microcode               | ndiswrapper              |
- | nf_conntrack            | nf_conntrack_ipv4       | nf_conntrack_ipv6       | nf_conntrack_netbios_ns  |
- | nf_nat                  | nls_cp437               | nls_iso8859_1           | pcmcia                   |
- | pcmcia_core             | processor               | rfkill                  | rfkill_input             |
- | rtc_cmos                | rtc_core                | rtc_lib                 | scsi_mod                 |
- | sd_mod                  | serio_raw               | sg                      | 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                  | ssb                      |
- | thermal                 | uhci_hcd                | usbcore                 | usbhid                   |
- | usb_storage             | vfat                    | x_tables                | xt_limit                 |
- | xt_pkttype              | xt_state                | xt_tcpudp               |
- ==================================================================================================================
- *** cat /etc/sysconfig/network/ifcfg-[earwd]* | egrep -v ".*=''"
- ==================================================================================================================
- *** cat /etc/sysconfig/network/ifcfg-eth0
- BOOTPROTO='dhcp'
- NAME='82562V-2 10/100 Network Connection'
- STARTMODE='auto'
- USERCONTROL='no'
- ==================================================================================================================
- *** cat /etc/sysconfig/network/ifcfg-wlan0
- BOOTPROTO='dhcp'
- NAME='BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller'
- STARTMODE='auto'
- USERCONTROL='no'
- WIRELESS_AUTH_MODE='psk'
- WIRELESS_BITRATE='auto'
- WIRELESS_DEFAULT_KEY='@@@@@@'
- WIRELESS_ESSID='§§§§§§§§1'
- WIRELESS_KEY_LENGTH='@@@@@@'
- WIRELESS_MODE='Managed'
- WIRELESS_POWER='no'
- WIRELESS_WPA_PSK='@@@@@@'
- ==================================================================================================================
- *** iwconfig
- lo        no wireless extensions.
- eth0      no wireless extensions.
- wmaster0  no wireless extensions.
- wlan0     IEEE 802.11g  ESSID:""  
-           Mode:Managed  Channel:0  Access Point: Not-Associated   
-           Tx-Power=0 dBm   
-           Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
-           Encryption key: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
- ==================================================================================================================
- *** Actual date for bias of following greps
- 14:51:24 2008-11-28
- ==================================================================================================================
- *** tail -n 300 /var/log/messages* | grep -i -A 5 'firmware'
- Nov 26 07:54:29 linux-vw39 kernel: b43-phy0 ERROR: Firmware file "b43/ucode5.fw" not found or load failed.
- Nov 26 07:54:29 linux-vw39 kernel: b43-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the latest firmware (version 4).
- Nov 26 07:54:29 linux-vw39 firmware.sh[2700]: Cannot find  firmware file 'b43/ucode5.fw'
- Nov 26 07:54:29 linux-vw39 powersaved[2709]: WARNING (continueEvent:250) Could not execute program /usr/lib/powersave/scripts for event daemon.scheme.change: No such file or directory
- Nov 26 07:54:30 linux-vw39 smartd[2719]: smartd 5.39 2008-05-08 21:56 [x86_64-unknown-linux-gnu] (local build) Copyright (C) 2002-8 by Bruce Allen, http://smartmontools.sourceforge.net 
- ---------------------------------------------------------------------------
- Nov 28 12:43:35 linux-vw39 kernel: b43-phy0 ERROR: Firmware file "b43/ucode5.fw" not found or load failed.
- Nov 28 12:43:35 linux-vw39 kernel: b43-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the latest firmware (version 4).
- Nov 28 12:43:35 linux-vw39 firmware.sh[2649]: Cannot find  firmware file 'b43/ucode5.fw'
- Nov 28 12:43:35 linux-vw39 powersaved[2708]: WARNING (continueEvent:250) Could not execute program /usr/lib/powersave/scripts for event daemon.scheme.change: No such file or directory
- Nov 28 12:43:35 linux-vw39 smartd[2717]: smartd 5.39 2008-05-08 21:56 [x86_64-unknown-linux-gnu] (local build) Copyright (C) 2002-8 by Bruce Allen, http://smartmontools.sourceforge.net 
- ---------------------------------------------------------------------------
- ==================================================================================================================
- *** 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
- Nov 26 07:54:29 linux-vw39 kernel: b43-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the latest firmware (version 4).
- Nov 26 07:54:29 linux-vw39 firmware.sh[2700]: Cannot find  firmware file 'b43/ucode5.fw'
- Nov 28 12:43:35 linux-vw39 kernel: b43-phy0 ERROR: Firmware file "b43/ucode5.fw" not found or load failed.
- Nov 28 12:43:35 linux-vw39 kernel: b43-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the latest firmware (version 4).
- Nov 28 12:43:35 linux-vw39 firmware.sh[2649]: Cannot find  firmware file 'b43/ucode5.fw'
- ==================================================================================================================
- *** ls -ls /lib/firmware
- insgesamt 0
- ==================================================================================================================
- *** ndiswrapper -l
- ==================================================================================================================
- *** 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}=="##:##:##:##:##:#2", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
- /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
- wlan0     Interface doesn't support scanning : Network is down
- 
- ==================================================================================================================
- *** NWEliza states
- IF:eth0  IM:1
- IF:wlan0  IM:2
- DI:2 dI:1 NIC:1 cNiC:2:1 NI:2 cNI:2 DHCP:0 NIW:wlan0-1 NDIS:0 NIWL:1 IP6:1 KM:1 PNG:0 WLW:eth0 1 AP:1 
-

[/code]
 
Hallo Faxweiche,

da kommt verdächtig oft die Meldung, daß die Firmware für Deine Karte fehlt.

Ein bißchen Googeln lieferte mir diese Seite hier: http://de.opensuse.org/HKL/Laptop/HP_Pavilion_dv6153eu

Ist zwar nicht der identische Chip, aber auch aus der Serie, so daß der Tip greifen sollte, den ich aus der verlinkten Stelle zitiere:

WLAN

Der integrierte W-LAN-Adapter wird als Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01) erkannt und basiert auf einem Chip von Broadcom. Für diesen wird automatisch das Kernel-Modul b43 gealden, welches jedoch noch die Installation einer proprietären Firmware verlangt, welche nicht mit openSUSE mitgeliefert wird. Im Paket b43-fwcutter finden Sie die nötigen Werkzeuge, um die Firmware zu installieren. Dieses Paket ist standardmäßig installiert. Zur Installation der Firmware reicht es, folgenden Befehl als root auszuführen, wobei Sie dabei über eine bestehende Verbindung zum Internet verfügen müssen: install_bcm43xx_firmware

Probier mal Dein Glück.

Gruß Greg
 
Oben