With you cable plugged in, the
ifconfig should display something like this:
Code:
$ /sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:11:2F:7D:E6:3C
inet addr:192.168.1.35 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:2fff:fe7d:e63c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30889 errors:0 dropped:0 overruns:0 frame:0
TX packets:32554 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20729353 (19.7 MiB) TX bytes:5203671 (4.9 MiB)
Interrupt:22 Base address:0x8c00
where the line in red is you system's Internet address. (The 192.168.-.- addresses are non-routable addresses, commonly used for "local" networks.)
Since your network works only for
some addresses, it seems likely to me either that the DNS address is not being set correctly by your ADSL router, or, more likely, that you haven't specified that
eth0 should automatically set its addresses from the information provided by the router.
To check the way
eth0 is configured, click on
System->
Administration->
Network. (Where "System" is, by default, in the top menu bar on the GNOME screen.) When the network configuration screen is displayed (after you enter your "root" password), select the
eth0 line and then click on the "Edit" button. Verify that the "Automatically obtain IP address settings with
dhcp" radio button is selected. (And that
dhcp is selected in the list-box at the end of that line.) In the text-box below the radio button, make sure that the "Automatically obtain DNS information from provider" check-box is checked. (The "provider" in this case is you ADSL router.) If you've made any changes, click the "OK" button and then -- on the previous screen -- click first on the "Save" button to save your changes, then on the "Deactivate" button, and then the "Activate" button to apply the changes. Then quit the application, and see if the Internet is fully accessible.