PPP strangemess.
jimmie james
h2g2_jimmiejaz at yahoo.com
Tue Dec 9 22:33:53 PST 2003
(user/pass == XXXXXX throughout)
FreeBSD 4.9-STABLE #0: Mon Dec 8 05:01:19 EST 2003
root at fortytwo.daemon.sh:/usr/obj/usr/src/sys/FORTYTWO
Dec 7 14:40:18 fortytwo ppp[278]: tun0: LCP: TEXT
user-ppp 3.1 (built Nov 4 2
003)
My ISP, look.ca has a habit of dropping my PPP at
night (when no tech support is there, of course, not
that they can help), with "carrier lost" messages in
the logs (see below). Most times I can close tun0,
and redial. Quite often, I'll get:
fortytwo ppp[49859]: tun0: Warning: OpenSecret: Can't
open /etc/ppp/ppp.secret.
Which, from my understanding, is for incomming
connections. Correct? At this point, the only way
I've found to "reset" PPP is to reboot.
Does anyone know what's going on here? it's happened
with a 4.7, 4.8 and now the 4.9-STABLE system.
/etc/ppp/conf :
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
set device /dev/cuaa1
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T
TIMEOUT 40 CONNECT"
set timeout 0
set mru 1504
enable dns
disable lqr
disable mppe
disable ipv6cp
nat enable yes
l:
# set phone 4162335711
set phone 4166400481
set authname xxxxxx
set authkey xxxxxxx
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
0.0.0.0
add default HISADDR
from dmesg:
puc0: <US Robotics (3Com) 3CP5609 PCI 16550 Modem>
port 0xdff0-0xdff7 irq 10 at
device 11.0 on pci1
sio1: type 16550A
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
And relevent log:
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP: TEXT
user-ppp 3.1 (built Dec 8 2003)
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: Phase:
bundle: Authenticate
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: Phase:
deflink: his = PAP, mine = none
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: Phase: Pap
Output: XXXXXXX ********
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: RecvConfigNak(1), dropped (expected 2)
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: RecvConfigAck(254), dropped (expected 2)
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: RecvIdent(1) state = Opened
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: RecvIdent: magic 0xe93e1641 is wrong,
expecting 0xebec1200
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
MAGICNUM ebec1200
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP: TEXT
user-ppp 3.1 (built Dec 8 2003)
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: Phase: Pap
Input: REQUEST (XXXXXXX)
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: Warning:
OpenSecret: Can't open /etc/ppp/ppp.secret.
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: Phase: Pap
Output: FAILURE
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: LayerDown
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: SendTerminateReq(2) state = Opened
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: State change Opened --> Closing
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: Phase: Pap
Input: FAILURE (Login incorrect)
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: RecvTerminateReq(2) state = Closing
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: SendTerminateAck(2) state = Closing
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: RecvTerminateAck(2) state = Closing
Dec 9 02:02:30 fortytwo ppp[49883]: tun0: LCP:
deflink: LayerFinish
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
More information about the freebsd-questions
mailing list