[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#347958: Fails to establish pppoe connection



On Sat, 14 Jan 2006, Marco d'Itri wrote:

reassign 347958 pppoeconf

Well, do you think this is caused by a broken config file?

Looks like you did not already configure your ethernet connection and
pppoeconf is not correctly configuring /etc/network/interfaces to raise
eth1 before starting the PPP connections.
I have seen a similar bug in the pppoeconf package in the latest Ubuntu
release, but I do not know if this is related. It mangled in some way
the interfaces file but I can't remember the details (maybe this was
related to eth0 using DHCP).

(FYI, you do not need a second network card to use PPPoE, you can just
connect your modem to your switch.)

That means exactly what?

Well, my question is quite simple: How can I get a solid working
configuration?

I just attached my dsl-provider file to this mail.

I also attached a stripped /var/log/syslog file which contains a first
connection (using the "good old working" ppp package) and in the second
part a failed connection using the latest ppp package.  I would be happy
if you could tell me what might be the problem in pppoeconf that if
I understand you right created an unusable config file - at least unusable
with the latest ppp package.

Kind regards and thanks again for your quick response

           Andreas.

--
http://fam-tille.de
# Configuration file for PPP, using PPP over Ethernet 
# to connect to a DSL provider.
#
# See the manual page pppd(8) for information on all the options.

##
# Section 1
#
# Stuff to configure...

# MUST CHANGE: Uncomment the following line, replacing the user@provider.net
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the password.)
#user myusername@myprovider.net

# Use the pppoe program to send the ppp packets over the Ethernet link
# This line should work fine if this computer is the only one accessing
# the Internet through this DSL connection. This is the right line to use
# for most people.
#pty "/usr/sbin/pppoe -I eth1 -T 80 -m 1452"

# If the computer connected to the Internet using pppoe is not being used
# by other computers as a gateway to the Internet, you can try the following
# line instead, for a small gain in speed:
#pty "/usr/sbin/pppoe -I eth1 -T 80"

# An even more conservative version of the previous line, if things
# don't work using -m 1452... 
#pty "/usr/sbin/pppoe -I eth1 -T 80 -m 1412"


# The following two options should work fine for most DSL users.

# Assumes that your IP address is allocated dynamically
# by your DSL provider...
noipdefault
# Comment out if you already have the correct default route installed
defaultroute

##
# Section 2
#
# Uncomment if your DSL provider charges by minute connected
# and you want to use demand-dialing. 
#
# Disconnect after 300 seconds (5 minutes) of idle time.

#demand
#idle 300

##
# Section 3
#
# You shouldn't need to change these options...

hide-password
lcp-echo-interval 60
lcp-echo-failure 3
# Override any connect script that may have been set in /etc/ppp/options.
connect /bin/true
noauth
persist
mtu 1492


usepeerdns
plugin rp-pppoe.so eth1
user "me@provider.de"
Jan 14 14:34:52 energija pppd[5181]: Plugin rp-pppoe.so loaded.
Jan 14 14:34:52 energija pppd[5184]: pppd 2.4.3 started by root, uid 0
Jan 14 14:34:52 energija pppd[5184]: Using interface ppp2
Jan 14 14:34:52 energija pppd[5184]: Couldn't increase MTU to 1500
Jan 14 14:34:52 energija pppd[5184]: Couldn't increase MRU to 1500
Jan 14 14:34:52 energija pppd[5184]: not replacing default route to ppp0 [217.0.116.19]
Jan 14 14:34:52 energija pppd[5184]: Cannot determine ethernet address for proxy ARP
Jan 14 14:34:52 energija pppd[5184]: local  IP address 10.64.64.66
Jan 14 14:34:52 energija pppd[5184]: remote IP address 10.112.112.114
Jan 14 14:34:58 energija pppd[5149]: Terminating on signal 15
Jan 14 14:34:58 energija pppd[5149]: Connect time 0.2 minutes.
Jan 14 14:34:58 energija pppd[5149]: Sent 2188 bytes, received 3122 bytes.
Jan 14 14:34:58 energija pppd[5149]: Couldn't increase MTU to 1500
Jan 14 14:34:58 energija pppd[5149]: Couldn't increase MRU to 1500
Jan 14 14:34:58 energija pppd[5155]: Terminating on signal 15
Jan 14 14:34:58 energija pppd[5155]: Exit.
Jan 14 14:34:58 energija pppd[5184]: Terminating on signal 15
Jan 14 14:34:58 energija pppd[5184]: Exit.
Jan 14 14:34:58 energija pppd[5149]: Connection terminated.
Jan 14 14:34:58 energija pppd[5149]: Terminating on signal 15
Jan 14 14:34:58 energija pppd[5149]: Exit.

Jan 14 14:43:40 energija pppd[5995]: Plugin rp-pppoe.so loaded.
Jan 14 14:43:40 energija pppd[5998]: pppd 2.4.4b1 started by root, uid 0
Jan 14 14:43:40 energija pppd[5998]: Using interface ppp0
Jan 14 14:43:40 energija pppd[5998]: Cannot determine ethernet address for proxy ARP
Jan 14 14:43:40 energija pppd[5998]: local  IP address 10.64.64.64
Jan 14 14:43:40 energija pppd[5998]: remote IP address 10.112.112.112
Jan 14 14:43:40 energija pppd[5998]: Starting link
Jan 14 14:43:40 energija pppd[5998]: PPP session is 790
Jan 14 14:43:40 energija pppd[5998]: Connect: ppp0 <--> eth1
Jan 14 14:43:41 energija pppd[5998]: PAP authentication succeeded
Jan 14 14:43:41 energija pppd[5998]: peer from calling number 00:90:1A:41:65:76 authorized
Jan 14 14:43:42 energija pppd[5998]: Local IP address changed to 84.182.129.14
Jan 14 14:43:42 energija pppd[5998]: Remote IP address changed to 217.0.116.19
Jan 14 14:43:42 energija pppd[5998]: Cannot determine ethernet address for proxy ARP
Jan 14 14:43:43 energija pppd[5998]: Open ICMP 84.182.129.14 -> 217.237.149.225 
Jan 14 14:43:46 energija pppd[6036]: Plugin rp-pppoe.so loaded.
Jan 14 14:43:46 energija pppd[6039]: pppd 2.4.4b1 started by root, uid 0
Jan 14 14:43:46 energija pppd[6039]: Using interface ppp1
Jan 14 14:43:46 energija pppd[6039]: not replacing existing default route through ppp0
Jan 14 14:43:46 energija pppd[6039]: Cannot determine ethernet address for proxy ARP
Jan 14 14:43:46 energija pppd[6039]: local  IP address 10.64.64.65
Jan 14 14:43:46 energija pppd[6039]: remote IP address 10.112.112.113
Jan 14 14:43:46 energija pppd[6039]: Starting link
Jan 14 14:43:52 energija pppd[6044]: Plugin rp-pppoe.so loaded.
Jan 14 14:43:52 energija pppd[6047]: pppd 2.4.4b1 started by root, uid 0
Jan 14 14:43:52 energija pppd[6047]: Using interface ppp2
Jan 14 14:43:52 energija pppd[6047]: not replacing existing default route through ppp1
Jan 14 14:43:52 energija pppd[6047]: Cannot determine ethernet address for proxy ARP
Jan 14 14:43:52 energija pppd[6047]: local  IP address 10.64.64.66
Jan 14 14:43:52 energija pppd[6047]: remote IP address 10.112.112.114
Jan 14 14:43:52 energija pppd[6047]: Starting link
Jan 14 14:43:58 energija pppd[6051]: Plugin rp-pppoe.so loaded.
Jan 14 14:43:58 energija pppd[6054]: pppd 2.4.4b1 started by root, uid 0
Jan 14 14:43:58 energija pppd[6054]: Using interface ppp3
Jan 14 14:43:58 energija pppd[6054]: not replacing existing default route through ppp2
Jan 14 14:43:58 energija pppd[6054]: Cannot determine ethernet address for proxy ARP
Jan 14 14:43:58 energija pppd[6054]: local  IP address 10.64.64.67
Jan 14 14:43:58 energija pppd[6054]: remote IP address 10.112.112.115
Jan 14 14:43:59 energija pppd[6054]: Starting link
Jan 14 14:44:29 energija pppd[6047]: Timeout waiting for PADS packets
Jan 14 14:44:29 energija pppd[6039]: Timeout waiting for PADS packets
Jan 14 14:44:29 energija pppd[6039]: Unable to complete PPPoE Discovery
Jan 14 14:44:29 energija pppd[6047]: Unable to complete PPPoE Discovery
Jan 14 14:44:34 energija pppd[6054]: Timeout waiting for PADS packets
Jan 14 14:44:34 energija pppd[6054]: Unable to complete PPPoE Discovery

Reply to: