VOGONS


First post, by seanneko

User metadata
Rank Newbie
Rank
Newbie

I'm trying to dial in from Windows for Workgroups 3.11 using Trumpet Winsock to my Windows 98 computer running the built-in Windows Dial Up Server.

I have 56k modems on both ends which successfully complete the handshake and connect at 33600 baud, so I don't think it's a hardware problem.

On the Windows 98 side, I've got the dial up server set to use PPP with otherwise default settings (blank password, require encrypted password, enable software compression). I've also tried setting a password and disabling the other two settings, but none of those things made any difference.

In Trumpet Winsock it's set to use the PPP driver with default dialing settings. I've configured the PPP options to try using all the different authentication options (PAP, CHAP, and neither). I've both given it the password specified on the Win98 side, and also tried a blank password. All these different settings gave the same result.

What it does after it completes the handshake is shown in the photo. It tries to log in for about 10 seconds, then gives up and hangs up the connection. For some reason it says "logging in as ..." even when I've configured it to use a username. Not sure if this is important since there's no username option on the Win98 side.

I've also tried changing the Win98 Dial Up Server to use "Windows NT 3.1" mode rather than PPP, whatever exactly that refers to. When it's configured like that, it immediately hangs up the call as soon as the handshake is completed. There doesn't appear to be any data exchanged. It doesn't matter whether I set Trumpet Winsock to PPP or SLIP, it just instantly hangs up.

Does anyone have any suggestions to get it working?

Attachments

Reply 1 of 10, by jakethompson1

User metadata
Rank Oldbie
Rank
Oldbie

It's possible that the Trumpet Winsock software is expecting the server to send a login: prompt rather than immediately speaking PPP. In fact, notice how your screenshot has "Script aborted" and then "PPP ENABLED" as if it's waiting for a login script to finish before speaking PPP. Can you see the contents of the script and whether you can edit it to immediately stop the script and speak PPP upon seeing CONNECT from the modem?

I actually don't have any experience with Trumpet Winsock. Internet Explorer 3.x for Win3.1 includes its own TCP/IP+PPP stack with Windows 95-like interfaces. Perhaps you might try that if you don't get this figured out.

You could also stop the dial up server and run HyperTerminal on the Windows 98 side, type ATA to answer when the line rings, and manually type in login: when the other side connects, and see if that makes it go haywire trying to log in.

Reply 2 of 10, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

I wasn't aware Windows 98 was supposed to be able to do that. Isn't the dial-up server literally only supposed to be for Windows Networking and not for whatever Trumpet is supposed to do? See for instance http://www.windowsnetworking.com/j_helmig/dunservr.htm .

I came across a link to https://gekk.info/articles/ppp.html on Twitter lately in the context of someone complaining that PPP is remarkably undocumented. See also https://gekk.info/articles/ras.html and https://gekk.info/articles/ata-dialup.html .

ETA: My Googling brings up Creating Your Own Dial-Up Connection At Home: No Line Simulators Needed! which suggests you will need additional software under Windows 98.

Reply 3 of 10, by jakethompson1

User metadata
Rank Oldbie
Rank
Oldbie

It may not work out of the box, but one way or another it should be able to be made to work. For example, it's possible to interconnect the Windows "Direct Cable Connection" utility with linux. In fact, I do assume the OP is choosing to use modems for some sentimental reason and already knows about null-modem cables.

Reply 4 of 10, by seanneko

User metadata
Rank Newbie
Rank
Newbie
jakethompson1 wrote on 2020-07-04, 21:34:

It's possible that the Trumpet Winsock software is expecting the server to send a login: prompt rather than immediately speaking PPP. In fact, notice how your screenshot has "Script aborted" and then "PPP ENABLED" as if it's waiting for a login script to finish before speaking PPP. Can you see the contents of the script and whether you can edit it to immediately stop the script and speak PPP upon seeing CONNECT from the modem?

