Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linux PPP Dial-up



>There are two things that are bothering me, and I was hoping someone from
>the Tokyo Linux Users Group could take me under their wing and help me out.

Welcome!  I hope you find the virtual community here helpful.

> and is there a file somewhere that tells you the name of each
> program and what it does?

man -k word

Will show you the man pages that are associated with "word".

>I can't seem to find the TCP/IP dial up PPP connection program.

You might look in /usr/lib/ppp, although I confess I don't know if
that is the conventional location.  I use a shell script that invokes
ppp using a small program called "chat."  chat does send/expect pairs
to dial/login, and then it passes control to ppp.  chat allows a bit
of conditional branching (like dealing with BUSY signals, but I haven't
bothered, since I'm always sitting at the keyboard when I fire it off).

You can also make the initial connection with some communications
programs (like Kermit), but I've had trouble using others (like
Minicom).

#!/bin/sh
#
#	ppp-cti
#
#	Set up a PPP link to Cyber Technologies
#

LOCKDIR=/usr/spool/uucp
DEVICE=ttyS0

if [ -f $LOCKDIR/LCK..$DEVICE ]
then
    echo "PPP device is locked"
    exit 1
fi

fix-cua $DEVICE
echo $DEVICE is fixed

pppd lock connect "chat -v '' ATZ OK \dATE0 OK \dATDP0332262961 \
    CONNECT '' name:--name: jwt word: YeahSure mand: p" \
    /dev/ttyS0 38400 -detach debug crtscts modem noipdefault defaultroute
-- 
Jim Tittsler, Tokyo  jwt@example.com
<URL:http://shrine.cyber.ad.jp/~jwt/>   Now with gratuitous Java enhancements!


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links