LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-12-2010, 10:34 PM   #1
dragonfever
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 0
Lightbulb Can not "ping" any ipaddress


Hello,i just installed ubuntu8.10 in my desktop under system xp.

When i entered ubuntu and opened the firefox,not one website can be opened,it says 'unknown name'.

Then i ping the URL,there is no one can be ping across,even my own ip address.

Can you tell me what problem with my system? How can i do with it?
 
Old 07-12-2010, 10:57 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,557
Blog Entries: 3

Rep: Reputation: 215Reputation: 215Reputation: 215
look here
Quote:
Go to System-->Administration-->Networking.
Select your Ethernet card, and then hit the "Activate" button.
Then click on properties.
You should see a check box at the top to "Enable this connection" (or similar).
After that, you can select DHCP.
hope this helps
 
1 members found this post helpful.
Old 07-13-2010, 04:06 AM   #3
dragonfever
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by Drakeo View Post
look here
hope this helps
Thanks a lot!
I try to follow your suggestion,while the situation does not as you described.
The problem is as below:

01.png

02.png
03.png
 
Old 07-13-2010, 04:57 AM   #4
LVsFINEST
Member
 
Registered: Aug 2006
Posts: 94

Rep: Reputation: 21
Post the output of the following commands:

Code:
ifconfig
cat /etc/resolv.conf
 
1 members found this post helpful.
Old 07-13-2010, 06:37 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,557
Blog Entries: 3

Rep: Reputation: 215Reputation: 215Reputation: 215
I see you did not check the radio button and chose eth0.
Quote:
sudo ifconfig
if you do not see your eth0
then
Quote:
> sudo ip addr flush dev eth0 && sudo ip link set eth0 down
> sudo ip link set eth0 up
> sudo /sbin/dhclient eth0
 
1 members found this post helpful.
Old 07-15-2010, 03:14 AM   #6
dragonfever
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks very much!
I run the follow commands as suggested in the terminal:
> sudo ip addr flush dev eth0 && sudo ip link set eth0 down
> sudo ip link set eth0 up
> sudo /sbin/dhclient eth0
and then i edit the eth0 just as the address description in my XP system,and then when i open the browser,it worked! At least,i can open our school web.
 
  


Reply

Tags
networking, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
openvpn ipaddress problem: "MULTI: bad source address from client" arobinson74 Linux - Networking 6 10-02-2008 06:26 PM
"dig mx" and "ping google" do not work when bind9 runs.. why? alexxxis Linux - Software 4 01-07-2007 03:16 AM
"dig mx" or "ping" not working because of bind9? alexxxis Debian 4 01-06-2007 11:26 PM
"ping xxx.abc.local" ok but "ping xxx" fail powah Linux - Networking 2 10-13-2006 08:16 PM
ping outputs TX to "loopback" instead of "eth1" Jojo1 Linux - Networking 0 04-12-2006 05:10 AM


All times are GMT -5. The time now is 11:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration