Kahenraz wrote on 2023-08-28, 10:39:
thp wrote on 2023-08-28, 08:52:
Finally documented how to use a RPi Zero W as "WIFI gateway" via USB for Windows 9x using RNDIS Ethernet (I've been using this for a year now, with good results): https://thp.io/2023/rpizero-usb-win98.html
I have tried several USB wireless cards with Windows 98/ME over the years and found none of them to be stable. However, I did this using USB 2.0 adapters, which I've not found to be stable either. This is when combined with a 440BX chipset. I imagine that compatibility will be different for newer chipsets.
I have this working on a 440BX mainboard with onboard USB 1.1, the 5V USB power is enough to power the RPi Zero from the same port it's connected to -- of course, this means that the connection is limited by USB 1.1 speeds (but only because of the host port, USB 2.0 works just fine if the host supports it).
As far as the Windows 98 SE system is concerned, it's just a USB Ethernet device that hands out an IP via DHCP.
The WIFI connection is fully managed on the RPi alone (you can login via SSH or telnet), so "modern" amenities like WPA2 and such are no problem, Windows doesn't even know/care what is "behind" its standard gateway (Linux on the RPi takes care of routing between the two different interfaces).
There are other gadget drivers, like mass storage, HID, serial, ... -- so lots of potential for fun, as long as the retro PC has some kind of USB ports + support (not sure if mass storage and HID would work also from the BIOS "USB Legacy Mode", never tested).