You are not logged in.
Pages: 1
Where do i put the command dhcpcd so that whenever I boot archlinux, the internet will be up and running without me typing in the command for it?
Offline
in DAEMONS() array in /etc/rc.conf...except its dhcpd.
Offline
What if its a string command that needs to be inputted as the root?
Offline
wow.. you really need to read some of the docs man:
http://wiki2.archlinux.org/
Offline
dhcpd <- is in my list of daemons, but the internet still needs a dhcpcd call in root after i go into my user account to start working... any ideas?
Offline
Uh... I used to simply have
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
in my rc.conf file. (change to suit your 'net device)
Offline
dhcpd <- is in my list of daemons, but the internet still needs a dhcpcd call in root after i go into my user account to start working... any ideas?
Set up your interface /etc/rc.conf to use DHCP automatically, so the network script will run dhcpcd for you:
My example:
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# (prefix an interface in INTERFACES with a ! to disable it)
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
If it doesn't work for some reason, you can add your command to /etc/rc.local, which executes the commands in it as the last step of the boot-up.
EDIT: Too slow I am
Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016
Offline
Offline
Thanks guys, i went with the rc.local method
ummm rc.local isn't "The Arch Way"... it's rather simple actually...
in rc.conf set:
eth0="dhcp"
INTERFACES=(lo eth0)
...
DAEMONS=(... network ...)
Offline
Pages: 1