View previous topic :: View next topic |
Author |
Message |
Andy777 n00b
Joined: 02 Nov 2006 Posts: 9
|
Posted: Fri Dec 01, 2006 11:19 am Post subject: Cant access Internet |
|
|
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 |
|
|
vad3r Guru
Joined: 02 May 2004 Posts: 461 Location: Munich, Germany
|
Posted: Fri Dec 01, 2006 11:26 am Post subject: |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Fri Dec 01, 2006 2:16 pm Post subject: |
|
|
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 |
|
|
Andy777 n00b
Joined: 02 Nov 2006 Posts: 9
|
Posted: Fri Dec 01, 2006 2:19 pm Post subject: |
|
|
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 |
|
|
|