LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Network Manager Says There's A Network Connection When I Can't Ping Anything (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/network-manager-says-theres-a-network-connection-when-i-cant-ping-anything-813217/)

resuni 06-09-2010 03:55 PM

Network Manager Says There's A Network Connection When I Can't Ping Anything
 
Title explains the main problem. I'm using Ubuntu Netbook Remix 10.04 on a wired connection. Wireless connections worked fine last I checked. When I plug in an ethernet cable the alert in the top right-hand corner comes up and tells me I have a wired network connection, but when I open up my web browser, it tells me the web page is unavailable. I try pinging a local computer and every line it says Destination Host Unreachable. When I kill the process with ^C it says
Code:

--- ping statistics ---
19 packets transmitted, 0 received, +18 erros, 100% packet loss, time 18094ms, pipe 3

How do I fix this? Don't tell me to go down a reset my router because my Solaris machines and my other Ubuntu computer ping each other and connect to the internet without any problem. Besides, if I wanted to restart stuff instead of actually fixing the problem I might as well use Windows.

yooy 06-09-2010 06:55 PM

what were you trying to ping? maybe there is a dns problem. Try checking connection information in network manager if something's missing.

resuni 06-10-2010 10:28 AM

Quote:

Originally Posted by yooy (Post 3998379)
what were you trying to ping? maybe there is a dns problem. Try checking connection information in network manager if something's missing.

I'm pinging one of my Solaris computers. I don't think it could be a DNS problem because I have the host name and IP address specified in /etc/hosts. Here's the connection information:

Quote:

Interfaces: Ethernet (eth0)
Hardware Address: (hidden)
Driver: atl1c
Speed: 100 Mb/s
Security: None

IP Address: 192.168.1.121
Broadcast Address: 192.168.1.255
Subnet Mask: 255.255.255.0
Primary DNS: 216.229.32.165 # I manually set the Primary and Secondary DNS in /etc/resolv.conf
Secondary DNS: 216.229.32.169

16pide 06-11-2010 07:25 AM

here is a bit of homework for you. Please run the following command in a terminal (gnome-terminal for example):

#first run as root
su -
ifconfig
#then ask ethtool what it thinks of your network connection (replace eth0 with the name of your interface if necessary).
ethtool eth0
#check your routing table
route

# then do a ping and give us the command and the result.

Quote:

here is how it works on my system:
[georges@t61 ~]$ su -
Password:
[root@t61 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1E:37:82:D7:BF
inet addr:192.168.10.60 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::21e:37ff:fe82:d7bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1147099 errors:0 dropped:0 overruns:0 frame:0
TX packets:69325 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1369610681 (1.2 GiB) TX bytes:38502200 (36.7 MiB)
Memory:fe000000-fe020000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44850 errors:0 dropped:0 overruns:0 frame:0
TX packets:44850 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3548451 (3.3 MiB) TX bytes:3548451 (3.3 MiB)

wlan0 Link encap:Ethernet HWaddr 00:1C:BF:68:32:F8
inet addr:192.168.88.101 Bcast:192.168.88.255 Mask:255.255.255.0
inet6 addr: fe80::21c:bfff:fe68:32f8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1139097 errors:0 dropped:0 overruns:0 frame:0
TX packets:950974 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:970092828 (925.1 MiB) TX bytes:134088030 (127.8 MiB)

wmaster0 Link encap:UNSPEC HWaddr 00-1C-BF-68-32-F8-E1-C9-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@t61 ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbag
Wake-on: g
Current message level: 0x00000001 (1)
Link detected: yes
[root@t61 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.10.0 * 255.255.255.0 U 1 0 0 eth0
192.168.88.0 * 255.255.255.0 U 2 0 0 wlan0
default netgear 0.0.0.0 UG 0 0 0 wlan0
[root@t61 ~]# ping 192.168.88.1
PING 192.168.88.1 (192.168.88.1) 56(84) bytes of data.
64 bytes from 192.168.88.1: icmp_seq=1 ttl=255 time=2.32 ms
64 bytes from 192.168.88.1: icmp_seq=2 ttl=255 time=1.94 ms
^C
--- 192.168.88.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1744ms
rtt min/avg/max/mdev = 1.946/2.137/2.328/0.191 ms


All times are GMT -5. The time now is 06:34 PM.