Results 1 to 3 of 3

Thread: How can I set dhclient to autorun at boot?

  1. #1
    Join Date
    Jan 2010
    Beans
    31

    How can I set dhclient to autorun at boot?

    Had a problem getting my internet connection working with Ubuntu, but I resolved that issue. Problem is I still have to manually run dhclient every time Ubuntu boots, because I have no network unless I do. Is there a script or something that can do this automatically?

  2. #2
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How can I set dhclient to autorun at boot?

    Is your network configured through Network Manager? NM seems to configure network at login instead of boot. If you need the network at boot time, you can (manually) configure /etc/network/interfaces - an example:
    Code:
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet dhcp
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  3. #3
    Join Date
    Jan 2013
    Beans
    3

    Re: How can I set dhclient to autorun at boot?

    Thank's for answer!

Bookmarks

Posting Permissions

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