Automatic (DHCP) addresses only in Ubuntu

J dreadpiratejeff at gmail.com
Tue Feb 21 16:53:46 UTC 2012


On Tue, Feb 21, 2012 at 10:09, Mukul Malhotra <smilemukul2005 at gmail.com> wrote:
>
> Hi,
>
> I want to customize Ubuntu 11.04 environment & I want modify the Auto eth0
> (ethernet interface) interface attributes/parameters of ipv4 setting
> through CLI as,
>
> Choose the IPv4 Settings tab
>
> From the Method drop-down, choose Automatic (DHCP) addresses only
>
> How can I achieve the same for ethernet interface  (eth0) through command
> line
>
> Thanks
>
> Mukm

you should look at the file /etc/network/interfaces

and you should also read the man page for the interfaces file

man interfaces

which will tell you how to set up entries for various devices in the
interfaces file.




More information about the ubuntu-users mailing list