Link to home
Start Free TrialLog in
Avatar of bbrowder
bbrowder

asked on

Creating Dial-Up Accounts

Greetings,
  I am relatively new to Linux and have had the burden of creating my company's web server. I've found numerous HOWTOs which have helped tremendously as far as IP-Masq, setting up serial lines, and PPP go. Yet I have not found one document that explains how to create dail-up accounts for users. Am I missing the obvious here?
  Thank you in advance.
  Bryan
Avatar of mlev
mlev

Serial-HOWTO explains how it can be done.
ASKER CERTIFIED SOLUTION
Avatar of sauron
sauron

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bbrowder

ASKER

OK, thank you. That worked nicely. I'm still having trouble, though. I am dialing in from Windows95 using the dial-up networking "feature". I have the server type set to "PPP:Windows 95,Windows NT 3.5,Internet". When I dial in to the Linux box I eventually get a message informing me that a proper set of protocols could not be established, or some such nonsense.
  Perhaps I should provide a little more info. The goal I'm seeking is to use Win95 dial-up networking to call the Linux box and establish a good PPP connection (Just like I do when I dial-up my ISP). Then I want to bring up Netscape, type in the URL of the test page on the Linux box and view it. When the Pipeline is activated I will need it to see any URL with a valid DNS entry. I have poured through so many HOWTOs I think that I should go blind if I read another one. I have had little success following them.
  Thank you in advance.
 
This is usually some sort of authentication screw up with win95.

Try the following. Set up a dial up networking connection in Win95, and then go into it's properties. Check the box for 'bring up terminal window after dialing.' What you should then see is a black terminal window pop up on the win95 box, after the modems have negotiated. You should get a login prompt in this window, through which you can login to your linux box. After having logged in, you need to type something to start PPP off for you.

At the moment, you have a getty running, which will just give you a login to a shell account, nothing more. You want a PPP link, and IP routing done for you on the Linux box. So, you can log in through a terminal window, start PPP, then close the terminal window - at this stage there will be PPP on the Linux end, and win95 should successfully connect. When you've got this to work, you can change the account on the linux box, so it runs pppd instead of a shell, and then script the connection on the Win95 end. This should make it all seamless.

Possibly a better solution (though I confess to being unsure about this one) is to specify pppd in your /etc/inittab, instead of a getty, to run on the appropriate serial port. If you set this up right, I imagine you could get PAP or CHAP authentication going for the remote clients. The PPP HOWTO has some info on setting up a PPP server. The first method may be simpler for you at this stage though....

Good luck.