Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Internet (PPPoE) won't connect

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
34 posts
  • 1
  • 2
  • Next
Author
Message
g4c9z
Apprentice
Apprentice
Posts: 178
Joined: Thu Jun 03, 2004 9:37 pm

Internet (PPPoE) won't connect

  • Quote

Post by g4c9z » Fri Sep 16, 2005 12:05 am

Hi,

I'm having trouble setting up my internet connection. I have an PPPoE service provider who provides a dynamic IP address, I'm pretty sure (Bell Sympatico in Canada), and am trying to set up rp-pppoe. I was previously using a DHCP provider, so there may be a wrong setting left over.

When my computer starts, I get the message:

Starting eth0
Bringing up eth0
up
No loaded modules provide "up" (up_start)

In my /etc/conf.d/net, I have:
iface_eth0="up"

It tries to connect, but times out.

Here are some possibly relevant services that are the result of the command "rc-update show":

net.eth0 | default
net.lo | boot
net.ppp0 | default
netmount | default
rp-pppoe | default

I ran adsl-setup, but there's still a chance I made a mistake there I suppose.

The version of rp-pppoe is 3.5-r11.

I checked in my kernel configuration, and PPPoE is enabled as a module. Do I need to do anything extra to get the module loaded or something, or is that handled in the scripts?

Does anyone know what the problem is? Are perhaps some of those services started at the wrong time (boot vs. default)?
Top
g4c9z
Apprentice
Apprentice
Posts: 178
Joined: Thu Jun 03, 2004 9:37 pm

  • Quote

Post by g4c9z » Tue Sep 20, 2005 1:30 am

I tried it with the Gentoo CD (2004.3 minimal), and was able to get it to connect with the same username and password from there, following the instructions in the Gentoo handbook, but it still doesn't work for my existing installation.

Furthermore, I noticed that the Gentoo CD gave me the message "DHCP broadcasting for IP", with a green "ok". That seems strange - does that mean I actually have a DHCP provider? I thought you don't have to adsl-connect when you do, and maybe I don't understand the difference between that and PPPoE or the relationship between them.
Top
Dinini
Apprentice
Apprentice
Posts: 236
Joined: Wed Jun 11, 2003 12:22 am

  • Quote

Post by Dinini » Wed Sep 21, 2005 8:10 pm

iface_eth0="up" doesn't work with recent baselayout changes.

There have been changes with the baselayout lately so older /etc/conf.d/net settings may not work if you updated baselayout. Take a look at /etc/conf.d/net.example and see if there is an ADSL section. It should point you in the right direction. :)

