Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Today I decided to try Ubuntu 12.04 LTS via USB on my current Windows 7 machine. I run Ubuntu from USB and select trial. I am unable to connect to the Internet and I'm plugged in using my Ethernet port. As I'm new to Linux I'm unsure how or what information I need to provide to get assistance. I apologize in advance if this question has already been answered, but I was unable to find the answer to my question.

Thanks in advance-

Is this the data helpful? I changed the ip...

$ sudo lshw -C nekwork

 description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: eth0
       version: 03
       serial: 00:24:1d:11:1e:e1
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernetphysical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168d-1.fw latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:43 ioport:ae00(size=256) memory:fd2ff000-fd2fffff memory:fd2f8000-fd2fbfff memory:fd200000-fd21ffff

ubuntu@ubuntu:~$ ifconfig -a

 Link encap:Ethernet  HWaddr 00:24:1d:11:1e:e1  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::224:1dff:fe11:1ee1/64 Scope:Link
          RX packets:73 errors:0 dropped:0 overruns:0 frame:0
          TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6918 (6.9 KB)  TX bytes:14667 (14.6 KB)

lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:68 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:4240 (4.2 KB)  TX bytes:4240 (4.2 KB)

ubuntu@ubuntu:~$ netstat -rn

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface         UG        0 0          0 eth0     U         0 0          0 eth0   U         0 0          0 eth0

buntu@ubuntu:~$ ping -c 3
PING ( 56(84) bytes of data.
64 bytes from icmp_req=1 ttl=64 time=0.355 ms
64 bytes from icmp_req=2 ttl=64 time=0.345 ms
64 bytes from icmp_req=3 ttl=64 time=0.346 ms

--- ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.345/0.348/0.355/0.022 ms

ubuntu@ubuntu:~$ ping -c 3
ping: unknown host

sudo route del -net netmask eth0 then see again with ping -c 3 and test internet

ubuntu@ubuntu:~$ sudo route del -net netmask eth0
SIOCDELRT: No such process
ubuntu@ubuntu:~$ sudo route del -net netmask eth0
SIOCDELRT: No such process
ubuntu@ubuntu:~$ ping -c 3
ping: unknown host
share|improve this question
I added the data from sudo lshw -C network. Thanks in advance Sneetsher. – C300 Feb 15 '14 at 18:15
I just added the details from your command – C300 Feb 15 '14 at 18:47
I meant I added xxx. to the ip for the sake of the forum. I have a dynamic IP from comcast. – C300 Feb 15 '14 at 18:48
ok, same with ping -c 3 then again for ping -c 3 – Sneetsher Feb 15 '14 at 18:53
@Sneetsher Thank you for all of your help. I apologize I can't get my internet up and running. – C300 Feb 15 '14 at 20:12

Assuming that your router is, your problem is that your machine doesn't know to send Internet-bound packets there.

route add default gw

That will make it send everything not on your LAN out through that address.

If that's not your router, find out what your router's address is and substitute it in.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.