Networking Under MS-DOS

User avatar
thera34
Posts: 132
Joined: Fri Sep 11, 2020 7:51 am
Has thanked: 96 times
Been thanked: 89 times

Re: Networking Under MS-DOS

Unread post by thera34 »

thera34 wrote: Wed May 03, 2023 8:27 am
  1. ChatGPT DOS client - works perfect on both ao486 and PC XT, it also requires an external proxy (for convenience I used a RaspberryPI) to process SSL
    Where to get it and instructions (also for setting up a proxy): https://github.com/yeokm1/doschgpt
    Discord discussion/pics/other links: https://discord.com/channels/6479093974 ... 0785183864
    Note - working on getting that HTTP-to-HTTPS proxy to work on DE10-Nano's ARM

The http-to-https proxy from same author of DOS ChatGPT (https://github.com/yeokm1/http-to-https ... -linux-arm) can be ran on the ARM side of MiSTer, so no more use of an external machine. Copy it in a folder of preference (I used /meadia/fat/Scripts/), edit doschgpt.ini to point to MiSTer's ARM IP address (in my case is 192.168.100.25 while the core's PPP is ofc .254) and that's it:

Attachments
gpt proxy.JPG
gpt proxy.JPG (98.5 KiB) Viewed 3218 times
20231202_084414-screen.png
20231202_084414-screen.png (54.21 KiB) Viewed 3218 times
User avatar
thera34
Posts: 132
Joined: Fri Sep 11, 2020 7:51 am
Has thanked: 96 times
Been thanked: 89 times

Re: Networking Under MS-DOS

Unread post by thera34 »

SSH and SFTP work as well under MS-DOS using the latest fork of SSh2DOS client from here: https://github.com/AnttiTakala/SSH2DOS/releases
Copy it to your DOS VHD, edit the included wattcp.cfg file to reflect your core's PPP IP/netmask/DNS/gateway.

Attachments
20231202_105856-screen.png
20231202_105856-screen.png (56.51 KiB) Viewed 3199 times
20231202_103835-screen.png
20231202_103835-screen.png (101.33 KiB) Viewed 3199 times
AmintaMister
Posts: 313
Joined: Thu Sep 16, 2021 10:54 pm
Has thanked: 840 times
Been thanked: 51 times

Re: Networking Under MS-DOS

Unread post by AmintaMister »

Hi!

I've followed all the instructions, but pinging google.com (or other servers) I get: "error resolving server name".

Sequence:

Code: Select all

C:\>epppdd com1 115200 local
sifaddr pppO: local 192.168.1.254, remote 192.168.1.90, netmask 255.255.255.0.
Installed packet driver handler at vector 0x60.

Code: Select all

C:\>ping google.com
mTCP Ping by M Brutman (mbbrutman@gmail.com) (C)opyright 2009-2023
Version: Mar 31 2023
Error resolving server name: google.com

mtcp.cfg:

Code: Select all

SET MTCPSLIP=true
MTU 1500
PACKETINT 0x60
HOSTNAME ao486
IPADDR 192.168.1.251
NETMASK 255.255.255.0
GATEWAY 192.168.1.1
NAMESERVER 8.8.8.8
LEASE_TIME 86400
AmintaMister
Posts: 313
Joined: Thu Sep 16, 2021 10:54 pm
Has thanked: 840 times
Been thanked: 51 times

Re: Networking Under MS-DOS

Unread post by AmintaMister »

AmintaMister wrote: Thu Jan 04, 2024 10:41 am

Hi!

I've followed all the instructions, but pinging google.com (or other servers) I get: "error resolving server name".

Sequence:

Code: Select all

C:\>epppdd com1 115200 local
sifaddr pppO: local 192.168.1.254, remote 192.168.1.90, netmask 255.255.255.0.
Installed packet driver handler at vector 0x60.

Code: Select all

C:\>ping google.com
mTCP Ping by M Brutman (mbbrutman@gmail.com) (C)opyright 2009-2023
Version: Mar 31 2023
Error resolving server name: google.com

mtcp.cfg:

Code: Select all

SET MTCPSLIP=true
MTU 1500
PACKETINT 0x60
HOSTNAME ao486
IPADDR 192.168.1.251
NETMASK 255.255.255.0
GATEWAY 192.168.1.1
NAMESERVER 8.8.8.8
LEASE_TIME 86400

Ok, fixed, in case is needed by someone I leave here the solution: in mtcp.cfg the IPADDR had to be set to a value of 192.168.1.254.

User avatar
thera34
Posts: 132
Joined: Fri Sep 11, 2020 7:51 am
Has thanked: 96 times
Been thanked: 89 times

Re: Networking Under MS-DOS

Unread post by thera34 »

Yes, because by default the core's IP address assigned via PPP would be .254, first three octets being your LAN specific (like 192.168.1.0/24 in most cases).
Here is the up-to-date how-to on PPP (and not only) connections on different cores/OSes: https://mister-devel.github.io/MkDocs_M ... connection

AmintaMister
Posts: 313
Joined: Thu Sep 16, 2021 10:54 pm
Has thanked: 840 times
Been thanked: 51 times

Re: Networking Under MS-DOS

Unread post by AmintaMister »

thera34 wrote: Thu Jan 04, 2024 11:04 am

Yes, because by default the core's IP address assigned via PPP would be .254, first three octets being your LAN specific (like 192.168.1.0/24 in most cases).
Here is the up-to-date how-to on PPP (and not only)connections on different cores/OSes: https://mister-devel.github.io/MkDocs_M ... connection

Thanks a lot!

Post Reply