Page 2 of 2

Re: Networking Under MS-DOS

Posted: Sat Dec 02, 2023 7:42 am
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:


Re: Networking Under MS-DOS

Posted: Sat Dec 02, 2023 9:12 am
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.


Re: Networking Under MS-DOS

Posted: Thu Jan 04, 2024 10:41 am
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

Re: Networking Under MS-DOS

Posted: Thu Jan 04, 2024 10:51 am
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.


Re: Networking Under MS-DOS

Posted: Thu Jan 04, 2024 11:04 am
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


Re: Networking Under MS-DOS

Posted: Thu Jan 04, 2024 11:05 am
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!