ppp is broken???

Bob bob at a1poweruser.com
Mon May 7 11:59:33 UTC 2007


Add these statements to the end of your ppp.conf file.



disable iface-alias    # Stop adding old IP address as alias when ppp
                       # redials because line was lost. These old IPs
                       # showed using  ifconfig -a   on tun0.

 iface clear           # Remove all previous IP address


Post contents of your ppp.conf  and rc.conf files for review for why you
keep losing your connection.


-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Laszlo Nagy
Sent: Monday, May 07, 2007 6:12 AM
To: freebsd-questions at freebsd.org
Subject: ppp is broken???


  Hi All,

I have a FreeBSD 6.2 RELEASE system that connects to the internet with
an ADSL connection. (pppoe). After some hours, it gets disconnected and
reconnected again. Each time it gets a new IP. The interesting part is
that the old IP address remains assigned. Here is an example:

tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
        inet 62.112.215.17 --> 62.112.192.130 netmask 0xffffffff
        inet 83.216.40.248 --> 62.112.192.142 netmask 0xffffffff
        inet 83.216.56.211 --> 62.112.192.150 netmask 0xffffffff
        Opened by PID 241


After the third or fourth connection was made, internet stops working,
and I have to reboot the computer.  (When there is light traffic on the
connection, it never gets disconnected.)

This is from /var/log/ppp

May  5 02:05:14 messias ppp[242]: tun0: Phase: deflink: Connected!
May  5 02:05:14 messias ppp[242]: tun0: Phase: deflink: opening -> dial
May  5 02:05:14 messias ppp[242]: tun0: Phase: deflink: dial -> carrier
May  5 02:05:15 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_ACNAME
(hook "adsl")
May  5 02:05:15 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SESSIONID
May  5 02:05:15 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SUCCESS
May  5 02:05:15 messias ppp[242]: tun0: Phase: deflink: carrier -> login
May  5 02:05:15 messias ppp[242]: tun0: Phase: deflink: login -> lcp
May  5 02:05:16 messias ppp[242]: tun0: Phase: bundle: Authenticate
May  5 02:05:16 messias ppp[242]: tun0: Phase: deflink: his = PAP, mine
= none
May  5 02:05:16 messias ppp[242]: tun0: Phase: Pap Output:
ntony at myisp.hu ********
May  5 02:05:16 messias ppp[242]: tun0: Phase: Pap Input: SUCCESS ()
May  5 02:05:16 messias ppp[242]: tun0: Phase: deflink: lcp -> open
May  5 02:05:16 messias ppp[242]: tun0: Phase: bundle: Network
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: ** Too many LQR
packets lost **
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: open -> lcp
May  5 08:04:12 messias ppp[242]: tun0: Phase: bundle: Terminate
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Disconnected!
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: lcp -> logout
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Disconnected!
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: logout -> hangup
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Connect time:
21538 secs: 2769865242 octets in, 86030307 octets out
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: 3691156 packets
in, 2331858 packets out
May  5 08:04:12 messias ppp[242]: tun0: Phase:  total 132597 bytes/sec,
peak 279371 bytes/sec on Sat May  5 05:44:10 2007
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: hangup -> opening
May  5 08:04:12 messias ppp[242]: tun0: Phase: bundle: Establish
May  5 08:04:12 messias ppp[242]: tun0: Phase: deflink: Enter pause (3)
for redialing.
May  5 08:04:15 messias ppp[242]: tun0: Phase: deflink: Connected!
May  5 08:04:15 messias ppp[242]: tun0: Phase: deflink: opening -> dial
May  5 08:04:15 messias ppp[242]: tun0: Phase: deflink: dial -> carrier
May  5 08:04:16 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_ACNAME
(hook "adsl")
May  5 08:04:16 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SESSIONID
May  5 08:04:16 messias ppp[242]: tun0: Phase: Received NGM_PPPOE_SUCCESS
May  5 08:04:16 messias ppp[242]: tun0: Phase: deflink: carrier -> login
May  5 08:04:16 messias ppp[242]: tun0: Phase: deflink: login -> lcp
May  5 08:04:17 messias ppp[242]: tun0: Phase: bundle: Authenticate
May  5 08:04:17 messias ppp[242]: tun0: Phase: deflink: his = PAP, mine
= none
May  5 08:04:17 messias ppp[242]: tun0: Phase: Pap Output:
ntony at myisp.hu ********
May  5 08:04:18 messias ppp[242]: tun0: Phase: Pap Input: SUCCESS ()
May  5 08:04:18 messias ppp[242]: tun0: Phase: deflink: lcp -> open
May  5 08:04:18 messias ppp[242]: tun0: Phase: bundle: Network
May  5 11:07:32 messias ppp[242]: tun0: Phase: deflink: ** Too many LQR
packets lost **

Please help me, this computer needs to be connected continuously.

Thanks,

   Laszlo

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list