I’m trying to install OpenWrt on an hp-PRODESK-600/8GB ram/240GB ssd with only one Ethernet port. The PRODESK has a monitor and keyboard and mouse and the second Ethernet port necessary for OpenWrt is a USB3<->Ethernet adapter model RT8152.
The steps I followed, after many different attempts, was brought down to the most basic procedure: On a Linux/Fedora39 PC, I downloaded the OpenWrt 23.05.2 version and unzip.
/releases / 23.05.2 / targets / x86 / 64 / generic-ext4-combined-efi.img.gz
Utilizing Fedora-Media-Writer, I “burned” the image onto the Kingston 240GB HDD.
Now the bootable SSD is inserted into the PRODESK mini-PC.
OpenWrt, by default, is supplying an Ethernet address to the Fedora PC, reconnected straight to the PRODESK port. The Fedora PC can now access LuCI via the web browser, as well as by SSH on a Terminal window.
This arrangement is not connected to the Internet yet.
It is now possible to proceed with some temporary changes to OpenWrt so that it can connect to the Internet and “opkg update” and install some other drivers like for the RT8152.
Following some instructions I got from YouTube, it is instructed to modify the “/etc/config/dhcp” file and “/etc/config/network” file, so that OpenWrt can connect the Internet. YouTube link, for those who are interested
Here are the modifications:
In dhcp/lan
, add the line option ignore ‘1’
so that OpenWrt do not issue an address from the Ethernet port, but would turn the computer to receive a DHCP address from a DHCP server (the Home Router)
In network/lan
,
option ipaddr ‘192.168.1.1’
change to 172.172.1.120
add option dns ‘172.172.1.1’
add option gateway ‘172.172.1.1’
( these addresses in accordance with the Router DHCP parameters )
These changes are valid and have been thoroughly tested with another Raspberry Pi4 installation and been determined to work completely fine. Once the changes are instantiated with a “reboot” OpenWrt will boot properly and a multitude of lines are shown on the PRODESK monitor.
It is here that the problem occur. The Ethernet connection to the Router does not take place anymore. Now the PRODESK Ethernet port is supposed to receive an IP address issued by the Router.
At this point it is possible to access the Router with the Fedora PC and look at the list of DHCP issued connected devices. The only connected device present in the Router is the Fedora PC. The PRODESK OpenWrt PC is not issued an IP address.
Prior to this installation, the same procedure was performed on a Raspberry Pi4 and all went well. Now that I am repeating them on the PRODESK PC, no IP address is issued to OpenWrt, hence I cannot access LuCI.
What am I missing ?