View previous topic :: View next topic |
Author |
Message |
whitesuit n00b
Joined: 03 Oct 2006 Posts: 6
|
Posted: Tue Oct 03, 2006 4:05 pm Post subject: pppoe-start problem |
|
|
Hi,
I used the 2006.1 livecd to install gentoo and I have an adsl connection. While booted in the livecd i can connect to the internet using the following commands:
Code: | # sudo pppoe-setup
# sudo pppoe-start
# sudo route del default
# sudo route add default ppp0
|
however, on my installation, pppoe-start times out _every_ time. I have compiled the ppp & pppoe modules in the 2.6.18 kernel:
Code: | # ls /lib/modules/2.6.18/kernel/drivers/net/
bsd_comp.ko ppp_deflate.ko ppp_synctty.ko pppox.ko via-rhine.ko
ppp_async.ko ppp_generic.ko pppoe.ko slhc.ko |
im loading all of them at boot time.
ifconfig shows eth0. I don't know what I'm missing. Any ideas why this is happening ?
Thank you. |
|
Back to top |
|
|
madchaz l33t
Joined: 01 Jul 2003 Posts: 995 Location: Quebec, Canada
|
Posted: Tue Oct 03, 2006 4:59 pm Post subject: |
|
|
where do you load them?
If you used rc-update, make sure you put them in default, not boot. The NIC needs to be up before you bring the pppoe up. _________________ Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it. |
|
Back to top |
|
|
whitesuit n00b
Joined: 03 Oct 2006 Posts: 6
|
Posted: Tue Oct 03, 2006 5:00 pm Post subject: |
|
|
I put them in /etc/modules.autoload.d/kernel-2.6 as the manual says it should be put.
Is there a better way ? |
|
Back to top |
|
|
madchaz l33t
Joined: 01 Jul 2003 Posts: 995 Location: Quebec, Canada
|
Posted: Tue Oct 03, 2006 5:16 pm Post subject: |
|
|
I'm sorry, I wasn't clear.
How do you start pppoe? Is it started as a service? _________________ Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it. |
|
Back to top |
|
|
whitesuit n00b
Joined: 03 Oct 2006 Posts: 6
|
Posted: Tue Oct 03, 2006 5:29 pm Post subject: |
|
|
I start it exactly as i do in the livecd, using pppoe-start in a root shell. I don`t understand why this happens. I already tried installing with the livecd`s kernel but it`s the same problem. Maybe it`s something with that particular version of rp-pppoe ? |
|
Back to top |
|
|
madchaz l33t
Joined: 01 Jul 2003 Posts: 995 Location: Quebec, Canada
|
Posted: Tue Oct 03, 2006 5:39 pm Post subject: |
|
|
When it times out, what error does it give you, if any?
Is eth0 the only NIC you have? _________________ Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it. |
|
Back to top |
|
|
whitesuit n00b
Joined: 03 Oct 2006 Posts: 6
|
Posted: Tue Oct 03, 2006 6:51 pm Post subject: |
|
|
Quote: | When it times out, what error does it give you, if any? |
only .........TIMED OUT
Quote: | Is eth0 the only NIC you have? |
Yes. |
|
Back to top |
|
|
whitesuit n00b
Joined: 03 Oct 2006 Posts: 6
|
|
Back to top |
|
|
madchaz l33t
Joined: 01 Jul 2003 Posts: 995 Location: Quebec, Canada
|
Posted: Tue Oct 03, 2006 8:18 pm Post subject: |
|
|
Do you have the same errors in your logs?
Try posting the errors you get there.
Other then that, I would suggest a re-compile of the kernel, making sure you enabled all the PPPoE settings and disabled IPv6 unless you really need it. _________________ Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Tue Oct 03, 2006 9:06 pm Post subject: |
|
|
hi,
have you entered your adsl acount: user name, user password
There are certain conf. files in /etc for ppp
e.g. for a chap authentification, you have to enter your: user name, user password to
/etc/ppp/chap-secrets
i personally use the command pptp command, which works fine for me.
what i do, do establish a connection over a 510 adsl ethernet modem from thompson
dhcpcd eth1 .. gives me a ip address
route del default .. kills the default route
pptp 10.0.0.138 .. make a tunnel over 10.0.0.138 (standard ip address of a thompson modem)
its a good advice to use the logging console to see, what the system is doing. |
|
Back to top |
|
|
|