You are not logged in.

#1 2010-09-26 23:10:49

FeatherMonkey
Member
Registered: 2007-02-26
Posts: 313

wpa supplicant can't get it to work on boot(netcfg) [solved]

As the title using Ralink RT2870 chipset with rt2870sta module.

rc.conf

NETWORKS=(wpa_suppl)
DAEMONS=(syslog-ng netfs crond hal fam @vmware @sensors @cups network_profiles)

All other networking bits commented out.

cat /etc/network.d/wpa_suppl

TIMEOUT=60
CONNECTION='wireless'
DESCRIPTION='A wpa_supplicant configuration based wireless connection'
INTERFACE='wlan0'
SECURITY='wpa-config'
WPA_CONF='/etc/wpa_supplicant.conf'
IP='dhcp' 

cat /etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=network
update_config=1

network={
    ssid="Myconnection"
    proto=RSN
    key_mgmt=WPA-PSK
    pairwise=CCMP TKIP
    group=CCMP TKIP 
    psk=hashedsomepasskey
}

On boot it doesn't connect but running netcfg wpa_suppl it works fine. I'm not sure if it is related but in my boot messages I get

/etc/rc.d/functions: line 192: /etc/rc.d/network_profiles: No such file or directory

Which is correct is this related have I missed something in the tuts. Its just I didn't see any mention of this part and was under the impression network.d was the correct place. Line 192 seems to be looping through the daemons so I'm not sure what is triggering this.

Can any one point me in the correct direction as to why it is working manually but not on boot?

Last edited by FeatherMonkey (2010-09-27 00:51:27)

Offline

#2 2010-09-26 23:19:06

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: wpa supplicant can't get it to work on boot(netcfg) [solved]

The daemon is called "net-profiles", not "network_profiles".

Last edited by hokasch (2010-09-26 23:21:49)

Offline

#3 2010-09-27 00:50:50

FeatherMonkey
Member
Registered: 2007-02-26
Posts: 313

Re: wpa supplicant can't get it to work on boot(netcfg) [solved]

Thank you solved don't know how I missed that so many times.

Offline

Board footer

Powered by FluxBB