通过安卓以太网共享让旧电脑联网
Getting an old Computer online with Android Ethernet tethering

原始链接: https://82mhz.net/posts/2026/05/getting-an-old-computer-online-with-android-ethernet-tethering/

将老旧的 Windows 9x/XP 时代电脑连接至现代安全的 Wi-Fi 网络难度极大,因为这些系统仅支持 WEP 等过时的安全标准。虽然使用以太网连接是可行的替代方案,但并非随时可用。 作者提出了一种简单有效的权宜之计:使用安卓手机作为桥接器。通过 USB-C 转以太网适配器将安卓手机连接到老式电脑,并在手机设置中开启“以太网共享”功能,电脑便可通过手机的 Wi-Fi 连接访问互联网。只要电脑设置为通过 DHCP 获取 IP 地址,手机就会自动完成桥接。这种方法既能避免降低网络安全性,又适用于任何带有以太网接口的电脑。尽管在物理连接上稍显繁琐,但这对于复古电脑爱好者来说是一个极具实用性的解决方案。

最近的一场 Hacker News 讨论探讨了多种让老旧电脑联网的方法,起因是一篇关于使用安卓手机通过以太网共享网络的文章。 该讨论的主要观点包括: * **安卓网络共享:** 通过 USB 使用安卓手机是一种非常有效且低成本的方案。利用 RNDIS 标准,旧版操作系统可以将手机识别为标准网络适配器,从而在无需专用硬件的情况下实现连接桥接。 * **硬件解决方案:** 对于倾向于永久性设置的用户,建议使用无线转以太网桥接器。这些设备可以处理现代的 WPA 加密,让老旧硬件无需了解现代 Wi-Fi 标准,即可通过标准有线连接上网。 * **DIY 方案:** 爱好者们讨论了使用树莓派或运行定制固件(OpenWRT/DD-WRT)的旧路由器来创建灵活的桥接器,并指出这些方案通常可以使用现有的闲置零件来完成。 * **技术历史:** 讨论还涉及了网络技术的发展,特别提到现代的“自动 MDI-X”技术已使曾经必备的以太网交叉线成为了历史。 总体而言,社区强调,尽管老旧设备的连接存在软件挑战,但利用现有的硬件,这仍然是一个非常容易解决且充满乐趣的项目。
相关文章

原文

I enjoy playing around with old computers and software from the 90s and early 2000s. My childhood computer was the Amiga 500 which I still have and which I love dearly, but the Windows 9x/XP era of computing is the most nostalgic for me because this coincides with my teenage years and my early 20s, and there are just so many great things about it; 3dfx games, the early internet, Napster, ICQ, Winamp... it was a fascinating time in tech.

One problem with computers from this time period is how to get them online. They either have no wifi or severely outdated wifi modules which at best do WEP encryption, but they can't connect to a modern WPA encrypted wifi network. So in order to get them online you would either have to downgrade the security of your wifi network (terrible idea), set up a dedicated wifi network for these machines with only WEP security enabled (also terrible) or connect them via ethernet, which is easy enough as long as you have an Ethernet connection available.

But what if you want to get an old Windows 9x/XP-era computer online somewhere where there is no ethernet connection? Here's a deceptively simple way to do it:

  • Get a cheap USB-C to Ethernet adapter from Ebay/Amazon
  • Connect this to your (Android) phone and via a short Ethernet cable to the Ethernet port of the computer in question
  • Enable "Ethernet Tethering" in the phone's settings

And that's it. As long as you have automatic network configuration via DHCP enabled on the PC, the phone should automatically assign an IP address to the PC and bridge its wifi connection to the wired network through the Ethernet adapter. And this should work with every old (and new) computer, as long it has an Ethernet port.

I admit, it's not the prettiest of solutions (I need to get a shorter Ethernet cable), but it works and it's really simple to set up. So why did it take me so long to figure this out? I have no idea.


I tested this with a USB-C docking station which has an Ethernet port too, and it worked just as well, but required external power to the docking station, meaning an extra power cable is required.


联系我们 contact @ memedata.com