Re: DIP to PPP ?
> // Begin ZetnetPPP.Dip \\
> #!/usr/sbin/dip
>
> netmask 255.255.255.0
> get $mtu 1006
> get $remote 194.73.161.1
> port modem
> speed 38400
> parity N
> databits 8
> stopbits 1
> flush
> send \r\n\r\n
> send ATZ\r
> wait OK 2
>
> send atdt0345573793\r
> flush
> wait CONNECT 60
>
> sleep 3
> wait login 10
> send ZETppp\r
> wait ame 5
> send Christopher Bond\r
> wait umber 3
> send 1234-567-89\r100001\rpassword\r
>
> default
> mode PPP
The /etc/ppp/options should be something like this:
# /etc/ppp/options
/dev/cua0 <- take here your real modem device
38400
connect "/usr/sbin/chat -v -f /etc/ppp/chatscript"
asyncmap 0
crtscts <- for hardware flow control
defaultroute <- if remote host is your default route
modem
netmask 255.255.255.0
noipdefault <- for dynamic ip address
mtu 1006 <- not necessary usually but it is in your dip file
# Next two options for detecting a disconnection
lcp-echo-interval 30
lcp-echo-failure 4
Change it to your own modem device and take out the comments (<- ...).
The /etc/ppp/chatscript:
ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
"" ATZ
OK ATDT0345573793
CONNECT ""
login ZETppp\r
ame Christopher Bond\r
umber 1234-567-89\r100001\rpassword\r
The last string on the right side should fire up ppp on the other side.
I hope this helps ! If you still have problems mail me !
Greetings,
Christian
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: