Hi all,

Iv'e install slackware 3.5 kernal 2.0.34. external motorola TA with static
ip connection.
Using minicom and exiting witout resetting, then issusing the command: 

pppd -d -detach /dev/ttyS1 115200 &

I can connect to my isp and ping whomever. However, When I exec pppd from
the command line using script files (pppscript, options, chap-secrets),
linux displays the following:

local: nnn.nnn.nnn.nnn -> remote: ddd.ddd.ddd.ddd ppp0

where nnn.nnn.nnn.nnn = my static ip
where ddd.ddd.ddd.ddd = isp dns server

The problem is that after the above message is displayed, the system does
not return the prompt, I must issue an ctrl-c to get the system prompt
back, where upon I lose the ppp connection.
The command I use is :

pppd /dev/ttyS1 115200 connect 'chat -v -f /etc/ppp/pppscript'

contents of /etc/ppp/pppscript

timeout 60
abort error
abort busy
abort "no carrier"
abort "no dialtone"
"" at%a98=s%a4=1%a2=95@b0=2
"atdt1234567"
timeout 75
connect

contents of /etc/ppp/options

-detach
defaultroute
modem
/dev/ttyS1
115200
crtscts
debug
asyncmap 0
name "user_name"

contents of /var/log/messages

pppd[157]:      pppd 2.2.0 started by root, uid 0
                timeout set to 60 seconds
                abort on (error)
                abort on (busy)
                abort on (no carrier)
                abort on (no dialtone)
                send (at%a98=s%a4=1%a2=95@b0=2^m)
                expect (ok)
                at%a98=s%a4=1%a2=95@b0=2^m^m
                ok -- got it
                send (atdt1234567^m)
                timeout set to 75 seconds
                expect (connect)
                ^m
                atdt1234567^m^m
                connect -- got it
                serial connection established
                using interface ppp0
                connect ppp0 <--> /dev/ttyS1
                remote message:
                local ip address nnn.nnn.nnn.nnn
                remote ip address ddd.ddd.ddd.ddd
                remote message:
                terminating on signal 2  (I used ctrl-c)
                connection terminated
                exit.

Any help,suggestions, direction is appricated.

thanks in advance
 







-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to