Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Win3.x ppp dialin to linux

Posted on 1997-06-04
5
Medium Priority
?
350 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
[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
  • 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 40 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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

721 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