Share Wi-Fi on Raspberry Pi 4 between wlan0 and wlan1 via eth0
Share Wi-Fi on Raspberry Pi 4 between wlan0 and wlan1 via eth0
I have basic Linux and networking skills—just press control+C and copy-paste from Google. Right now I’m stuck with common fixes. I’m staying in a hotel and using public Wi-Fi that asks for ID on the site after connecting. During peak times it’s not so smooth, though it works when I don’t disconnect. I need to understand what’s going on, what I want, and what I need. That’s a full chapter in itself. My goal is to get internet from wlan0 and share it over eth0 to my desktop and through a directional antenna wlan1 so I can use my wireless devices outside. So far I’ve managed sharing one connection at a time, but not both at once while trying different guides online. It takes a long time to check each method or make changes because I’m nervous about making mistakes and don’t know how to reset after errors. I tried the Instructables link first—it worked for cable sharing, but adding wlan1 didn’t work even on a fresh OS. Maybe an app like Connectify for Windows would help? Or do you have another solid guide that’s foolproof? Edited June 26, 2022 by SKIPaBOLT
I set it to prioritize WiFi before connecting to the Ethernet port via the bridge interface. In this setup, terms like eth0 would refer to the bridge interface such as br0. Normally, dnsmasq only works on eth0, which wouldn’t function properly over WiFi. The simplest solution would be to use a router that supports WiFi Client mode, preferably tri-band, allowing you to connect to the hotel’s 5GHz network on one channel and broadcast your own on another. A router will generally offer stronger reception and faster performance.
I think I can handle the setup of Wi-Fi sharing by using what’s available. The simplest option would be to adapt to the tools I have right now. Alternatively, I could travel about 150 kilometers to the nearest electronics store in hopes of finding appropriate hardware at a temporary cost for this purpose. I also have an old Raspberry Pi and a directional Wi-Fi module that provides strong coverage in the areas I like to relax. There seems to be an issue with the authentication process. If I manage to resolve that, I’d want to stay connected or wait until it works again. It’s possible to achieve this with one solution, but I’m missing some practical experience to execute it smoothly.