You are not logged in.

#1 2010-10-04 22:50:14

dirtime
Member
Registered: 2009-07-17
Posts: 4

net-auto-wireless fails even though netcfg succeeds [SOLVED]

Greetings,

After a full system upgrade a month or two ago, net-auto-wireless stoppped working for me.  After searching the forum and not finding anything relevant, I'm writing to ask for help on how to figure out what went wrong.

I've got my wireless network profiles all using configsec format.  And
they work great if I invoke them from netcfg (output below).  But they
don't connect automatically.  When I restart net-auto-wireless, here's
the output I get (after enabling debugging output on netcfg):

:: Starting netcfg auto-wireless mode for interface wlan0   [BUSY]
DEBUG: Loading profile Bake
DEBUG: Configuring interface 
DEBUG: Loading profile myessid2
 [..omitted similar output..]
DEBUG: Loading profile myssid
DEBUG: Configuring interface wlan0
DEBUG: Loading profile vopcust-simple-wpa
DEBUG: Configuring interface wlan0
DEBUG: Loading profile vopcust
DEBUG: Configuring interface wlan0
                                                            [FAIL] 

So it looks like net-auto-wireless is trying each of my network
configurations, but for some reason they are all failing.  Any idea
what may be going on, or how I can troubleshoot this further?

Thanks very much for any help.

Sincerely,
Adam

PS Additional information that may be relevant is below.


Here is the relevant part of my rc.conf:

eth0="dhcp"
INTERFACES=(!eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
NETWORK_PERSIST="no"
WIRELESS_INTERFACE="wlan0"
NETCFG_DEBUG="yes"
DAEMONS=(syslog-ng iptables acpid laptop-mode ifplugd net-auto-wired net-auto-wireless crond alsa hal netfs fam !autofs cups slim)

Here is the output of netcfg successfully connecting using one of my
configsec configs:

DEBUG: Loading profile myssid
DEBUG: Configuring interface wlan0
:: myssid up                        [BUSY]
DEBUG: status reported to profile_up as: 
DEBUG: Loading profile myssid
DEBUG: Configuring interface wlan0
DEBUG: wireless_up stop_wpa wlan0
DEBUG: wireless_up ifup
DEBUG: wireless_up Configuration generated at /tmp/wpa.wlan0/wpa.conf
DEBUG: wireless_up start_wpa wlan0 /tmp/wpa.wlan0/wpa.conf wext -f/var/log/messages.log
DEBUG: wireless_up wpa_check
DEBUG: Loading profile myssid
DEBUG: Configuring interface wlan0
DEBUG: ethernet_iproute_up ifup
DEBUG: ethernet_up dhcpcd -qL -t 10 wlan0
DEBUG: 
DEBUG: ethernet_iproute_up hostname myhostname

Last edited by dirtime (2010-10-05 01:10:43)

Offline

#2 2010-10-05 01:10:15

dirtime
Member
Registered: 2009-07-17
Posts: 4

Re: net-auto-wireless fails even though netcfg succeeds [SOLVED]

More troubleshooting revealed that some other corrupted network profiles in /etc/network.d must have been causing the problems.  When I removed some old dusty ones, net-auto-wireless worked again.

So I will mark this thread solved.

Offline

Board footer

Powered by FluxBB