PPP-in setup

PPP-in setup

Post by toby » Wed, 07 Jul 1999 04:00:00



The HOWTO:

http://metalab.unc.edu/LDP/HOWTO/PPP-HOWTO.html

Toby


> I need help to set up a dial in account on my RH6.0 box. Can someone
> help me here?

> thanks
> Kaushik

 
 
 

PPP-in setup

Post by Ian Brig » Wed, 07 Jul 1999 04:00:00


:I need help to set up a dial in account on my RH6.0 box. Can someone
:help me here?

You might find Bill Unruh's "How to hook up PPP" helpful -- at
http://axion.physics.ubc.ca/ppp-linux.html .

Good luck.

Ian

 
 
 

PPP-in setup

Post by Leonard Even » Thu, 08 Jul 1999 04:00:00



> I need help to set up a dial in account on my RH6.0 box. Can someone
> help me here?

> thanks
> Kaushik

Unfortunately, the steps described in the HOWTOs don't always work.
In principle,  you can do it using linuxconf, and it is supposed to be
straightforward, but again it doesn't usually work.  What works for
me is to use my own scripts and then to chmod everything being
used, particularly /usr/sbin/pppd to setuid and also to chmod
/dev/ttyS1 (or whatever device the modem is on) to be readable
and writable by everyone.    Here are scripts which work for me
and my colleagues, but you would have to modify them for use
with your ISP.   I put these scripts in /usr/local/bin.   The Xs
should be filled in appropriately

ppp-on:

#!/bin/sh

# Script to initiate a ppp connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command.  However, it is simple.

# These are the parameters. Change as needed.
TELEPHONE=XXX-XXXX      # The telephone number for the connection
ACCOUNT=XXX             # The account name for logon
PASSWORD='XXXXXX'       # The password for this account
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.0   # The proper netmask if needed

# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD

# This is the location of the script which dials the phone and logs
# in.  Please use the absolute file name as the $PATH variable is not
# used on the connect option.  (To do so on a 'root' account would be
# a security hole so don't ask.)

DIALER_SCRIPT=/usr/local/bin/ppp-on-dialer
# Initiate the connection

# I put most of the common options on this command. Please, don't
# forget the 'lock' option or some programs such as mgetty will not
# work. The asyncmap and escape will permit the PPP link to work with
# a telnet or rlogin connection. You are welcome to make any changes
# as desired. Don't use the 'defaultroute' option if you currently
# have a default route to an ethernet gateway.

exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS1 115200\
        asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
        noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT

ppp-on-dialer:

#!/bin/sh

# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.

exec /usr/sbin/chat -v -s -S            \
        TIMEOUT         3                               \
        ABORT           '\nBUSY\r'                      \
        ABORT           '\nNO ANSWER\r'                 \
        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
        ''              'AT'                            \
        'OK-+++\c-OK'   ATH0                            \
        TIMEOUT         30                              \
        OK              ATDT$TELEPHONE                  \
        CONNECT         '\r'                            \
        sername:        $ACCOUNT                        \
        assword:        $PASSWORD                       \
        '>'             PPP

--


Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

 
 
 

1. setup.ins error when installing OO in 5.0-REL

I just recently compiled OpenOffice 1.0.2 from ports (vs the package because I
want WITH_TTF_BYTECODE_ENABLED). The make worked fine, but when I do a make
install-user, I get the error about not being able to find setup.ins in
/usr/local/OpenOffice.org1.0/program/. I searched for this error but all the
info I found was old, regarding manual patches (which probably don't work
anymore with current versions) and stuff about it appearing if you're using a
FreeBSD older than 4.6 and to upgrade.

Any idea why this message would be occuring with 5.0-REL?

2. secure telnet from dos box to linux box

3. PPP dial-ins refused, OSR-5 with net100

4. MICRO$OFT & free ads

5. concurrent ppp dial-ins

6. Ownership, group changes

7. IP Accounting doesn't work for PPP dial-ins :-(( ??

8. Turn off autologout on Tcsh?

9. ppp setup on 1.2.X / printer setup

10. PPP: RH 5.0 - netcfg broke working ppp setup...

11. user-ppp and kernel-ppp setup example

12. PPP and PPP and PPP and PPP and PPP and HEADACHE

13. Demand dialed PPP (was Re: FOLLOWUP: PPP client setup help)