?
Solved

Using pppd dialinginto a WINS

Posted on 1998-01-03
2
Medium Priority
?
351 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 570 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

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…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

765 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