Find the answer to your Linux question:
Results 1 to 3 of 3
How does one change the boot protocol in ubuntu 8.10? I want to change: bootproto=dhcp to bootproto=static as well as provide static TCP/IP information. This needs to be done form ...
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Location
    Pittsburgh
    Posts
    32

    [SOLVED] How to change bootproto in ubuntu?

    How does one change the boot protocol in ubuntu 8.10? I want to change:

    bootproto=dhcp to
    bootproto=static

    as well as provide static TCP/IP information. This needs to be done form the command line as there is no gui. Thanks.

  2. #2
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    I'm not sure about bootproto, but I think the interface dhcp vs static is defined in the file /etc/network/interfaces

    As far as the static configuration, I don't know where it is, but being lazy as I am, I'd probably write a script that calls ifconfig in the /etc/network/if-up.d directory and see if that works.

  3. #3
    Just Joined!
    Join Date
    Feb 2006
    Location
    Pittsburgh
    Posts
    32
    Quote Originally Posted by D-cat View Post
    I'm not sure about bootproto, but I think the interface dhcp vs static is defined in the file /etc/network/interfaces

    As far as the static configuration, I don't know where it is, but being lazy as I am, I'd probably write a script that calls ifconfig in the /etc/network/if-up.d directory and see if that works.
    Thanks for the reply. As ity happens, the answer is indeed to edit /etc/network/interfaces, changing dhcp to static and supplying all necessary ip addresses and masks.

Posting Permissions

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