Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using pppd dialinginto a WINS

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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.:
Suggested Courses

610 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