Find the answer to your Linux question:
Results 1 to 3 of 3
Using Debian Lenny I want to get an internet connection on boot up. I can only get one if I use dhclient. This is my /etc/network/interfaces: Can someone help me ...
  1. #1
    Linux Newbie
    Join Date
    Dec 2008
    Posts
    135

    [SOLVED] Debian Lenny: Want to get internet connection on boot up

    Using Debian Lenny
    I want to get an internet connection on boot up.
    I can only get one if I use dhclient.

    This is my /etc/network/interfaces:
    Can someone help me to edit it. I looked at the man page, but didn't understand.
    # 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
    allow-hotplug eth0
    iface eth0 inet dhcp
    This is the info I get when I use ethtool.
    I'm using a Macronix internet card when I installed last time, and the installer
    showed that as on eth0.
    Debian:/# ethtool eth0
    Settings for eth0:
    No data available
    Thanks

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Add auto eth0

    Code:
    auto eth0
    allow-hotplug eth0
    iface eth0 inet dhcp

  3. #3
    Linux Newbie
    Join Date
    Dec 2008
    Posts
    135
    I found the answer.

    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
    allow-hotplug eth0
    iface eth0 inet dhcp
    hostname Debian
    I added hostname Debian from /etc/hostname

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •