USB WIRELESS DONGLE SAGEM (od neostrady livebox)

Michał Panasiewicz wolvverine w tarchomin.pl
Pią, 8 Wrz 2006, 02:09:09 CEST


Dnia 17-08-2006, czw o godzinie 21:22 +0200, Grzegorz Sójka napisał(a):
> Michał Panasiewicz wrote:
> > Dnia 17-08-2006, czw o godzinie 10:02 +0200, Grzegorz Sójka napisał(a):
> >> Michał Panasiewicz wrote:
> >>> pytanie dotyczace wynalazku z tematu, ktos ma to moze uruchomione na
> >>> PLD ??
> >>>
> >> Tak, Trzeba się trochę pomęczyć ale działa. A którą masz wersje? b czy
> >> g? Z g jest trochę prościej.
> >>
> > T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  8 Spd=12  MxCh= 0
> > D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
> > P:  Vendor=079b ProdID=004a Rev=43.30
> > S:  Manufacturer=ZyDAS
> > S:  Product=802.11b/g USB WLAN
> > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
> > I:  If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
> > E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> > E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> > E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=1ms
> > E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> > 
> 
> Wpisz w google zd1211 (to symbol scalaka na którym to chodzi. W razie
> problemów napisz.

aktualnie nie chodzi WEP i WPA bez szyfrowania chodzi ladnie


w skrocie:
NA ROUTERZE -
# modprobe zd1211-bash-3.1# /etc/init.d/network start
ifcfg-eth0................................................................................................................[ DONE ]
Determining IP information for eth0
(dhcpcd)....................................................................................................[ DONE ]
Bringing up interface
ifcfg-eth1................................................................................................................[ DONE ]
Bringing up interface
ifcfg-wlan0...............................................................................................................[ DONE ]
Error for wireless request "Set Nickname" (8B1C) :
    SET failed on device wlan0 ; Operation not supported.


-bash-3.1# cat /etc/sysconfig/interfaces/ifcfg-wlan0
DEVICE="wlan0"
IPADDR="10.0.1.1/24"
ONBOOT="yes"
BOOTPROTO="static"
WLAN_ESSID=34532454565433456889
#WLAN_KEY=s:xxxxxx
#WLAN_WPA=yes
WLAN_MODE=master
WLAN_NICKNAME="wolvvserv"
WLAN_BITRATE=auto
#WLAN_WPA_DRIVER=wext
#WLAN_WPA_DRIVER=zd1211
#WLAN_WPA_CONFIG=/etc/wpa_supplicant.conf
#WLAN_WPA_OPTIONS="-dd"



# sudo iwconfig wlan0
wlan0     802.11b/g NIC  ESSID:"34532454565433456889"
          Mode:Master  Frequency=2.437 GHz  Access Point:
00:60:B3:55:3E:3B
          Bit Rate:11 Mb/s
          Retry:off   RTS thr=2432 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=84/100  Signal level=89/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:2
          Tx excessive retries:785  Invalid misc:0   Missed beacon:0




NA LAPTOPIE:
 
[adi w wolvv-lap ~]$ sudo modprobe ipw3945
[adi w wolvv-lap ~]$ sudo ipw3945d
[adi w wolvv-lap ~]$ sudo /etc/init.d/network start
Bringing up interface
ifcfg-lan0...................................[ FAIL ]
Determining IP information for lan0
(dhcpcd).......................[ FAIL ]
lan0: Check cable?
Bringing up interface
ifcfg-wlan0..................................[ DONE ]
Determining IP information for wlan0
(dhcpcd)......................[ DONE ]


[adi w wolvv-lap ~]$ sudo cat /etc/sysconfig/interfaces/ifcfg-wlan0
DEVICE=wlan0
#IPADDR=10.0.1.10/24
ONBOOT=yes
BOOTPROTO=dhcp
WLAN_ESSID=34532454565433456889
#WLAN_KEY=s:xxxxxx
#WLAN_WPA=yes
WLAN_MODE=Managed
WLAN_NICKNAME="wolvvnet"
WLAN_BITRATE=auto
#WLAN_WPA_DRIVER=wext
#WLAN_WPA_CONFIG=/etc/wpa_supplicant.conf
#WLAN_WPA_OPTIONS="-dd "
#
[adi w wolvv-lap ~]$ sudo iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"34532454565433456889"
Nickname:"wolvvnet"
          Mode:Managed  Frequency:2.437 GHz  Access Point:
00:60:B3:55:3E:3B
          Bit Rate:11 Mb/s   Tx-Power:15 dBm
          Retry limit:15   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=91/100  Signal level=-39 dBm  Noise level=-40 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:171   Missed beacon:0



po odhaszowaniu WLAN_KEY nie łączą się:


to samo po odhaszowaniu WPA

bez szyfrowania (syslog):

Sep  6 12:31:00 wolvverine kernel: usbcore: registered new driver zd1211
Sep  6 12:31:00 wolvverine kernel: zd1211:Switch to AP mode
Sep  6 12:31:00 wolvverine kernel: zd1211:Pure B-Mode
Sep  6 12:31:00 wolvverine kernel: zd1205: (enter)
zd1205_open, /home/users/adi/rpm/BUILD/zd1211-driver-r83/src/zd1205.c
line 4353
Sep  6 12:31:00 wolvverine kernel: zd1205: (exit)
zd1205_open, /home/users/adi/rpm/BUILD/zd1211-driver-r83/src/zd1205.c
line 4436
Sep  6 12:36:20 wolvverine kernel: zd1211:STA_ASSOCIATED with
00:13:02:xx:xx:xx
Sep  6 18:01:30 wolvverine kernel:
zd1211:STA_DISASSOCIATED:00:13:02:5f:49:83
Sep  8 00:48:40 wolvverine kernel: zd1211 - http://zd1211.ath.cx/ - r83
Sep  8 00:48:40 wolvverine kernel: zd1211:bulk out: wMaxPacketSize = 40
Sep  8 00:48:40 wolvverine kernel: zd1211:bulk in: wMaxPacketSize = 40
Sep  8 00:48:40 wolvverine kernel: zd1211:interrupt in: wMaxPacketSize =
40
Sep  8 00:48:40 wolvverine kernel: zd1211:interrupt in: int_interval = 1
Sep  8 00:48:40 wolvverine kernel: zd1211:bulk out: wMaxPacketSize = 40
Sep  8 00:48:40 wolvverine kernel: zd1211:USB Download Boot code success
Sep  8 00:48:40 wolvverine kernel: zd1211:MAC address =
00:60:b3:xx:xx:xx
Sep  8 00:48:40 wolvverine kernel: zd1211:AddrEntryTable = f7d4
Sep  8 00:48:40 wolvverine kernel: zd1211:RF_Mode = 00000104
Sep  8 00:48:40 wolvverine kernel: zd1211:Pure B-Mode
Sep  8 00:48:40 wolvverine kernel: zd1211:AllowedChannel = 000007ff
Sep  8 00:48:40 wolvverine kernel: zd1211:LinkLEDn = 200
Sep  8 00:48:40 wolvverine kernel: zd1205: (exit)
zd1205_config, /home/users/adi/rpm/BUILD/zd1211-driver-r83/src/zd1205.c
line 2601
Sep  8 00:48:40 wolvverine kernel: zd1205: (exit)
zd1205_init, /home/users/adi/rpm/BUILD/zd1211-driver-r83/src/zd1205.c
line 8570
...

Sep  8 01:50:04 wolvverine kernel: zd1211:Switch to AP mode
Sep  8 01:50:04 wolvverine kernel: zd1211:Pure B-Mode
Sep  8 01:50:04 wolvverine kernel: Mode: AP_BSS
Sep  8 01:50:04 wolvverine kernel: Mode: AP_BSS
Sep  8 01:50:04 wolvverine kernel: zd1205: (enter)
zd1205_open, /home/users/adi/rpm/BUILD/zd1211-driver-r83/src/zd1205.c
line 4353
Sep  8 01:50:04 wolvverine kernel: Mode: AP_BSS
Sep  8 01:50:04 wolvverine kernel: Mode: AP_BSS
Sep  8 01:50:04 wolvverine kernel: zd1205: (exit)
zd1205_open, /home/users/adi/rpm/BUILD/zd1211-driver-r83/src/zd1205.c
line 4436
Sep  8 01:50:08 wolvverine kernel: Re_Asoc: aid=1
Sep  8 01:50:08 wolvverine kernel: Increment mNumBOnlySta
Sep  8 01:50:08 wolvverine kernel: zd1211:STA_ASSOCIATED with
00:13:02:xx:xx:xx


z WEP:


Sep  8 01:40:05 wolvverine kernel: zd1211:Switch to AP mode
Sep  8 01:40:05 wolvverine kernel: zd1211:Pure B-Mode
Sep  8 01:40:05 wolvverine kernel: Mode: AP_BSS
Sep  8 01:40:05 wolvverine kernel: Mode: AP_BSS
Sep  8 01:40:05 wolvverine kernel: keybuf data [12]:
Sep  8 01:40:05 wolvverine kernel: 31 38 30 35 31 39 37 37 31 34 33 30
Sep  8 01:40:05 wolvverine kernel: zd1211:WEP128 Mode
Sep  8 01:40:05 wolvverine kernel: Just Update WEP key
Sep  8 01:40:05 wolvverine kernel: Mode: AP_BSS
Sep  8 01:40:05 wolvverine kernel: zd1205: (enter)
zd1205_open, /home/users/adi/rpm/BUILD/zd1211-driver-r83/src/zd1205.c
line 4353
Sep  8 01:40:05 wolvverine kernel: Mode: AP_BSS
Sep  8 01:40:05 wolvverine kernel: Beacon Interval not match
Sep  8 01:40:05 wolvverine kernel: Mode: AP_BSS
Sep  8 01:40:05 wolvverine kernel: zd1205: (exit)
zd1205_open, /home/users/adi/rpm/BUILD/zd1211-driver-r83/src/zd1205.c
line 4436

[adi w wolvv-lap ~]$ sudo iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:60:B3:xx:xx:xx
                    ESSID:"34532454565433456889"
                    Protocol:IEEE 802.11b
                    Mode:Master
                    Channel:6
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Quality=92/100  Signal level=-38 dBm  Noise
level=-38 dBm
                    Extra: Last beacon: 796ms ago


na laptopie:

[adi w wolvv-lap ~]$ sudo iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"34532454565433456889"
Nickname:"wolvvnet"
          Mode:Managed  Frequency:2.437 GHz  Access Point:
00:60:B3:55:xx:xx:xx
          Bit Rate:11 Mb/s   Tx-Power:15 dBm
          Retry limit:15   RTS thr:off   Fragment thr:off
          Encryption key:3138-3035-3139-3737-3134-3330-00   Security
mode:open
          Power Management:off
          Link Quality=92/100  Signal level=-41 dBm  Noise level=-42 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:228   Missed beacon:0


Sep  6 04:42:57 wolvv-lap kernel: ieee80211_crypt: registered algorithm
'WEP'
Sep  8 02:02:15 wolvv-lap kernel: ADDRCONF(NETDEV_UP): wlan0: link is
not ready


-- 
Michał Panasiewicz Linux user nr. #425323 - jabber: wolvverine [ at ] chrome [ dot ] pl  || e-mail: wolvverine [ at ] tlen [ dot ] pl , wolvverine [ at ] pld-linux [ dot ] org
http://www.linkomp.pl - Linkomp - Usługi informatyczne dla firm - biuro [ at ] linkomp [ dot ] pl



Więcej informacji o liście dyskusyjnej pld-users-pl