Jacob (Mettavihari)
On Fri, 16 Apr 1999, Ray Olszewski wrote:
> I am one of several people on this list who can probably help you with your
> setup. But to help, we need to know what you have tried and what problems
> you have encountered (and, for that matters, details like what your hardware
> is like, sepecially what modems you are using ... and, I suppose, if there
> is anything unusual about Sri Lanka's phone system when compared to systems
> in the US and Europe).
I am having 2 pentium 133MHz
Machine ONE Server
is installed and linked to the Net as a lan with the name metta.lk
It has a modem installed on serial port 2 (ttyS1)
The make of the modem on the internet side is Motorolla 28.8
I have configured the Server "metta.lk" as follows
1. Created an account ppp
and my passwd file is as follows
ppp:password:505:504:RHS Linux User:/home/ppp:/etc/ppp/ppplogin
2. created /etc/ppp/ppplogin
#!/bin/sh
# ppplogin - script to fire up pppd on login
mesg n
stty -echo
exec pppd -detach silent modem crtscts
Machine TWO Client
This also has a modem installed on serial port 2
the make of the modem on this machine is
Cigvc made in Taiwan madel SF-1133V/R speed 33.6
I have got the following script files installed
----------------
1 /etc/ppp/ppp-on
----------------
#!/bin/sh
# These are the parameters. Change as needed.
TELEPHONE=300703 # The telephone number for the connection
ACCOUNT=ppp # The account name for logon (as in 'George Burns')
PASSWORD=ppp9 # The password for this account (and 'Gracie Allen')
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.244 # The proper netmask if needed
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 38400 \
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
----------------
2. /etc/ppp/options
lock
----------------------
3. /etc/ppp/ppp-on-dialer
----------------------
#!/bin/sh
exec chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATDT$TELEPHONE \
CONNECT '' \
ogin:--ogin: $ACCOUNT \
assword: $PASSWORD
-------
I can dial up to another ISP using Minicom
but when I dial up to my own server I have no response.
# note the speed of the 2 modems is differnt.
A few word would be appriciated
Jacob
> So ... write again with some specifics and you wll probably get some help.
> >I am setting up 3 linux mail servers to provide free email in Sri
Lanka.
> >and would like to have a bit help with my dial up connection.
> >