Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant access Internet
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Andy777
n00b
n00b


Joined: 02 Nov 2006
Posts: 9

PostPosted: Fri Dec 01, 2006 11:19 am    Post subject: Cant access Internet Reply with quote

Hello, I have set up my intallation using the LiveCD but I am unable to access the internet.
I am able to ping all hosts on my networks (including the router which is the gateway to the internet).

My routing table is exactly the same as the one LiveCD constructs.

192.168.0.1 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
deafult * 192.168.0.1 UG 0 0 0 eth0

When I run the livecd, I am able to access the internet with no problem.

Hope someone can help
Andy
Back to top
View user's profile Send private message
vad3r
Guru
Guru


Joined: 02 May 2004
Posts: 461
Location: Munich, Germany

PostPosted: Fri Dec 01, 2006 11:26 am    Post subject: Reply with quote

Have you configured /etc/resolv.conf? Maybe it's just a messud DNS configuration. Did you tried to reach a host in the internet wiht IP or Hostname? Please post the output of traceroute www.google.com
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Dec 01, 2006 2:16 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Networking & Security.
Network configuration problem, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Andy777
n00b
n00b


Joined: 02 Nov 2006
Posts: 9

PostPosted: Fri Dec 01, 2006 2:19 pm    Post subject: Reply with quote

vad3r wrote:
Have you configured /etc/resolv.conf? Maybe it's just a messud DNS configuration. Did you tried to reach a host in the internet wiht IP or Hostname? Please post the output of traceroute www.google.com


Hi, I have solved the problem by editing /etc/resolv.conf and adding "nameserver 192.168.0.1" and saving the file.
However, when I reboot, the file reverts to its previous state.
What do I need to add to /etc/init.d/net to tell Gentoo to use the nameserver 192.168.0.1
I assume that I will need to symbolic link net.lo with net.eth0 and run rc-update again?
Do I remove the symbolic link (if so, how) or can I just use ln's -f switch to overwrite the link file.

Hope that makes sense.

Thanks
Andy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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