Solved

How to setup PPP dial-in server

Posted on 2001-06-06
1
244 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 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

21 Experts available now in Live!

Get 1:1 Help Now