I am looking for help to get internet access from a freshly installed Ubuntu.
Having read a lot of threads about this around here, I tried to provide as much information as possible below (so pls. accept my excuse for this lengthy post)
I installed Ubuntu (12.04.3 LTS Release i386) on a Dell Inspiron 1300 Laptop from a USB stick.
During installation, Ubuntu obviously had internet access, as language packages have been downloaded.
However, since installation is complete and the system boots from HD, I have problems connecting to the net.
An ethernet cable directly connects the DSL modem to the laptop.
(This works perfectly with every other computer in the house.)
This is how the network is configured: (ifconfig -a)
lo Link encap:Local Loopback
inet Addr:127.0.0.1 Mask:255.0.0.0
inet6-Addr: ::1/128 Scope:Machine
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:164 errors:0 dropped:0 overruns:0 frame:0
TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
RX-Bytes:13344 (13.3 KB) TX-Bytes:13344 (13.3 KB)
Here is some information about the hardware (lspci -nnk | grep -i net -A2)
02:00.0 Ethernet controller : Broadcom Corporation BCM4401-B0 100Base-TX [14e4:170c] (rev 02)
Subsystem: Dell Device [1028:01c9]
Kernel modules: b44
02:03.0 Network controller : Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)
Subsystem: Dell Wireless 1370 WLAN Mini-PCI Card [1028:0005]
Kernel modules: ssb
Based on the information I found in similar threads, I also tried the following (without success):
edit "/var/lib/NetworkManager/NetworkManager.state" and change it to "NetworkingEnabled=true"
(this file did not even exist, so I created it with this content)
I restarted the service afterwards; no connection.
I tried a different LAN port in the DSL modem, no difference.
I tried both
ping -c1 www.google.de
ping -c1 126.96.36.199 (some Google IP)
Both did not work, so it's not an issue with the nameservers.
I should add that after one of several restarts the ethernet connection worked one single time (!),
without having changed any setting (!) before that specific restart.
But afterwards it did not work anymore.
I also tried it at my father's home (for whom the laptop is intended actually), who has a DSL connection
from a completely different local provider, a different DSL modem and a different ethernet cable.
So I guess all of these cannot be held responsible for the problem (provider, modem, cable).
Thanks for any helpful idea!