Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot ping past nameserver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dwool
n00b
n00b


Joined: 07 Jan 2005
Posts: 14

PostPosted: Mon Jan 17, 2005 7:45 am    Post subject: Cannot ping past nameserver Reply with quote

i'm doing a fresh internet install of 2004.3, but after configuring my network I can only get as far as my nameserver. I exported the proxy, but it didn't do anything.

Any ideas?

I noticed the error when I tried to links2 into gentoo for a stage tarball.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Mon Jan 17, 2005 8:29 am    Post subject: Reply with quote

What is the output of "ifconfig eth0"?

Also, have you tried to use "net-setup eth0" to configure your network card?
Back to top
View user's profile Send private message
dwool
n00b
n00b


Joined: 07 Jan 2005
Posts: 14

PostPosted: Mon Jan 17, 2005 10:02 am    Post subject: ifconfig eth0 output Reply with quote

Link encap: Ethernet HWaddr 00:0B:DB:97:B7:BA
inet addr:192.168.123.100 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:194 errors:0 dropped:0 overruns:0 frame:0
TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21694 (21.1 Kb) TX bytes:5126 (5.0 Kb)
Interrupt:11 Base address:0xec80

this is after running net-setup eth0
I can ping Gentoo's ip address, but I can't ping www.gentoo.org
I can links2 into the site with the ip, but not the FQDN.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Mon Jan 17, 2005 10:34 am    Post subject: Reply with quote

Are there any name server IP addresses in the /etc/resolv.conf file? If not, edit the file and copy it to /mnt/gentoo/etc/ too after mounting partitions.

Your setup sounds all right, except for DNS.
Back to top
View user's profile Send private message
dwool
n00b
n00b


Joined: 07 Jan 2005
Posts: 14

PostPosted: Mon Jan 17, 2005 5:11 pm    Post subject: cannot ping through name server Reply with quote

I checked the /etc/resolve.conf file and the nameservers were there in

[nameserver ###.###.###.###, ###.###.###.###]

format, but I changed it to the second format listed in the manual

[nameserver ${###.###.###.###}}
[nameserver ${###.###.###.###}]

there was no change. However, I could open ###.###.###.###/Mirrors/distfiles/stages
formats.

This method broke down when I tried to emerge --sync and the emerge-webrsync
Back to top
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Mon Jan 17, 2005 6:07 pm    Post subject: Reply with quote

Try using bbcode for code listings. If you're using [nameserver...] then the brackets are totally wrong.

My /etc/resolv.conf looks like this:

Code:

domain siphos.be
search siphos.be
nameserver 195.130.131.5
nameserver 195.130.131.10


The nameserver-lines are important. Those are IP addresses of your ISP's nameservers. Don't take others, since that would probably result in non-functioning name resolving.

Also verify if /etc/nsswitch.conf contains
Code:

hosts: files dns


(the host-line must contain dns, probably also files, the sequence doesn't matter much, although "files dns" is preferred).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum