Stunnel rasberry pi introduction7/27/2023 ![]() ![]() The next steps are to be done via the SSH prompt directly in the Pi. If everything went well you should now be able to SSH to your Pi using pi as the user name and raspberry as the password. Otherwise you need to get the IP that the Pi got by using a network scanner (there are plenty for Android, for example). ![]() If you install bonjour you'll be able to fin your Pi by the name raspberrypi.local. Insert the SD card in your Pi and let it boot. In that one create an empty file named ssh (withot any extension), and a file named wpa_nf with the details of your WiFi access point as follows:Ĭtrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev Reinsert the SD card in your computer, Windows will create a few drive letters and tell you that all are unformatted but one. In order to configure my Pi Zero I followed this tutorial in Desertbot for headless setup using Windows, which can be summarized as:ĭownload the Raspbian image (Raspbian Lite is fine)įlash the image file in the SD card using balena Etcher I'm assuming that your Raspberry Pi is up and running Raspbian, with the WiFi already configured. What I did find was this article in Raspberry Pi HQ about how to turn a Pi into a WiFi router, but what this article explains is how to turn a Pi connected to the router via Ethernet into a WiFi access point for other devices we need exactly the opposite, but I used the information in that article as a starting point, modifying what I needed. I'm sure that someone has done this before and has published it somewhere, but I weren't able to find it. You'll need a tool to connect to the Pi via SSH (I recommend MobaXTerm if you use Windows). ![]() For my tests I have used a Raspberry Pi Zero W with an OTG USB Ethernet adapter (4€ in eBay), but any other model of Pi should work as long as it has Ethernet and WiFi. Here I'll explain how to configure a Raspberry Pi to act as a "WiFi dongle" for TCP/IP capable but Ethernet-only devices. How to use a Raspberry Pi to provide WiFi for Ethernet-only devices How to use the SOCKS5 client capability of InterNestor Lite + a modified version of stunnel, running on the Raspberry Pi itself, to provide indirect TLS support for MSX computers.This isn't (or shouldn't be, I haven't really tested it) MSX exclusive, this method should work for any Ethernet-only device. How to use a Raspberry Pi to provide WiFi connectivity to an Ethernet-only device.So after thinking about how to solve these issues and some work I came up with a solution. It's not that the developer (me!) is too lazy to implement it, it's just that a Z80 can't handle the required encryption algorythms. InterNestor Lite, the TCP/IP stack for MSX, doesn't support TLS.At the time of this writing, there isn't any solution for wireless Internet for MSX, only Ethernet hardware.However there are a few issues that prevent us the MSX users to reach the absolute networking happiness: Some other MSX nerds have developed networking hardware, so boom! Here it is, Internet access from MSX, a 1980s 8 bit machine. I have developed quite a few things for them, including a TCP/IP stack and some networking applications. ![]()
0 Comments
Leave a Reply. |