Hello,

I recently got an A-LINK 54Mbit/s USB stick, which is recognized as 
follows in 2.6.20-grade kernel (actually 2.6.20-1.rt2.0111 on FC6):

zd1211rw 2-2:1.0: firmware version 4725
zd1211rw 2-2:1.0: zd1211b chip 0ace:1215 v4810 full 00-02-72 AL2230_RF pa0 g--N
zd1211rw 2-2:1.0: eth1
SoftMAC: ASSERTION FAILED (0) at: 
net/ieee80211/softmac/ieee80211softmac_wx.c:306:ieee80211softmac_wx_get_rate()
SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
ADDRCONF(NETDEV_UP): eth1: link is not ready
...

I'm having some issues getting it to work properly.  Specifically, 
during the normal FC6 ifup sequence, the card stays for a LONG time 
(at least a minute) in ESSID:"S" state even if the ifup scripts give 
it a specific ESSID, like follows:

eth1      IEEE 802.11b/g  ESSID:"S"  Nickname:"zd1211"
           Mode:Managed  Frequency:2.412 GHz  Access Point: Invalid
           Bit Rate=1 Mb/s
           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

The last three lines of dmesg are:

SoftMAC: Associate: Scanning for networks first.
SoftMAC: Associate: failed to initiate scan. Is device up?
ADDRCONF(NETDEV_UP): eth1: link is not ready

The ifup scripts start a DHCP client, but IP layer doesn't work yet 
but the interface is up:

# ip l l dev eth1
19: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 
1000
     link/ether 00:02:72:5a:12:55 brd ff:ff:ff:ff:ff:ff

However, if I manually issue "iwconfig eth1 essid [ESSID]" command 
while DHCP client is running, the card starts to work OK.  Otherwise 
DHCP client doesn't finish, and the interface stays in NO-CARRIER 
state.

Also, if I manually do 'ifconfig eth1 up' before ESSID is set, it'll 
work without problem.

In FC6, in normal circumstances, link is configured 'UP' only after 
DHCP client has run or IP address has been configured.  Other wireless 
drivers also work with this sequence.  Is there something different in 
zd1211rw that setting ESSID doesn't work unless link is UP?

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to