Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 14:21:30 +0700
From:      budsz <budiyt@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   PPPoE trouble handshaking
Message-ID:  <4d4dc3640906250021l6c46be44he009a61cbfd571ba@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I got problem with FreeBSD 7.2-STABLE as router. I use TPLINK modem as
bridging to my box.
here is my /etc/ppp/ppp.conf:

default:
    #set log Phase Chat LCP IPCP CCP tun command
    #set log all
    set log Phase tun command

speedy:
    set device PPPoE:rl1

    set authname xxxxx@ISP.net
    set authkey xxxxx
    set dial
    set login
    set cd 5
    set crtscts off
    add default HISADDR
    set timeout 0             # 3 minute idle timer (the default)
                                    # no idle time out, will not disconnect

    set mru 1492
    set mtu 1492

    set speed sync

    enable lqr
    set lqrperiod 5
    enable mssfixup

    # For noisy lines, we may want to reconnect (up to 20 times) after loss
    # of carrier, with 3 second delays between each attempt:
    #
    #set reconnect 3 20
    set redial 0 0

I try to use -ddial mode with ppp(8). Here is log problem /var/log/ppp.log:

Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: Disconnected!
Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: carrier -> hangup
Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: Connect time: 5
secs: 0 octets in, 0 octets out
Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: 0 packets in, 0
packets out
Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase:  total 0 bytes/sec, peak
0 bytes/sec on Thu Jun 25 11:59:56 2009
Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: hangup -> opening
Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: Enter pause (0)
for redialing.
Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: Connected!
Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: opening -> dial
Jun 25 12:00:01 rtr-gw ppp[346]: tun0: Phase: deflink: dial -> carrier
Jun 25 12:00:06 rtr-gw ppp[346]: tun0: Phase: deflink: Disconnected!

And, with full debug mode:

Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: ---- Begin of Timer
Service List---
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: physical throughput
timer[0x28412068]: freq = 1.00s, next = 0.00s, state = running
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: ---- End of Timer
Service List ---
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: timer_Start: Inserting
physical throughput timer[0x28412068]
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: Disconnected!
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: carrier -> hangup
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Debug: deflink: Close
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: Connect time:
5 secs: 0 octets in, 0 octets out
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: 0 packets in,
0 packets out
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase:  total 0 bytes/sec,
peak 0 bytes/sec on Thu Jun 25 11:24:27 2009
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: hangup -> opening
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: timer_Start: Inserting
dial timer[0x28410d44]
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Phase: deflink: Enter pause
(0) for redialing.
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Timer: Select returns -1
Jun 25 11:24:32 rtr-gw ppp[3090]: tun0: Chat: deflink: Redial timer expired.

Anyone know this problem.. my box very hard to negotiation with my ISP.

Thank You

-- 
budsz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d4dc3640906250021l6c46be44he009a61cbfd571ba>