Solved

How to setup PPP dial-in server

Posted on 2001-06-06
1
252 Views
Last Modified: 2010-03-18
How to setup pppd dial-in access server?
0
Comment
Question by:kennycpu
[X]
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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…

739 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