Hi Jhun, Yes, Red Hat supports ppp very well, similar to that offered by Windows RAS, but with many more granular options.
1) install mgetty and ppp from your linux distribition 2) add the following entries in /etc/inittab (this assumes two modems - on ttyS0 (com1) and ttyS1 (com2) d1:345:respawn:/sbin/mgetty ttyS0 > /dev/nul d2:345:respawn:/sbin/mgetty ttyS1 > /dev/nul this will respawn mgetty if it dies. 3) edit /etc/mgetty+sendfax/login.config -- this should be the only line concerning AutoPPP (remember it is case sensitive -- AutoPPP) /AutoPPP/ - dialin /usr/sbin/pppd file /etc/ppp/dialin-options this line tells mgetty to execute the ppp daemon with options cotained in /etc/ppp/dialin-options 4) create /etc/ppp/dialin-options +chap asyncmap 0 10.1.1.254:10.1.1.1 ipcp-accept-remote #ipcp-accept-local ipparam dialin linkname dialin #kdebug 7 #debug logfile /var/log/ppp.dialin ms-dns 172.16.3.9 ms-wins 172.16.3.9 these are my options, some are remarked out, and you'll need to decide which ones you want and change ip addresses accordingly. check out the man page for pppd, it has all the options listed with their various meanings. 5) edit /etc/modules.conf and add the lines alias /dev/ppp ppp_generic alias char-major-108 ppp_generic alias tty-ldisc-3 ppp_async alias tty-ldisc-14 ppp_synctty alias ppp-compress-21 bsd_comp alias ppp-compress-24 ppp_deflate alias ppp-compress-26 ppp_deflate this should get the compression scheme right with the kernel screaming. 6) edit /etc/ppp/chap-secrets to include the usernames and passwords of dialin users. note that chap is more secure than pap -- my configuration includes only support for chap (the chap+) in dialin options. Reboot and give it a try. Voila! Cheers Christopher CUSE RHCE/CCNA [EMAIL PROTECTED] --nothing is too difficult once you completely understand it. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jhun Bacala Sent: Monday, March 24, 2003 10:05 AM To: [EMAIL PROTECTED] Subject: setting dial-in server Hi, I'm planning of putting up a dial-in server in our office. My purpose for this is for me to be able to dial-up to that server and be connected to our server. Just like RAS. Anybody here that guide me on how to set it up? I was planning of using Redhat 8.0. TIA Jhun Bacala -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list