Remote Access Server Overviews
RAS (Remote Access Server) is a system of communications services the remote computer. Is a connection from your computer to use Dialup Modem protocol PPP (Point-to-point Protocol) through a public telephone exchange network into the computer which may be Internet or Intranet-style has used this very popular service for Internet. ISP RAS, or equipment will be quite expensive. If take into account in a manner that is not business or work with no income or revenue, but it would not cost less ??? example, suppose that we have a LAN network Internet system is already working but would to run from home via a dialup modem it requires the services of RAS.
Because Linux is an operating system program that can be used as a RAS on linux, then come to call it PPP Server is a free program (Open Source) in both parts of the operating system and application of RAS.
We suppose that the network has the form below is the Internet is a Leased Line (In fact, is a Dialup Internet service is available the same) and will need to use the Internet from home. also Is done by removing a PC or Server to take a high performance. Linux operating system to install PPP Server and made to take the modem to a dialup modem or a V.90 V? Upon Number of the modem to use it, how many depends on the needs of With less than two could be required to have com port ??? or if more than 2 may be a modem with a USB or in addition to large number of modems may be using other cards that he called multiports. device is to have enough plugs on the card slot of the computer com port and then can expand to multiple ports.

Install PPP Server
Suppose that is installed in the hardware and install Linux OS on this already and I use RedHat 9.0 for explanation. Program that will act as a PPP Server mgetty is called in first to check we have to preview it and then install using the following command (I set the hostname is the name ForTest).
[root@ForTest root]#rpm -q mgetty
package mgetty is not installed
If a message is to package mgetty is not installed mgetty program show that it has not been installed. Mgetty program because it is in a 2 disc CD disc so it’s RedHat 9.0 CD, insert the disc 2 and disc mount CDROM using the command as follows:
[root@ForTest root]# mount /dev/cdrom
Then install the mgetty as follows:
[root @ ForTest root] # rpm-ivh / mnt/cdrom/RedHat/RPMS/mgetty-1 press [Tab] [Enter].
When installation finished checking package view as follows:
[root@ForTest root]#rpm -q mgetty
mgetty-1.1.30-2
If the program displays the name and version of the above shows that it installed successfully.
Config mgetty
1. Add the port to the modem by adding information to the end of the file in the file / etc / inittab vi program may have access or other programs as follows:
[root @ ForTest root] # vi / etc / inittab.
I press the button to insert text at the end of this file, use the modem 2 by adding the following text:
d1: 2345: respawn: / sbin / mgetty-D-s 57600 / dev/ttyS0.
d2: 2345: respawn: / sbin / mgetty-D-s 57600 / dev/ttyS1.
Then press Esc button then Oclon (:) key, then wq to save the data file.
2 Edit the file / etc / ppp / options. The original value is a lock to change the text as follows:
modem crtscts proxyarp lock.
ms-dns 192.168.1.5.
ms-dns 192.168.1.10.
The IP Address that follows is a ms-dns IP Address of the DNS to pay to dial into the machine.
3 Configure the IP Address to pay to dial into the machine.
Note: let’s say that this is a Network Card on a Linux IP Address is 192.168.1.1.
1 for the modem.
To create a file / etc/ppp/options.ttyS0 if the vi are as follows:
[root @ ForTest root] # vi / etc/ppp/options.ttyS0.
In the text file as follows:
# Server IP: Client IP.
192.168.1.1: 192.168.1.11.
Then to make a save file. This means that if the modem is first called into the IP Address will pay to get into the machine as follows:
IP Address: 192.168.1.11.
Gateway: 192.168.1.11.
Subnet mask: 255.255.255.255.
dns: the value in the 2nd
Modem for the 2nd
To create a file / etc/ppp/options.ttyS1 if the vi are as follows:
[root @ ForTest root] # vi / etc/ppp/options.ttyS1.
In the text file as follows:
# Server IP: Client IP.
192.168.1.1: 192.168.1.12.
Then to make a save file. Modem means that if the two would pay to get IP Address to a call to the following:
IP Address: 192.168.1.12.
Gateway: 192.168.1.12.
Subnet mask: 255.255.255.255.
dns: the value in the 2nd
4. Config modem answer the call. Need to solve the ?????? file / etc / mgetty + sendfax / login.config if vi is as follows:
[root @ ForTest root] # vi / etc / mgetty + sendfax / login.config.
To delete a page # is the following message out.
# / AutoPPP / – a_ppp / usr / sbin / pppd auth-chap + pap login debug.
Then save file.
5. Username set to work. To add to the information on file. / etc / ppp / pap-secrets. To use a Username that has built into the system from Adduser then put a “(quotation marks next) * IP Address to put a sample of the following
[root @ ForTest root] # vi / etc / ppp / pap-secrets.
Add the following to make:
# Secrets for authentication using PAP.
# Client server secret IP Address.
ksorn * “” *.
udorn * “” *.
To the user or system can use any user can enter is a *:
* * “*
Then the save file.
6.Reset Daemon using the following command:
[root @ ForTest root] # init q.
If not error is to rotate the trial Dail-up Modem.
RSS Feed
Twitter
Posted in
Tags: ![Validate my RSS feed [Valid RSS]](http://www.utilitiessoftware.org/image/valid-rss-rogers.png)
















