Hi,

I have previously send this answer to this and other list and only had positive
feedback. Hope  this helps:

Here's a quick run down from an article in Aust PC Mag Dec 98:
>
> Assuming your modem settings are correct.
>
> Edit your /etc/inittab file so it contains the following line (Modem
> connected to ttyS1 / COM2):
>
> S1:2345:respawn /sbin/mgetty ttyS1
>
> to restart init, type:
>
> init q
>
> Edit your /etc/mgetty+sendfax/login.config file to contain the line:
>
> /AutoPPP/ -    a_ppp   /usr/sbin/pppd auth -chap +pap login kdebug 7 debug
>
> instead of:
> /usr/sbin/pppd auth login
>
> Edit your /etc/ppp/pap-secrets file so it contains:
>
> *  *  ""  *
>
> You will also need to have a look at /etc/ppp/options and comment out any
> unwanted options. They are well described in the file itself or in the man
> pppd pages
>
> This is all you should have to do to make Linux answer your incoming modem
> calls.
>


David Bannon wrote:

> At 02:19 AM 27/07/1999 -0700, [EMAIL PROTECTED] wrote:
> >Hi,
> >
> >I would like to ask for the good and easy installation guide for PPP
> >Daileup Server. In fact, I refer the PPP-HOWTO document in the LDP, but
> >it seems to talk too much about ppp client setup. So, pls suggest any
> >link for me.
> >
>
> Andrew, this is a pretty much out of date set of notes. I set my system up
> some time in the middle of last year, its worked fine since then so I have
> had no reason to update the versions of PPP used. I believe that PPP has
> changed quite a lot since then. Maybe it will be of some help....
>
> David.
>
> Hi, I have posted this doc a couple of times before and people seem to have
> found it usefull. It is notes of how I set up MY dial in server, its not a
> general thing, translate things to suit your system, particulary IP NUMBERS !
>
> RH5.0 may be getting a little out of date, I have used 5.2 elsewhere, seems
> no different in the relevent parts.
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Setting up the PPP dial in services on RH 5.0 linux
> -----------------------------------------------------
> Doc : modems.txt
>
> get source for ppp-2.3.4 and mgetty, copy to /usr/local/src
> Tell pppd to put its binaries in /usr/local/sbin but must
> let it keep it's config files in /etc/ppp (hard wired).
>
> Need to edit ppp Makefile to send files to /usr/local/~
>         BINDIR /usr/local/sbin
>         MANDIR /usr/local/man
>         ETCDIR /etc/ppp
>
> cd /usr/local/src/ppp-2.3.4
>         ./config
>         make kernel
>         (now go and rebuild kernel :
>                 cd /usr/src/linux
>                 make dep
>                 make clean
>                 make boot       (may need to edit out bad define)
>                 copy new kernel to /boot (backup old first)
>         return to /usr/local/src/ppp-2.3.4
>         make
>         make install
>
> ++++++++ Make sure you don't use my ip numbers
> ++++++++ or all hell will break loose !
> [root@biotest ]# cd /etc/ppp
>         make options files that look like these :
>                 [root@bctest ppp]# cat options.ttyS0
>                 131.172.140.47:131.172.140.210
>                 [root@bctest ppp]# cat options.ttyS4
>                 131.172.140.47:131.172.140.214
>                 [root@bctest ppp]# cat options.ttyS5
>                 131.172.140.47:131.172.140.215
>                 [root@bctest ppp]# cat options.ttyS6
>                 131.172.140.47:131.172.140.216
>                 [root@bctest ppp]# cat options.ttyS7
>                 131.172.140.47:131.172.140.217
>                 [root@bctest ppp]# cat options
>                 asyncmap 0
>                 netmask 255.255.254.0
>                 proxyarp
>                 lock
>                 crtscts
>                 modem
>                 ms-dns 131.172.2.2
>                 ms-wins 131.172.140.1
>
>         to help with logging :
>         [root@bctest ppp]# cat ip-down.local
>                 #!/bin/bash
>
>                 base=`basename $2`
>
>                 echo -n $3 >> /var/log/pppd.$base
>                 echo -n '  ' >> /var/log/pppd.$base
>                 date +%H:%M >> /var/log/pppd.$base
>
>         Make it executable - chmod u+x ip-down.local
>         (make sure the other scripts are executable too)
>
> Compile mgetty
> cd /usr/local/src/mgetty-1.1.14
>         cp policy.h.dist policy.h
>
>         edit Makefile, ~ line 110, add -DAUTO_PPP
>                 CFLAGS=-O2 -Wall -pipe -DAUTO_PPP
>
>         make
>         make install
>
> cd /usr/local/etc/mgetty+sendfax
>         vi login.config and set the following :
>         /AutoPPP/ -     -       /usr/sbin/pppd auth -chap +pap
>                         [Line Continued] login proxyarp kdebug 0
>
>         Add a group called modem
>                 ie groupadd -g 800 modem
>
> cd /etc
>
> Add this to /etc/inittab, uncomment where req
>
> # ------------------------------------------------------
> # Modem lines 4-7 on multiport card, internal on Com2, S1.
>
> # s0:345:respawn:/usr/local/sbin/mgetty -D -x2 /dev/ttyS0
> s1:345:respawn:/usr/local/sbin/mgetty -D -x2 /dev/ttyS1
> s4:345:respawn:/usr/local/sbin/mgetty -D -x2 /dev/ttyS4
> s5:345:respawn:/usr/local/sbin/mgetty -D -x2 /dev/ttyS5
> s6:345:respawn:/usr/local/sbin/mgetty -D -x2 /dev/ttyS6
> s7:345:respawn:/usr/local/sbin/mgetty -D -x2 /dev/ttyS7
>
> vi /etc/sysconfig/network
>   set the following line :
>         FORWARD_IPV4=true
>
> Add to /etc/rc.d/rc.serial
>         ${SETSERIAL} -v  /dev/ttyS4 irq 5 autoconfig ${STD_FLAGS}
>         ${SETSERIAL} -v  /dev/ttyS5 irq 5 autoconfig ${STD_FLAGS}
>         ${SETSERIAL} -v  /dev/ttyS6 ${AUTO_IRQ} autoconfig ${STD_FLAGS}
>         ${SETSERIAL} -v  /dev/ttyS7 ${AUTO_IRQ} autoconfig ${STD_FLAGS}
>
> Note that the first two lines manually specify the IRQ and the second
> pair allow autoconfig. Both methods should work with the AST Fourport
> board.
>
> ---------------
> Create devices for the FourPort card to talk through if not already
> there.
>
>         [root@bctest /dev]# cd /dev
>         [root@bctest /dev]# ./MAKEDEV ttyS4
>         [root@bctest /dev]# ./MAKEDEV ttyS5
>         [root@bctest /dev]# ./MAKEDEV ttyS6
>         [root@bctest /dev]# ./MAKEDEV ttyS7
> And set their owners :
>         [root@bctest /dev]# chown uucp ttyS*
>         [root@bctest /dev]# chgrp modem ttyS*
>         [root@bctest /dev]#
> ------------------------------------------------------------------------
> A D D I N G   U S E R S
> -----------------------
>
>    As set up above, anyone with a valid users name / passwd can log on
>    and use the system. They do not need a valid shell. They do not need
>    to be a member of modemuser, that is just a convience.
>
>         Add a group called modemuser
>                 ie groupadd -g 801 modemuser
>
>         Add each user with a false shell, a member of modemuser
>                 /usr/sbin/addusr -s /bin/false -g modemuser -n <usr_name>
>
>         Each user will have a blank passwd, get them to type in a passwd using the
> passwd program while you, as root are logged in (if that suits ...)
> ------------------------------------------------------------
> David Bannon                      [EMAIL PROTECTED]
> School of Biochemistry            Phone 61 03 9479 2197
> La Trobe University, Plenty Rd,   Fax   61 03 9479 2467
> Bundoora, Vic, Australia, 3083    http://bioserve.latrobe.edu.au
> ------------------------------------------------------------
> ..... Humpty Dumpty was pushed !
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]


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

Reply via email to