Solved

Using pppd dialinginto a WINS

Posted on 1998-01-03
2
349 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
[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
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

691 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