Solved

How to setup PPP dial-in server

Posted on 2001-06-06
1
245 Views
Last Modified: 2010-03-18
How to setup pppd dial-in access server?
0
Comment
Question by:kennycpu
1 Comment
 
LVL 3

Accepted Solution

by:
superschlonz earned 50 total points
ID: 6165567
First edit /etc/ppp/options, I have the following lines in it:

-detach
lock
modem
crtscts
asyncmap 20A0000
escape FF
lcp-restart 11
lcp-max-terminate 12
<local IP>:<remote IP>
netmask 255.255.255.0
debug

All these options any many more can be found in the manual of pppd.
Perhaps you also want to use PAP or CHAP for authentication (then you should also set up /etc/ppp/pap-secrets
or /etc/ppp/chap-secrets).
Now you can test it:

/usr/sbin/pppd /dev/ttyS0 38400

If it works, then just add a line to /etc/inittab which looks like this, and it will run after next reboot:

mo:2345:respawn:/usr/sbin/pppd /dev/ttyS0 38400

The first field (mo) is just an identifier, the second (2345) are the runlevels in which pppd should run,
respawn means restart it if it stops, then the command follows: the absolute path to pppd, the device
and the baud rate.
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

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

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

932 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now