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

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

Model No (from back of the stick): WUSBF54G v1.1
Model No (from box): WUSBF54G-EU
FCC ID:Q87-WUSBF54G
IC: 3839A-WUSBF54G

Usb id:
{USB_DEVICE(0x13b1, 0x0024), .driver_info = DEVICE_ZD1211B} 

chip id string:
zd1211rw 3-2:1.0: zd1211b chip 13b1:0024 v4802 high 00-14-bf AL2230_RF
pa0 

Tested successfully with zd1211rw snapshot of 2006-12-14,
on kernel 2.6.19-7.

/Henrik Hjelte

On Sat, 2006-12-16 at 11:20 -0500, Daniel Drake wrote:
> Henrik Hjelte 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.
> 
> This is a bug in your distro, not in the driver. The driver has nothing 
> to do with that file and infact that configuration format is 
> distro-specific.
> 
> > 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. 
> 
> Downgrade to zd1211-firmware-1.1 and see if that helps.
> 
> > 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
> 
> Please provide the information requested here:
> http://zd1211.ath.cx/wiki/UntestedWithRewrite
> 
> Daniel
> 
> 
> 


-
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Kernel OOPS in 2.6.20-rc1 with zd1211rw (possibly ieee80211softmac?)

2006-12-17 Thread Chris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks Ulrich, the patch works a treat :)

I take it this'll be in the next -rc so manual patching won't need
to be done then? :)

Cheers again.


Ulrich Kunitz wrote:
> On 06-12-15 16:39 Chris wrote:
> 
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Hi there,
>>
>> I'll apologise now, this is the first kernel-related issue i've ever
>> experienced, so I may be doing this wrong or missing something :).
>>
>> I recently downloaded and compiled 2.6.20-rc1 and set it up nicely with
>> my zd1211 card (Addon ADD-GWU180) and now the kernel oops's on boot in
>> normal mode, or when issuing "iwconfig eth1 essid essid_name" in
>> recovery mode. From the information it spews out at the time, it looks
>> like possibly a ieee80211softmac issue, but it doesn't happen with an
>> rt2570 card, and I thought it best to check with you first.
>>
>> Hopefully all the information you need is included below, if not, i'll
>> be happy to provide anything else you need.
>>
>> Thanks in advance.
> 
> This is a bug resulting from the changes in the API. I have fixed
> that last Sunday.
> 
> Here is the patch:
> 
> [PATCH] ieee80211softmac: Fix direct calls to ieee80211softmac_assoc_work
> 
> The signature of work functions changed recently from a context
> pointer to the work structure pointer. This caused a problem in
> the ieee80211softmac code, because the work function has  been
> called directly with a parameter explicitly casted to (void*).
> This compiled correctly but resulted in a softlock, because the
> mutex_lock has been executed at the wrong memory address. The
> patch fixes the problem. Softmac works again.
> 
> Signed-off-by: Ulrich Kunitz <[EMAIL PROTECTED]>
> ---
>  net/ieee80211/softmac/ieee80211softmac_assoc.c |6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/net/ieee80211/softmac/ieee80211softmac_assoc.c 
> b/net/ieee80211/softmac/ieee80211softmac_assoc.c
> index eec1a1d..a824852 100644
> --- a/net/ieee80211/softmac/ieee80211softmac_assoc.c
> +++ b/net/ieee80211/softmac/ieee80211softmac_assoc.c
> @@ -167,7 +167,7 @@ static void
>  ieee80211softmac_assoc_notify_scan(struct net_device *dev, int event_type, 
> void *context)
>  {
>   struct ieee80211softmac_device *mac = ieee80211_priv(dev);
> - ieee80211softmac_assoc_work((void*)mac);
> + ieee80211softmac_assoc_work(&mac->associnfo.work.work);
>  }
>  
>  static void
> @@ -177,7 +177,7 @@ ieee80211softmac_assoc_notify_auth(struc
>  
>   switch (event_type) {
>   case IEEE80211SOFTMAC_EVENT_AUTHENTICATED:
> - ieee80211softmac_assoc_work((void*)mac);
> + ieee80211softmac_assoc_work(&mac->associnfo.work.work);
>   break;
>   case IEEE80211SOFTMAC_EVENT_AUTH_FAILED:
>   case IEEE80211SOFTMAC_EVENT_AUTH_TIMEOUT:
> @@ -438,7 +438,7 @@ ieee80211softmac_try_reassoc(struct ieee
>  
>   spin_lock_irqsave(&mac->lock, flags);
>   mac->associnfo.associating = 1;
> - schedule_work(&mac->associnfo.work);
> + schedule_delayed_work(&mac->associnfo.work, 0);
>   spin_unlock_irqrestore(&mac->lock, flags);
>  }
>  

- --
Chris Hogben

GnuPG Key: 1024D/8ACFB876
Fingerprint: 7443 4D0F 4DB0 0698 8769  4D54 02BB ED5A 8ACF B876
Key Available at http://pgp.mit.edu/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFhWrWArvtWorPuHYRArvQAJ9h9Kfs+hsu6B/kSLStGjmw++uI2ACeOt3+
OQTNltEagEZiKCQiHMYHpFA=
=oBlj
-END PGP SIGNATURE-

-
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Kernel OOPS in 2.6.20-rc1 with zd1211rw (possibly ieee80211softmac?)

2006-12-17 Thread Uli Kunitz

Am 17.12.2006 um 17:05 schrieb Chris:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Thanks Ulrich, the patch works a treat :)
>
> I take it this'll be in the next -rc so manual patching won't need
> to be done then? :)
>
> Cheers again.

