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

Re: dhcp-client help



"D." <youto_22554@yahoo.com>  wrote:

> 
> 
> Hi all,
>   I have installed dhcp-client.
>   My /etc/network/interfaces is:
> auto lo
> iface lo inet loopback
> iface eth0 inet dhcp
>   I have made the files in /etc/network/ifup and
> ifdown and they each have in them eth0.  I have a
> /var/dhcp/dhclient.leases.  The /etc/resolv.conf is
> there and once I get connected it is right.
>   My problem is that my system will not get a ip
> address by itself.  I have DHCP at work and home.
>   I have to do dhclient eth0 to get connected. 
>   I have searched everywhere that I can think of for a
> answer, to no avail. 
>   What am I missing, any and all help is appreciated.
> Thanks
> Don
> 
> __________________________________________________

In your /etc/network/interfaces file add eth0 to the auto line...i.e.

 auto lo eth0
 iface lo inet loopback
 iface eth0 inet dhcp

OR:

  auto lo 
  auto eth0
  iface lo inet loopback
  iface eth0 inet dhcp

Try one of these and see if it works... (reference => man interfaces)

Cheers,
-Don Spoon-



Reply to: