On Wed, Aug 01, 2001 at 04:06:16PM +0530, Selvi wrote:
> In my office have RH7.1 with 128Kbps leased ISDN connectivity to our
> ISP. also squid proxy running on this server .In server&client side
> there is no problem .it is working fine.
>
> Now i need to configure Remote access service in our server. Our office
> staff wants to connect our server to browse internet from their home via
> modem. also i have installed modem in our server with permanent phone
> line .
>
> Please help me how to configure the above setup in RH7.1?
>
>
>
I assume you want to set up a pap authenticated connection to your server.
Also the people connecting have a browser on their local machines. You use
pppd and mgetty to do this.
In /etc/inttab you need a line like:
S0:2345:respawn:/sbin/mgetty -s 115200 /dev/ttyS0
where /dev/ttyS0 needs to be your seriel line. Might be /dev/ttyS1 in some
cases.
In /etc/ppp
you need a pap-secrets file whith the format:
client server secret IP addresses
where client is the name of an account; server can be *; secret is the passwd
sent by the client; and ipaddress is the ip address of the client. can be *
if multiple machines used to connect from.
In the same directory you need a options file like follows:
lock
-detach
asyncmap 0
proxyarp
+pap
crtscts
pap-timeout 30
pap-max-authreq 20
modem
<ip address of server>:
domain <domain of server>
In the /etc/mgetty+sendfax directory the login.config must have a line that
looks like this:
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug
the rest of the file can be the default.
Finally a mgetty.config file as follows:
---------------------------------------
#
# mgetty configuration file
#
# this is a sample configuration file, see mgetty.info for details
#
# comment lines start with a "#", empty lines are ignored
# ----- global section -----
#
# In this section, you put the global defaults, per-port stuff is below
# set the global debug level to "4" (default from policy.h)
debug 4
# set the local fax station id
fax-id 49 89 xxxxxxxx
# access the modem(s) with 19200 bps
#speed 115200
# use these options to make the /dev/tty-device owned by "uucp.uucp"
# and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!*
#port-owner uucp
#port-group uucp
#port-mode 0664
# use these options to make incoming faxes owned by "root.uucp"
# and mode "rw-r-----" (0640). *LEADING ZERO NEEDED!*
#fax-owner root
#fax-group uucp
#fax-mode 0640
# ----- port specific section -----
#
# Here you can put things that are valid only for one line, not the others
#
# Zoom V.FX 28.8, connected to ttyS0: don't do fax, less logging
#
port ttyS0
# debug 9
data-only y
speed 115200
modem-type data
init-chat "" ATS0=0 OK
# some other Rockwell modem, needs "switchbd 19200" to receive faxes
# properly (otherwise it will fail with "timeout").
#
#port ttyS1
# speed 19200
# switchbd 19200
# ZyXEL 2864, connected to ttyS1: maximum debugging, grab statistics
#
#port ttyS2
# debug 8
# init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK
# statistics-chat "" AT OK ATI2 OK
# statistics-file /tmp/statistics.2864
# modem-type cls2
# direct connection of a VT100 terminal which doesn't like DTR drops
#
#port ttyS3
# direct y
# speed 19200
# toggle-dtr n
I am sure I will here from someone if all this contains a mistake. The clients
must have a connection program (kppp in Red Hat) that supports pap
authentication.
--
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200
telephone: (210)-999-7484
email:[EMAIL PROTECTED]
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list