Win3.x ppp dialin to linux

Posted on 1997-06-04
Last Modified: 2010-03-17
I am trying ot setup a Linux dialin server.  I have properly configured the ports, pppd, usernames, shadow passwords, etc..Windows 95 can login and get to network just fine.  However, when win3.x users (every dialin software package)dial in, Linux acepts the password just fine, then disconnects (NO CARRIER).  My pppd log file (/var/log/daemon) looks like this for a win3.x user in trumpet:

May 30 19:04:31 ns pppd[2239]: pppd 2.2.0 started by root, uid 0
May 30 19:04:31 ns pppd[2239]: Using interface ppp9
May 30 19:04:31 ns pppd[2239]: Connect: ppp9 <--> /dev/ttyQ1a5
May 30 19:04:34 ns pppd[2239]: user ppptest logged in
May 30 19:04:34 ns pppd[2239]: local  IP address
May 30 19:04:34 ns pppd[2239]: remote IP address
May 30 19:04:34 ns pppd[2239]: found interface eth0 for proxy arp
May 30 19:42:46 ns pppd[2239]: Hangup (SIGHUP)
May 30 19:42:46 ns pppd[2239]: Modem hangup
May 30 19:42:46 ns pppd[2239]: Connection terminated.
May 30 19:42:46 ns pppd[2239]: Exit.

I have mgetty 1.0.0 running on an Equinox serial card (3.30), pppd 2.2.0f, kernel 2.0.30, Dual pentium, 98 MB RAM..  Where have I strayed?

pppd is invoked from mgetty.  In my inittab, I have the following entries:

# Run mgetty on Equinox ports
s0:2345:respawn:/usr/sbin/mgetty -x -D2 ttyQ1a1

And in login.config (for mgetty):
AutoPPP - - /sbin/pppd lock modem crtscts proxyarp

And for options (for pppd):
-detach dns-addr

And for options.ttyQ??? (for pppd, 1 for each port):

It works fine for Windows 95, but hangs up on Win3.x users.
Question by:MikeCrist
  • 2
  • 2

Expert Comment

ID: 1584801
>19:04:34 ns pppd[2239]: found interface eth0 for proxy arp
>19:42:46 ns pppd[2239]: Hangup (SIGHUP)

Looks like you do not have troubles - usual connect messages followed by SIGHUP after 40 minutes.


Expert Comment

ID: 1584802
How are you initiating pppd - is it a script that they have to start  remotely or have you automated it to start as soon as they log in?

Author Comment

ID: 1584803
Edited text of question

Author Comment

ID: 1584804
Adjusted points to 218

Accepted Solution

unicorntech earned 20 total points
ID: 1584805
For your win 3.11 clients set up an awk script to assign ip addresses and then use scripting on the clients end to initiate ppp. Eg - if they are using shiva or trumpet diallers you can enable a script such as -
proc main
delay 1
transmit $USERID
transmit "^M"
delay 1
transmit $PASSWORD
transmit "^M"
delay 1
transmit "xxx"
transmit "^M"
delay 1

where xxx=the name of an executable script on your server to initiate pppd in all its glory and with all its options.

If you need the awk scripting to enable this I would be happy to provide it via e-mail. Mail me at if you need this.

I am currently running a setup similar to yours and it works fine with this method,


Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now