Is it possible to manually activate an eth0 connection?

Nils Kassube kassube at
Fri Jan 16 12:49:11 UTC 2009

Bas Roufs wrote:
> I do manage also to get the changes saved. However, I am not yet sure
> whether I did it correctly. Below, you can find a copy of the file as
> it is now:
> auto lo
> iface lo inet loopback
> auto eth0
> iface eth0 inet static
> address
> netmask
> gateway

At least the last line is wrong. The gateway should be (168 
instead of 18) if that is really the case. However I'm not sure that 
simply using a static setup with (more or less) random numbers is the 
right approach at all.

In the first mail of this thread you wrote that you want to connect the 
interface to an ethernet modem. I'm not sure what you mean with ethernet 
modem, but is it perhaps a DSL modem? Then the setup above would be 
totally wrong and you would have to run pppoeconf or some other program 
to connect to your DSL provider. I think there is a graphical interface 
in knetworkmanager which is probably easier to use than the command line 
tool. Or is it a DSL router? Then the setup above might be right 
depending on the type of router. Can you please tell us the type of 
device (manufacturer / model name) you want to connect to your laptop? 
Are you using the same device with another machine?

Finally another thought: Are you sure the cable to the ethernet modem is 
OK? Can you check the cable between other devices?


More information about the ubuntu-users mailing list