Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 17:04:39 +0400
From:      "Igor B. Bykhalo" <goshik@binep.ac.ru>
To:        "FreeBSD Questions" <freebsd-questions@FreeBSD.org>
Subject:   user ppp dial-in troubles
Message-ID:  <03d901c1429d$fb09b2a0$ea2ce9c1@binep.ac.ru>

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

I'm trying to setup user-ppp on FreeBSD-4.4-Release
to accept incoming calls. Modem is external.

Situation: modems connect, but after that nothing happens,
i.e. there is nothing in /var/log/ppp.log, after some
time disconnection happens.

Only log I have is from W95 machine:
09-21-2001 13:33:31.40 - Microsoft Dial Up Adapter log opened.
09-21-2001 13:33:31.40 - Server type is  PPP (Point to Point Protocol).
09-21-2001 13:33:31.40 - FSA : Adding Control Protocol 80fd (CCP) to control protocol chain.
09-21-2001 13:33:31.40 - FSA : Protocol not bound - skipping control protocol 803f (NBFCP).
09-21-2001 13:33:31.40 - FSA : Adding Control Protocol 8021 (IPCP) to control protocol chain.
09-21-2001 13:33:31.40 - FSA : Protocol not bound - skipping control protocol 802b (IPXCP).
09-21-2001 13:33:31.40 - FSA : Adding Control Protocol c029 (CallbackCP) to control protocol chain.
09-21-2001 13:33:31.40 - FSA : Adding Control Protocol c027 (no description) to control protocol chain.
09-21-2001 13:33:31.40 - FSA : Adding Control Protocol c023 (PAP) to control protocol chain.
09-21-2001 13:33:31.40 - FSA : Adding Control Protocol c223 (CHAP) to control protocol chain.
09-21-2001 13:33:31.40 - FSA : Adding Control Protocol c021 (LCP) to control protocol chain.
09-21-2001 13:33:31.40 - LCP : Callback negotiation enabled.
09-21-2001 13:33:31.40 - LCP : Layer started.
09-21-2001 13:33:31.40 - PPP : Transmitting Control Packet of length: 25
09-21-2001 13:33:31.40 - Data 0000: c0 21 01 01 00 17 02 06 | .!.....
09-21-2001 13:33:31.40 - Data 0008: 00 0a 00 00 05 06 00 12 | ........
09-21-2001 13:33:31.40 - Data 0010: d6 32 07 02 08 02 0d 03 | .2......
09-21-2001 13:33:31.40 - Data 0018: 06 00 00 00 00 00 00 00 | ........
09-21-2001 13:33:34.42 - PPP : Transmitting Control Packet of length: 25
09-21-2001 13:33:34.42 - Data 0000: c0 21 01 02 00 17 02 06 | .!.....
09-21-2001 13:33:34.42 - Data 0008: 00 0a 00 00 05 06 00 12 | ........
09-21-2001 13:33:34.42 - Data 0010: d6 32 07 02 08 02 0d 03 | .2......
09-21-2001 13:33:34.42 - Data 0018: 06 00 00 00 00 00 00 00 | ........
09-21-2001 13:33:37.43 - PPP : Transmitting Control Packet of length: 25
09-21-2001 13:33:37.43 - Data 0000: c0 21 01 03 00 17 02 06 | .!.....
09-21-2001 13:33:37.43 - Data 0008: 00 0a 00 00 05 06 00 12 | ........
09-21-2001 13:33:37.43 - Data 0010: d6 32 07 02 08 02 0d 03 | .2......
09-21-2001 13:33:37.43 - Data 0018: 06 00 00 00 00 00 00 00 | ........
09-21-2001 13:33:40.44 - PPP : Transmitting Control Packet of length: 25
09-21-2001 13:33:40.44 - Data 0000: c0 21 01 04 00 17 02 06 | .!.....
09-21-2001 13:33:40.44 - Data 0008: 00 0a 00 00 05 06 00 12 | ........
09-21-2001 13:33:40.44 - Data 0010: d6 32 07 02 08 02 0d 03 | .2......
09-21-2001 13:33:40.44 - Data 0018: 06 00 00 00 00 00 00 00 | ........
09-21-2001 13:33:43.43 - PPP : Transmitting Control Packet of length: 22
09-21-2001 13:33:43.43 - Data 0000: c0 21 01 05 00 14 02 06 | .!......
09-21-2001 13:33:43.43 - Data 0008: 00 0a 00 00 05 06 00 12 | ........
09-21-2001 13:33:43.43 - Data 0010: d6 32 07 02 08 02 00 00 | .2......
09-21-2001 13:33:46.44 - PPP : Transmitting Control Packet of length: 22
09-21-2001 13:33:46.44 - Data 0000: c0 21 01 06 00 14 02 06 | .!......
09-21-2001 13:33:46.44 - Data 0008: 00 0a 00 00 05 06 00 12 | ........
09-21-2001 13:33:46.44 - Data 0010: d6 32 07 02 08 02 00 00 | .2......
09-21-2001 13:33:49.45 - PPP : Transmitting Control Packet of length: 22
09-21-2001 13:33:49.45 - Data 0000: c0 21 01 07 00 14 02 06 | .!......
09-21-2001 13:33:49.45 - Data 0008: 00 0a 00 00 05 06 00 12 | ........
09-21-2001 13:33:49.45 - Data 0010: d6 32 07 02 08 02 00 00 | .2......
09-21-2001 13:33:52.45 - PPP : Transmitting Control Packet of length: 22
09-21-2001 13:33:52.45 - Data 0000: c0 21 01 08 00 14 02 06 | .!......
09-21-2001 13:33:52.45 - Data 0008: 00 0a 00 00 05 06 00 12 | ........
09-21-2001 13:33:52.45 - Data 0010: d6 32 07 02 08 02 00 00 | .2......
09-21-2001 13:33:55.46 - PPP : Transmitting Control Packet of length: 22
09-21-2001 13:33:55.46 - Data 0000: c0 21 01 09 00 14 02 06 | .!......
09-21-2001 13:33:55.46 - Data 0008: 00 0a 00 00 05 06 00 12 | ........
09-21-2001 13:33:55.46 - Data 0010: d6 32 07 02 08 02 00 00 | .2......
09-21-2001 13:33:58.47 - PPP : Transmitting Control Packet of length: 22
09-21-2001 13:33:58.47 - Data 0000: c0 21 01 0a 00 14 02 06 | .!......
09-21-2001 13:33:58.47 - Data 0008: 00 0a 00 00 05 06 00 12 | ........
09-21-2001 13:33:58.47 - Data 0010: d6 32 07 02 08 02 00 00 | .2......
09-21-2001 13:34:01.47 - LCP : Layer finished.
09-21-2001 13:34:06.51 - Remote access driver is shutting down.
09-21-2001 13:34:06.51 - CRC Errors             0
09-21-2001 13:34:06.51 - Timeout Errors         0
09-21-2001 13:34:06.51 - Alignment Errors       0
09-21-2001 13:34:06.51 - Overrun Errors         0
09-21-2001 13:34:06.51 - Framing Errors         0
09-21-2001 13:34:06.51 - Buffer Overrun Errors  0
09-21-2001 13:34:06.51 - Incomplete Packets     0
09-21-2001 13:34:06.51 - Bytes Received         65
09-21-2001 13:34:06.51 - Bytes Transmittted     497
09-21-2001 13:34:06.51 - Frames Received        0
09-21-2001 13:34:06.51 - Frames Transmitted     10
09-21-2001 13:34:06.51 - LCP : Layer started.
09-21-2001 13:34:06.51 - Microsoft Dial Up Adapter log closed.

Sorry for whrapping, it's MSOE :(

Somebody has ideas, what's happening?
The trickiest part is that there is absolutely nothing
in logs.
Any hints willbe greatly appreciated.

Following are my config files:

/etc/ppp/ppp.conf:
---8<---
default:
 set log Phase Chat LCP IPCP CCP LQM TUN +Command +Connect

# set server /var/tmp/internet MySecretPassword 0177
#    set server 6670 MySecretpassword

ttyd3:
 set device /dev/ttyd3
 set speed 115200
# enable chap
 enable pap
 enable passwdauth
 enable dns
 enable proxy
 set ifaddr a.b.c.214 a.b.c.215 255.255.255.224
 allow users user1 user2
---8<---

/usr/local/bin/ppplogin:
---8<---
#! /bin/sh
TTY=`tty`
IDENT=`basename $TTY`
exec /usr/sbin/ppp -direct $IDENT
---8<---

/etc/ppp/ppp.secret:
---8<---
user1      *            193.233.44.215
user2      *            193.233.44.215
---8<---


TIA,
Igor



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?03d901c1429d$fb09b2a0$ea2ce9c1>