Re: [zd1211-devs] ZyXEL G-202 USB Wireless Adapter - Nearly Works

2007-03-06 Thread Marcus D. Hanwell
On Tuesday 06 March 2007 18:05:57 you wrote:
 Marcus D. Hanwell wrote:
  I was reading the speed from iwconfig and KWireLess. I didn't attempt to
  change the speed, I just let it autonegotiate and figured that would
  connect at the best possible speed. I thought iwconfig would be a
  reliable way to read the speed but I may need educating further :)

 There is currently no automatic rate selection. See the driver homepage
 at http://zd1211.ath.cx/wiki/DriverRewrite

Sorry Daniel - I had skim read through it but missed that. My bad - I am 
rather distracted right now with writing up my thesis... I would say that 
this device works really well then - I assume 11 Mbps is the default speed.

It successfully authenticates with my access point using WPA2 PSK and 
transfers are solid. Forgot reply-all last time too... May be I should leave 
the interweb along for tonight :D

Marcus

-
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] ZyXEL G-202 USB Wireless Adapter - Nearly Works

2007-02-28 Thread Marcus D. Hanwell
On Wednesday 28 February 2007 03:01:54 you wrote:
 Marcus D. Hanwell wrote:
  This is my first time trying out this driver, so please be gentle if I
  have missed anything obvious. I checked what I could see to make sure no
  one had gone through this already. I just got a USB wireless adapter with
  an ADSL router and thought I would give it a try - it seems to very
  nearly work.
 
  Things you ask for on the wiki:
 
  Brand  Retail Product: ZyXEL G-202 Wireless USB Adapter
  USB ID: 0586:3410
  Chip ID: zd1211rw 1-6:1.0: zd1211 chip 0586:3410 v4810 high 00-13-49
  AL2230_RF pa0 g---

 I just looked at the windows driver for this hardware. I have not seen
 the driver files named in this way before. Anyway, some strings in the
 .sys files suggest that this is a 1215 chip, which is actually just an
 alternative name for zd1211b. So, it looks like you may have specified
 the wrong device type in your modification to the driver, and this may
 be causing you some of the problems you are seeing.

You were right! It seems to be working pretty well with zd1211b. I am sending 
this email through a connection using the device, wpa_supplicant and WPA2. It 
does seem to be limited to 11 Mbit/s though - I will see if I can figure this 
out.

I will use this as my main connection for a while to see how stable it is but 
so far it looks good. The output from dmesg also looks better now,

zd1211rw 1-6:1.0: firmware version 4725
zd1211rw 1-6:1.0: zd1211b chip 0586:3410 v4810 high 00-13-49 AL2230_RF pa0 
g---
zd1211rw 1-6:1.0: eth1

Thanks for your help (I should have probably just tried the b type driver). 
Let me know if there is any more I can do to help get this device supported 
by the driver.

Thanks,

Marcus

-
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] ZyXEL G-202 USB Wireless Adapter - Nearly Works

2007-02-27 Thread Marcus D. Hanwell
Hi,

This is my first time trying out this driver, so please be gentle if I have 
missed anything obvious. I checked what I could see to make sure no one had 
gone through this already. I just got a USB wireless adapter with an 
ADSL router and thought I would give it a try - it seems to very nearly work.

Things you ask for on the wiki:

Brand  Retail Product: ZyXEL G-202 Wireless USB Adapter
USB ID: 0586:3410
Chip ID: zd1211rw 1-6:1.0: zd1211 chip 0586:3410 v4810 high 00-13-49 AL2230_RF 
pa0 g---
FCC ID: M4Y-XG-760N (I think - the letters are tiny)

I compiled the in-kernel driver, using the Gentoo patched kernel sources, 
version 2.6.20. After I added the USB ID in the kernel source and recompiled 
the driver seems to work to a point as it was able to detect the nearby 
access points, but when I tried to actually associate with one it failed. The 
output I got is shown below,

cryos-lap ~ # /etc/init.d/net.eth1 restart
 * Caching service dependencies ...   [ 
ok ]
 * Stopping eth1
 *   Bringing down eth1
 * Shutting down eth1 ... [ 
ok ]
 * Starting eth1
 *   Configuring wireless network for eth1
Error for wireless request Set Frequency (8B04) :
SET failed on device eth1 ; Operation not permitted.

Let me know if there is anymore I can do to help get this adapter working - it 
seems to be very close already and is bundled with ZyXEL routers right now.

Thanks,

Marcus

-
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] ZyXEL G-202 USB Wireless Adapter - Nearly Works

2007-02-27 Thread Marcus D. Hanwell
Hi Daniel,

On Tuesday 27 February 2007 19:54:55 Daniel Drake wrote:
 Marcus D. Hanwell wrote:
   * Starting eth1
   *   Configuring wireless network for eth1
  Error for wireless request Set Frequency (8B04) :
  SET failed on device eth1 ; Operation not permitted.

 Is this halting the entire process?

It just dies and gives up at this point.

 Presumably you set a channel in your networking configuration. zd1211rw
 (and many other wireless drivers) rejects this, as in managed mode,
 scanning is used to find the channel (it's not something that the user
 should have control over).

