Is it possible to manually activate an eth0 connection?
Nils Kassube
kassube at gmx.net
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 192.168.1.20
> netmask 255.255.255.0
> gateway 192.18.1.1
At least the last line is wrong. The gateway should be 192.168.1.1 (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?
Nils
More information about the ubuntu-users
mailing list