Skip to contentSkip to conversation

linux crash after hostap connection

ath9k-devel andreandrea1 at vodafone.it 2 participants 3 messages Jan 3, 2012 – Jan 5, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello, I have a problem with ath9k diriver, when I try to connect to hostapd with my android phone, linux crash. I have a debian testing with hostapd version 0.7.3 and I tried kernel:
3.1.0-1-686-pae from debian repository
3.1.0-rc4 compiled by me (same config of debian kernel )
3.2.0-rc6 compiled by me (same config of debian kernel )

My hostap conf file is:
interface=wlan0
bridge=br0
driver=nl80211
auth_algs=1
wpa=0

logger_stdout=-1
logger_stdout_level=2

ssid=prrr
hw_mode=g
channel=6

max_num_sta=5

And my wifi device is a "Atheros AR2427 802.11bg" that use ath9k driver

And I launch this commands for use hostap:
/etc/init.d/network-manager stop
killall dhcpcd
ifconfig eth0 down
ifconfig wlan0 down
echo 1 > /proc/sys/net/ipv4/ip_forward
brctl addbr br0
brctl addif br0 eth0
brctl setfd br0 0
hostapd -dd /etc/hostapd/hostapd.conf
ifconfig eth0 up
ifconfig br0 192.168.3.9 up
dhcpd br0

Unfortunatly I can't get the log

Thanks
Andrea

#1 lore raw
Quoted 16 lines · On Tue, Jan 3, 2012 at 5:40 AM, <[email protected]> wrote:

Hello, I have a problem with ath9k diriver, when I try to connect to hostapd with my android phone, linux crash. I have a debian testing with hostapd version 0.7.3 and I tried kernel:
3.1.0-1-686-pae from debian repository
3.1.0-rc4 compiled by me (same config of debian kernel )
3.2.0-rc6 compiled by me (same config of debian kernel )

My hostap conf file is:
interface=wlan0
bridge=br0
driver=nl80211
auth_algs=1
wpa=0

logger_stdout=-1
logger_stdout_level=2

Quoted 8 lines

ssid=prrr
hw_mode=g
channel=6

max_num_sta=5

And my wifi device is a "Atheros AR2427 802.11bg" that use ath9k driver

please try with the attached patch which is already sent upstream
http://comments.gmane.org/gmane.linux.kernel.wireless.general/83197

Quoted 23 lines

And I launch this commands for use hostap:
/etc/init.d/network-manager stop
killall dhcpcd
ifconfig eth0 down
ifconfig wlan0 down
echo 1 > /proc/sys/net/ipv4/ip_forward
brctl addbr br0
brctl addif br0 eth0
brctl setfd br0 0
hostapd -dd /etc/hostapd/hostapd.conf
ifconfig eth0 up
ifconfig br0 192.168.3.9 up
dhcpd br0

Unfortunatly I can't get the log

Thanks
Andrea
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 8 lines
shafi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ath9k-Fix-kernel-panic-in-AR2427-in-AP-mode.patch
Type: text/x-diff
Size: 2810 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20120103/93d55920/attachment.patch 

A message that is not in the archive (sent off-list or not yet received): 20120105142028.GA16295@superiordeb