This page is a bit old. I recommend you look at my PPP patch page. The scripts there are set up to connect to a RAS server already.
Another note: I have not done any RAS callback. I will look into this soon. Check back soon :)
This is a relatively simple task, however the following information may make it even easier. I will assume you are administering the Linux end of the link, but this information may be helpful to both ends. As the PPP howto explains, there is some information you need to obtain regarding Phone Numbers, DNS hosts and IP addresses. I recommend you look at it first, then when you get stuck, read this.
Part 1... The easy bit
Use minicom or your favourite terminal program to dial the NT RAS Server. Once you have a connection you can proceed to Part 2. Make sure you can quit your terminal without resetting the modem.
Part 2... The harder bit
Setting up the /etc/ppp/options file may be a bit tricky. The important things to do are...
Make sure you do not have any of the following entries:
Make sure the RAS server will accept plain text passwords. You need this to use PAP authentication. This can be set by going to Control Panel -> Network -> Services -> Remote Access Service -> Properties. Select the modem or dial up device, go to Network -> Server Settings -> Encryption Settings and select "allow any authentication including plain text". Then hit OK, Save etc. to close it all.
Part 3... The hardest bit (without this document)
NOTE: If you use my pppd patch, you will not have to do this
in the /etc/ppp/pap-secretes file, add the following lines:
Note that you must escape the "\" character as "\\". then, back to the /etc/ppp/options file and add the following line:
depending what you put in the pap-secretes file.
Part 4... Another easy bit
Dial in to the server, like in step one, or using your custom script. Start ppp with the following line:
pppd 115200 /dev/cua1
or whatever your settings might be.
You may want to enable debug information if something does not work, but everything should.
Run "ifconfig" and you should see an entry for ppp0. If you do then you are cooking with gas. Restart pppd using the "defaultroute" option and start surfing the internet.
If you are still having trouble, or can't understand any of these instructions, drop me an e-mail
Written by John Newbigin. 25 September 1997
Last modified 26/02/01