In my case rp-pppoe-3.5-r11 and baselayout-1.12.0_pre8-r2 (unstable version: don't use if you value sanity)

/etc/conf.d/net:
config_eth0=( "adsl" )
adsl_user_eth0="adsl-username"

/etc/ppp/pap-secrets:
"adsl-username" * "adsl-password"

(note: rp-pppoe no longer provides an init file so it's not listed)
rc-update -s:
net.eth0 | default
net.lo | boot
net.ppp0 |
Top
Shaman
Apprentice
Apprentice
Posts: 167
Joined: Thu Sep 12, 2002 4:16 pm
Location: Kingston, ON
Contact:
Contact Shaman
Website

  • Quote

Post by Shaman » Thu Sep 22, 2005 12:36 pm

I can't even get my ethernet working at all. It will ping itself both localhost and ether address, but won't ping anything else. I'm going crazy. :(

routes, ifconfig look perfect and as I said, I can ping the interface IPs. I'd love to give output here but I have to dual-boot into winderz to post this.

not even worried about ppp anymore, my OS may be borked. :(
AMD-64 4000+
~x86 arch
GCC 4.1.x
Radeon x1600
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Thu Sep 22, 2005 1:17 pm

/etc/init.d/net.eth0 has nothing to do with an dsl connection.

do this

Code: Select all

adsl-setup <Fill in the answers>
/etc/init.d/rp-pppoe start
<if you want it to start at boot>
rc-update add rp-pppoe default
Gentoo: it's like wiping your ass with silk.
Top
g4c9z
Apprentice
Apprentice
Posts: 178
Joined: Thu Jun 03, 2004 9:37 pm

  • Quote

Post by g4c9z » Wed Sep 28, 2005 2:16 am

Hey, that worked! (Though I don't know about at boot time.) Thanks!

I did, however, get this:

Code: Select all

root>/etc/init.d/rp-pppoe start
 * Starting eth0
 *   Bringing up eth0
 *     adsl
 *       Starting ADSL for eth0
TIMED OUT
/usr/sbin/adsl-start: line 196: 12556 Terminated              $CONNECT <(echo "$CONFREAD") >/dev/null 2>&1            [ !! ]
 * Starting adsl ...
.. Connected!                                                                                                         [ ok ]
and it took a while for it to connect. That's probably another bug though and it might go away if I upgrade things.
Top
Lukas535
n00b
n00b
Posts: 11
Joined: Thu Jan 06, 2005 2:14 pm

  • Quote

Post by Lukas535 » Fri Sep 30, 2005 7:59 pm

Hi

I've got a maybe similar problem.

I installt a new Server with gentoo(192.168.0.1), my eth0 is working fine, and if I route with my Gentoo laptop( 192.168.0.11 ) I can go in the internet.

I merged rp-pppoe anwsered all questions from adsl-setup. but adsl-start allways gives me an timed out ...

The /etc/ppp/pppoe.conf is correct, i allready copied it from my Laptop. I'm also shure it isn't something stupid like wrong cable or still running adsl-connect with the laptop ....

I tried to start it with :
root>/etc/init.d/rp-pppoe start

but there is no file called rp-pppoe in /etc/init.d !

My version of rp-pppoe is 3.5-r11

Does anyone have a clue what my problem is ???

Thanx so fare

Lukas
Top
g4c9z
Apprentice
Apprentice
Posts: 178
Joined: Thu Jun 03, 2004 9:37 pm

  • Quote

Post by g4c9z » Wed Oct 05, 2005 11:01 pm

Some of this might be related to this bug:

http://bugs.gentoo.org/show_bug.cgi?id=68934

For me, I get a timeout but then it connects anyway and works fine, and since I have no clue how to remove the timeout, I'm just leaving my installation as is and hoping it won't bother me too much later.
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Thu Oct 06, 2005 5:18 am

the only version I found to be stable and have stuck with, is rp-pppoe-3.5-r2 - the ebuild can be found here http://www.gentoo.org/cgi-bin/viewcvs.c ... 9&view=log
http://www.gentoo.org/cgi-bin/viewcvs.c ... -r2.ebuild
I have a copy in /usr/local/portage/net-dialup/rp-pppoe
mvh
"I am not bound to please thee with my answers" W.S.
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Fri Oct 07, 2005 1:28 am

OK, I just discovered that the networking scripts were updated so that you don't have to use rp-pppoe directly. You can just put "config_eth0=( "dsl" ) in your /etc/conf.d/net file and then "rc-update add net.eth0 boot" and it will call rp-pppoe to do the actual connection (you need iproute2 installed for this to work). You're supposed to delete rp-ppppoe: "rc-update del rp-pppoe boot". I haven't tried it yet because I have torrents going and don't want to interrupt them to test this but I will try tomorrow and report back. :D
Gentoo: it's like wiping your ass with silk.
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Fri Oct 07, 2005 5:46 pm

curtis119 wrote:OK, I just discovered that the networking scripts were updated so that you don't have to use rp-pppoe directly. You can just put "config_eth0=( "dsl" ) in your /etc/conf.d/net file and then "rc-update add net.eth0 boot" and it will call rp-pppoe to do the actual connection (you need iproute2 installed for this to work). You're supposed to delete rp-ppppoe: "rc-update del rp-pppoe boot". I haven't tried it yet because I have torrents going and don't want to interrupt them to test this but I will try tomorrow and report back. :D
And it worked. Perfectly. The documentation for that is in /etc/conf.d/net.example

I wonder why I never noticed that before?
Gentoo: it's like wiping your ass with silk.
Top
g4c9z
Apprentice
Apprentice
Posts: 178
Joined: Thu Jun 03, 2004 9:37 pm

  • Quote

Post by g4c9z » Thu Nov 17, 2005 4:18 pm

Well, I tried your method, curtis119, and it still doesn't improve matters for me. I still get my TIMED OUT error.

Does that also require PPP over Ethernet support in the kernel?
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Thu Nov 17, 2005 8:20 pm

g4c9z wrote:Well, I tried your method, curtis119, and it still doesn't improve matters for me. I still get my TIMED OUT error.

Does that also require PPP over Ethernet support in the kernel?
Only if you turn on that option in /etc/ppp/pppoe.conf
# Linux kernel-mode plugin for pppd. If you want to try the kernel-mode
# plugin, use LINUX_PLUGIN=rp-pppoe.so
I use it becuase I find that lots of connections (like heavy torrent use) will make the connection drop if I don't.

Have you tried setting debug to on? read the manpage for pppd and set the option in /etc/ppp/pppoe.conf you may be missing some option that your ISP requires to connect.
Gentoo: it's like wiping your ass with silk.
Top
g4c9z
Apprentice
Apprentice
Posts: 178
Joined: Thu Jun 03, 2004 9:37 pm

  • Quote

Post by g4c9z » Thu Nov 17, 2005 8:43 pm

I don't have that option on in my pppoe.conf, so I guess that wasn't the problem.

Maybe it's that I'm using an old kernel. I'm in the process of trying to upgrade from linux-2.6.10-gentoo-r6 to linux-2.6.13-gentoo-r5, so I'll see if that makes a difference once I try some things.
Have you tried setting debug to on? read the manpage for pppd and set the option in /etc/ppp/pppoe.conf you may be missing some option that your ISP requires to connect.
I'd rather not set that since I don't know what other options are normally passed to pppd in the rc-update scripts.

In fact, are you sure pppd is used at all? I have net.ppp0 turned off in the rc-update scripts (as I showed way back in this thread). Is it supposed to be turned on?
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Thu Nov 17, 2005 9:36 pm

yes, rp-pppoe calls pppd which is the daemon that actually handles everything. You don't need net.ppp0, that's for a normal analog modem. If you are unwilling to set debug to on then I don't think I can help you anymore since that is pretty much the only way to get any inforamtion as to *why* it is failing. If you don't get that debug info then you are just stabbing in the dark.
Gentoo: it's like wiping your ass with silk.
Top
g4c9z
Apprentice
Apprentice
Posts: 178
Joined: Thu Jun 03, 2004 9:37 pm

  • Quote

Post by g4c9z » Thu Nov 17, 2005 9:44 pm

Well, OK, I'll try setting debug. But how can I know what to put in /etc/ppp/pppoe.conf? Do you mean I should add the line:

Code: Select all

OVERRIDE_PPPD_COMMAND="pppd debug"
? If so, how can I know it isn't debugging an invocation of pppd that's different than the one invoked when my system starts?
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Thu Nov 17, 2005 10:53 pm

g4c9z wrote:Well, OK, I'll try setting debug. But how can I know what to put in /etc/ppp/pppoe.conf? Do you mean I should add the line:

Code: Select all

OVERRIDE_PPPD_COMMAND="pppd debug"
? If so, how can I know it isn't debugging an invocation of pppd that's different than the one invoked when my system starts?
No, use this instead

Code: Select all

PPPD_EXTRA="debug"
Gentoo: it's like wiping your ass with silk.
Top
g4c9z
Apprentice
Apprentice
Posts: 178
Joined: Thu Jun 03, 2004 9:37 pm

  • Quote

Post by g4c9z » Thu Nov 17, 2005 11:50 pm

Whoops, didn't notice that line of the file.

I set debug to on, and the kernel log has a bunch of blocks of these error messages which repeat, though with slightly different values each time:

Code: Select all

Nov 17 18:27:15 [pppd] pppd 2.4.2 started by root, uid 0
Nov 17 18:27:15 [pppd] using channel 3
Nov 17 18:27:15 [pppd] Using interface ppp1
Nov 17 18:27:15 [pppd] Connect: ppp1 <--> /dev/pts/1
Nov 17 18:27:15 [pppoe] PADS: Service-Name: ''
Nov 17 18:27:15 [pppoe] PPP session is 2892
Nov 17 18:27:16 [pppd] sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xbefa39ef>]
Nov 17 18:27:16 [pppd] rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0xbefa39ef>]
Nov 17 18:27:18 [pppd] rcvd [LCP ConfReq id=0x39 <mru 1492> <auth pap> <magic 0x419518f0>]
Nov 17 18:27:18 [pppd] No auth is possible
Nov 17 18:27:18 [pppd] sent [LCP ConfRej id=0x39 <auth pap>]
Nov 17 18:27:18 [pppd] rcvd [LCP ConfReq id=0x3a <mru 1492> <magic 0x419518f0>]
Nov 17 18:27:18 [pppd] sent [LCP ConfAck id=0x3a <mru 1492> <magic 0x419518f0>]
Nov 17 18:27:18 [pppd] sent [LCP EchoReq id=0x0 magic=0xbefa39ef]
Nov 17 18:27:18 [pppd] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Nov 17 18:27:18 [pppd] rcvd [LCP TermReq id=0x3b]
Nov 17 18:27:18 [pppd] LCP terminated by peer
Nov 17 18:27:18 [pppd] sent [LCP TermAck id=0x3b]
Nov 17 18:27:18 [pppoe] Session 2892 terminated -- received PADT from peer
Nov 17 18:27:18 [pppoe] Sent PADT
Nov 17 18:27:18 [pppd] Modem hangup
Nov 17 18:27:18 [pppd] Connection terminated.
Nov 17 18:27:18 [pppd] Waiting for 1 child processes...
Nov 17 18:27:18 [pppd] script /usr/sbin/pppoe -p /var/run/adsl-eth0.pid.pppoe -I eth0 -T 80 -U  -m 1412   , pid 9187
Nov 17 18:27:18 [pppd] Script /usr/sbin/pppoe -p /var/run/adsl-eth0.pid.pppoe -I eth0 -T 80 -U  -m 1412    finished (pid 9187), status = 0x0
Nov 17 18:27:18 [pppd] Exit.
Nov 17 18:27:18 [adsl-connect] ADSL connection lost; attempting re-connection.
I have no idea what they mean.
Top
g4c9z
Apprentice
Apprentice
Posts: 178
Joined: Thu Jun 03, 2004 9:37 pm

  • Quote

Post by g4c9z » Fri Nov 18, 2005 12:54 am

By the way, I think there's a slight typo in your solution. I think config_eth0=( "adsl" ) goes in /etc/conf.d/net, rather than config_eth0=( "dsl" ). (Unless they both work?)
Top
g4c9z
Apprentice
Apprentice
Posts: 178
Joined: Thu Jun 03, 2004 9:37 pm

  • Quote

Post by g4c9z » Thu Nov 24, 2005 2:34 pm

OK, this is weird. I removed rp-pppoe from starting at boot time, and emptied everything from /etc/conf.d/net. At startup it said something like "no protocol specified for eth0, assuming DHCP" and connected, I guess through DHCP. It seems my ISP must support either protocol, and I don't need rp-pppoe at all.
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Fri Nov 25, 2005 12:56 pm

g4c9z wrote:OK, this is weird. I removed rp-pppoe from starting at boot time, and emptied everything from /etc/conf.d/net. At startup it said something like "no protocol specified for eth0, assuming DHCP" and connected, I guess through DHCP. It seems my ISP must support either protocol, and I don't need rp-pppoe at all.
:D

It's always the simplest things mucking it all up isn't it? Glad to hear you figured it out.
Gentoo: it's like wiping your ass with silk.
Top
ak47
n00b
n00b
Posts: 16
Joined: Tue Dec 27, 2005 4:29 am

  • Quote

Post by ak47 » Sun Jan 01, 2006 3:06 pm

curtis119 wrote:
g4c9z wrote:Well, OK, I'll try setting debug. But how can I know what to put in /etc/ppp/pppoe.conf? Do you mean I should add the line:

Code: Select all

OVERRIDE_PPPD_COMMAND="pppd debug"
? If so, how can I know it isn't debugging an invocation of pppd that's different than the one invoked when my system starts?
No, use this instead

Code: Select all

PPPD_EXTRA="debug"
I would be very much appreciated if you could help me as well. I have the same problem and i also learned that there was a bug report for this issue. here is the log, could you please help? pppoe gets timed out but manually i can start it. thx for your time and help in advance.
Jan 2 10:07:35 gentoo pppd[1127]: pppd 2.4.2 started by root, uid 0
Jan 2 10:07:35 gentoo pppd[1127]: using channel 1
Jan 2 10:07:35 gentoo pppd[1127]: Using interface ppp0
Jan 2 10:07:35 gentoo pppd[1127]: Connect: ppp0 <--> /dev/ttyp0<--this used to be eth0 but it changed somehow
Jan 2 10:07:36 gentoo pppd[1127]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x8fbcd53f>]
Jan 2 10:07:38 gentoo eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
Jan 2 10:07:39 gentoo pppd[1127]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x8fbcd53f>]
Jan 2 10:07:40 gentoo pppoe[1129]: PADS: Service-Name: 'BIGLOBE'
Jan 2 10:07:40 gentoo pppoe[1129]: PPP session is 6384 (0x18f0)
Jan 2 10:07:40 gentoo pppd[1127]: rcvd [LCP ConfReq id=0x1 <auth chap MD5> <magic 0x66462b74>]
Jan 2 10:07:40 gentoo pppd[1127]: sent [LCP ConfAck id=0x1 <auth chap MD5> <magic 0x66462b74>]
Jan 2 10:07:40 gentoo pppd[1127]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x8fbcd53f>]
Jan 2 10:07:40 gentoo pppd[1127]: sent [LCP EchoReq id=0x0 magic=0x8fbcd53f]
Jan 2 10:07:40 gentoo pppd[1127]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x8fbcd53f>]
Jan 2 10:07:40 gentoo pppd[1127]: rcvd [CHAP Challenge id=0x74 <9d12e3e0995e3f0c556a5bf8d13637a4>, name = "TEPCO"
]
Jan 2 10:07:40 gentoo pppd[1127]: sent [CHAP Response id=0x74 <bb4d594694cf50824255b66e44d5ae53>, name = "foo@biglobe.ne.jp"]
Jan 2 10:07:40 gentoo pppd[1127]: rcvd [LCP EchoRep id=0x0 magic=0x66462b74]
Jan 2 10:07:40 gentoo pppd[1127]: rcvd [CHAP Failure id=0x74 ""]
Jan 2 10:07:40 gentoo pppd[1127]: CHAP authentication failed
Jan 2 10:07:40 gentoo pppd[1127]: sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
Jan 2 10:07:40 gentoo pppd[1127]: rcvd [LCP TermReq id=0x2]
Jan 2 10:07:40 gentoo pppd[1127]: sent [LCP TermAck id=0x2]
Jan 2 10:07:40 gentoo pppd[1127]: rcvd [LCP TermAck id=0x2]
Jan 2 10:07:40 gentoo pppd[1127]: Connection terminated.
Jan 2 10:07:40 gentoo pppoe[1129]: Session 6384 terminated -- received PADT from peer
Jan 2 10:07:40 gentoo pppoe[1129]: Sent PADT
Jan 2 10:07:40 gentoo pppd[1127]: Waiting for 1 child processes...
Jan 2 10:07:40 gentoo pppd[1127]: script /usr/sbin/pppoe -p /var/run/adsl-eth0.pid.pppoe -I eth0 -T 80 -U -m 1
412 -S BIGLOBE , pid 1129
Jan 2 10:07:40 gentoo pppd[1127]: Script /usr/sbin/pppoe -p /var/run/adsl-eth0.pid.pppoe -I eth0 -T 80 -U -m 141
2 -S BIGLOBE finished (pid 1129), status = 0x0
Jan 2 10:07:40 gentoo pppd[1127]: Exit.
Jan 2 10:07:40 gentoo adsl-connect: ADSL connection lost; attempting re-connection.
Jan 2 10:07:45 gentoo pppd[1179]: pppd 2.4.2 started by root, uid 0
Jan 2 10:07:45 gentoo pppd[1179]: using channel 2
Jan 2 10:07:45 gentoo pppd[1179]: Using interface ppp0
Jan 2 10:07:45 gentoo pppd[1179]: Connect: ppp0 <--> /dev/ttyp0
Jan 2 10:07:45 gentoo pppoe[1184]: PADS: Service-Name: 'BIGLOBE'
Jan 2 10:07:45 gentoo pppoe[1184]: PPP session is 9979 (0x26fb)
Jan 2 10:07:46 gentoo pppd[1179]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x3af1d6b4>]
Jan 2 10:07:46 gentoo pppd[1179]: rcvd [LCP ConfReq id=0x1 <auth chap MD5> <magic 0x199e3fb4>]
Jan 2 10:07:46 gentoo pppd[1179]: sent [LCP ConfAck id=0x1 <auth chap MD5> <magic 0x199e3fb4>]
Jan 2 10:07:46 gentoo pppd[1179]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x3af1d6b4>]
Jan 2 10:07:46 gentoo pppd[1179]: sent [LCP EchoReq id=0x0 magic=0x3af1d6b4]
Jan 2 10:07:46 gentoo pppd[1179]: rcvd [CHAP Challenge id=0xb4 <dd522320d99e7f4c95aa9b38117677e4>, name = "TEPCO"
]
Jan 2 10:07:46 gentoo pppd[1179]: sent [CHAP Response id=0xb4 <8c27c4c5f41aad8d23cae9e1e631f158>, name = "fooo@biglobe.ne.jp"]
Jan 2 10:07:46 gentoo pppd[1179]: rcvd [LCP EchoRep id=0x0 magic=0x199e3fb4]
Jan 2 10:07:46 gentoo pppd[1179]: rcvd [CHAP Failure id=0xb4 ""]
Jan 2 10:07:46 gentoo pppd[1179]: CHAP authentication failed
Jan 2 10:07:46 gentoo pppd[1179]: sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
Jan 2 10:07:46 gentoo pppd[1179]: rcvd [LCP TermReq id=0x2]
Jan 2 10:07:46 gentoo pppd[1179]: sent [LCP TermAck id=0x2]
Jan 2 10:07:46 gentoo pppd[1179]: rcvd [LCP TermAck id=0x2]
Jan 2 10:07:46 gentoo pppd[1179]: Connection terminated.
Jan 2 10:07:46 gentoo pppoe[1184]: Session 9979 terminated -- received PADT from peer
Jan 2 10:07:46 gentoo pppoe[1184]: Sent PADT
Jan 2 10:07:46 gentoo pppd[1179]: Waiting for 1 child processes...
Jan 2 10:07:46 gentoo pppd[1179]: script /usr/sbin/pppoe -p /var/run/adsl-eth0.pid.pppoe -I eth0 -T 80 -U -m 1
412 -S BIGLOBE , pid 1184
Jan 2 10:07:46 gentoo pppd[1179]: Script /usr/sbin/pppoe -p /var/run/adsl-eth0.pid.pppoe -I eth0 -T 80 -U -m 141
2 -S BIGLOBE finished (pid 1184), status = 0x0
Jan 2 10:07:46 gentoo pppd[1179]: Exit.
Jan 2 10:07:46 gentoo adsl-connect: ADSL connection lost; attempting re-connection.
Jan 2 10:07:51 gentoo pppd[1205]: pppd 2.4.2 started by root, uid 0
Jan 2 10:07:51 gentoo pppd[1205]: using channel 3
Jan 2 10:07:51 gentoo pppd[1205]: Using interface ppp0
Jan 2 10:07:51 gentoo pppd[1205]: Connect: ppp0 <--> /dev/ttyp0
Jan 2 10:07:51 gentoo pppoe[1207]: PADS: Service-Name: 'BIGLOBE'
Jan 2 10:07:51 gentoo pppoe[1207]: PPP session is 705 (0x2c1)
Jan 2 10:07:52 gentoo pppd[1205]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x2818edf4>]
Jan 2 10:07:52 gentoo pppd[1205]: rcvd [LCP ConfReq id=0x1 <auth chap MD5> <magic 0x59d5b4d7>]
Jan 2 10:07:52 gentoo pppd[1205]: sent [LCP ConfAck id=0x1 <auth chap MD5> <magic 0x59d5b4d7>]
Jan 2 10:07:52 gentoo pppd[1205]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x2818edf4>]
Jan 2 10:07:52 gentoo pppd[1205]: sent [LCP EchoReq id=0x0 magic=0x2818edf4]
Jan 2 10:07:52 gentoo pppd[1205]: rcvd [CHAP Challenge id=0xd7 <c4ade27330a92ecf5c653aeb48e106c7>, name = "TEPCO"
]
Jan 2 10:07:52 gentoo pppd[1205]: sent [CHAP Response id=0xd7 <b80a5dfb142766fdace4b7b3d84aaaf4>, name = "fooo@biglobe.ne.jp"]
Jan 2 10:07:52 gentoo pppd[1205]: rcvd [LCP EchoRep id=0x0 magic=0x59d5b4d7]