Larry Finger is looking into this.

Regards,

Uli

--
Uli Kunitz




-
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.php&p=sourceforge&CID=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 Harald Dunkel
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.

I would suggest to try the wpasupplicant package. 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

Hope this helps. Regards

Harri




signature.asc
Description: OpenPGP digital signature
-
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.php&p=sourceforge&CID=DEVDEV___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

[zd1211-devs] 2.6.19.1 zd1211 don't connect

2006-12-17 Thread arandamandi

2.6.19.1
slackware-current
zyxel g-air 220( 0586:3401)

Boot correctly but don't find ap
those are message from syslogs

SoftMAC: Authentication response received from 00:03:22:4e:55:f8 but no
queue item exists.
SoftMAC: Received deauthentication packet from 00:03:22:4e:55:f8, but that
network is unknown

Of course with kernel 2.6.19 and 2.6.18 works fine
-- 
View this message in context: 
http://www.nabble.com/2.6.19.1-zd1211-don%27t-connect-tf2836367.html#a7918559
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] 2.6.19.1 zd1211 don't connect

2006-12-17 Thread Michel Salim
Similar problem to arandamandi's here:
2.6.19.1
Fedora Core 6 / i386
ZyXEL AG-225H (ID 0586:3409)

>From dmesg:
SoftMAC: Authentication timed out with 

I'm retrying with 2.6.19, thanks for the hint.

-- 
Michel Salim
http://hircus.wordpress.com/

My theology, briefly, is that the universe was dictated but not signed.
-- Christopher Morley

-
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


[zd1211-devs] essid strangeness

2006-12-17 Thread Jon Smirl
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

auto lo
iface lo inet loopback

iface eth0 inet dhcp
address 192.168.1.66
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0

iface eth1 inet dhcp
wireless-essid Smirl
wireless-key FF

auto eth1

I have the problem with both zd1211rw in the kernel tree and the one from
http://www.deine-taler.de/zd1211/zd1211.git wireless-dev

It seems like it need to be set twice before the essid sticks.

Using the 2.1 firmware from SF. I can't get reboot to work with 2.2 firmware.

-- 
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] 2.6.19.1 zd1211 don't connect

2006-12-17 Thread Michel Salim
With kernel 2.6.19 I get the following:

usb 5-8.3: firmware version 0x4330 and device bootcode version 0x4810 differ
zd1211rw 5-8.3:1.0: firmware version 4605
zd1211rw 5-8.3:1.0: zd1211 chip 0586:3409 v4810 high 00-13-49
AL7230B_RF pa0 g---
zd1211rw 5-8.3:1.0: eth1

NetworkManager does not show signal strength (but that happened with a
lot of Ndiswrapper cards too, so no big deal) or acquire a network
address.

I get the same "Authenticating timed out" as with 2.6.19.1 and
sometimes also the "Queueing Authentication Request to " /
"Cannot associate without being authenticated" / "Sent Authentication
Request to " / Already associating or associated to  / Sent
Authentication Request to  sequence.

Is this an issue with the firmware version mismatch, or something else?

Thanks,

-- 
Michel Salim

2006/12/17, Michel Salim <[EMAIL PROTECTED]>:
> Similar problem to arandamandi's here:
> 2.6.19.1
> Fedora Core 6 / i386
> ZyXEL AG-225H (ID 0586:3409)
>
> From dmesg:
> SoftMAC: Authentication timed out with 
>
> I'm retrying with 2.6.19, thanks for the hint.
>
> --
> Michel Salim
> http://hircus.wordpress.com/
>
> My theology, briefly, is that the universe was dictated but not signed.
> -- Christopher Morley
>


-- 
Michel Salim
http://hircus.wordpress.com/

My theology, briefly, is that the universe was dictated but not signed.
-- Christopher Morley

-
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] 2.6.19.1 zd1211 don't connect

2006-12-17 Thread Daniel Drake
Michel Salim wrote:
> Is this an issue with the firmware version mismatch, or something else?

Something else. Please try without using network manager or any other 
configuration agents. That way you get a good grasp of the point of failure.


Daniel

-
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] 2.6.19.1 zd1211 don't connect

2006-12-17 Thread Michel Salim
2006/12/17, Michel Salim <[EMAIL PROTECTED]>:
> I get the same "Authenticating timed out" as with 2.6.19.1 and
> sometimes also the "Queueing Authentication Request to " /
> "Cannot associate without being authenticated" / "Sent Authentication
> Request to " / Already associating or associated to  / Sent
> Authentication Request to  sequence.
>
Turns out it was just a power issue; I connected the Wi-Fi stick to an
unpowered USB hub (found out when the device stopped working in
Windows as well).

I can report that it works for me in 2.6.19.1 as well.

Regards,

-- 
Michel Salim
http://hircus.wordpress.com/

My theology, briefly, is that the universe was dictated but not signed.
-- Christopher Morley

-
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.php&p=sourceforge&CID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs