Solved

How to setup PPP dial-in server

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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 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