ifconfig problem

Dieter Schicker dieter.schicker at uni-graz.at
Mon Sep 25 13:45:35 UTC 2006


The file /etc/network/interfaces is your friend.

E.g.:

...
auto eth0
iface eth0 inet static
      address u.v.w.x
      gateway u.v.w.x
      network u.v.w.x
      broadcast u.v.w.x
      netmask u.v.w.x
...

Then: /etc/init.d/networking restart

Cheers
Dieter

Olaf Stein wrote:
> Hey list,
>
> I am sure this has been asked before but I cannot find any solution to my
> problem
> I had to replace the nic in one of my ubuntu machines (webserver, no gui)
>
> The IP settings were obviously gone, I reconfigured with ifconfig and route,
> everything works until the next reboot. Do I have to setup a startup script
> with the nw settings or is there another way of making them stay?
>
> Thanks
> olaf
>
> --------------------------------------------
> Olaf Stein
> Research Associate
> The Ohio State University
> Department of Radiology
> Division of Imaging Research
>  
> phone: 614-293-9983
> cell: 614-589-9229
>
>
>   





More information about the ubuntu-users mailing list