DSL modem and Ubuntu

Normally, Ubuntu doesn’t work very well with DSL modems, and it is needed to go to the network configuration applet and put two DNS servers (from openDNS), and The problem is that after a while, the system removes that configuration automatically leaving you without connection. To overcome this, at the prompt we write

#route -n

and go to the line with a UG flag, and identify the Gateway number. Then we go to network configuration, and set the connection to Static IP, and copy the gateway number to the corresponding box. The IP box is filled with a number we invent, similar to the gateway address, let say

gateway address:

we create an IP address

The subnet mask should be filled automatically, something like Then we accept and leave the applet (keeping the same DNS numbers), and restart the system (restart the modem if possible).

That should be it.