I’ve spent some time messing around with OpenWRT in the last few days, using Raspberry PI 4B as the main route.
OpenWRT download
- Making address: https://github.com/SuLingGG/OpenWrt-Rpi
Select Lean, use Offical for the first time, and then wait 90 seconds every time you configure your application. “, and then the warehouse has a Wiki, you can go to have a look, there are mentioned in the version of the difference, hardware support, which file to download and other issues.
The repository uses Github Action to compile OpenWRT, and the compiled content can be found below
Next, you can use the following Win32 disk image tool to carve the image into a Flash drive (I am using Windows, other systems, may need to check information).
Then comes the most important thing: Don’t plug in the network cable before starting up, or if you have an external wireless card.
OpenWRT configuration
It’s amazing to have a Web management page, but considering OpenWRT is mostly C, it’s not easy to make a Web page. Connect to Raspberry PI 4B’s WIFI (the default name is OpenWrt), and then access 192.168.1.1 in the browser. The default user name is root, and the default password is password
- The physical Settings in the default LAN port configuration include wireless and eth0, also known as the Ethernet port, but we need to use the Ethernet port as the WAN port, so it needs to be unchecked.
- Add a WAN port, select eth0 for physical Settings, because I am using PPPoE dialup here, so I select PPPoE for protocol, and then enter the user name and password
- Change the WIFI name, find the change in wireless, and then there is a ESSID, it does not seem to support Chinese name
- Service words, only open SmartDNS, the other has not come and the test, remember to save the next point
- WIFI supports 5G band, the maximum speed is 150Mbps, the measured speed is less than 50Mbps, although that is enough…
-
Finally, there is an unsaved configuration in the upper right corner. After clicking on it, click Save and Apply, then restart the system (it should not be necessary), plug in the network cable, and theoretically it can be used (I succeeded once).
-
Finally, I wish everyone a success!!