You are not logged in.

#1 2008-06-18 11:32:04

rexcze
Member
Registered: 2007-05-12
Posts: 54

network Profiles in rc.conf

I want to use network profiles in rc.conf. I did this:

NET_PROFILES=(doma-koleje)

DAEMONS=(syslog-ng hal ipw3945d network cpufreq netfs crond !slim kdm keytouch bluetooth cups net-profiles)

and in /etc/network-profiles i have doma-koleje:

CONNECTION="ethernet"
DESCRIPTION="Pripojeni doma pres kabel nebo na kolejich, dhcp"
INTERFACE=eth0
IP="dhcp"
DHCP_TIMEOUT=15

If I use manual way (netcfg2 doma-koleje) it works, but the network is not set while arch boots. What I did wrong?

Offline

#2 2008-06-18 11:44:06

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: network Profiles in rc.conf

rexcze wrote:

I want to use network profiles in rc.conf. I did this:

NET_PROFILES=(doma-koleje)

DAEMONS=(syslog-ng hal ipw3945d network cpufreq netfs crond !slim kdm keytouch bluetooth cups net-profiles)

and in /etc/network-profiles i have doma-koleje:

CONNECTION="ethernet"
DESCRIPTION="Pripojeni doma pres kabel nebo na kolejich, dhcp"
INTERFACE=eth0
IP="dhcp"
DHCP_TIMEOUT=15

If I use manual way (netcfg2 doma-koleje) it works, but the network is not set while arch boots. What I did wrong?

change
NET_PROFILES=(doma-koleje)

to
NETWORKS=(doma-koleje)

btw, you can also remove network from your daemons now and your profile should be in /etc/network.d/

Offline

Board footer

Powered by FluxBB