Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2002 09:58:27 +0100
From:      "Roman Mikus" <roman@zutom.sk>
To:        <questions@FreeBSD.ORG>
Subject:   strange ppp state
Message-ID:  <001601c1cf24$3bdb13b0$0200000a@zutomxx>

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

I have 2 FreeBSD machines running ppp on leased line with analog modems.
Modems are configured with &l1 options for leased lines and my ppp.conf
looks like:

default:
  set log Phase Chat LCP IPCP CCP tun command
  set device /dev/cuaa0
  set speed 38400
  set ifaddr 10.0.0.213 10.0.0.214 255.255.255.252
  add! 10.0.0.212/30 HISADDR

I'm running ppp with ppp -dedicated command. After restarting of both
machines ppp connects without problems and I can ping another side. But
after some time (few hours), ppp disconects for some reason and hangs up in
the state you can see from my ppp.log file. Modems are connecting without
any problems.
This state can be repaired only with restarting of ppp on both machines. I
have installed FreeBSD-4.5-STABLE and FreeBSD 4.4-p3-RELEASE on these
machines.

Can anyone tell me where is a problem? Is it ppp or modem related? Thank you
for any advice.

Roman

ppp.log:
Mar 18 19:11:01 wog ppp[39327]: Phase: Using interface: tun0
Mar 18 19:11:01 wog ppp[39327]: Phase: deflink: Created in closed state
Mar 18 19:11:01 wog ppp[39327]: tun0: Command: default: set device
/dev/cuaa0
Mar 18 19:11:01 wog ppp[39327]: tun0: Command: default: set speed 38400
Mar 18 19:11:01 wog ppp[39327]: tun0: Command: default: set ifaddr
10.0.0.213 10.0.0.214 255.255.255.252
Mar 18 19:11:01 wog ppp[39327]: tun0: Command: default: add! 10.0.0.212/30
HISADDR
Mar 18 19:11:01 wog ppp[39327]: tun0: Phase: PPP Started (interactive mode).
Mar 18 19:11:18 wog ppp[39327]: tun0: Command: /dev/tty: term
Mar 18 19:11:18 wog ppp[39327]: tun0: Phase: bundle: Establish
Mar 18 19:11:18 wog ppp[39327]: tun0: Phase: deflink: closed -> opening
Mar 18 19:11:18 wog ppp[39327]: tun0: Phase: deflink: Connected!
Mar 18 19:11:18 wog ppp[39327]: tun0: Phase: deflink: opening -> carrier
Mar 18 19:11:19 wog ppp[39327]: tun0: Phase: deflink: /dev/cuaa0: CD
detected
Mar 18 19:11:19 wog ppp[39327]: tun0: Phase: deflink: carrier -> ready
Mar 18 19:11:25 wog ppp[39327]: tun0: Phase: deflink: ready -> carrier
Mar 18 19:11:25 wog ppp[39327]: tun0: Phase: deflink: carrier -> lcp
Mar 18 19:11:25 wog ppp[39327]: tun0: LCP: FSM: Using "deflink" as a
transport
Mar 18 19:11:25 wog ppp[39327]: tun0: LCP: deflink: State change Initial -->
Closed
Mar 18 19:11:25 wog ppp[39327]: tun0: LCP: deflink: State change Closed -->
Stopped
Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: deflink: LayerStart
Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: deflink: SendConfigReq(1) state =
Stopped
Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: ACFCOMP[2]
Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: PROTOCOMP[2]
Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: ACCMAP[6] 0x00000000
Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: MRU[4] 1500
Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: MAGICNUM[6] 0x7b6bc115
Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: deflink: State change Stopped -->
Req-Sent
Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: deflink: RecvConfigAck(1) state =
Req-Sent
Mar 18 19:11:26 wog ppp[39327]: tun0: LCP: deflink: State change
Req-Sent --> Ack-Rcvd



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001601c1cf24$3bdb13b0$0200000a>