View previous topic :: View next topic |
Author |
Message |
dwool n00b
Joined: 07 Jan 2005 Posts: 14
|
Posted: Mon Jan 17, 2005 7:45 am Post subject: Cannot ping past nameserver |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Mon Jan 17, 2005 8:29 am Post subject: |
|
|
What is the output of "ifconfig eth0"?
Also, have you tried to use "net-setup eth0" to configure your network card? |
|
Back to top |
|
|
dwool n00b
Joined: 07 Jan 2005 Posts: 14
|
Posted: Mon Jan 17, 2005 10:02 am Post subject: ifconfig eth0 output |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Mon Jan 17, 2005 10:34 am Post subject: |
|
|
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 |
|
|
dwool n00b
Joined: 07 Jan 2005 Posts: 14
|
Posted: Mon Jan 17, 2005 5:11 pm Post subject: cannot ping through name server |
|
|
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 |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Mon Jan 17, 2005 6:07 pm Post subject: |
|
|
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
(the host-line must contain dns, probably also files, the sequence doesn't matter much, although "files dns" is preferred). |
|
Back to top |
|
|
|