Solved

Using pppd dialinginto a WINS

Posted on 1998-01-03
2
347 Views
Last Modified: 2010-05-18
Dialing into sprint.ca, I don't get a username or password prompt.  Using Windows95, I place my username & password in the dial-up box, I do not have to configure my "Dial-up" connection with any IP addresses OR use any scripting.  Sprint says they are using Windows95/NT for ther server?!

Has anyone figured out how to make pppd work with this type of a dial in?  Sprint somehow gets my username and password from the Win95 dialup box, without scripts!?  Alas in Linux, it seems to connect, jump into ppp and the connection hangs up.
0
Comment
Question by:riki
2 Comments
 
LVL 1

Accepted Solution

by:
abidn earned 190 total points
ID: 1635138
NT Server uses PAP (also, CHAP, etc.) security which your Win95's dialup networking knows how to deal with. PPPD needs to be helped a little bit. Here is how:

1. goto /etc/ppp directory and edit pap-secrets file to include your user name & password assigned by Sprint (also give Sprint a name). By the way, if the file is not there, create one.
2. Use pppd with following command line options:
crtscts defaultroute lock remotename sprint
(in above line, replace "sprint" with whatever name you gave them in your pap-secrets file)

This should let you connect.

Optional But Recommended: I am afraid you will have to tell your linux box to use domain name server which sprint uses/has. You could edit your /etc/resolv.conf file and add those DNS IP's. The trouble with this approach is that when you are not using sprint, your name searches may be a bit slow (because your resolver will try to connect to sprint's DNS IP which will not be reachable). Solution is a bit involved & merits reading HOWTO's. However, for the time being you can hard code Sprint's DNS IP's in your resolv.conf file.

Hope above helps.

tks -an.


0
 

Author Comment

by:riki
ID: 1635139
This answer got me on the right track, but if did not resolve my problem solely on this answer, it took a download of a more recent PPP-HOWTO.gz than I had, and this answer to finally solve the problem.  Thanks, I can now access my ISP using PAP.  Easier than using "normal" loging prompting!! :)

Failed to mention: name <loginname> in /etc/ppp/options file
Could have mentioned: pap-secrets format.

Thank-you again, I'm on the net via Linux.........
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

856 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