Jan 2 10:07:52 gentoo pppd[1205]: rcvd [CHAP Failure id=0xd7 ""]
Jan 2 10:07:52 gentoo pppd[1205]: CHAP authentication failed
Jan 2 10:07:52 gentoo pppd[1205]: sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
Jan 2 10:07:52 gentoo pppd[1205]: rcvd [LCP TermReq id=0x2]
Jan 2 10:07:52 gentoo pppd[1205]: sent [LCP TermAck id=0x2]
Jan 2 10:07:52 gentoo pppd[1205]: rcvd [LCP TermAck id=0x2]
Jan 2 10:07:52 gentoo pppd[1205]: Connection terminated.
Jan 2 10:07:52 gentoo pppd[1205]: Waiting for 1 child processes...
Jan 2 10:07:52 gentoo pppd[1205]: script /usr/sbin/pppoe -p /var/run/adsl-eth0.pid.pppoe -I eth0 -T 80 -U -m 1
412 -S BIGLOBE , pid 1207
Jan 2 10:07:52 gentoo pppoe[1207]: read (asyncReadFromPPP): Session 705: Input/output error
Jan 2 10:07:52 gentoo pppoe[1207]: Sent PADT
Jan 2 10:07:52 gentoo pppd[1205]: Script /usr/sbin/pppoe -p /var/run/adsl-eth0.pid.pppoe -I eth0 -T 80 -U -m 141
2 -S BIGLOBE finished (pid 1207), status = 0x1
Jan 2 10:07:52 gentoo pppd[1205]: Exit.
Jan 2 10:07:52 gentoo adsl-connect: ADSL connection lost; attempting re-connection.
Jan 2 10:07:55 gentoo rc-scripts: ERROR: Problem starting needed services.
Jan 2 10:07:55 gentoo rc-scripts: "dnsmasq" was not started.
Jan 2 10:07:56 gentoo ip_tables: (C) 2000-2002 Netfilter core team
Jan 2 10:07:56 gentoo ip_conntrack version 2.1 (4029 buckets, 32232 max) - 416 bytes per conntrack
Jan 2 10:07:57 gentoo sshd[1781]: Server listening on 0.0.0.0 port 22.
Jan 2 10:07:58 gentoo cron[1818]: (CRON) STARTUP (V5.0)
Jan 2 10:08:03 gentoo login(pam_unix)[1841]: authentication failure; logname= uid=0 euid=0 tty=/dev/vc/1 ruser= r
host= user=root
Jan 2 10:08:05 gentoo login[1841]: FAILED LOGIN 1 FROM /dev/vc/1 FOR root, Authentication failure
Jan 2 10:08:13 gentoo login(pam_unix)[1841]: session opened for user root by (uid=0)
Jan 2 10:08:17 gentoo pppd[1871]: pppd 2.4.2 started by root, uid 0
Jan 2 10:08:17 gentoo pppd[1871]: using channel 4
Jan 2 10:08:17 gentoo pppd[1871]: Using interface ppp0
Jan 2 10:08:17 gentoo pppd[1871]: Connect: ppp0 <--> /dev/ttyp0
Jan 2 10:08:18 gentoo pppd[1871]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x9000f9e7>]
Jan 2 10:08:21 gentoo eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
Jan 2 10:08:21 gentoo pppd[1871]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x9000f9e7>]
Jan 2 10:08:22 gentoo pppoe[1873]: PADS: Service-Name: 'BIGLOBE'
Jan 2 10:08:22 gentoo pppoe[1873]: PPP session is 7736 (0x1e38)
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [LCP ConfReq id=0x1 <auth chap MD5> <magic 0x635d664c>]
Jan 2 10:08:22 gentoo pppd[1871]: sent [LCP ConfAck id=0x1 <auth chap MD5> <magic 0x635d664c>]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x9000f9e7>]
Jan 2 10:08:22 gentoo pppd[1871]: sent [LCP EchoReq id=0x0 magic=0x9000f9e7]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x9000f9e7>]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [CHAP Challenge id=0x4c <95aa9b38117677e44d021350494e6f7c>, name = "TEPCO"
]
Jan 2 10:08:22 gentoo pppd[1871]: sent [CHAP Response id=0x4c <4d94e6d32077bc6730e2ddb4a5796f5b>, name = "foo@biglobe.ne.jp"]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [LCP EchoRep id=0x0 magic=0x635d664c]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [CHAP Success id=0x4c ""]
Jan 2 10:08:22 gentoo pppd[1871]: CHAP authentication succeeded
Jan 2 10:08:22 gentoo pppd[1871]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [IPCP ConfReq id=0x1 <addr 218.231.1.138>]
Jan 2 10:07:57 gentoo sshd[1781]: Server listening on 0.0.0.0 port 22.
Jan 2 10:07:58 gentoo cron[1818]: (CRON) STARTUP (V5.0)
Jan 2 10:08:03 gentoo login(pam_unix)[1841]: authentication failure; logname= uid=0 euid=0 tty=/dev/vc/1 ruser= r
host= user=root
Jan 2 10:08:05 gentoo login[1841]: FAILED LOGIN 1 FROM /dev/vc/1 FOR root, Authentication failure
Jan 2 10:08:13 gentoo login(pam_unix)[1841]: session opened for user root by (uid=0)
Jan 2 10:08:17 gentoo pppd[1871]: pppd 2.4.2 started by root, uid 0
Jan 2 10:08:17 gentoo pppd[1871]: using channel 4
Jan 2 10:08:17 gentoo pppd[1871]: Using interface ppp0
Jan 2 10:08:17 gentoo pppd[1871]: Connect: ppp0 <--> /dev/ttyp0
Jan 2 10:08:18 gentoo pppd[1871]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x9000f9e7>]
Jan 2 10:08:21 gentoo eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
Jan 2 10:08:21 gentoo pppd[1871]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x9000f9e7>]
Jan 2 10:08:22 gentoo pppoe[1873]: PADS: Service-Name: 'BIGLOBE'
Jan 2 10:08:22 gentoo pppoe[1873]: PPP session is 7736 (0x1e38)
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [LCP ConfReq id=0x1 <auth chap MD5> <magic 0x635d664c>]
Jan 2 10:08:22 gentoo pppd[1871]: sent [LCP ConfAck id=0x1 <auth chap MD5> <magic 0x635d664c>]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x9000f9e7>]
Jan 2 10:08:22 gentoo pppd[1871]: sent [LCP EchoReq id=0x0 magic=0x9000f9e7]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x9000f9e7>]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [CHAP Challenge id=0x4c <95aa9b38117677e44d021350494e6f7c>, name = "TEPCO"
]
Jan 2 10:08:22 gentoo pppd[1871]: sent [CHAP Response id=0x4c <4d94e6d32077bc6730e2ddb4a5796f5b>, name = "fooo@biglobe.ne.jp"]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [LCP EchoRep id=0x0 magic=0x635d664c]
Jan 2 10:08:22 gentoo pppd[1871]: rcvd [CHAP Success id=0x4c ""]
Jan 2 10:08:22 gentoo pppd[1871]: CHAP authentication succeeded<----second attempt by hand after reboot
and here are the relevant files
gentoo ~ # more /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "adsl" )
adsl_user_eth0="foo@biglobe.ne.jp"
config_eth1="192.168.11.1 broadcast 192.168.11.255 netmask 255.255.255.0"
pppoe.conf
ETH='eth0'

