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), 184.108.40.206 and 220.127.116.11. 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
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: 18.104.22.168
we create an IP address 22.214.171.124
The subnet mask should be filled automatically, something like 255.255.255.0. 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.