[zd1211-devs] PROBLEMS with monitor mode zd1211rw-mac80211 driver on a zd1211b usb stick HLP

2007-07-03 Thread Bruno Tavares
Had some problems earlier but they are solved once I googled some more.

Now the problem is I can't configure monitor mode using FEDORA 7!!

Ran ifconfig and got:
wlan0 Link encap:Ethernet  HWaddr 00:0E:XX:XX:XX:XX
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wmaster0  Link encap:UNSPEC  HWaddr 
00-0E-XX-XX-XX-XX-C8-58-00-00-00-00-00-00-00-00
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:31005 errors:0 dropped:0 overruns:0 frame:0
  TX packets:20383 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:39237968 (37.4 MiB)  TX bytes:2047462 (1.9 MiB)


THEN I RAN IWCONFIG BUT I GOT THIS ERROR:

[EMAIL PROTECTED] Bruno]# /sbin/iwconfig wlan0 mode Monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.

(it say it's busy but i'm connected to my wired connection!)

[EMAIL PROTECTED] Bruno]# /sbin/iwconfig wmaster0 mode Monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wmaster0 ; Operation not supported.

(wlan0 and wmaster0 have the same mac adress, so why it's not supported?)


FYI when i run lsmod i get among other drivers these


rc80211_simple  8257  1
zd1211rw_mac80211  46661  0
mac80211  145609  2 rc80211_simple,zd1211rw_mac80211
cfg80211   12105  1 mac80211


My Linux version is
2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 15:37:31 EDT 2007 i686 i686 i386 
GNU/Linux

>From what I read the zd1211rw-mac80211 driver supports monitor mode on 
zd1211b chip based usb sticks
http://linuxwireless.org/en/users/Drivers/zd1211rw

Can you help me swich my usb stick to monitor mode?
What am I missing?

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] PROBLEMS with monitor mode zd1211rw-mac80211 driver on a zd1211b usb stick HLP

2007-07-03 Thread Andy Green
Bruno Tavares wrote:

> [EMAIL PROTECTED] Bruno]# /sbin/iwconfig wlan0 mode Monitor
> Error for wireless request "Set Mode" (8B06) :
> SET failed on device wlan0 ; Device or resource busy.
> 
> (it say it's busy but i'm connected to my wired connection!)

You have to bring the interface down to change the mode in mac80211,
then bring it up to use it... like

ifconfig wlan0 down

> [EMAIL PROTECTED] Bruno]# /sbin/iwconfig wmaster0 mode Monitor
> Error for wireless request "Set Mode" (8B06) :
> SET failed on device wmaster0 ; Operation not supported.

Use wlan0 not wmaster0

-Andy

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


[zd1211-devs] PROBLEMS with monitor mode zd1211rw-mac80211 driver on a zd121 HLP system froze

2007-07-03 Thread Bruno Tavares
Ok here's what i learned until now.

FYI (before changing to monitor mode these were my devices settings)

[EMAIL PROTECTED] Bruno]# /sbin/iwconfig wlan0
wlan0 IEEE 802.11g  ESSID:""
  Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
  Retry min limit:7   RTS thr:off   Fragment thr=2346 B
  Encryption key:off
  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


To change the mode I have to bring down the zd1211rw-mac80211 driver with:

[EMAIL PROTECTED] Bruno]# /sbin/ifconfig wlan0 down

then change the to monitor mode with

[EMAIL PROTECTED] Bruno]# /sbin/iwconfig wlan0 mode monitor

but when i try to type the commands to bring it up before i hit enter it 
shows this:

