You are not logged in.

#1 2011-01-04 18:50:47

manouchk
Member
Registered: 2008-07-29
Posts: 314

net-auto-wireless and wpa psk

Hi,

I'm having dificulties to get a WPA PSK connection at boot time using net-auto-wireless daemon.

In /etc/network.d/penedo I have:

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

In /etc/wpa_supplicant.conf, I have:

network={
ssid="Rede1"
#key_mgmt=wpa-tkip
#proto=RSN
#key_mgmt=WPA-PSK
#pairwise=CCMP TKIP
#group=CCMP TKIP 
psk="blablabla"
}

If I run manually the internet profiel penedo:

sudo netcfg penedo

it works fine.

After booting, I get a wlan0 up but no network.

It looks like a temporary wpa.conf is create there /tmp/wpa.wlan0/wpa.conf at boot time. It does not contain any network corresponding for the Network "Rede1". It may have taken an open network from neighboor? How could I know that?

In /tmp/wpa.wlan0/wpa.conf I get the open network from the neighboor:

network={ 
ssid="POP_PND_007" 
key_mgmt=NONE 
id_str="POP_PND_007" 
}

Is there is a way to inhibit a network by essid for example? (I would prohibit ssid="POP_PND_007" )

Last edited by manouchk (2011-01-04 18:54:38)

Offline

#2 2011-01-04 20:09:12

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

Re: net-auto-wireless and wpa psk

From the wiki:

Note that wpa-config profiles does not work with net-auto-wireless. Convert them to wpa-configsection instead.

Offline

Board footer

Powered by FluxBB