# ADSL user name. You may have to supply "@provider.com" Sympatico
# users in Canada do need to include "@sympatico.ca"
# Sympatico uses PAP authentication. Make sure /etc/ppp/pap-secrets
# contains the right username/password combination.
# For Magma, use xxyyzz@magma.ca
USER='foo***@biglobe.ne.jp'
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Mon Jan 02, 2006 8:36 pm

OK, first of all try resetting all the pppoe info by running adsl-setup as root. This will overwrite your /etc/ppp/pppoe.conf file with sane defaults.

Now, does this problem always happen or only during a bootup? Is it only during a cold bootup or does it happen on a warm bootup as well?

Can you use the /etc/init.d/net.eth0 script or do you have to call the pppoe script manually everytime?

If the machine is up and running and the connection drops, can you you restart it using the /etc/init.d/net.eth0 script or do you have to call the pppoe script manually?

If you only experience it during bootups do you turn off your dsl modem when you turn off your computer or do you leave it running all the time? I find that if I leave it on all the time I don't get errors but if I turn it off it sometimes fails to connect on the next bootup and then I have to do "/etc/init.d/net.eth0 start" manually.
Gentoo: it's like wiping your ass with silk.
Top
ak47
n00b
n00b
Posts: 16
Joined: Tue Dec 27, 2005 4:29 am

  • Quote

