You need to set up /etc/inittab so that the serial device
will answer will initiate the modem via mgetty or agetty. I
usually use mgetty. A line like this will initiate you
modem:
s0:2345:respawn:/sbin/mgetty -D /dev/ttyS1
Do a kill -HUP 1 to re-read file.
This would be for a device on serial 1.
Also need to set up /etc/mgetty+sendfax/login.config.
Un-comment the /AutoPPP/ line and take debug out later for
using pap style dialing. Then you need your /etc/ppp file
set up with the proper options. Usually you will want
login,lock,115200,crtscts,asyncmap 0,defaultroute
Also I use a options.ttyS1 for my serial port to point the
machine to a IP address to use on my network when it dials
in. Something like this:
192.168.1.254:192.168.1.4
192.168.1.254 being the dialup server address and
192.168.1.4 being an IP address that the dialin user will
have on the network machine.
Also need a pap-secrets file made up like this:
* * "" *
Note the spaces are tabs in the pap-secrets file. This
configuration will allow a windows box configured with
TCP/IP and an IP address matching the above (192.168.1.4) to
dial in. For a linux box dialing in place noauth in the
options file and that should work properly. If you get
errors use the debug as I am giving you this from memory and
may have left out or added an un-needed option.
Eddie Strohmier
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Ted Hilts
> Sent: Friday, January 26, 2001 12:13 AM
> To: [EMAIL PROTECTED]
> Subject: Dial Up to a Linux Box
>
>
> I've just downloaded Portslave (from the original
> Portslave site) and
> Radius (from Livingston ftp site). Apparently,
> once Portslave is up and
> running it will set up the hardware to detect a
> ring, and then respond
> by getting user ID and PASSWORD and service
> required, after which it
> will pass this information on to a Radius daemon
> (which is apparently
> supposed to activate the requested service like
> ftp, telnet, etc.).
> This is all new to me (setting up a dial up
> server operation). Before I
> get started I would like opinions regarding the
> best way to do this
> whole thing. Also, does anyone know about the
> hardware side of this
> whole thing and which hardware for this purpose
> will run on Linux. I am
> thinking of setting up an old compaq i486 DX66 as
> the server for this
> whole thing (in which case the I/O cards will
> probably be older (ISA)
> and maybe not available?). Anyone know anything
> at all about any of this
> stuff? I'm open to alternative solutions. Also
> if there are HOWTO's
> (covering the complete scenario) on this subject
> would someone be kind
> enough to point me in their direction.
>
> Thanks in advance.
>
> Bye-thanks_TED
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list