You are not logged in.

#1 2010-06-09 18:45:53

ETNyx
Member
From: Czech republic
Registered: 2010-06-08
Posts: 29

[SOLVED]net-profiles doesnt work during boot

Hi,

i have got a little problem. Im trying to set up network during boot process. My way is described in arch wiki.

wireless_tools is instaled by base_devel during installation process. other packages that I installed are

pacman -S netcfg wpa_actiond

I set up the network profiles like this (file /etc/network.d/hasek_home)

CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection using a static IP'
INTERFACE='wlan0'
SECURITY='wpa'
ESSID='hasek_home'
KEY='xxxxxxxxxxxxx'
IP='dhcp'

if I typed

netcfg hasek_home

everything works fine (Wi-fi drives is compiled in kernel). So im trying to set starting wi-fi in boot (in /etc/rc.conf)

INTERFACES=(hasek_home)
DAEMONS=(syslog-ng cpufreq acpid crond dbus hal net-profiles @netfs)

buring boot comes this messages 

No profile started.

Also like handmade starting

/etc/rc.d/net-profiles restart
net-profiles not running
 > No profile started.

Please, what is wrong?

Last edited by ETNyx (2010-06-09 19:03:25)

Offline

#2 2010-06-09 18:52:39

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [SOLVED]net-profiles doesnt work during boot

1. Comment out INTERFACES  (and in any case, it's not for network names, but for eth0, wlan0 etc)
2. NETWORKS=(hasek_home)
3. Not sure if it helps, but I've never been able to background netfs successfully (remove the @, maybe).  I also have net-profiles and netfs before everything except syslog-ng in my daemons array.

Good luck!
Scott

Offline

#3 2010-06-09 18:53:10

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [SOLVED]net-profiles doesnt work during boot

You don't put it in INTERFACES, you put it in NETWORKS.

Offline

#4 2010-06-09 19:02:59

ETNyx
Member
From: Czech republic
Registered: 2010-06-08
Posts: 29

Re: [SOLVED]net-profiles doesnt work during boot

Thank you for your quick responce, I had to be drunk or something like this. Ofcourse NETWORKS(hasek_home) solved this problem. Again thanks you :-)

Offline

Board footer

Powered by FluxBB