[EMAIL PROTECTED] Bruno]# /sbin/iwconfig wlan0 mode monitor
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: Oops:  [#1]
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: SMP
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: CPU:0
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: EIP:0060:[]Not tainted VLI
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: EFLAGS: 00210246   (2.6.21-1.3228.fc7 #1)
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: EIP is at zd_mac_config_interface+0x9/0x31 
[zd1211rw_mac80211]
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: eax:    ebx: c2facf20   ecx: c2fe4e14   edx: 

Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: esi: c2fab000   edi: c2fe4e34   ebp: c2fac1c0   esp: 
c2fe4e08
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: Process NetworkManager (pid: 7796, ti=c2fe4000 
task=e60ca270 task.ti=c2fe4000)
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: Stack: f8a97e60 f9549966  0004  
  
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:   c2fac1c0 c2fac990 
da583000  f95572a8
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:c2fe4f30 013c  c2fab000 c2fe4f30 
fff4 da583000 c061dac0
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: Call Trace:
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] __ieee80211_if_config+0xf9/0x105 [mac80211]
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] ieee80211_sta_start_scan+0x15c/0x193 
[mac80211]
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] ioctl_standard_call+0x1ff/0x2ce
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] wext_handle_ioctl+0xa9/0x370
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] ieee80211_ioctl_siwscan+0x0/0x80 [mac80211]
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] ieee80211_ioctl_siwscan+0x0/0x80 [mac80211]
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] sock_ioctl+0x0/0x1be
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] dev_ioctl+0x402/0x421
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] sock_attach_fd+0x70/0xcf
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] selinux_file_alloc_security+0x1f/0x40
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] sock_ioctl+0x0/0x1be
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] do_ioctl+0x1f/0x62
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] vfs_ioctl+0x244/0x256
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] sys_ioctl+0x4c/0x64
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  [] syscall_call+0x7/0xb
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel:  ===
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: Code: 82 04 27 00 00 31 c0 5b c3 8b 40 5c c7 80 fc 26 00 
00 01 00 00 00 c3 0f b6 12 8b 40 5c e9 48 f4 ff ff 53 8b 51 04 8b 58 5c 31 
c0 <8a> 0a f6 c1 01 75 17 8a 42 02 0a 42 01 09 c8 0a 42 03 0a 42 04
Message from syslogd@ at Tue Jul  3 12:53:36 2007 ...
localhost kernel: EIP: [] zd_mac_config_interface+0x9/0x31 
[EMAIL PROTECTED] Bruno]# /sbin/ifconfig wlan0 up

/sbin/ifconfig wlan0 up was the command i was trying to bring it up.

Right after that my terminal stoped responding just has firefox and all 
other applications.
I tried to shut down and hit restart but that froze the hole system!!!

I tried it again, same thing

Re: [zd1211-devs] PROBLEMS with monitor mode zd1211rw-mac80211 driver on a zd121 HLP system froze

2007-07-03 Thread Andy Green
Bruno Tavares wrote:

> localhost kernel: Process NetworkManager (pid: 7796, ti=c2fe4000 
> task=e60ca270 task.ti=c2fe4000)

service NetworkManager stop

if you didn't have any joy with NetworkManager, stop it starting next
boot with

chkconfig NetworkManager off

as well.  Then retry.

-Andy

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


[zd1211-devs] ZD1211b chip: 2.6.20 => 2.6.21 regression

2007-07-03 Thread Romain Liévin
Hi,

since kernel v2.6.21, my WiFi is not useable any longer. The driver is
telling me that "AL2230S devices are not yet supported." But, I have a
simple AL2230 device. dmesg output is the following:

<<
zd1211rw 1-2:1.0: firmware version 4725
zd1211rw 1-2:1.0: zd1211b chip 050d:705c v4810 high 00-17-3f AL2230_RF pa0
g--N

To make the driver work again, I have modified zd_chip.c:430:

chip->al2230s_bit = (value >> 7) & 0x1;

into

chip->al2230s_bit = 0; /*(value >> 7) & 0x1;*/

More informations on request...

Regards, Romain.
-- 
Romain Liévin : <[EMAIL PROTECTED]>
Web site :  http://www.lievin.net
"Linux, y'a moins bien mais c'est plus cher !"











-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] ZD1211b chip: 2.6.20 => 2.6.21 regression

2007-07-03 Thread Daniel Drake
Romain Liévin wrote:
> since kernel v2.6.21, my WiFi is not useable any longer. The driver is
> telling me that "AL2230S devices are not yet supported." But, I have a
> simple AL2230 device. dmesg output is the following:

Upgrade to 2.6.21.5

Thanks,
Daniel

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs