OpenWRT - Install & Configure USB to Ethernet Adapter - Raspberry Pi

Описание к видео OpenWRT - Install & Configure USB to Ethernet Adapter - Raspberry Pi

In this video, we are going to install the USB to Ethernet adapter on the Raspberry Pi and configure it as a WAN interface. The best improvement of the Raspberry Pi 4 is that it has USB 3.0 and true gigabit ethernet port, which should be good to setup as WAN and LAN.
For this tutorial, I used the D-Link DUB-1312 USB 3.0 to Gigabit Ethernet adapter but any of the adapter will work, no matter it is a gigabit ethernet or fast ethernet.
If you have a monitor and keyboard, the configurationcan be done easier. Else, SSH connection works just fine. I am using the Raspberry Pi 4 and due to it is the snapshot version, LuCI is not pre-installed. Below is how we do it:
1. Change the LAN IP of the router and connect it to the main network to have a working internet connection
2. With the working internet connection, install LuCI using CLI
3. With LuCI installed, configure the driver for USB to Ethernet adapter and setup WAN interface. Package used kmod-usb-net-asix-ax88179

Video timeframe:

00:00 - Introduction: Install USB to Ethernet adapter on OpenWRT
01:00 - Download the firmware, install it to SD card and boot up OpenWRT
02:08 - Network topology explaination
03:38 - Boot up the Raspberry Pi 4 with OpenWRT
04:50 - Turn off DHCP server and change IP address of LAN interface
10:30 - Install Luci using Command Line (CLI)
12:12 - Install USB to Ethernet adapter driver package
13:40 - Configure WAN interface and revert IP address of LAN interface
17:00 - Tests and final words

Raspberry Pi OpenWRT TOH: https://openwrt.org/toh/raspberry_pi_...
USB to Ethernet adapter package/ driver: https://openwrt.org/packages/pkgdata/...
If you are in the APAC region, you can get the Raspberry Pi with a reasonable price at: https://my.cytron.io/p-raspberry-pi-4...

Feel free to check out other unbox videos & tutorials on my channel.
If there is anything not clear or there is any question, please leave it in the comment section and we will discuss.
A small group on FB, join if you want to say hi:   / 786305722225040  
As always, please like, share and subscribe to the channel! Thank you!

Комментарии

Информация по комментариям в разработке