View previous topic :: View next topic |
Author |
Message |
exyan n00b

Joined: 28 Jul 2007 Posts: 11
|
Posted: Sat Jul 28, 2007 1:44 pm Post subject: PPPoE "Connected!" but can't ping [solved] |
|
|
Ok, so I had gentoo installed like a year ago, with the old adsl days, now I tried to install from the 2007.0 livecd with the pppoe stuff, I got it to "Connected!" with no problems, but I couldn't ping anything, always got the "Destination Net Unreachable", I also tried ubuntu, the pppoe stuff there works great :/ But I want gentoo!!!!!11 ;x So if you could just gimme some ideas what I could try, maybe knowing the differences from the old adsl tool and the present pppoe tool on 2007.0, I kinda have a thought that this might also be a common problem, btw I would post you all the logs and output you need if only you can tell me how, since I couldn't mount my usb flash on the gentoo livecd, complained about wrong filesystem etc Oo
Thank you in advance 
Last edited by exyan on Sun Jul 29, 2007 3:25 am; edited 2 times in total |
|
Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Jul 28, 2007 1:53 pm Post subject: |
|
|
Simply use the ubuntu cd to install gentoo. Boot the ubuntu cd, prepare the harddisk, download the stage3 file etc etc. Or use the gentoo livecd and do a networkless install. _________________ 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 |
|
 |
exyan n00b

Joined: 28 Jul 2007 Posts: 11
|
Posted: Sat Jul 28, 2007 1:58 pm Post subject: |
|
|
but I'll still be stuck without connectivity and will need to solve this problem anyway :/ |
|
Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Jul 28, 2007 2:00 pm Post subject: |
|
|
Sure, but it won't hold up your installation of gentoo. Perhaps you can find some solution in the Networking & Security forum.
Maybe this _________________ 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 |
|
 |
exyan n00b

Joined: 28 Jul 2007 Posts: 11
|
Posted: Sat Jul 28, 2007 2:16 pm Post subject: |
|
|
nop, no luck there :/ maybe you could kinda move my thread there? |
|
Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Jul 28, 2007 3:09 pm Post subject: |
|
|
Moved from Installing Gentoo to Networking & Security.
There you go  _________________ 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 |
|
 |
exyan n00b

Joined: 28 Jul 2007 Posts: 11
|
Posted: Sat Jul 28, 2007 11:11 pm Post subject: |
|
|
ok some output for u, like comparison of the working and not working (gentoo doesn't work):
Quote: | THE GENTOO CD
pppoe-connect:
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
PAP authentication succeeded
not replacing existing default route to eth0 [192.168.1.1]
local IP address 78.62.103.123
remote IP address 213.190.60.26
primary DNS address 212.59.2.2
secondary DNS address 212.59.1.1
route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.190.60.26 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
THE UBUNTU CD
route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.190.60.26 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 |
|
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23669
|
Posted: Sat Jul 28, 2007 11:43 pm Post subject: |
|
|
exyan wrote: | Quote: | THE GENTOO CD
route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.190.60.26 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
THE UBUNTU CD
route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.190.60.26 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 |
|
The default route under Gentoo is staying pointed to 192.168.1.1, whereas the default route in Ubuntu is being changed to ppp0. The output from your PPP client indicates it deliberately did not change your default route. Can you compare the options used by the PPP client in Ubuntu with the options used by the PPP client in Gentoo? |
|
Back to top |
|
 |
soka Tux's lil' helper

Joined: 27 Dec 2006 Posts: 99 Location: Argentina
|
Posted: Sat Jul 28, 2007 11:47 pm Post subject: |
|
|
In gentoo you have your default gateway set to eth0 when it should point to ppp0. I don't remember how the pppoe set up goes on the live cd but you should have the option pppd_ppp0=("defaultroute") in the config file. You can also try setting it manually with the route command. |
|
Back to top |
|
 |
exyan n00b

Joined: 28 Jul 2007 Posts: 11
|
Posted: Sun Jul 29, 2007 12:06 am Post subject: |
|
|
I already got to the point of realising, that pppd in ubuntu changes the default route and gentoo doesn't, now I just gotta find a way to make it do so in gentoo  |
|
Back to top |
|
 |
exyan n00b

Joined: 28 Jul 2007 Posts: 11
|
Posted: Sun Jul 29, 2007 3:26 am Post subject: |
|
|
<3 gentoo irc community, just needed to do "route add default ppp0" and it all works  |
|
Back to top |
|
 |
|