Date: Sat, 21 Nov 1998 11:14:10 +0300 (MSK) From: Dmitry Valdov <dv@dv.ru> To: Brian Somers <brian@Awfulhak.org> Cc: current@FreeBSD.ORG Subject: more info about ppp's problem Message-ID: <Pine.BSF.4.02A.9811211108380.641-100000@localhost>
next in thread | raw e-mail | index | archive | help
Hi!
There is additional info. PPP does correctly handle carrier lost, but it
DOESN'T down link sometimes. (Not too often). There is output from show
commands when it happens:
PPP ON home> show modem
Name: deflink
State: open, no carrier
Device: /dev/modem
Link Type: auto
Connect Count: 1
Physical outq: 0
Queued Packets: 0
Phone Number: 777777
Defaults:
Device List: /dev/modem
Characteristics: 57600bps, cs8, no parity, CTS/RTS on
Connect time: 894 secs
169662 octets in, 91098 octets out
overall 291 bytes/sec
currently 0 bytes/sec
peak 5928 bytes/sec on Sat Nov 21 10:53:02 1998
PPP ON home> show link
Name: deflink
State: open
CHAP Encryption: MD5
Peer name: None requested
Discriminator: Null Class
Defaults:
Phone List: 777777
Dial tries: 1, delay 3s/30s
Reconnect tries: 50, delay 1s
Callback requested: none
Dial Script: ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK
ATE0Q0S0=1 OK \dATDP\T TIMEOUT 40 CONNECT
Login Script: TIMEOUT 120 ogin:--ogin: mylogin word: ****** string:
123456 CONNECT
Hangup Script:
PPP ON home> show bundle
Phase Network
Title: ppp
Device: /dev/tun0
Interface: tun0 @ 57600bps
Defaults:
Label: pmdemand
Auth name:
Auto Load: Up after 0s of >= 0 packets
Down after 0s of <= 0 packets
not running with 0 packets queued
Choked Timer: 120s
Idle Timer: 300s (284s remaining)
MTU: unspecified
sendpipe: unspecified
recvpipe: unspecified
Sticky Routes: enabled
ID check: enabled
Loopback: enabled
PasswdAuth: disabled
Proxy: disabled
Proxyall: disabled
Throughput: enabled
Utmp Logging: enabled
Iface-Alias: disabled
PPP ON home>
PPP ON home> show iface
tun0 (idx 2) <UP,POINTOPOINT,RUNNING,MULTICAST> has 1 address:
195.98.33.65/24 -> 195.98.32.83
PPP ON home> show timers
IPCP throughput timer[0x8089994]: freq = 1.00s, next = 0.40s, state =
running
modem throughput timer[0x80a3040]: freq = 1.00s, next = 1.00s, state =
running
hdlc timer[0x80a5728]: freq = 60.00s, next = 32.40s, state = running
idle timer[0x808afe0]: freq = 300.00s, next = 293.10s, state = running
PPP ON home> show ipcp
IPCP [Opened]
His side: 195.98.32.83, 14 VJ slots without slot compression
My side: 195.98.33.65, 16 VJ slots with slot compression
Sticky routes:
add default HISADDR
Defaults:
My Address: 10.0.0.1/0 (trigger with 0.0.0.0)
VJ compression: enabled & accepted (16 slots with slot compression)
His Address: 10.0.0.2/0
DNS: 0.0.0.0, 0.0.0.0, enabled & denied
NetBIOS NS: 0.0.0.0, 0.0.0.0
Connect time: 959 secs
185774 octets in, 85372 octets out
overall 282 bytes/sec
currently 0 bytes/sec
peak 5891 bytes/sec on Sat Nov 21 10:53:02 1998
There is a parts of my config file:
default:
delete! default
set log Phase Chat LCP IPCP CCP tun command +debug
set server +3000 *****
set device /dev/modem
set speed 57600
set reconnect 1 50
set timeout 300
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE0Q0S0=1 OK \\dATDP\\T TIMEOUT 40 CONNECT"
pmdemand:
delete! default
set server +3000 *****
set phone 777777
set login "TIMEOUT 120 ogin:--ogin: mylogin word: ****** string: 123456
CONNECT"
set log +debug
set timeout 300
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
enable dns
Dmitry.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9811211108380.641-100000>