Post by ak47 » Mon Jan 02, 2006 9:23 pm

curtis119 wrote:OK, first of all try resetting all the pppoe info by running adsl-setup as root. This will overwrite your /etc/ppp/pppoe.conf file with sane defaults.

Now, does this problem always happen or only during a bootup? Is it only during a cold bootup or does it happen on a warm bootup as well?

Can you use the /etc/init.d/net.eth0 script or do you have to call the pppoe script manually everytime?

If the machine is up and running and the connection drops, can you you restart it using the /etc/init.d/net.eth0 script or do you have to call the pppoe script manually?

If you only experience it during bootups do you turn off your dsl modem when you turn off your computer or do you leave it running all the time? I find that if I leave it on all the time I don't get errors but if I turn it off it sometimes fails to connect on the next bootup and then I have to do "/etc/init.d/net.eth0 start" manually.
THX much for getting back to me. uhmm here is a quick run down on what happened. Because pppoe gets timed out after I installed gentoo, i thought maybe there is a problem with the rp-pppoe pkg thus i installed the very latest one by manually downloaded from the roaring penguin site, compiled it and installed on top of gentoo's old version. i got nothing to lose as the old one didn't work properly. However manually downloaded newer version didn't work either. So to answer your first question:
Now, does this problem always happen or only during a bootup? Is it only during a cold bootup or does it happen on a warm bootup as well?
it always happens when i cold boot. don't know how to warm bootup. basically it doesn't comeup on its own, i have to manually run

