Re: [zd1211-devs] zd1211rw problems, bit rate, icwonfig
On Sun, 2006-12-17 at 18:13 +0100, Harald Dunkel wrote: Hi Henrik, Henrik Hjelte wrote: Also I have problems with starting the driver automatically at startup. I've put zd1211rw last in /etc/modules. I have to unplug the usb stick before rebooting, and plug it in again after Linux has loaded, else it fails: USB control request for firmware upload failed. Error number -110. I suspect this has to do with zd1211rw being loaded too early in the process, but I don't know to fix it. What is the proper way to load the modules, is /etc/modules the right thing? No, usually the driver modules for usb are supposed to be loaded by the appropriate udev rules. And this should work at boot time too, i.e. no need to unplug the usb dongle. This doesn't work for me. The log says that some usb device is plugged-in, but the zd1211rw driver isn't loaded. I would suggest to try the wpasupplicant package. I use an open network, so I don't think I need wpasupplicant. For Debian and Ubuntu the appropriate support has been added to the ifupdown scripts. You have to configure your wlan gateway to do wpa-psk, though. My entry for wlan in /etc/network/interfaces looks like this: allow-hotplug eth2 iface eth2 inet static wpa-driver wext wpa-ssid mynet wpa-psk my_precious_wpa_passphrase address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 I use dhcp on an open network, and the usb stick is eth1, so I tried allow-hotplug eth1 iface eth1 inet dhcp wpa-driver wext wireless-essid MyOpenNetwork it almost worked, I got a connection but no dhcp ip. I don't use my laptop that much, so I can live with my current setup that works. Plugging in the usb stick after reboots, and this little wlan.sh script for connecting. #!/bin/sh sudo iwconfig eth1 essid MyOpenNetwork dhclient I have not tried downgrading the firmware yet. Thanks for all help, Henrik Hjelte - 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] essid strangeness
On Sun, 2006-12-17 at 18:31 -0500, Jon Smirl wrote: Linus git kernel, 2.6.20-rc1+ patched softmac for work queue changes Ubuntu Edgy WEP encryption ifup eth1 Won't start the network, if I look in dmesg ADDRCONF(NETDEV_UP): eth1: link is not ready ifup will timeout after a while because it can't get a DCHP addres If I set the essid manually everything works iwconfig eth1 essid Smirl SoftMAC: Open Authentication completed with 00:0f:b5:5e:98:26 ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready Essid is set correctly in /etc/network/interfaces I have the same problem, on ubuntu feisty, described in this recent thread: [zd1211-devs] zd1211rw problems, bit rate, icwonfig Date: Fri, 15 Dec 2006 21:43:07 +0100 /Henrik Hjelte - 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] essid strangeness
Is this a problem with Ubuntu not setting the essid when the interface first comes up? Or is it a problem with the driver not performing the first setting of the essid correctly? Other than this issue everything seems to be working for me. On 12/18/06, Henrik Hjelte [EMAIL PROTECTED] wrote: On Sun, 2006-12-17 at 18:31 -0500, Jon Smirl wrote: Linus git kernel, 2.6.20-rc1+ patched softmac for work queue changes Ubuntu Edgy WEP encryption ifup eth1 Won't start the network, if I look in dmesg ADDRCONF(NETDEV_UP): eth1: link is not ready ifup will timeout after a while because it can't get a DCHP addres If I set the essid manually everything works iwconfig eth1 essid Smirl SoftMAC: Open Authentication completed with 00:0f:b5:5e:98:26 ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready Essid is set correctly in /etc/network/interfaces I have the same problem, on ubuntu feisty, described in this recent thread: [zd1211-devs] zd1211rw problems, bit rate, icwonfig Date: Fri, 15 Dec 2006 21:43:07 +0100 /Henrik Hjelte -- Jon Smirl [EMAIL PROTECTED] - 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] essid strangeness
I am using different hardware but that doesn't seem to be the problem. zd1211rw 5-3:1.0: firmware version 4721 zd1211rw 5-3:1.0: zd1211b chip 0ace:1215 v4810 high 00-02-72 AL2230_RF pa0 g--N -- Jon Smirl [EMAIL PROTECTED] - 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
[zd1211-devs] Ad-Hoc mode
Is Ad-Hoc mode implemented for the zd1211rw? -- Jon Smirl [EMAIL PROTECTED] - 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] essid strangeness
I turned up debug in the zd1211rw driver and can see what the problem is. Tomorrow I'll see if I can learn enough about the driver to fix it. The problem has nothing to do with setting an essid, that just happens to be a way to recover from it. modprobe the driver in. [ 1850.103620] zd1211rw 5-3.6:1.0: zd1211b chip 0ace:1215 v4810 high 00-02-72 AL2230_RF pa0 g--N [ 1850.103628] zd1211rw 5-3.6:1.0: zd_write_mac_addr() mac addr 00:02:72:53:e3:c7 [ 1850.107608] zd1211rw 5-3.6:1.0: zd_read_regdomain() regdomain: 0x10 [ 1850.108122] zd1211rw 5-3.6:1.0: regdomain 0x10 [ 1850.108210] zd1211rw 5-3.6:1.0: zd_usb_disable_int() urb f5a6e8c0 killed [ 1850.108319] zd1211rw 5-3.6:1.0: probe() successful [ 1850.108324] zd1211rw 5-3.6:1.0: eth1 [ 1850.108343] usbcore: registered new interface driver zd1211rw [ 1850.108349] zd1211rw initialized [ 1889.326326] zd1211rw 5-3.6:1.0: set_security() [ 1889.326334] zd1211rw 5-3.6:1.0: set_security().active_key = 0 [ 1889.326339] zd1211rw 5-3.6:1.0: set_security().level = 1 [ 1889.326344] zd1211rw 5-3.6:1.0: set_security().enabled = 1 [ 1889.326347] zd1211rw 5-3.6:1.0: set_security().encrypt = 1 [ 1889.328839] SoftMAC: Associate: Scanning for networks first. [ 1889.328847] SoftMAC: Associate: failed to initiate scan. Is device up? Looks like we tried to initiate a scan before the device was completely initialized [ 1889.357563] zd1211rw 5-3.6:1.0: zd_usb_enable_int() [ 1889.357755] zd1211rw 5-3.6:1.0: zd_usb_enable_int() submit urb f5a6e2c0 [ 1889.358061] zd1211rw 5-3.6:1.0: zd_chip_set_basic_rates_locked() ff0f [ 1889.360399] zd1211rw 5-3.6:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 - 0x20 [ 1889.365376] zd1211rw 5-3.6:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 - 0xa0 [ 1889.367367] zd1211rw 5-3.6:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 - 0x20 [ 1889.368364] zd1211rw 5-3.6:1.0: zd_rf_set_channel() channel: 1 [ 1889.373485] zd1211rw 5-3.6:1.0: update_pwr_int() channel 1 pwr_int 0x54 [ 1889.374470] zd1211rw 5-3.6:1.0: update_ofdm_cal() channel 1 ofdm_cal 36M 0xba 48M 0xb2 54M 0xa5 [ 1889.375481] zd1211rw 5-3.6:1.0: update_pwr_cal() channel 1 pwr_cal 0xd7 [ 1889.379353] zd1211rw 5-3.6:1.0: patch_cck_gain() patching value 12 [ 1889.382359] zd1211rw 5-3.6:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 - 0xa0 [ 1889.383600] zd1211rw 5-3.6:1.0: zd_usb_enable_rx() [ 1889.389389] zd1211rw 5-3.6:1.0: housekeeping_enable() [ 1889.389417] zd1211rw 5-3.6:1.0: bssinfo_change() changes: 7 [ 1889.389751] zd1211rw 5-3.6:1.0: zd_mac_set_multicast_list() mc addr 01:00:5e:00:00:01 [ 1889.393980] zd1211rw 5-3.6:1.0: zd_mac_set_multicast_list() mc addr 01:00:5e:00:00:01 [ 1889.394469] zd1211rw 5-3.6:1.0: zd_chip_set_rts_cts_rate_locked() rts_rate=0 preamble=0 [ 1889.394971] zd1211rw 5-3.6:1.0: zd_chip_set_basic_rates_locked() ff0f [ 1889.395199] zd1211rw 5-3.6:1.0: zd_mac_set_multicast_list() mc addr 01:00:5e:00:00:01 [ 1889.395593] zd1211rw 5-3.6:1.0: zd_chip_set_multicast_hash() hash l 0x0001 h 0x8000 Now chip is fully initialized When I type, iwconfig eth1 essid Smirl, it cancels the first Associate request and starts a new one. This one will work because the device is now initialized. [ 1955.592897] SoftMAC: Canceling existing associate request! [ 1955.593000] SoftMAC: Associate: Scanning for networks first. [ 1955.593010] zd1211rw 5-3.6:1.0: set_channel() channel 1 [ 1955.594136] zd1211rw 5-3.6:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 - 0x20 [ 1955.594768] zd1211rw 5-3.6:1.0: zd_rf_set_channel() channel: 1 [ 1955.598507] zd1211rw 5-3.6:1.0: update_pwr_int() channel 1 pwr_int 0x54 [ 1955.599130] zd1211rw 5-3.6:1.0: update_ofdm_cal() channel 1 ofdm_cal 36M 0xba 48M 0xb2 54M 0xa5 [ 1955.599754] zd1211rw 5-3.6:1.0: update_pwr_cal() channel 1 pwr_cal 0xd7 [ 1955.602111] zd1211rw 5-3.6:1.0: patch_cck_gain() patching value 12 [ 1955.604107] zd1211rw 5-3.6:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 - 0xa0 [ 1955.624511] zd1211rw 5-3.6:1.0: set_channel() channel 2 [ 1955.626068] zd1211rw 5-3.6:1.0: zd_chip_lock_phy_regs() CR_REG1: 0xa0 - 0x20 [ 1955.626703] zd1211rw 5-3.6:1.0: zd_rf_set_channel() channel: 2 [ 1955.630446] zd1211rw 5-3.6:1.0: update_pwr_int() channel 2 pwr_int 0x5c [ 1955.631071] zd1211rw 5-3.6:1.0: update_ofdm_cal() channel 2 ofdm_cal 36M 0xba 48M 0xb2 54M 0xa5 [ 1955.631694] zd1211rw 5-3.6:1.0: update_pwr_cal() channel 2 pwr_cal 0xd7 [ 1955.634050] zd1211rw 5-3.6:1.0: patch_cck_gain() patching value 12 [ 1955.636047] zd1211rw 5-3.6:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 - 0xa0 [ 1955.656329] zd1211rw 5-3.6:1.0: set_channel() channel 3 [ 1955.969417] zd1211rw 5-3.6:1.0: zd_chip_unlock_phy_regs() CR_REG1: 0x20 - 0xa0 [ 1955.970060] SoftMAC: sent association request! [ 1955.971791] SoftMAC: associated! -- Jon Smirl [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your