Implement PPP Server under Red Hat Linux 7.0
Linuxaid.com.cn
Negative engineer
〖
Back to〗 Forward〗
Based on the installation of PPP Server under Red Hat Linux 7.0, 2 RPM packages are usually installed before erecting PPP Server. Mgetty-1.1.25-5.i386.rpmppp-2.3.11-7.i386.rpm Installation software package method: rpm -ivh mgett-1.1.25-5.i386.rpm rpm -ivh pp-2.3.11- 7.i386.rpm Note: If you don't install it, you may have the above 2 packages in the installation system, and install the specific conditions per computer. The system is not installed by default when installing the system. Modify the configuration file. (1) / etc / inittab Add the following statement in this configuration file. S0: 2345: Respawn: / sbin / mgetty -d / dev / TTYS0 Note: If your modem is installed on COM 1, the corresponding device name under Linux is TTYS0, COM 2's corresponding device name under Linux is TTYS1 Push it by secondary. (2) /etc/mgetty sendfax/login.config system The default is to note the following statement, remove the comment. / Autoppp / - a_ppp / usr / sbin / pppd auth -chap Pap login debug (3) /etc/mgetty sendfax/mgetty.config changes Speed 38400 to Speed 57600, system default is 38400 # Access Town Modem (s) With 38400 BPSSPEED 38400 (4) / etc / ppp / options Add the following statement UpdetachasyncMap 0ModemCRTSCTSLOCK10.160.0.1: 10.160.2.211 The IP address in front of this statement colon is the server, the back is dialing Computer IP Address MS-DNS 203.93.176.250 This statement is to set the DNS statement, and set the MS-DNS 203.93.18.1Proxyarp (5) / etc / ppp / pap-secrets to add the following in this configuration file according to the individual's needs. Statement * * "* This statement means that the computer can be brought to a computer that is filed anywhere Note: This configuration file is about the configuration file that is dial-in computer authentication, the system administrator can modify the IP address of this file. To limit the dial-in user, avoid unauthorized users illegally enter the company's network. (6) /etc/ppp/options.ttys0 This configuration file is empty