Click to See Complete Forum and Search --> : PPP dial-in problems
bduncan8
09-09-2002, 02:09 AM
I'm trying to set up a RedHat 7.0 box to allow dial-in internet access for a windows 2000 machine. The linux box has a dsl connection. I have read several of the how-to from different sites, I have the O'Reiley PPP book, and another one but still no success. When I dial it will connect, maybe a slip connection? I don't know it brings up the terminal window and I have access to the machine itself. I thought by setting the accounts default shell to ppp I wouldn't get this screen? Anyway, If I try and start ppp I get an soon saying "Error 619:The specified port is not connected." For two days I've been trying to get this straightened out, so today I booted up to Windows 2000 Server to set dial in access, and I am getting the Error message right after it says verifying username/password. Does anyone have any experience in this area. It might be more of windows issue? If so I am sorry ask it here, but I'm hoping someone has been through this before.
Thanks for any help!
janet loves bill
09-09-2002, 04:56 AM
What serial port is your modem linked to? If you have a hardware modem, don't use the Com ports. the Pci serial ports start ttyS4. try that.
jumpedintothefire
09-09-2002, 08:59 AM
Can you at least list what files you changed or what you tried to use to make the configuration change??
Could you post the different config files, sounds like the /ppp/chap-secrets file may be the problem. need to see /ppp/options /ppp/options.ttySn and the entry from /etc/inittab that controls the com port, if present. Any errors in /var/log/messages while the dialin is happening?
What options on the win2k box are you using??
bduncan8
09-09-2002, 04:37 PM
I have an external USR 56k plugged into the first serial port, COM1 in windows, using ttyS0 to reference this one.
I am using mgetty.
The entry I used in /etc/inittab is:
7:2345:respawn:/sbin/mgetty ttyS0 -D /dev/ttyS0
The config files I used for mgetty are mgetty.config and login.config
login.config has a autoPPP line that looks like this:
/AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.ttyS0
The /etc/ppp/options.ttyS0 file looks like this:
-detach
asyncmap 0
modem
crtscts
lock
refuse chap
require pap
login
proxyarp
:192.168.100.9
On the windows box I have tried both automatically recieve ip address and manually entering it, neither works out. Also the option to bring up a terminal window after dialing.
That's pretty much what I can remember changing... I hope it is enough info for someone to see a problem. Thanks for taking the time to respond and help a newbie out.
jumpedintothefire
09-09-2002, 05:32 PM
Is the modem answering the incoming call? If your getting a login prompt at the terminal window, that would be a good sign...
With auto ppp you need not have login working... win2k may need chap working or change the client to allow pap..... You do have a pap-secrets file??
try:
The /etc/ppp/options.ttyS0:
-detach
asyncmap 0
modem
crtscts
lock
auth
refuse chap
require pap
proxyarp
:192.168.100.9
Give it a spin....