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

[gelöst] Zyxel Zyair G220 Treiber unter OpenSuSe 10.2

high,

also folgendes:

rpm -qa|grep zd1211

linux-8f9y:~ # rpm -qa|grep zd1211
zd1211-firmware-1.3-1
zd1211-driver-kmp-default-r83_2.6.18.2_34-rm.0

lsmod|grep zd1211

linux-8f9y:~ # lsmod|grep zd1211
zd1211 281324 0
usbcore 114896 4 usbhid,zd1211,ehci_hcd,uhci_hcd

lsusb -v

Bus 004 Device 003: ID 0586:3401 ZyXEL Communications Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x0586 ZyXEL Communications Corp.
idProduct 0x3401
bcdDevice 43.30
iManufacturer 16 ZyXEL
iProduct 32 ZyAIR G-220
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 46
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)

tail -n 10 /etc/modprobe.d/blacklist

linux-8f9y:~ # tail -n 10 /etc/modprobe.d/blacklist
alias pci:v0000109Ed0000036Esv00000000sd00000000bc04sc00i00 bttv_skip_it
alias pci:v0000109Ed00000878sv00000000sd00000000bc04sc80i00 bttv_skip_it
install bttv_skip_it /bin/echo "module alias skipped (bt878 chip without PCI Subsystem ID)"

# For some bridges both intel-agp and i82875p_edac are loaded. If i82875p_edac
# is loaded first it will grab the device. Then intel-agp doesn't work.
# Therefore we disable automatic loading of 82875p_edac. (Bug 213840)
blacklist i82875p_edac
blacklist zd1211rw
blacklist ieee80211softmac

uname -r

linux-8f9y:~ # uname -r
2.6.18.2-34-default

cat /etc/udev/rules.d/30-net_persistent_names.rules
linux-8f9y:~ # cat /etc/udev/rules.d/30-net_persistent_names.rules
# This rules are autogenerated from /lib/udev/rename_netiface.
# But you can modify them, but make sure that you don't use an interface name
# twice. Also add such interface name rules only in this rules file. Otherwise
# rename_netiface will create wrong rules for new interfaces.
# It is safe to delete a rule, as long as you did not disable automatic rule
# generation. Only if all interfaces get a rule the renaming will work
# flawlessly. See also /etc/udev/rules.d/31-net_create_names.rules.
#
# Read /usr/share/doc/packages/sysconfig/README.Persistent_Interface_Names for
# further information.
#
# Use only a-z, A-Z and 0-9 for interface names!
#
SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:0b:6a:15:0b:4a", IMPORT="/lib/udev/rename_netiface %k eth0"
SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:a0:c5:fb:ae:1a", IMPORT="/lib/udev/rename_netiface %k wlan0"

/sbin/ifconfig
linux-8f9y:~ # /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0B:6A:15:0B:4A
UP BROADCAST NOTRAILERS 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 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0xdc00

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:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3912 (3.8 Kb) TX bytes:3912 (3.8 Kb)

wlan0 Link encap:Ethernet HWaddr 00:A0:C5:FB:AE:1A
inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::2a0:c5ff:fefb:ae1a/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7689 errors:49 dropped:0 overruns:0 frame:49
TX packets:4284 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8726364 (8.3 Mb) TX bytes:352262 (344.0 Kb)

/usr/sbin/iwconfig

linux-8f9y:~ # /usr/sbin/iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 802.11b/g NIC ESSID:"Home W-Lan"
Mode:Managed Frequency=2.417 GHz Access Point: 00:12:BF:D6:48:27
Bit Rate:54 Mb/s
Retry:eek:n RTS thr=2432 B Fragment thr:eek:ff
Encryption key:****-****-****-****-****-****-** Security mode:eek:pen
Power Management:eek:ff
Link Quality=92/100 Signal level=46/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:49
Tx excessive retries:562 Invalid misc:0 Missed beacon:0

sit0 no wireless extensions.

/sbin/route -n

linux-8f9y:~ # /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 wlan0

cat /etc/resolv.conf

linux-8f9y:~ # cat /etc/resolv.conf
domain site
nameserver 192.168.2.1

Karte ist traditionell mit ifup eingerichtet und benutze halt noch kinternet.
ichhab die karte mit fester IP eingerichtet und eine 128bit WPA verschlüsselung im router.
so brauchst du noch mehr?

lumpie
 
A

