Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PPPoE "Connected!" but can't ping [solved]
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
exyan
n00b
n00b


Joined: 28 Jul 2007
Posts: 11

PostPosted: Sat Jul 28, 2007 1:44 pm    Post subject: PPPoE "Connected!" but can't ping [solved] Reply with quote

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
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


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

PostPosted: Sat Jul 28, 2007 1:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
exyan
n00b
n00b


Joined: 28 Jul 2007
Posts: 11

PostPosted: Sat Jul 28, 2007 1:58 pm    Post subject: Reply with quote

but I'll still be stuck without connectivity and will need to solve this problem anyway :/
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


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

PostPosted: Sat Jul 28, 2007 2:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
exyan
n00b
n00b


Joined: 28 Jul 2007
Posts: 11

PostPosted: Sat Jul 28, 2007 2:16 pm    Post subject: Reply with quote

nop, no luck there :/ maybe you could kinda move my thread there?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


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

PostPosted: Sat Jul 28, 2007 3:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
exyan
n00b
n00b


Joined: 28 Jul 2007
Posts: 11

PostPosted: Sat Jul 28, 2007 11:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23669

PostPosted: Sat Jul 28, 2007 11:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
soka
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2006
Posts: 99
Location: Argentina

PostPosted: Sat Jul 28, 2007 11:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
exyan
n00b
n00b


Joined: 28 Jul 2007
Posts: 11

PostPosted: Sun Jul 29, 2007 12:06 am    Post subject: Reply with quote

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
View user's profile Send private message
exyan
n00b
n00b


Joined: 28 Jul 2007
Posts: 11

PostPosted: Sun Jul 29, 2007 3:26 am    Post subject: Reply with quote

<3 gentoo irc community, just needed to do "route add default ppp0" and it all works :)
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