On Fri, 11 Feb 2000, root wrote:
|I change ppp now I run pppd 2.3.10 and aparentli work ok but... for time
|to time about 8-15 min my connection it's down... and I don't change
|anythings in my ppp-up
If the connection sometimes goes down after about 8-15 minutes, but not
often, it could be the other end that drops it. It could be line noise
that fluctuates and causes the modem to drop the connection. It could be
a lot of things, maybe even the particular script you use.
|This is my ppp-up
|
|#!/bin/sh
|
|LOCAL_IP="192.168.0.3"
|REMOTE_IP="192.168.0.1"
|DTE=115200
|DEVICE=/dev/ttyS0
|
|(
| stty $DTE -tostop
| if /usr/sbin/chat-1.22 -t 50 "" ATZ CONNECT ""
| then
| /usr/sbin/pppd-2.3.10 $DEVICE $DTE $LOCAL_IP:$REMOTE_IP defaultroute nodetach
| exit 0
| else
| echo "" >/dev/null
| exit 1
| fi
|) < $DEVICE >$DEVICE
You should remove $DEVICE from the pppd command line when you also do
redirection to $DEVICE with `>' and `<'. This may be the source of the
text-on-the-serial-line problem. I'm not fond of this particular variety
of script, chat works better when it's launched as a part of the pppd
command line.
You can find two simple self-contained connection scripts, ppp-secrets.gz
and ppp-userlogin.gz, that include some explanatory text at
http://www.inetport.com/~kite/
They are written so as to be easily modified and are basically what I use
for ordinary PPP connections. If you can't access WWW then drop me a note
and I'll email them as attachments.
|Bouth modem is Curier Everithing and my ISP connect my modem into a CISCO
|2500 sistem.
Good equipment.
|Thank's for Your time and sorry for my english :)
It's a lot better than you would get from me if I had to use Romanian. :)
---
Clifford Kite Not a guru. (tm)
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]