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

Re: Eth0



On Sun, Dec 18, 2005 at 07:30:18PM +0100, Ernst-Magne Vindal wrote:
> On Sun, December 18, 2005 18:33, Ed Paris said:
> >
> >
> > Hi There,
> >
> > When I installed Debian on one computer in our network I got a note at the
> > end of the installation that if I needed to revisit any settings that I
> > should run the base-config program.  Well, I need to change the Eth0 net
> > address on this system.  I had directly assigned the number during
> > install.
> > I have found a directory called /usr/lib/base-config/menu but I am not
> > sure
> > which program to start to reset the Eth0 IP address.  I have tried all of
> > them that would start and did find the one naming the computer but nothing
> > on changing the IP address.  Any help you can give me will be appreciated
> > as
> > I really don't want to have to reinstall Debian to make this change.
> > Thanks.
> >
> > Take care,
> >
> > Ed
> >
> >
> 
> just edit /etc/network/interfaces and add entry for static or dhcp address.
> something like this for dhcp:
> auto eth0
> iface eth0 inet dhcp
> 
> or for static address:
> auto eth0
> iface eth0 inet static
>        address x.x.x.x
>        netmask x.x.x.x
>        network x.x.x.x
>        broadcast x.x.x.x
>        gateway x.x.x.x
> 
> you mabye want to first run ifdown eth0
> edit the file
> and run ifup eth0
> 
/usr/sbin/base-config - probably as root - will ask you the same
questions that you get in the base install.

Andy



Reply to: