Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PPPoE problem
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
garnie
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 108
Location: Vinderup, Denmark

PostPosted: Tue Aug 16, 2005 6:39 pm    Post subject: PPPoE problem Reply with quote

Sitting here and are trying to install my new laptop :)
I used "adsl-setup" on the live cd and it worked just fine
so i booted up and did the adsl-setup and start but i get TIMED OUT all the time

in my /etc/conf.d/net i have the "Config_eth0=("adsl")

and at startup it finds my network card and defines as eth0

emerge rp-pppoe and took the pppoe when i compiled the kernel

so i can't really understand whats wrong . . but perhaps some of you can :) ?

//garnie
Back to top
View user's profile Send private message
jdaugherty
n00b
n00b


Joined: 15 Aug 2005
Posts: 23

PostPosted: Tue Aug 16, 2005 6:59 pm    Post subject: Reply with quote

What type of modem are you using? Some of those modems can act as a mini switch and try to hand out an IP based off of dhcp. I know this isn't the best solution, but if you don't mind letting the modem handle the dialing, I'd do it this way. You'd just need to set the interface to dhcp. Then take a web browser and go to to the modem's address (it varies per manurfacturer) and change the modem to bridged ethernet (note, i might have this term backwards, i can never remember). This will allow your modem to handle the dialing.

As far as a direct solution to your problem, I'm not sure I can help you =(
Back to top
View user's profile Send private message
garnie
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 108
Location: Vinderup, Denmark

PostPosted: Tue Aug 16, 2005 7:02 pm    Post subject: Reply with quote

Well the most weird part is that its working flawless on the live cd (on amd64 btw) where i just ran adsl-setup and defined what was needed and it worked. been working with this for hours so i am pretty lost in whats happening :/
Back to top
View user's profile Send private message
Evileye
l33t
l33t


Joined: 06 Aug 2003
Posts: 782
Location: Toronto

PostPosted: Tue Aug 16, 2005 7:07 pm    Post subject: Reply with quote

For you kernel config you should have the following...

Device Drivers -> Networking support ->

<*> PPP (point-to-point protocol) support
[*] PPP multilink support (EXPERIMENTAL)
[ ] PPP filtering
<*> PPP support for async serial ports
< > PPP support for sync tty ports
< > PPP Deflate compression
< > PPP BSD-Compress compression
<*> PPP over Ethernet (EXPERIMENTAL)
Back to top
View user's profile Send private message
garnie
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 108
Location: Vinderup, Denmark

PostPosted: Tue Aug 16, 2005 7:16 pm    Post subject: Reply with quote

missed the

<*> PPP support for async serial ports
option . . compiling now . .
Back to top
View user's profile Send private message
garnie
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 108
Location: Vinderup, Denmark

PostPosted: Tue Aug 16, 2005 7:24 pm    Post subject: Reply with quote

its did not help a thing :( its still not working
Back to top
View user's profile Send private message
garnie
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2004
Posts: 108
Location: Vinderup, Denmark

PostPosted: Wed Aug 17, 2005 11:26 am    Post subject: Reply with quote

I tried to unemerge the rp-pppoe package and installing it again . . i dubble checked my adsl-setup conf, but it still does not work,
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Aug 17, 2005 2:11 pm    Post subject: Reply with quote

Hei garnie

My .config looks like this:
Code:
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPPOE=m
CONFIG_SLIP=m
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_SMART=y
CONFIG_SLIP_MODE_SLIP6=y
CONFIG_NET_FC=y

and lsmod gives:
Code:
Module                  Size  Used by
ppp_synctty             7552  0
ppp_async               8704  1
ppp_generic            24084  6 ppp_synctty,ppp_async
slhc                    6144  1 ppp_generic
crc_ccitt               1920  1 ppp_async

Mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
NStorm
n00b
n00b


Joined: 21 Aug 2005
Posts: 4

PostPosted: Sun Aug 21, 2005 3:27 pm    Post subject: Reply with quote

I had exactly the same problem, but setting kernel options to this:
Code:

Device Drivers -> Networking support ->

<*> PPP (point-to-point protocol) support
[*] PPP multilink support (EXPERIMENTAL)
[ ] PPP filtering
<*> PPP support for async serial ports
< > PPP support for sync tty ports
<*> PPP Deflate compression
<*> PPP BSD-Compress compression
<*> PPP over Ethernet (EXPERIMENTAL)

Did the trick. So you must have configured your network interface wrong. I use this in /etc/conf.d/net:
Code:

iface_eth0 "0.0.0.0 up"

Then
Code:

rc-update add net.eth0 default

then (if you don't want to reboot to test)
Code:

ifconfig eth0 up
adsl-start (providing you are already configured it with adsl-setup)
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