You are not logged in.

#1 2010-03-29 15:57:25

jceasless
Member
Registered: 2009-04-20
Posts: 73

Update cost me hostapd

Hi folks, so I've had a nice thing going with a hostapd access point here in my room. I foolishly decided to upgrade my system today (though the libjpg/libpng upgrade sort of forced the issue, as many programs stopped working after they were upgraded).

Now I cannot get hostapd to work.

I invoke hostapd with the following script (I use 'restart' because for some reason hostapd seemed to need at least daily restarting, so it makes it easier)

start_forwarding:

#!/bin/bash
ifconfig wlan0 192.168.2.1 netmask 255.255.255.240 broadcast 192.168.2.15
/etc/rc.d/shorewall restart
/etc/rc.d/hostapd restart

The only thing I see in the logs that looks relevant is:
/var/log/everything.log

Mar 29 16:47:30 daenerys avahi-daemon[4755]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.2.1.
Mar 29 16:47:30 daenerys avahi-daemon[4755]: New relevant interface wlan0.IPv4 for mDNS.
Mar 29 16:47:30 daenerys avahi-daemon[4755]: Registering new address record for 192.168.2.1 on wlan0.IPv4.
Mar 29 16:47:31 daenerys avahi-daemon[4755]: Interface wlan0.IPv4 no longer relevant for mDNS.
Mar 29 16:47:31 daenerys avahi-daemon[4755]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.2.1.
Mar 29 16:47:31 daenerys avahi-daemon[4755]: Withdrawing address record for 192.168.2.1 on wlan0.

lspci | grep -i atheros

04:07.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)

When I run the ifconfig command (from the script) manually, wlan0 shows up with a generic ifconfig invocation. As soon as I try to start hostapd, it disappears.

Hopefully someone has an idea of what is going on? As it stands I'm not sure where to find more info on why it is crashing. I have it set to log all modules and at a verbose level, but nothing appears in any (to me) logical log files...

Last edited by jceasless (2010-03-29 16:42:18)

Offline

Board footer

Powered by FluxBB