I modified the script to comment out all the stuff to do with logging in. At first it didn't have any effect and it was still giving the same result as the screenshot in the first post. But interestingly after I dialed a few more times, it got past that stage and attempted to get an IP address from the server (although it still failed and disconnected). I wasn't able to reproduce this again. I dialed again multiple times and this never happened again. Maybe there's some sort of timing/race condition going on?

Edit: Actually, it has happened several times now. But it fails with same error every time.

You could also stop the dial up server and run HyperTerminal on the Windows 98 side, type ATA to answer when the line rings, and manually type in login: when the other side connects, and see if that makes it go haywire trying to log in.

I tried this, but when I type login: on the Win98 side, Trumpet Winsock does nothing. I see the login: string appear in the window but it otherwise just sits there silently and doesn't even appear to send any data back in response.

Attachments

Last edited by seanneko on 2020-07-05, 05:26. Edited 1 time in total.

Reply 5 of 10, by seanneko

User metadata
Rank Newbie
Rank
Newbie
Jorpho wrote on 2020-07-04, 23:15:

I wasn't aware Windows 98 was supposed to be able to do that. Isn't the dial-up server literally only supposed to be for Windows Networking and not for whatever Trumpet is supposed to do? See for instance http://www.windowsnetworking.com/j_helmig/dunservr.htm .

Honestly I'm not sure. I had the same thought myself. Maybe Windows 98 dial up server has some proprietary extension which doesn't work with other software. I'm just assuming/hoping it works since it claims to support PPP.

I'm not tied to Windows dial up server. I'm happy to use something else if anyone has any suggestions which will work. I just chose that one since it was there and (in theory) should work out of the box.

ETA: My Googling brings up Creating Your Own Dial-Up Connection At Home: No Line Simulators Needed! which suggests you will need additional software under Windows 98.

I believe that's to share an existing internet connection over the dial up server using NAT. Which actually is my goal here - however the first hurdle is to actually have them connect to each other in the first place. The setup in that link still uses the Windows dial up server for the dial up connection and the extra software to do the routing.

Reply 6 of 10, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
seanneko wrote on 2020-07-05, 05:21:

The setup in that link still uses the Windows dial up server for the dial up connection and the extra software to do the routing.

Well, yes, my thought is that perhaps Trumpet is expecting something to start routing somehow after it connects.

Reply 8 of 10, by darry

User metadata
Rank l33t++
Rank
l33t++

Actually found a link for Shiva PPP and IE 3.0
https://web.archive.org/web/19991114121943/ht … dlbas30f3x.html

EDIT: Seems rather small, but worth a try .
Otherwise see http://astrolog.offline.ee/linux/links.html
for other PPP options .
Try archive.org if links are dead .

EDIT2: More Microsoft dialer stuff for Windows 3.x , I think.
http://ftp.sunet.se/mirror/archive/ftp.sunet. … ternetExplorer/

Reply 9 of 10, by seanneko

User metadata
Rank Newbie
Rank
Newbie
darry wrote on 2020-07-05, 19:54:
Actually found a link for Shiva PPP and IE 3.0 https://web.archive.org/web/19991114121943/ht … dlbas30f3x.html […]
Show full quote

Actually found a link for Shiva PPP and IE 3.0
https://web.archive.org/web/19991114121943/ht … dlbas30f3x.html

EDIT: Seems rather small, but worth a try .
Otherwise see http://astrolog.offline.ee/linux/links.html
for other PPP options .
Try archive.org if links are dead .

EDIT2: More Microsoft dialer stuff for Windows 3.x , I think.
http://ftp.sunet.se/mirror/archive/ftp.sunet. … ternetExplorer/

Awesome, that does work. The smaller 1MB file is corrupt, but the larger one from the third link works. For anyone else who might be playing along, leave the username and password blank in the IE3 dialer, and untick "require encrypted password" on the Win98 side.

I'd still like to get Trumpet Winsock working for nostalgia reasons (it's how I used the internet for many years), but this helps with diagnostics. Maybe I need to get something like Wireshark on there to see what's actually going over the wire and how the two programs differ.