Solved

Win3.x ppp dialin to linux

Posted on 1997-06-04
5
340 Views
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 207.173.168.2
May 30 19:04:34 ns pppd[2239]: remote IP address 207.173.168.79
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 207.173.168.1

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

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

Expert Comment

by:egorov
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.

0
 
LVL 4

Expert Comment

by:unicorntech
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?
0
 
LVL 1

Author Comment

by:MikeCrist
ID: 1584803
Edited text of question
0
 
LVL 1

Author Comment

by:MikeCrist
ID: 1584804
Adjusted points to 218
0
 
LVL 4

Accepted Solution

by:
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
endproc

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 jason@onecall.com.au if you need this.

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

0

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 (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. 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