Bug#573048: hostapd incompatible with 2.6.33 kernel

2010-03-24 Thread David Madore
Hi,

On Mon, Mar 08, 2010 at 03:17:55PM +0100, Daniel wrote:
 Starting advanced IEEE 802.11 management: hostapdioctl[SIOCGIWRANGE]:  
 Invalid argument
 ioctl[SIOCSIWRTS]: Invalid argument
 rmdir[ctrl_interface]: No such file or directory
 (warning).

I've encountered the exact same errors with Linux 2.6.33.1, and solved
them by compiling the kernel with CONFIG_CFG80211_WEXT=y (cfg80211
wireless extensions compatibility).  Probably this used to be tacit
and now they've made it an option defaulting to no.  This could
arguably be better documented.

Hope this helps,

-- 
 David A. Madore
   ( http://www.madore.org/~david/ )



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#573048: hostapd incompatible with 2.6.33 kernel

2010-03-16 Thread Kel Modderman
severity 573048 important
thanks

On Tuesday 09 March 2010 00:17:55 Daniel wrote:
 Package: hostapd
 Version: 1:0.6.10-2
 Severity: grave
 Justification: renders package unusable

Bull.

 
 Running kernel 2.6.32.8 together with the above hostapd version worked 
 just fine

That's why the submitted severity is bull.

 but after I've updated the kernel from 2.6.32.8 to 2.6.33 
 (both from kernel.org) hostapd does not start any more.

That's a problem that could be fixed, but I aint looked into it myself.
Thanks for the extra info.

Thanks, Kel.

 
 Output of /etc/init.d/hostapd:
 Starting advanced IEEE 802.11 management: hostapdioctl[SIOCGIWRANGE]: 
 Invalid argument
 ioctl[SIOCSIWRTS]: Invalid argument
 rmdir[ctrl_interface]: No such file or directory
  (warning).
 
 
 Manually starting hostapd using the cmd hostapd -t -P 
 /var/run/hostapd.pid -dd /etc/hostapd/hostapd.conf reports:
 1267968202.414304: Configuration file: /etc/hostapd/hostapd.conf
 1267968202.416436: ctrl_interface_group=0
 1267968202.445810: Opening raw packet socket for ifindex 0
 1267968202.445896: BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
 ioctl[SIOCGIWRANGE]: Invalid argument
 1267968202.446733: nl80211: Added 802.11b mode based on 802.11g information
 1267968202.446768: Allowed channel: mode=1 chan=1 freq=2412 MHz 
 max_tx_power=20 dBm
 1267968202.446867: Allowed channel: mode=1 chan=2 freq=2417 MHz 
 max_tx_power=20 dBm
 1267968202.446900: Allowed channel: mode=1 chan=3 freq=2422 MHz 
 max_tx_power=20 dBm
 1267968202.446929: Allowed channel: mode=1 chan=4 freq=2427 MHz 
 max_tx_power=20 dBm
 1267968202.446959: Allowed channel: mode=1 chan=5 freq=2432 MHz 
 max_tx_power=20 dBm
 1267968202.446988: Allowed channel: mode=1 chan=6 freq=2437 MHz 
 max_tx_power=20 dBm
 1267968202.447016: Allowed channel: mode=1 chan=7 freq=2442 MHz 
 max_tx_power=20 dBm
 1267968202.447046: Allowed channel: mode=1 chan=8 freq=2447 MHz 
 max_tx_power=20 dBm
 1267968202.447075: Allowed channel: mode=1 chan=9 freq=2452 MHz 
 max_tx_power=20 dBm
 1267968202.447103: Allowed channel: mode=1 chan=10 freq=2457 MHz 
 max_tx_power=20 dBm
 1267968202.447133: Allowed channel: mode=1 chan=11 freq=2462 MHz 
 max_tx_power=20 dBm
 1267968202.447163: Allowed channel: mode=0 chan=1 freq=2412 MHz 
 max_tx_power=20 dBm
 1267968202.447192: Allowed channel: mode=0 chan=2 freq=2417 MHz 
 max_tx_power=20 dBm
 1267968202.447221: Allowed channel: mode=0 chan=3 freq=2422 MHz 
 max_tx_power=20 dBm
 1267968202.447250: Allowed channel: mode=0 chan=4 freq=2427 MHz 
 max_tx_power=20 dBm
 1267968202.447278: Allowed channel: mode=0 chan=5 freq=2432 MHz 
 max_tx_power=20 dBm
 1267968202.447307: Allowed channel: mode=0 chan=6 freq=2437 MHz 
 max_tx_power=20 dBm
 1267968202.447336: Allowed channel: mode=0 chan=7 freq=2442 MHz 
 max_tx_power=20 dBm
 1267968202.447365: Allowed channel: mode=0 chan=8 freq=2447 MHz 
 max_tx_power=20 dBm
 1267968202.447393: Allowed channel: mode=0 chan=9 freq=2452 MHz 
 max_tx_power=20 dBm
 1267968202.447422: Allowed channel: mode=0 chan=10 freq=2457 MHz 
 max_tx_power=20 dBm
 1267968202.447451: Allowed channel: mode=0 chan=11 freq=2462 MHz 
 max_tx_power=20 dBm
 1267968202.447587: RATE[0] rate=10 flags=0x2
 1267968202.447619: RATE[1] rate=20 flags=0x6
 1267968202.447644: RATE[2] rate=55 flags=0x6
 1267968202.447668: RATE[3] rate=110 flags=0x6
 1267968202.447694: RATE[4] rate=60 flags=0x0
 1267968202.447718: RATE[5] rate=90 flags=0x0
 1267968202.447742: RATE[6] rate=120 flags=0x0
 1267968202.447767: RATE[7] rate=180 flags=0x0
 1267968202.447791: RATE[8] rate=240 flags=0x0
 1267968202.447816: RATE[9] rate=360 flags=0x0
 1267968202.447840: RATE[10] rate=480 flags=0x0
 1267968202.447865: RATE[11] rate=540 flags=0x0
 1267968202.447890: Passive scanning not supported
 1267968202.447913: Mode: IEEE 802.11g  Channel: 6  Frequency: 2437 MHz
 ioctl[SIOCSIWRTS]: Invalid argument
 1267968202.460912: Could not set RTS threshold for kernel driver
 1267968202.460947: wlan0: Unable to setup interface.
 rmdir[ctrl_interface]: No such file or directory
 
 
 The last error msg rmdir[...] does not appear in case I run mkdir 
 /var/run/hostapd before starting hostapd, nevertheless hostapd does not 
 start:
 
 r...@router:~# mkdir /var/run/hostapd
 r...@router:~# hostapd -t -P /var/run/hostapd.pid -dd 
 /etc/hostapd/hostapd.conf
 1267968532.506341: Configuration file: /etc/hostapd/hostapd.conf
 1267968532.508508: ctrl_interface_group=0
 1267968532.537844: Opening raw packet socket for ifindex 0
 1267968532.537929: BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
 ioctl[SIOCGIWRANGE]: Invalid argument
 1267968532.538839: nl80211: Added 802.11b mode based on 802.11g information
 1267968532.538877: Allowed channel: mode=1 chan=1 freq=2412 MHz 
 max_tx_power=20 dBm
 1267968532.538909: Allowed channel: mode=1 chan=2 freq=2417 MHz 
 max_tx_power=20 dBm
 1267968532.538939: Allowed channel: mode=1 chan=3 freq=2422 MHz 
 max_tx_power=20 dBm
 1267968532.538969: Allowed channel: mode=1 

Bug#573048: hostapd incompatible with 2.6.33 kernel

2010-03-09 Thread Lee

Hi everyone,

I tried linux kernel 2.6.33 with hostapd both 0.6.9-3 and 0.6.10-1, and they 
don't work. So it's not restricted to 0.6.10-2.


Regards,
Lee



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#573048: hostapd incompatible with 2.6.33 kernel

2010-03-08 Thread Daniel

Package: hostapd
Version: 1:0.6.10-2
Severity: grave
Justification: renders package unusable

Running kernel 2.6.32.8 together with the above hostapd version worked 
just fine but after I've updated the kernel from 2.6.32.8 to 2.6.33 
(both from kernel.org) hostapd does not start any more.


Output of /etc/init.d/hostapd:
Starting advanced IEEE 802.11 management: hostapdioctl[SIOCGIWRANGE]: 
Invalid argument

ioctl[SIOCSIWRTS]: Invalid argument
rmdir[ctrl_interface]: No such file or directory
(warning).


Manually starting hostapd using the cmd hostapd -t -P 
/var/run/hostapd.pid -dd /etc/hostapd/hostapd.conf reports:

1267968202.414304: Configuration file: /etc/hostapd/hostapd.conf
1267968202.416436: ctrl_interface_group=0
1267968202.445810: Opening raw packet socket for ifindex 0
1267968202.445896: BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
ioctl[SIOCGIWRANGE]: Invalid argument
1267968202.446733: nl80211: Added 802.11b mode based on 802.11g information
1267968202.446768: Allowed channel: mode=1 chan=1 freq=2412 MHz 
max_tx_power=20 dBm
1267968202.446867: Allowed channel: mode=1 chan=2 freq=2417 MHz 
max_tx_power=20 dBm
1267968202.446900: Allowed channel: mode=1 chan=3 freq=2422 MHz 
max_tx_power=20 dBm
1267968202.446929: Allowed channel: mode=1 chan=4 freq=2427 MHz 
max_tx_power=20 dBm
1267968202.446959: Allowed channel: mode=1 chan=5 freq=2432 MHz 
max_tx_power=20 dBm
1267968202.446988: Allowed channel: mode=1 chan=6 freq=2437 MHz 
max_tx_power=20 dBm
1267968202.447016: Allowed channel: mode=1 chan=7 freq=2442 MHz 
max_tx_power=20 dBm
1267968202.447046: Allowed channel: mode=1 chan=8 freq=2447 MHz 
max_tx_power=20 dBm
1267968202.447075: Allowed channel: mode=1 chan=9 freq=2452 MHz 
max_tx_power=20 dBm
1267968202.447103: Allowed channel: mode=1 chan=10 freq=2457 MHz 
max_tx_power=20 dBm
1267968202.447133: Allowed channel: mode=1 chan=11 freq=2462 MHz 
max_tx_power=20 dBm
1267968202.447163: Allowed channel: mode=0 chan=1 freq=2412 MHz 
max_tx_power=20 dBm
1267968202.447192: Allowed channel: mode=0 chan=2 freq=2417 MHz 
max_tx_power=20 dBm
1267968202.447221: Allowed channel: mode=0 chan=3 freq=2422 MHz 
max_tx_power=20 dBm
1267968202.447250: Allowed channel: mode=0 chan=4 freq=2427 MHz 
max_tx_power=20 dBm
1267968202.447278: Allowed channel: mode=0 chan=5 freq=2432 MHz 
max_tx_power=20 dBm
1267968202.447307: Allowed channel: mode=0 chan=6 freq=2437 MHz 
max_tx_power=20 dBm
1267968202.447336: Allowed channel: mode=0 chan=7 freq=2442 MHz 
max_tx_power=20 dBm
1267968202.447365: Allowed channel: mode=0 chan=8 freq=2447 MHz 
max_tx_power=20 dBm
1267968202.447393: Allowed channel: mode=0 chan=9 freq=2452 MHz 
max_tx_power=20 dBm
1267968202.447422: Allowed channel: mode=0 chan=10 freq=2457 MHz 
max_tx_power=20 dBm
1267968202.447451: Allowed channel: mode=0 chan=11 freq=2462 MHz 
max_tx_power=20 dBm

1267968202.447587: RATE[0] rate=10 flags=0x2
1267968202.447619: RATE[1] rate=20 flags=0x6
1267968202.447644: RATE[2] rate=55 flags=0x6
1267968202.447668: RATE[3] rate=110 flags=0x6
1267968202.447694: RATE[4] rate=60 flags=0x0
1267968202.447718: RATE[5] rate=90 flags=0x0
1267968202.447742: RATE[6] rate=120 flags=0x0
1267968202.447767: RATE[7] rate=180 flags=0x0
1267968202.447791: RATE[8] rate=240 flags=0x0
1267968202.447816: RATE[9] rate=360 flags=0x0
1267968202.447840: RATE[10] rate=480 flags=0x0
1267968202.447865: RATE[11] rate=540 flags=0x0
1267968202.447890: Passive scanning not supported
1267968202.447913: Mode: IEEE 802.11g  Channel: 6  Frequency: 2437 MHz
ioctl[SIOCSIWRTS]: Invalid argument
1267968202.460912: Could not set RTS threshold for kernel driver
1267968202.460947: wlan0: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory


The last error msg rmdir[...] does not appear in case I run mkdir 
/var/run/hostapd before starting hostapd, nevertheless hostapd does not 
start:


r...@router:~# mkdir /var/run/hostapd
r...@router:~# hostapd -t -P /var/run/hostapd.pid -dd 
/etc/hostapd/hostapd.conf

1267968532.506341: Configuration file: /etc/hostapd/hostapd.conf
1267968532.508508: ctrl_interface_group=0
1267968532.537844: Opening raw packet socket for ifindex 0
1267968532.537929: BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
ioctl[SIOCGIWRANGE]: Invalid argument
1267968532.538839: nl80211: Added 802.11b mode based on 802.11g information
1267968532.538877: Allowed channel: mode=1 chan=1 freq=2412 MHz 
max_tx_power=20 dBm
1267968532.538909: Allowed channel: mode=1 chan=2 freq=2417 MHz 
max_tx_power=20 dBm
1267968532.538939: Allowed channel: mode=1 chan=3 freq=2422 MHz 
max_tx_power=20 dBm
1267968532.538969: Allowed channel: mode=1 chan=4 freq=2427 MHz 
max_tx_power=20 dBm
1267968532.538998: Allowed channel: mode=1 chan=5 freq=2432 MHz 
max_tx_power=20 dBm
1267968532.539027: Allowed channel: mode=1 chan=6 freq=2437 MHz 
max_tx_power=20 dBm
1267968532.539056: Allowed channel: mode=1 chan=7 freq=2442 MHz 
max_tx_power=20 dBm
1267968532.539085: Allowed channel: mode=1 chan=8