I didn't set the frequency, I had actually assumed it was the driver trying to 
set its own frequency to match that of the AP. Not sure where the frequency 
request came from then - I just set the essid and key for it. I was trying to 
use simple WEP.

 To start with, you should just start by working on the command line
 without any init scripts.

Sorry, I am not really an expert with the command line tools for wireless 
stuff just yet. Scanning for access points with iwlist eth1 scan works 
without any problems but I can't seem to associate with an access point.

 Run iwevent in one console to keep track of status. Then in another
 console run:

 ifconfig eth1 up
 iwconfig eth1 essid foo key bar

 If association succeeds (watch the iwevent window), run: dhcpcd eth1

Association kept failing everytime I tried this. I have used this access point 
with my atheros based miniPCI card using the madwifi-ng drivers and the same 
set up. Here is what iwevent gave me,

20:03:36.971946   eth1 Set ESSID:cryos
20:03:36.972410   eth1 Set Encryption key:------**
20:03:36.972435   eth1 Set Encryption key:on   Security mode:open
20:03:40.358455   eth1 Scan request completed
20:03:40.373287   eth1 Custom driver event:authenticated
20:03:45.381628   eth1 Custom driver event:associating timed out

  Let me know if there is anymore I can do to help get this adapter working
  - it seems to be very close already and is bundled with ZyXEL routers
  right now.

 If it is new it may be based on the AL2230S radio rather than the
 AL2230. zd1211rw currently doesn't support AL2230S, and also has a bug
 where it detects it as AL2230 (and doesn't really work as it should).
 This may explain some of the problems you are seeing.

 To confirm whether you have an AL2230 or AL2230S, try the vendor driver:
 http://zd1211.ath.cx/wiki/VendorDriver

 And use this procedure to check the RF type:
 http://zd1211.ath.cx/wiki/RfTypes#HowdoIfindoutwhichRFispresentinmydevice

 I will have my own AL2230S within the next few days and will then solve
 these issues.

I couldn't get the driver to compile, but just noticed the patch for 2.6.20 
kernels... I don't have time tonight but I will try to take another look this 
weekend. Upon insertion I get the following output if it helps at all.

usb 1-6: new high speed USB device using ehci_hcd and address 4
usb 1-6: configuration #1 chosen from 1 choice
usb 1-6: firmware version 0x4330 and device bootcode version 0x4810 differ
zd1211rw 1-6:1.0: firmware version 4605
zd1211rw 1-6:1.0: zd1211 chip 0586:3410 v4810 high 00-13-49 AL2230_RF pa0 g---
zd1211rw 1-6:1.0: eth1

Let me know if it would be useful to work on this further. To be honest I was 
more interested in whether this device worked as I don't really need it too 
much just yet. I can turn WEP off on that access point if it helps, I also 
have my real access point using WPA2 which I could test if this gets working 
later but I didn't want to complicate it too much just yet.

Thanks for getting back to me. Hope life in the States is treating you well!

Marcus

-
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] ZyXEL G-202 USB Wireless Adapter - Nearly Works

2007-02-27 Thread Daniel Drake
Marcus D. Hanwell wrote:
 I didn't set the frequency, I had actually assumed it was the driver trying 
 to 
 set its own frequency to match that of the AP. Not sure where the frequency 
 request came from then - I just set the essid and key for it. I was trying to 
 use simple WEP.

Nope - those messages come from iwconfig. The driver (well, the stack) 
does find the channel automatically, which is why you aren't allowed to 
do it through iwconfig.

It's more sensible to use wpa_supplicant to handle your network 
configuration (even for open/WEP) but I still advise getting it going 
manually first.

 Let me know if it would be useful to work on this further. To be honest I was 
 more interested in whether this device worked as I don't really need it too 
 much just yet. I can turn WEP off on that access point if it helps, I also 
 have my real access point using WPA2 which I could test if this gets working 
 later but I didn't want to complicate it too much just yet.

Next step would be to try the vendor driver with your existing setup. 
That way you find out if it is AL2230S or not, and also whether the 
vendor driver works with your AP (our code is based off that, so if it 
works then at least we have something to work from).

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


Re: [zd1211-devs] ZyXEL G-202 USB Wireless Adapter - Nearly Works

2007-02-27 Thread Daniel Drake
Marcus D. Hanwell wrote:
 Hi,
 
 This is my first time trying out this driver, so please be gentle if I have 
 missed anything obvious. I checked what I could see to make sure no one had 
 gone through this already. I just got a USB wireless adapter with an 
 ADSL router and thought I would give it a try - it seems to very nearly work.
 
 Things you ask for on the wiki:
 
 Brand  Retail Product: ZyXEL G-202 Wireless USB Adapter
 USB ID: 0586:3410
 Chip ID: zd1211rw 1-6:1.0: zd1211 chip 0586:3410 v4810 high 00-13-49 
 AL2230_RF 
 pa0 g---

I just looked at the windows driver for this hardware. I have not seen 
the driver files named in this way before. Anyway, some strings in the 
.sys files suggest that this is a 1215 chip, which is actually just an 
alternative name for zd1211b. So, it looks like you may have specified 
the wrong device type in your modification to the driver, and this may 
be causing you some of the problems you are seeing.

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