Solved

How to setup PPP dial-in server

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

785 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