?
Solved

ping ubuntu 'block'

Posted on 2010-08-21
8
Medium Priority
?
579 Views
Last Modified: 2012-05-10
I have a pc running ubuntu. I checked the network connection using ping and it is unable to connect to the internet. I've checked the same internet connection with another identical pc running ubuntu and the connection is working. Any suggestions?
0
Comment
Question by:gerrymac1943
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 4

Accepted Solution

by:
slushm earned 0 total points
ID: 33493529
Is dhcp enabled? What does ifconfig show?
0
 

Author Comment

by:gerrymac1943
ID: 33494280
ifconfig command:

eth0      Link encap:Ethernet  HWaddr 00:43:50:01:4a:ae  
          inet6 addr: fe80::260:43ff:fe01:4aae/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3379 (3.3 KB)  TX bytes:2178 (2.1 KB)
          Interrupt:11

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
0
 
LVL 7

Expert Comment

by:diepes
ID: 33495222
hi gerrymac1943:
please also show the ifconfig  and ip route  from the pc that do work.

Looking at the ifconfig above, i don't see a IPv4 address on eth0.
To try and diagnose you could try and force a dhcp update.

$ sudo dhclient eth0
0
Interactive Way of Training for the AWS CSA Exam

An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam.  Built for students by a student to help them understand the concepts that they are being taught.

 

Author Comment

by:gerrymac1943
ID: 33495346
dhclient eth0 output from command

Listening on LPF/eth0/00:43:50:01:4a:ae
Sending on   LPF/eth0/00:43:50:01:4a:ae
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
0
 
LVL 4

Expert Comment

by:slushm
ID: 33497865
will this device work if you add a static ip address to eth0?  
0
 
LVL 7

Expert Comment

by:diepes
ID: 33498699
gerrymac1943:

Ok so you are not getting any response to your DHCP requests.

Possible causes.
1. No DHCP server for the subnet or not connected
2. Wrong eth port on linux box ?  Are there more than one eth ?  # ifconfig
3. FW - Unlikely with default config

I agree with slushm: try to configure a static IP and proof that the linux box is not at fault, then try and fix the dhcp issue.
0
 

Author Comment

by:gerrymac1943
ID: 33535417
how do i configure a static IP?
0
 
LVL 3

Expert Comment

by:stranger9002
ID: 33540371
ifconfig eth0 192.xxx.xxx..xxx netmask 255.xxx.xxx.xxx - you have to know the addresses
ifconfig eht0 up
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question