Re: [zd1211-devs] Shuttle PN18G; re-used USB device ID
I don't think so, I'm thinking more specific entries in the EEPROM. We would need a debug version that dumps the EEPROM before we load the firmware. We will have to find data at some offset, which reliably would tell us, whether we deal with a ZD1211B instead of a ZD1211. Just classical reverse engineering. ... Hopefully this will help. I don't really know the zd1211rw code so I'm not sure if / how the following might fit. I seem to be able to make my ZD1211 appear as a ZD1211B. I used some code I worked on more then 1.5 year ago but it all boils down to changing the WS11Ub firmware data and using the firmware/EEPROM writing code that was originally in the vendor driver. (I don't recall which version of the vendor driver I used as a basis but it's some code that I don't expect to have changed) I accomplished the following: 1) Use my code to write WS11Ub data with a ZD1211B product ID (1215) and a bogus version (4331) to my ZD1211 device. Logging excerpts from loading the zd1211rw driver after this firmware update show it's detected as a ZD1211B: usb 1-2: print_id() 0ace:1215 v4331 high usb 1-2: request_fw_file() fw name zd1211/zd1211b_ub usb 1-2: firmware version 0x4810 and device bootcode version 0x4331 differ usb 1-2: request_fw_file() fw name zd1211/zd1211b_ur usb 1-2: upload_code() transfer size 3584 usb 1-2: upload_code() firmware confirm return value 0x01 usb 1-2: upload_code() transfer size 3720 usb 1-2: upload_code() firmware confirm return value 0x01 usb 1-2: request_fw_file() fw name zd1211/zd1211b_uphr usb 1-2: upload_code() transfer size 4096 usb 1-2: upload_code() transfer size 1024 usb 1-2: upload_code() firmware confirm return value 0x01 zd1211rw 1-2:1.0: RF2959 is currently not supported for ZD1211B devices I didn't actually try to use it for WLAN at this point. 2) Use my code to write the original WS11Ub data to my ZD1211 device. Logging excerpts from loading the zd1211rw driver after this firmware update show it's detected as a ZD1211: print_id() 0ace:1211 v4330 high usb 1-2: request_fw_file() fw name zd1211/zd1211_ub usb 1-2: upload_firmware() firmware device id 0x4330 is equal to the actual device id usb 1-2: request_fw_file() fw name zd1211/zd1211_uphr usb 1-2: upload_code() transfer size 4096 usb 1-2: upload_code() transfer size 1024 usb 1-2: upload_code() firmware confirm return value 0x01 I could still use it for WLAN at this point. After an update the MAC address appears as 00:00:55:66:66:66. Unplug/replug of the device will show the original MAC. The code I used is known as function int zd1211_Download_IncludeFile(struct zd1205_private *macp) in file zd1211.c of the vendor driver. The part executed in if (macp-release != EEPVer){ ... } is responsible for updating the data in the device. I determined the following by scanning the WS11Ub data of the vendor driver for things like vendor ID, product ID, HW version. I annotated the interesting spots in the WS11Ub data: T) trigger that determines whether a firmware update will run or not M) default MAC address ??? U) USB vendor/product ID/HW version (Note: the ZD1211B data uses a ZD1211 product ID 0x1211, this should probably be 0x1215) Annotated WS11Ub data: (only the first 128 bytes) for ZD1211: 0x00, 0xF0, 0x66, 0xFE, 0x67, 0xFE, 0x68, 0xFE, 0x69, 0xFE, 0x6A, 0xFE, 0x6B, 0xFE, 0x6C, 0xFE, 0x6D, 0xFE, 0x09, 0x63, 0xD6, 0x79, 0x57, 0x94, 0xD1, 0xD4, 0x0A, 0x95, 0x17, 0xF8, 0xD1, 0xD4, 0x0A, 0x95, 0xD2, 0x07, 0x00, 0xEE, 0xC1, 0xD4, 0x00, 0xEE, 0x0F, 0x9F, 0x95, 0xF8, == 0x30, 0x43, == T) 0x10, 0x00, 0x0D, 0x00, 0x00, 0x00, == 0x00, 0x00, M) 0x55, 0x66, 0x66, 0x66, == 0x00, 0x00, 0x6A, 0x6A, M) 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xFF, 0x07, 0x00, 0x00, 0x12, 0x01, 0x00, 0x02, 0xFF, 0xFF, 0xFF, 0x40, == 0xCE, 0x0A, 0x11, 0x12, 0x30, 0x43, == U) 0x10, 0x20, 0x00, 0x01, 0x04, 0x03, 0x09, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x52, for ZD1211B: 0x00, 0xF0, 0x66, 0xFE, 0x67, 0xFE, 0x68, 0xFE, 0x69, 0xFE, 0x6A, 0xFE, 0x6B, 0xFE, 0x6C, 0xFE, 0x6D, 0xFE, 0x09, 0x63, 0xD6, 0x79, 0x57, 0x94, 0xD1, 0xD4, 0x0A, 0x95, 0x17, 0xF8, 0xD1, 0xD4, 0x0A, 0x95, 0xD2, 0x07, 0x00, 0xEE, 0xC1, 0xD4, 0x00, 0xEE, 0x0F, 0x9F, 0x95, 0xF8, == 0x10, 0x48, == T) 0x10, 0x00, 0x0D, 0x00, 0x00, 0x00, == 0x00, 0x00, M) 0x55, 0x66, 0x66, 0x66, == 0x00, 0x00, 0x6A, 0x6A, M) 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0x6A, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xB2, 0xFF, 0x07, 0x00, 0x00, 0x12, 0x01, 0x00, 0x02, 0xFF, 0xFF, 0xFF, 0x40, == 0xCE, 0x0A, 0x11, 0x12, 0x10, 0x48, == U) 0x10, 0x20, 0x00, 0x01, 0x04, 0x03, 0x09, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x52, - This SF.net
Re: [zd1211-devs] Is it possible to use zd1211rw without udev???
So the crucial question for me is: Is it possible to use zd1211rw without udev? and What has to be done for this working? (I'm sure there is something to do:-) The only problem I can think of is loading the device's firmware. The driver sends a notification to user space and user space is supposed to send the firmware back to the device driver. So you need to have some user space tool to pick up the notification and act upon it. In the past hotplug did this job and later udev took over. So the hotplug scripts might still be usable. Some things to look for (I'm not sure if all this still applies though): - /proc/sys/kernel/hotplug: holds the name of a program that intercepts kernel notifications - udev's firmware_helper program or firmware loading script: this should give you an idea how user space sends firmware to a device (It's basically a matter of writing a file holding the firmware to a device specific node in the sysfs tree) Hotplug might also have such a script but I'm not sure if it's usable on recent kernels. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] Problems loading FW on ARM9 platform
Thats true - now it's called firmware.sh (I'm using udev v100), and udev is placing it in /lib/udev/firmware.sh. I'm not sure if this is absolutely necessary, but did you check if the script's permissions allow it to be executed ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] configuring the rate
Using the zd1211rw git tree with the patch to make it build on 2.6.20. I copied 267MB of data with various rate settings. All of the copies took about the same about of time. What is this setting doing? The nodes are both 802.11g, 5ft apart, 99% quality, 100% strength. The correct nodes are paired, I checked the mac address. [EMAIL PROTECTED]:~/foo$ sudo iwconfig eth1 rate 36M real3m29.654s user0m0.032s sys 0m2.712s [EMAIL PROTECTED]:~/foo$ sudo iwconfig eth1 rate 48M real3m29.183s user0m0.036s sys 0m2.636s [EMAIL PROTECTED]:~/foo$ sudo iwconfig eth1 rate 54M real3m28.768s user0m0.032s sys 0m2.488s [EMAIL PROTECTED]:~/foo$ sudo iwconfig eth1 rate 18M real3m31.614s user0m0.016s sys 0m2.868s AFAICT, for wireless 802.11G, the real life possible maximum rate is likely to be roughly ~24Mb. Rates real life maximum rate give similar performance since they all max out at that real life maximum rate (whatever that may be in your case). When lowering the stick's rate to rates real life maximum rate, it's expected that the rate you experience is approximately the same as the rate you configured. (You should see more significant differences when lowering the rate even more) Your real life max. rate seems to be ~ (267MB*8) / (3*60 + 30) = 10.1 Mb. If I'm not mistaken you'll only see significant differences when lowering the rate below 10Mb. BTW when I was using linux-2.6.18-rc4 / wpa_supplicant 0.4.8 a couple of months ago I got a performance of ~ 1.3MB/s = ~10.4 Mb. This was approximately half the performance of the vendor driver. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] ZD1211 open firmware project
Hi, With help from Johannes Berg, I've been working on reverse engineering the firmware to try and understand the instruction format. Assuming we can figure out all of the instructions, the end result is that we'll be able to produce an open source firmware. So far I've built up a partial understanding of 4 instructions. I have produced a home-grown disassembler and a lex+yacc-based assembler. In the disassembled format, unrecognised code (i.e. instructions outside of the 4 I understand) is stored as blobs of data for now. Have you thought about trying some well known instruction sets like Intel 8052 / Atmel AVR ? Even the chip makers that have their own instruction sets seem to make 8052 based chips as well. I think the Intel 8052 instruction set would be your best bet, since 8052 based micro controllers just seem the most widely used. Or did someone at Zydas actually tell you that their chips use some custom micro controller ? - 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] ZD1211 open firmware project
.. Intel 8052 .. I meant MCR 8051. I suppose you're aware of the clue in the vendor driver, using that as a starting point ? u8 WS11Ur2[(0xEE00 - 0xEC00) * 2] = { 0x0F, 0x9F, 0x00, 0xEE }; // JMP 0xEE00 - 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] zd1211rw encryption problems
(I noticed I still had this mail sitting in my queue. It's the result of some minimal testing. I hope it's not old news. BTW I'm temporarily no longer in possession of a zd1211 device so I can't try out anything for now) Any testing appreciated: does zd1211rw work with your ZD1211B device when connecting to encrypted networks? (remember to test more than just associating...) ... With linux-2.6.18-rc1 / wpa_supplicant 0.4.8 (no patches) ... Once there is a connection it seems stable, getting connected seems to be the problem. Unfortunately I haven't spotted any failures in the logs so far. I do not recall any connection failures anymore using linux-2.6.18-rc4 / wpa_supplicant 0.4.8. I decided to use netio to get an impression of the performance. The (maximum) performance seems to be half of that of the vendor driver. (~1.3 MB/s - ~2.5 MB/s) One thing that caught my eye was that Tx defaulted to ~1Mb/s and Rx seemed to adapt to the maximum speed possible. I was able to change Tx with iwconfig. However there seem to be circumstances where Tx falls back to its lowest setting and I've been unable to get it back to a higher rate without a reboot. (init 2 / init 3 seem to trigger this, but restarting the network might do it as well. I didn't observe anything strange in the logs) - 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] zd1211rw encryption problems
Any testing appreciated: does zd1211rw work with your ZD1211B device when connecting to encrypted networks? (remember to test more than just associating...) I have/had all the described problems with a ZD1211. With linux-2.6.18-rc1 / wpa_supplicant 0.4.8 (no patches) things seem to have improved a bit. What follows is just user experience, I just hope there's something useful in it. So far I've been able to make a working connection and do a FTP transfer multiple times using WPA / DHCP. Sometimes I need to initially setup the connection, by stopping/starting wpa_supplicant/dhclient or even stop dhclient / wpa_supplicant / rmmod zd1211rw / modprobe zd1211rw / start wpa_supplicant / dhclient to work around association timeouts. Once there is a connection it seems stable, getting connected seems to be the problem. Unfortunately I haven't spotted any failures in the logs so far. Initially it seemed only possible to create a connection successfully by having only one network configuration enabled in wpa_supplicant.conf. Re-testing shows that even multiple enabled networks in wpa_supplicant.conf seem to work, though it worked only once so far. Multiple networks seem a cause for trouble. If I enable two networks, and the AP-s for both are up, I notice what looks like two authentication/association attempts going on at the same time. Multiple enabled networks seem to interfere with each other somehow, though not all the time. Maybe, whatever causes the disturbance, also causes connection problems with iwconfig connections. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] R80 Linux 2.4 gcc 3.4.5 compile problems
src/zd1211.o src/zd1211.c: In function `zd1211_InitSetup': src/zd1211.c:1883: error: `zd1205wext_iw_get_stats' undeclared (first use in this function) src/zd1211.c:1883: error: (Each undeclared identifier is reported only once src/zd1211.c:1883: error: for each function it appears in.) make: *** [src/zd1211.o] Error 1 There seems to be another problem in zd1205.c similar to the previous one: In one place 'zd1205wext_iw_get_stats' gets used under the condition: #if WIRELESS_EXT 16 .get_wireless_stats = zd1205wext_iw_get_stats, in another place: #if WIRELESS_EXT 12 struct iw_statistics *zd1205wext_iw_get_stats(struct net_device *dev) I think the two should match to make it work (and I guess it should also match the previous condition in zd1205.h) I think it's time the author of the change steps up and tells what exactly is supposed to happen here. 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] R80 Linux 2.4 gcc 3.4.5 compile problems
Trying to compile R80 src/zd1205.c: In function `zd1205wext_iw_get_stats': src/zd1205.c:4776: error: structure has no member named `iw_stats' I think the problem is with the conditions used to compile in iw_stats support. In zd1205.h the condition is: #ifdef CONFIG_NET_WIRELESS while in zd1205.c it is: #if WIRELESS_EXT 12 I'm not totally sure which condition applies but '#if WIRELESS_EXT 12' seems most appropriate to me. In that case, the following patch should fix it: (I think it'd be nice if the person who added iw_stats could shine a light on it as well, to make sure the right condition is picked) diff -ur zd1211-driver-r80/src/zd1205.h zd1211-driver-r80.new/src/zd1205.h --- zd1211-driver-r80/src/zd1205.h 2006-02-16 22:33:51.0 +0100 +++ zd1211-driver-r80.new/src/zd1205.h 2006-07-03 09:57:12.0 +0200 @@ -613,7 +613,7 @@ { struct net_device_stats net_stats; /* ath_desc: added iw_get_stats */ -#ifdef CONFIG_NET_WIRELESS +#if WIRELESS_EXT 12 struct iw_statistics iw_stats; #endif unsigned long tx_late_col; 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] [zd1211rw] LED not configured?
That's correct. The vendor driver simply blinks the LED at fixed intervals, it doesn't actually indicate how much traffic is flying around. Emn, it doesn't look like just periodic blinking. You definitely see when data is being transferred, in contrast to when it is idle. No idea, maybe it has to do with firmware, or maybe you meant the same thing. Anyway, I could definitely see when it was downloading emails:-) This usually works like this: (and is probably what Daniel is trying to say) - data transfer - start periodic blinking to indicate transfer (LED blinks once every x milliseconds, so the blinking rate has nothing to do with the actual transfer rate) - no data transfer - switch off periodic blinking (depending on what choice the developer made, the LED is either on or off) 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] Wireless extensions
Make sure your kernel is compiled with wireless extensions (CONFIG_NET_WIRELESS) and USB support How do I know if it has wireless extensions, and if it hasn't how do I add tehm. I am using FC5. I expect it has wireless extensions. To check: zcat /proc/config.gz |grep CONFIG_NET_WIRELESS or grep CONFIG_NET_WIRELESS /boot/your-kernel-config ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
[zd1211-devs] Re: wireless-dev tree updated
Excerpt from the netdev list: On Wednesday 26 April 2006 22:20, John W. Linville wrote: ... I am also happy to accept patches for new drivers or for porting ieee80211+softmac-based drivers to the d80211 stack. There was a surprising amount of agreement that we should be marching toward the use of the Devicescape stack. That means that this tree is the future. Let's get it whipped into shape! Thanks, John How does this affect the zd1211 rewrite ? --- 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] Setting Ad-Hoc connection between two linux machines,both with zd1211 USB stick
Can anybody please guide me, step by step, what should I do to set up such a connection? (I am a quite a noobie in this.) Should I first run ifconfig wlan0 up? Should I set an IP by ifconfig wlan0 myIPAddress? Should I use iwpriv wlan0 connect? BTW,I am aware of the following thread from this list reagrding AdHoc (from 13/10/2005) but it did not help me much: http://www.nabble.com/AdHoc-problem-%28bug-%29-t405144.html Regards, Ian B. I haven't used ad-hoc for a long time so I can't say that this procedure worked for me recently, but it did in the past, still I hope it's useful. (I only used wireless-tools like this, so open/shared network, with/without WEP configured through iwconfig) - make sure both interfaces are down. - configure one interface using iwconfig. - bring up the interface. (I'm not sure if it needs to have an IP address at this point, that's something to try out) Possibly the ifconfig/iwconfig steps need to be swapped. - as described in the nabble post, the adapter will first try to find an existing ad-hoc network. If it finds one it should be displayed in iwconfig. If the adapter can't find a suitable ad-hoc network, it should set one up by itself. - After some time iwconfig should show an ad-hoc network. (either the one it found, to which it should now be connected, or the one it created, to which others should now be able to connect) As long as iwconfig shows 00:00:00:00:00:00 you're not connected and your adapter didn't create an ad-hoc network either. When iwconfig shows someting other than 00:00:00:00:00:00 you can bring up the second adapter, it should find the network set up by the first. I'm not sure how long it takes to find / set up a network, but don't count in seconds. On the other hand, ten minutes would be rather long. --- 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=lnkkid=120709bid=263057dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] Problem with AirLink+ AWLL3025/NA
After an upgrade of my kernel to 2.6.16, I needed to recompile the ZD1211 driver so I grabbed the latest version (r69). Compiled and installed fine. Problem is, I can't seem to get any data traffic through. I can associate fine with access points (and even see all available ones in iwlist), but when I try to do DHCP, I won't get a response. If I set my IP manually and ping, no response. I've tried to disable WEP, but still no response. I tried r54-testing, and it works fine (had to comment out the owner line since 2.6.16 doesn't have that field anymore). In light of the recent changes I'm not sure if my knowledge on the driver is still up to par. Just one thing that catches my eye though: This seems to be the result of using iwconfig as I know it: Here is dmesg from r54-testing: ... [4296001.978000] keybuf data [5]: [4296001.978000] 93 a6 75 f6 ad [4296001.983000] zd1211:WEP64 Mode [4296001.992000] Update CardSetting [4296001.992000] keybuf data [0]: [4296001.992000] [4296001.992000] Just Update WEP key This seems to be the result of using wpa_supplicant as I know it: (it uses different routines to configure encryption) and from r69: ... [4296707.951000] wlan0: Configured authentication algorithms: Open system [4296708.035000] wlan0: Drop encrypted: enabled [4296708.035000] zd1211:Switch to Infra mode [4296708.035000] zd1211:Mixed Mode [4296708.036000] wlan0: WPA version: WPA disabled [4296708.036000] wlan0: pairwise cipher: WEP40 [4296708.036000] wlan0: group cipher: WEP40 [4296708.037000] wlan0: key mgmt: unsupported key mgmt '0x08' [4296708.037000] wlan0: privacy: disabled [4296708.037000] wlan0: Allow Rx unencrypted EAPOL: enabled This seems to be triggered if the encryption parameters are mixed up somehow: ... [4296712.104000] chkpnt 001 This message might be the result of failing or incorrectly configured data packets. I think it has something to do with the differences in how encryption is set up. Did you use the same tools (same versions) on both r54 and r69 to set up your wireless network ? If something's wrong with setting up encryption then going from encrypted to unencrypted might not work. Does something like this work: - load zd1211 module - configure unencrypted network - bring up interface (not sure if the last two items need to be swapped) --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] experiences with Fiberline WL-430U
disclaimer: answers are based on what I remember, they should be fairly accurate. of messages. The last messages were as follows: zd1211: Mixed Mode zd1211: AllowedChannel = 07ff zd1211: LinkLEDn = 200 AllowedChannel = 000107ff Region: 48 zd1205: (exit) zd1205_config, /usr/src/zd1211-driver-r71/src/zd1205.c line 2597 zd1205: (exit) zd1205_config, /usr/src/zd1211-driver-r71/src/zd1205.c line 8555 Is mixed mode okay? AFAICT it means the stick can connect to either 802.11B or 802.11G networks. It should be possible to change it with one of the iwpriv commands. Are the last two messages in any way problematic? No, they show the 'zd1205_config' function has ended. Now I entered iwlist wlan0 scan. The output was: wlan0Interface doesn't support scanning. Why this? Is this because the interface wasn't brought up yet with ifconfig wlan0 up? Yes, bringing up the interface also activates the hardware. In the down state some configuration may be possible, but the hardware isn't fully functional. Now I entered exactly this: ifconfig wlan0 up. The kernel output this: ... ADDRCONF(NETDEV_UP): wlan0: link is not ready ... zd1211: STA_ASSOCIATED with 00:01:f4:5b:a6:3b ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Why is the link not ready first? My guess is because there is no association / connection to an AP, so there's not any kind of link either. Why are there so many “Mixed Mode” entries? Don't know, maybe there's one entry for each channel scanned, see below. ... Error for wireless request Set Frequency (8B04) : SET failed on device wlan0 ; Invalid argument. ... Is it normal that the ESSID, frequency and access point settings are made automatically? On http://zd1211.ath.cx/ I'm told that I shall set the ESSID manually. Later I had the situation that iwlist wlan0 scan worked, i.e., showed me the correct data about my WLAN. Surprisingly, I was not able to establish a link but the problem of ever-changing frequencies occured. Is this a bug in the driver? Or a problem with the hardware? In managed mode the stick seems to do some automatic scanning. It seems to iterate over the available channels till it finds a network that matches the iwconfig settings (mainly the ESSID is my guess) and tries to connect to that. Maybe it's not possible to set the channel/frequency in managed mode because the driver/hardware tries to find an appropriate channel by itself. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs
Re: [zd1211-devs] channel/region problem with Fiberline WL-430U
zd1211: AllowedChannel = 07ff zd1211: LinkLEDn = 200 AllowedChannel = 000107ff Region: 48 Why are the two AllowedChannel entries different? Why are there only 11 or 12 bits set although I'm in Europe where there are 13 channels usable? Or is this number not a bit pattern with each bit corresponds to a single channel? The following is what I remember from looking at the driver code and may not be totally accurate. If I didn't overlook anything Zydas hardcoded this bitmask in it's latest driver. (presumably to solve problems with devices that don't set it properly) It used to be retrieved from EEPROM. If I remember correctly each bit represents a channel and the bitmask is split up as follows: 000107ff = 0001 (default channel) 07ff (available/allowed channels) The first log entry represents the retrieved (but now hardcoded) allowed channel mask. The second entry has the default channel added. What does “Region: 48” mean? Is 48 intended to be a region code? That would be nonsense. 48 is the region code as defined by the official IEEE802.11 specs. If I remember correctly it stand for ETSI (most of Europe) / Taiwan region. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Zd1211-devs mailing list - http://zd1211.ath.cx/ Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs