Remote access server

Posted on 2003-02-21
Medium Priority
Last Modified: 2010-04-20
Hi all

could anyone guide me in the right direction for information on setting up a dial in server for approx 80 users.I am new to linux and need a good easy to digest piece of litrature.
I'm running redhat 8 and want to allow access to a database of info over a leased line to home users.
any info would be greatly appreciated.

Question by:justcoin
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

XoF earned 200 total points
ID: 7996711
Hi justcoin,

you'll need the ppp-daemon pppd and for example mgetty which listens on the serial port and takes incoming calls.

for configuring mgetty locate its configuration directory (In case of SuSE it should be /etc/mgetty+sendfax; I don't know if that's the place for RH too)
edit/create mgetty.config:

debug 4
speed 115200
port-owner root
port-group uucp
port-mode 0660

then edit/create login.config:

/AutoPPP/       -       a_ppp   /usr/sbin/pppd file /etc/ppp/options.server

that's been all for mgetty; now locate the pppd-configuration directory, most likely it is /etc/ppp

edit/create options.server:
##------ begin

## Use only one of the following two options
## only if remote system shall set your ipaddress
## alternatively if you want to set local and remote IP:

##------ end

edit/create pap-secrets:

"<login-name>"        *       "<passwd>"      *

that should be all.
Now you have to start mgetty via
/usr/sbin/mgetty -x 1 -D -s 115200 -m '"" AT-M1X0 OK \c' /dev/ttySx

whereby ttySx is ttyS0 for com1, ttyS1 for com2....
The AT-commands might differ for your modem, it's the command for taking the call

alternatively, for not having to run mgetty manually you could start it automatically within your inittab, which should look like this:

mo:235:respawn:/usr/sbin/mgetty -x 1 -D -s 115200 -m '"" AT-M1X0 OK \c' /dev/ttySx

for further information take a look on "man ppp" and "man mgetty"



Author Comment

ID: 8007598
Thanks XoF

good info.
will this work for an adsl connection if i replace com1 for eth0? I will set up a leased line for this and get a static ip. do you know of any similar setups?

thanks again

Expert Comment

ID: 8010186
Nope, you won't be able to setup a dialin server using dsl, since dsl is not connection oriented. dialin only works with modems or ISDN adapters, dialing into a dsl line is physically impossible.

what exactly do you want to achieve? Perhaps a simple ssh setup will we a solution?


Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question