Re: [zd1211-devs] zd1211rw problems, bit rate, icwonfig

2006-12-18 Thread Henrik Hjelte
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] zd1211rw problems, bit rate, icwonfig

2006-12-17 Thread Daniel Drake
Henrik Hjelte wrote:
 Brand: Linksys
 Retail name:
 Linksys Wireless-G USB Network Adapter with Wi-Fi Finder

Thanks, added to my tree


-
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] zd1211rw problems, bit rate, icwonfig

2006-12-16 Thread Henrik Hjelte
On Sat, 2006-12-16 at 10:35 -0500, William Keaney wrote:
 What distribution are you using?  
It's ubuntu, recently upgraded to feisty to get kernel 2.6.19-7

 Some of the configuration methods you mentioned are unfamiliar to me. 
To me to. I usually do what Googling tells me. There seems to be many
ways to configure the kernel modules in ubuntu, most of debian
heritage. 

  I use wpa_supplicant for mine, and am able to associate with WEP and
 WPA2/tkip/PEAP networks without hassle.
I'll try this

/Henrik Hjelte

 
 On 12/16/06, Henrik Hjelte [EMAIL PROTECTED] wrote:
 Thanks,
 it works now!
 I had to set the essid with sudo iwconfig set essid
 MyWlanName.
 Then do a sudo dhclient to get a dhcp connection.
 Perhaps not surprising, but:
 
 Previously this was made automatically by a configuration
 option 
 wireless-essid in /etc/network/interfaces, but it doesn't seem
 to have
 an effect with the zd1211rw driver. Also I have specified
 iface eth1 inet dhcp, but that doesn't seem to do it.
 
 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?
 
 But the driver seems to work fine! 
 Don't know how formal tests are required, but I suggest adding
 {USB_DEVICE(0x13b1, 0x0024), .driver_info = DEVICE_ZD1211B}
 to zd_usb.c
 
 
 /Henrik Hjelte
 
 
 
 
 On Fri, 2006-12-15 at 22:57 -0500, William Keaney wrote: 
  Mine does this when it has not associated properly with the
 AP.
  Notice that the output if 'iwconfig' says Access Point:
 Invalid.
  Are you using encryption on your AP?  I find that 'iwconfig
 eth1 enc 
  open' usually fixes the problem.  Failing that, make sure it
 is using
  the correct key.
 
  On 12/15/06, athoslnx [EMAIL PROTECTED] wrote: 
 
 
 
  Henrik Hjelte-2 wrote:
  
   I am trying to get my Linksys USB Network Adapter
 with Wi-Fi
  finder
   Linksys WUSBF54G 13b1:0024 to work with zd1211rw.
 Previously 
  I've had
   success version getting it to work with the old
 zd1211
  driver.
   I'm running Ubuntu feisty, which has kernel
 2.6.19-7.
   zd1211rw is snapshot 2006-12-14, with an edited
 zd_usb.c 
  with a new
   {USB_DEVICE(0x13b1, 0x0024), .driver_info =
 DEVICE_ZD1211B}
  
   I seem to get the usb adapter recognized, but the
 Bit Rate
  is only 1 
   Mb/s and I can't get an dhcp offer. I tried to set
 another
  bit rate with
   iwconfig (sudo iwconfig eth1 rate 11M), but it
 doesn't
  change. The
   output of iwconfig looks the same next time. 
  
   Any ideas how I can get further or what I'm doing
 wrong?
   /Henrik Hjelte
  
   dmesg:
  
   [ 1047.992000] usb 3-3: new high speed USB device
   using ehci_hcd and address 8
   [ 1048.124000] usb 3-3: configuration #1 chosen
 from 1
   choice
   [ 1048.156000] usb 3-3: firmware version 0x4810
 and
   device bootcode version 0x4802 differ
   [ 1048.264000] zd1211rw 3-3:1.0: firmware version
 4725
   [ 1048.308000] zd1211rw 3-3: 1.0: zd1211b chip
 13b1:0024
  v4802
   high00-14-bf AL2230_RF pa0 
   [ 1048.308000] zd1211rw 3-3:1.0: eth1
   [ 1048.432000] ADDRCONF(NETDEV_UP): eth1: link is
 not 
   ready
  
  
   iwconfig:
  
   eth1  IEEE
 802.11b/g  ESSID:O  Nickname:zd1211
 Mode:Managed  Frequency:2.412
 GHz  Access
   Point: Invalid
 Bit Rate=1 Mb/s
 Link 

Re: [zd1211-devs] zd1211rw problems, bit rate, icwonfig

2006-12-15 Thread athoslnx



Henrik Hjelte-2 wrote:
 
 I am trying to get my Linksys USB Network Adapter with Wi-Fi finder
 Linksys WUSBF54G 13b1:0024 to work with zd1211rw. Previously I've had
 success version getting it to work with the old zd1211 driver. 
 I'm running Ubuntu feisty, which has kernel 2.6.19-7. 
 zd1211rw is snapshot 2006-12-14, with an edited zd_usb.c with a new
 {USB_DEVICE(0x13b1, 0x0024), .driver_info = DEVICE_ZD1211B}
 
 I seem to get the usb adapter recognized, but the Bit Rate is only 1
 Mb/s and I can't get an dhcp offer. I tried to set another bit rate with
 iwconfig (sudo iwconfig eth1 rate 11M), but it doesn't change. The
 output of iwconfig looks the same next time.
 
 Any ideas how I can get further or what I'm doing wrong? 
 /Henrik Hjelte
 
 dmesg:
 
 [ 1047.992000] usb 3-3: new high speed USB device
 using ehci_hcd and address 8
 [ 1048.124000] usb 3-3: configuration #1 chosen from 1
 choice
 [ 1048.156000] usb 3-3: firmware version 0x4810 and
 device bootcode version 0x4802 differ
 [ 1048.264000] zd1211rw 3-3:1.0: firmware version 4725
 [ 1048.308000] zd1211rw 3-3:1.0: zd1211b chip 13b1:0024 v4802
 high00-14-bf AL2230_RF pa0 
 [ 1048.308000] zd1211rw 3-3:1.0: eth1
 [ 1048.432000] ADDRCONF(NETDEV_UP): eth1: link is not
 ready
 
 
 iwconfig:
 
 eth1  IEEE 802.11b/g  ESSID:O  Nickname:zd1211
   Mode:Managed  Frequency:2.412 GHz  Access
 Point: Invalid   
   Bit Rate=1 Mb/s   
   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
 
 
 
 
 -
 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
 
 
I have the same problem... 
-- 
View this message in context: 
http://www.nabble.com/zd1211rw-problems%2C-bit-rate%2C-icwonfig-tf2829350.html#a7900561
Sent from the zd1211-devs mailing list archive at Nabble.com.


-
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