[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: activate dhcp at boot time



On Tuesday 19 September 2006 12:53, Robert Epprecht wrote:
> The machine in question was configured *not* to do dhcp at boot time.
> (root has to do 'pump' each time users want to connect to the internet.)
> Now I want to change this.
>
> What's the Debian way to activate automatic connection to the network
> at boot time?
>
> Robert Epprecht

Debian uses the /etc/network/interfaces file for this an example.

>$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0

iface eth0 inet dhcp

The "auto eth0" line brings up the interface on boot and the "iface .." line 
tells it to use dhcp.

Stephen

-- 
GPG Pubic Key: http://users.eastlink.ca/~stephencormier/publickey.asc

Attachment: pgpsq_eV5ZsEk.pgp
Description: PGP signature


Reply to: