Hi, I run a Bering 1.0 router that is supposed to be "always on". It uses PPPoE.
The ISP is "golden.net". My issue is that, every once in a while, my router disconnects from the peer and then it doesn't reconnect for maybe 40 minutes. Occasionally, this is due to an IP change, but many times, it is not. Here is some logfile output. I cut out anything non-ppp related, but other log messages I have include ez-IPUpdate and a cron job called "keepalive" that does nothing except for ping a remote host every 15 minutes to ensure the connection stays alive. (The connection tends to turn itself off if it's not sending data). Jan 31 07:47:57 firewall pppd[30237]: No response to 3 echo-requests Jan 31 07:47:57 firewall pppd[30237]: Serial link appears to be disconnected. Jan 31 07:47:57 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 07:47:57 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 07:48:03 firewall pppd[30237]: Connection terminated. Jan 31 07:48:03 firewall pppd[30237]: Connect time 1686.6 minutes. Jan 31 07:48:03 firewall pppd[30237]: Sent 1515200725 bytes, received 161730912 bytes. Jan 31 07:48:03 firewall pppd[30237]: Doing disconnect Disconnects because it can't get echo-request response... Jan 31 07:48:33 firewall pppd[30237]: Sending PADI Jan 31 08:05:35 firewall pppd[30237]: HOST_UNIQ successful match Jan 31 08:05:35 firewall pppd[30237]: HOST_UNIQ successful match Jan 31 08:05:35 firewall pppd[30237]: Got connection: 1757 You can see that the remote host takes about 17 minutes to respond after the router sends PADI. Jan 31 08:05:35 firewall pppd[30237]: Connecting PPPoE socket: 00:90:1a:40:44:2c 5717 eth0 0x807c260 Jan 31 08:05:35 firewall pppd[30237]: using channel 9 Jan 31 08:05:35 firewall pppd[30237]: Using interface ppp0 Jan 31 08:05:35 firewall pppd[30237]: Connect: ppp0 <--> eth0 Jan 31 08:05:35 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 08:05:35 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 08:05:35 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 08:05:36 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 08:05:36 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 08:05:36 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 08:05:36 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 08:05:36 firewall pppd[30237]: Cannot determine ethernet address for proxy ARP Jan 31 08:05:36 firewall pppd[30237]: local IP address 216.75.191.24 Jan 31 08:05:36 firewall pppd[30237]: remote IP address 64.39.160.16 We get an IP successfully. Jan 31 17:55:59 firewall pppd[30237]: No response to 3 echo-requests Jan 31 17:55:59 firewall pppd[30237]: Serial link appears to be disconnected. Jan 31 17:55:59 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 17:55:59 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 17:56:05 firewall pppd[30237]: Connection terminated. Jan 31 17:56:05 firewall pppd[30237]: Connect time 590.4 minutes. Jan 31 17:56:05 firewall pppd[30237]: Sent 199214 bytes, received 149525 bytes. Jan 31 17:56:05 firewall pppd[30237]: Doing disconnect You can see here that we've been disconnected again. Jan 31 17:56:35 firewall pppd[30237]: Sending PADI 30 seconds later we attempt to reconnect. Jan 31 17:56:49 firewall pppd[30237]: HOST_UNIQ successful match Jan 31 17:56:49 firewall pppd[30237]: HOST_UNIQ successful match Jan 31 17:56:49 firewall pppd[30237]: Got connection: e00 Jan 31 17:56:49 firewall pppd[30237]: Connecting PPPoE socket: 00:90:1a:40:44:2c 000e eth0 0x807c260 Jan 31 17:56:49 firewall pppd[30237]: using channel 10 Jan 31 17:56:49 firewall pppd[30237]: Using interface ppp0 Jan 31 17:56:49 firewall pppd[30237]: Connect: ppp0 <--> eth0 Jan 31 17:56:49 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 17:56:49 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 17:56:52 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 17:56:53 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 17:56:53 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 17:56:53 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 17:56:53 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 17:56:53 firewall pppd[30237]: Cannot determine ethernet address for proxy ARP Jan 31 17:56:53 firewall pppd[30237]: local IP address 216.75.191.24 Jan 31 17:56:53 firewall pppd[30237]: remote IP address 64.39.160.16 Connected again. This time it took almost no time for the host to respond. But, two minutes later: Jan 31 17:58:33 firewall pppd[30237]: No response to 3 echo-requests Jan 31 17:58:33 firewall pppd[30237]: Serial link appears to be disconnected. Jan 31 17:58:33 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 17:58:33 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 17:58:39 firewall pppd[30237]: Connection terminated. Jan 31 17:58:39 firewall pppd[30237]: Connect time 1.8 minutes. Jan 31 17:58:39 firewall pppd[30237]: Sent 30 bytes, received 114 bytes. Jan 31 17:58:39 firewall pppd[30237]: Doing disconnect Dead again. Jan 31 17:59:09 firewall pppd[30237]: Sending PADI Here, there's a delay of about 34 minutes. Why is there such a large delay? Jan 31 18:33:15 firewall pppd[30237]: Connecting PPPoE socket: 00:90:1a:40:44:2c 0000 eth0 0x807c260 Jan 31 18:33:15 firewall pppd[30237]: Couldn't get channel number: Transport endpoint is not connected Jan 31 18:33:15 firewall pppd[30237]: Doing disconnect Again, we try to send another connection attempt, but we're dead again. Jan 31 18:33:45 firewall pppd[30237]: Sending PADI Jan 31 18:33:45 firewall pppd[30237]: HOST_UNIQ successful match Jan 31 18:33:45 firewall pppd[30237]: HOST_UNIQ successful match Jan 31 18:33:45 firewall pppd[30237]: Unexpected packet: Ether addr: 00:90:1a:40:44:2c (PPPOE Discovery) PPPoE hdr: ver=0x1 type=0x1 code=0x07 sid=0x0000 length=0x0032 (PADO) PPPoE tag: type=0102 length=000e (AC Name) data (UTF-8): bas13-ottawa23 PPPoE tag: type=0103 length=0004 (Host Uniq Jan 31 18:33:45 firewall pppd[30237]: HOST_UNIQ successful match Jan 31 18:33:45 firewall pppd[30237]: Got connection: 160b Jan 31 18:33:45 firewall pppd[30237]: Connecting PPPoE socket: 00:90:1a:40:44:2c 0b16 eth0 0x807c260 Jan 31 18:33:45 firewall pppd[30237]: using channel 11 Jan 31 18:33:45 firewall pppd[30237]: Using interface ppp0 Jan 31 18:33:45 firewall pppd[30237]: Connect: ppp0 <--> eth0 Jan 31 18:33:45 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 18:33:45 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 18:33:45 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 18:33:46 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 18:33:46 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 18:33:46 firewall pppd[30237]: Couldn't increase MTU to 1500. Jan 31 18:33:46 firewall pppd[30237]: Couldn't increase MRU to 1500 Jan 31 18:33:46 firewall pppd[30237]: Cannot determine ethernet address for proxy ARP Jan 31 18:33:46 firewall pppd[30237]: local IP address 216.75.190.34 Jan 31 18:33:46 firewall pppd[30237]: remote IP address 64.39.160.16 Connects again. Is there anything that I am doing on my end that is causing this? Or is it the fault of my ISP? Also find attached my copy of dsl-PPoE configuration file. # Configuration file for PPP, using PPP over Ethernet # to connect to a DSL provider. # plugin /usr/lib/pppd/pppoe.so # MUST CHANGE: Uncomment the following line, replacing the [EMAIL PROTECTED] # 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.) name "[EMAIL PROTECTED]" # 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 "pppoe -I eth0 -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 "pppoe -I eth0 -T 80" # An even more conservative version of the previous line, if things # don't work using -m 1452... #pty "pppoe -I eth0 -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 20 lcp-echo-failure 3 lcp-restart 3 pap-restart 100 # Override any connect script that may have been set in /etc/ppp/options. connect /bin/true noauth persist mtu 1492 -- -- Arcana ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
