Can not navigate System > TTYD terminal.
Terminal is placed in servise > terminal.
firmware version is “OpenWrt 21.02-SNAPSHOT r16617+15-e48124460f / LuCI openwrt-21.02 branch git-22.184.38437-cbf33ce”.
Can not navigate System > TTYD terminal.
Terminal is placed in servise > terminal.
firmware version is “OpenWrt 21.02-SNAPSHOT r16617+15-e48124460f / LuCI openwrt-21.02 branch git-22.184.38437-cbf33ce”.
Once OpenWrt is finished flashing onto Dual Gigabit Ethernet Carrier Board for Raspberry Pi CM4, you can connect Ethernet cables to the board as follows:
pir
The OpenWrt image has already included the necessary network configurations for the dual Gigabit ports to work out-of-the-box, so that you don’t have to configure them by yourself. However, here is an explanation of how the 2 ports are configured.
One port is configured as a LAN interface and the other as a WAN interface. The WAN interface is the one which can be connected to the internet and it is configured as a DHCP client. On the other hand, the LAN interface is the one which can be connected to the client devices and it is configured as a DHCP server.
Here the LAN interface is configured so that it has a static IP address of 192.168.2.1. However, if you connect this OpenWrt router to another router with default gateway IP of 192.168.2.1, you might want to change the IP address on the LAN interface or otherwise OpenWrt will have IP conflict. Please follow the FAQ below to learn more!
ODYSSEY - X86J4125¶
Next we will explain how to install and set up OpenWrt on ODYSSEY - X86J4125
Flash OpenWrt Image¶
Now we need to install OpenWrt on to the eMMC/ HDD/ SSD of the ODYSSEY - X86J4125 so that it can run on the board. To do this, we first need to create a bootable USB with the OpenWrt image. Follow the steps below
Step 1. Download the latest OpenWrt Image compiled by Seeed for this board from here
Note: Choose openwrt-x86-64-generic-ext4-combined-efi.img.gz file
Step 2. Insert a USB drive to the PC
Step 3. Download balenaEtcher software by visiting this link according to your operating system
Step 4. Run balenaEtcher as administrator
pir
Step 5. Click Flash from file and point to the OpenWrt image file that you downloaded before
Step 6. Click Select target and select the connected USB drive
Step 7. Finally, click Flash!
pir
Please wait a few minutes until the flashing process is complete.
Dual Gigabit Ethernet Ports Connection¶
Once OpenWrt is finished flashing onto the USB drive, you can connect Ethernet cables to the board as follows:
pir
The OpenWrt image has already included the necessary network configurations for the dual Gigabit ports to work out-of-the-box, so that you don’t have to configure them by yourself. However, here is an explanation of how the 2 ports are configured.
One port is configured as a LAN interface and the other as a WAN interface. The WAN interface is the one which can be connected to the internet and it is configured as a DHCP client. On the other hand, the LAN interface is the one which can be connected to the client devices and it is configured as a DHCP server.
Here the LAN interface is configured so that it has a static IP address of 192.168.2.1. However, if you connect this OpenWrt router to another router with default gateway IP of 192.168.2.1, you might want to change the IP address on the LAN interface or otherwise OpenWrt will have IP conflict. Please follow the FAQ below to learn more!
Install OpenWrt¶
Now that we have created a bootable USB drive previously, let’s move on to installing OpenWrt to ODYSSEY - X86J4125
Step 1. Insert the bootable USB drive to the ODYSSEY board and connect the board to a display and a keyboard
Step 2. Turn on the board and keep pressing F7 to enter the boot manager screen
pir
Step 3. Select the bootable USB and press ENTER
Now OpenWrt will start to run live from the USB drive.
Step 4. Turn on the board, open a web browser and type 192.168.2.1 in the search bar
Step 5. Once OpenWrt portal opens, navigate to System > FileTransfer
Step 6. Click Choose File under Upload and select the OpenWrt image that we downloaded before
Note: Make sure the .gz file is extracted to the .img file before
Step 7. Click Upload
pir
Now the image is saved under /tmp/upload/ directory
Step 8. Navigate to System > TTYD Terminal and login with root as the username
Step 9. Type lsblk to list the connected storage devices
pir
Step 10. Type the following to flash the OpenWrt image to the storage device connected (eMMC/ HDD/ SSD)
dd if=/tmp/upload/openwrt-x86-64-generic-ext4-combined-efi.img of=/dev/sda
Note: /dev/sda correponds to the storage device connected
Step 11. Once it’s finished flashing to the storage device, reboot the board, remove the USB drive and it will start to boot OpenWrt from the connected storage device.
Regards,
Rachel Gomez
I do not have ODYSSEY.