Anonymous

Gast
Danke, das sind genügend Infos, wobei mich ein Satz von Dir etwas wundert.

und eine 128bit WPA verschlüsselung im router.

Du meinst sicher 128 Bit WEP, AFAIK gibt es das bei WPA (noch) nicht, da sind es 64Bit (ist aber trotzdem sicherer als WEP, aber das ist ein anderes Thema).

BTW:

Es gab vor kurzem ein Kernelupdate, welches Du unbedingt einspielen solltest. Der Treiber sollte trotzdem danach noch funktionieren, da Du eine kmp-Paket verwendest, bei einem selbstkompüilierten Treiber wäre das nicht der Fall gewesen.

Sollte die Karte nach einem Kernelupdate trotzdem nicht mehr funktionieren, dann kannst Du Dir das passende, neue rpm hier holen.

zd1211-driver-kmp-default-r83_2.6.18.8_0.1-rm.0.i586.rpm

Da ich aber vielleicht nicht immer die Zeit habe, direkt nach einem Kernelupdate neue Pakete zu bauen, werde ich in besagtem HowTo, das bald entstehen wird, auch einen Weg aufzeigen, wie man sich selbst Pakete bauen kann.

Das Prinzip ist hier "anfängerfreundlich" beschrieben.

http://www.root-forum.org/howtos/2882-rpm-umbau-aus-einem-src-rpm-mit-rpmbuild-beispiele-wlan-kmp-fcdslsl.html?highlight=rebuild

Das entsprechende src.rpm gäbe es hier:

zd1211-driver-r83-rm.0.src.rpm

Greetz,

RM
 
A

Anonymous

Gast
Kommt vielleicht noch, mal sehen, was die Admins/Mods hier dazu meinen.

Und Tante Google funktioniert übrigens unabhängig vom Forum.

Greetz,

RM
 
Nachtrag was WIKI-Eintrag betrifft....

Also ich habe jetzt Dein HowTo (beide Varianten) mit meinem zd1211 Wlan-USB-Stick durchpropiert. Funktioniert beides tadellos :!:

Danke nochmal dafür!
 
Doch zu früh gefreut :roll: !?

Ohne jeglichen Grund ist hier ab und an einfach die connection weg (zd1211):

In /var/log/messages taucht dann
Apr 1 19:57:49 linux kernel: zd1211:USB ST Code = -71
Apr 1 19:57:49 linux kernel: nonzero read bulk status received: -EPROTO
Apr 1 19:57:49 linux kernel: zd1211:USB ST Code = -71
oder
Apr 1 19:59:34 linux kernel: ******We Lose AP for 5 seconds
Apr 1 19:59:34 linux kernel: zd1211:zd1205_dis_connect
Apr 1 19:59:34 linux kernel: zd1205_notify_disjoin_event
auf...

Rain_Maker, hast Du eine Idee an was diese willkürlichen Verbindungsabbrüche für Ursachen haben könnten?

(Stick raus, warten, wieder einstecken und die Verbindung ist -meistens- wieder da....)
 
A

Anonymous

Gast
Da ich das HowTo zwar geschrieben habe, jedoch nicht die passende Hardware besitze, kann ich nur raten.

Versuche es zunaechst mit einer anderen Firmwareversion, falls du 1.2 hast, dann versuche 1.3 und umgekehrt, die 1.1 scheint auf jeden Fall zu alt zu sein.

Ansonsten kannst Du als root mal probieren, die Netzwerkverbindungen neu zu starten.

Das geht sicher schneller als den Stick aus- und einzustecken.

Code:
rcnetwork restart

Greetz,

RM
 
rcnetwork restart hab ich natürlich auch gemacht anfangs... Nur komisch ist, dass selbst hier nicht immer die Verbindung wieder zustande kommt (dhcp). Nach Stick aus- und einstecken geht's fast immer....

Firmware habe ich mom. die 1.3, werde die 1.2 dann noch testen.....

Komische Sache: Die "Abstürze" sind wie gesagt willkürlich. Wie ich aber reproduzierbar (auch) einen Absturz hervorrufen konnte war gestern ein smart ugrade Versuch. Es liegt ein kde-update mit vielen neuen/updatebaren Paketen an. Wenn ich dieses upgrade durchführen wollte, fing der DL der ersten Pakete an und schwupps war die Verbindung weg (timeouts folgten).
 
Oben