[clug] pppd annoyance

Duncan Roe duncan_roe at acslink.net.au
Wed Oct 15 09:16:26 EST 2003


On Tue, Oct 14, 2003 at 06:04:35PM +1000, ben wrote:
> Hi All,
> I've got a small problem with my dial up internet on a slackware 8.1 box.
> The modem is an acer surf 56k.
<snip>

Hi Ben,

I have the same modem.

It seemed to me when I got it that it wants an initial AT. Anyway, my script
(below) always works for me (line quality permitting).

Do you have the CD that came with the modem? It has full doco in pdf (sect 5 is
AT commands). Mail me off_list if you're missing that.

Do tell the list if you get FAX working - I can't get mgetty to do it (was fine
with my old 33.6 Maestro).

Cheers ... Duncan.

--- ~/runppp

#!/bin/sh
if [ -z "$1" ];then i=92814700;else i=$1;fi
cat>/home/dunc/chatfile<<////
ABORT BUSY
ABORT 'NO CARRIER'
ABORT 'DELAY NUMBER WAIT'
'' AT
OK AT
OK ATZ
TIMEOUT 120
OK \\d\\dATDT$i
CONNECT \\c
\\r \\d\\d\\c
SAY '\r\n'
////
echo `date` Running pppd... | tee -a ~/ppp.log > /dev/console
/usr/sbin/pppd ttyS0 115200 -detach
echo `date` ...exitted | tee -a ~/ppp.log > /dev/console



More information about the linux mailing list