Code: Select all

#adsl-start
or

Code: Select all

pppoe-start
due to 2 pppoe are residing i have to get rid of one of them. shall i run

Code: Select all

emerge --unmerge rp-pppoe
since i don't know how to get rid of the manually compiled and installed newer pppoe? then i would have only 1 to deal with :)
Can you use the /etc/init.d/net.eth0 script or do you have to call the pppoe script manually everytime?
i just ran /etc/init.d/net.eth0 start at the prompt after confirming adsl-status was down this is the output

Code: Select all

gentoo init.d # /etc/init.d/net.eth0 start
 * Starting eth0
 *   Bringing up eth0
 *     adsl
 *       Starting ADSL for eth0
TIMED OUT
/usr/sbin/adsl-start: line 198:  3052 Terminated              $CONNECT <(echo "$CONFREAD") >/dev/null 2>&1  [ !! ]
the output is exactly the same. maybe the during the boot i think rc-update script is calling the net.eth0 instead of "adsl-start"?
and here is adsl-start output though nothing much to see :)

Code: Select all

gentoo init.d # adsl-start
... Connected!
my dsl-modem is ALWAYS on during the bootup. no matter what. and i'm thinking of making this as my ip masq. gateway/firewall so this will be 24/7 up as well. hopefully....
If you only experience it during bootups do you turn off your dsl modem when you turn off your computer or do you leave it running all the time? I find that if I leave it on all the time I don't get errors but if I turn it off it sometimes fails to connect on the next bootup and then I have to do "/etc/init.d/net.eth0 start" manually.
hmmm but i always get timed out when i boot up. i also tried to run adsl-setup to overwrite as you suggested it didn't work. maybe i should remve both pppoe and see what happens. if i wanted to get rid of the pppoe pkg (newer one) how would i do that?[/quote]
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Mon Jan 02, 2006 11:20 pm

hmm OK, first of all get rid of the manually installed one by cd'ing to the directory of the source code and running "make uninstall".

Next, go to bugs.gentoo.org and file a bug report. Include all the info you have included here, especially the log output from your previous post. Sorry I can't help you more but you seem to have it set up correctly.
Gentoo: it's like wiping your ass with silk.
Top
Post Reply

34 posts
  • 1
  • 2
  • Next

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy