View previous topic :: View next topic |
Author |
Message |
Nealian n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Nov 2002 Posts: 8 Location: dead
|
Posted: Sun Nov 17, 2002 3:00 pm Post subject: can connect to LAN, but not to WAN with gentoo |
|
|
Hi,
I just installed gentoo was going to emerge some packages, but it says that the network is unreachable. Oddly enough, I can still ping my router, but I can't ping servers across the internet.
Ill post more information as needed.
thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
oblique effect n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Princess_Ruto.jpg)
Joined: 14 Nov 2002 Posts: 4
|
Posted: Sun Nov 17, 2002 3:52 pm Post subject: |
|
|
Are you certain that it's not a DNS problem? check your resolv.conf file in /etc and make sure it exists. If it does exist, then it might be a problem with your router. I had this issue and I had forgot to copy over my resolv.conf file, then it works wonderfully! ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nealian n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Nov 2002 Posts: 8 Location: dead
|
Posted: Sun Nov 17, 2002 5:02 pm Post subject: |
|
|
I am pretty sure my router works as I can get to the internet on this computer. The resolv.conf is fine. It was copied over and emerge and pinging with domain names instead of ips was working after I chrooted the shell to /mnt/gentoo when I was installing it. Now, without the cd but running independently, it does not work. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
purplecoww n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2002 Posts: 7 Location: soviet finland
|
Posted: Mon Nov 18, 2002 6:16 pm Post subject: same here |
|
|
I´m having the same problem, but for me it just appeared after
a few days of use. In windows on the same machine everything is fine, but when i boot to gentoo I can´t go to the cyberspace.
I have a wlan isp, and i can connect to the nearest whatever it´s called, access point?, but that´s not of any use.
I have booted the machine several times over the few days i´ve had gentoo on it, and this weirdness just appeared today.
I didn´t do anything related to network-configs prior, nor have i done after the install phase so i am very confused.
Ifconfig reports of course that eth0 is up & running and there are no error messages. Just no internet for me. _________________ beware the enemy! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
klieber Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/71602131143de10f19aaec.jpg)
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Nov 18, 2002 6:51 pm Post subject: |
|
|
Double check your subnet mask setting. Also, are you on a static or dynamic IP?
Finally, can you post the output of Code: | # /sbin/ifconfig eth0
# /sbin/route -n | here for us to look at?
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
purplecoww n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2002 Posts: 7 Location: soviet finland
|
Posted: Mon Nov 18, 2002 7:48 pm Post subject: here be ifconfig and route outputs |
|
|
here you go.
Code: | bash-2.05a# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:FC:09:00:6B
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:fcff:fe09:6b/10 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:143 errors:0 dropped:0 overruns:0 frame:0
TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:32274 (31.5 Kb) TX bytes:14198 (13.8 Kb)
Interrupt:11 Base address:0xd000
bash-2.05a# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
bash-2.05a#
|
I should mention that this machine gets it's ip via dhcp.
On a related note, it seems that also my previously working sound support is now broken. I'm beginning to think that my pc houses some gremlins. _________________ beware the enemy! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
klieber Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/71602131143de10f19aaec.jpg)
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Nov 18, 2002 8:22 pm Post subject: |
|
|
So just to verify, you can ping your router just fine, but you cannot ping anything outside the router? Yet if you boot to the LiveCD, then everything works fine?
Do you have iptables or grsecurity activated in your kernel? You might also boot to the LiveCD to check the output of route -n and ifconfig and compare it against the info you posted above.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
purplecoww n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2002 Posts: 7 Location: soviet finland
|
Posted: Mon Nov 18, 2002 9:21 pm Post subject: |
|
|
You seem to have me confused with the started of this thread. I do not own a livecd, nor have i ever set my eyes upon one.
I had a perfectly working install until one day this oddity happened, and i looked in the forums for an answer and noticed this guy had a similiar problem so i bugged in this thread.
Note that i do not know what a router does, but my friend who works in my isp made me ping these certain ip's when i had problems with the connection, so i tried them now. I just thought that they are propably the ip's of these access points we have around the neighbourhood.
Oh.. I tried to connect to one of these weird ips with a web-browser and i got a spiffy traffic analyzer page, i'll be damned, it says in the bottom "multi router traffic grapher" ... But i doubt that helps.
But my two cents say that i have botched my install myself somehow, perhaps it was a bad idea to turn off that config file protector.
And no, i do not have iptables or grsecurity in my kernel. _________________ beware the enemy! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
purplecoww n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Nov 2002 Posts: 7 Location: soviet finland
|
Posted: Tue Nov 19, 2002 3:41 pm Post subject: here we go |
|
|
All right, my access to cyberspace is working again.
I had nothing to do with this, the problem went away as it had appered, shrouded with mystery.
I booted from windows to linux and there it was. Ool korrekt.
I do not have any idea whatsoever what was going on, but it seems my earlier suspicions about gremlins were correct.
... Sound seems to be still broken. Can´t have it all, it seems. _________________ beware the enemy! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|