@stangri you did this for the Sophos devices in Looking for users with specific Sophos x86-based routers!.
Could we do the same for CloudGenix ion 2000 ?
@stangri you did this for the Sophos devices in Looking for users with specific Sophos x86-based routers!.
Could we do the same for CloudGenix ion 2000 ?
root@OpenWrt:~# for file in sys_vendor board_vendor product_name board_name prod
uct_version; do
> cat /sys/devices/virtual/dmi/id/$file
> done
CloudGenix
To be filled by O.E.M.
ion 2000
To be filled by O.E.M.
2.1
root@OpenWrt:~# find /sys/devices -type d -name eth0
/sys/devices/pci0000:00/0000:00:14.0/net/eth0
root@OpenWrt:~# find /sys/devices -type d -name eth1
/sys/devices/pci0000:00/0000:00:14.1/net/eth1
root@OpenWrt:~# find /sys/devices -type d -name eth2
/sys/devices/pci0000:00/0000:00:14.2/net/eth2
root@OpenWrt:~# find /sys/devices -type d -name eth3
/sys/devices/pci0000:00/0000:00:14.3/net/eth3
root@OpenWrt:~# find /sys/devices -type d -name eth4
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/net/eth4
root@OpenWrt:~# find /sys/devices -type d -name eth5
/sys/devices/pci0000:00/0000:00:02.0/0000:02:00.0/net/eth5
root@OpenWrt:~# ubus call system board
{
"kernel": "6.6.93",
"hostname": "OpenWrt",
"system": "Intel(R) Atom(TM) CPU C2558 @ 2.40GHz",
"model": "CloudGenix ion 2000",
"board_name": "cloudgenix-ion-2000",
"rootfs_type": "ext4",
"release": {
"distribution": "OpenWrt",
"version": "24.10.2",
"revision": "r28739-d9340319c6",
"target": "x86/64",
"description": "OpenWrt 24.10.2 r28739-d9340319c6",
"builddate": "1750711236"
}
}
I was not successful at first and didn't have time to revisit the PR.
I believe the renamed ixgbe devices were not coming up on boot, while the igb were. I've asked previous committers, but never properly sought help.
I see.
Then let me know if you want to follow up.
I'll post the board.json file here, for those who want to add the ports by hand.
root@OpenWrt:~# cat /etc/board.json
{
"model": {
"id": "cloudgenix-ion-2000",
"name": "CloudGenix ion 2000"
},
"network": {
"lan": {
"ports": [
"eth0",
"eth2",
"eth3",
"eth4",
"eth5"
],
"protocol": "static"
},
"wan": {
"device": "eth1",
"protocol": "dhcp"
}
}
}
I'm not sure if every single ion 2000 unit is the same, but the changes below worked for me to set the "Controller" port to wan and align the numbers on the box to eth<x> in openwrt.
/etc/board.d/02_network - add the following after the last existing condition (right before the esac line)
cloudgenix-ion-2000)
ucidef_set_network_device_path "eth2" "pci0000:00/0000:00:14.0"
ucidef_set_network_device_path "eth3" "pci0000:00/0000:00:14.1"
ucidef_set_network_device_path "eth4" "pci0000:00/0000:00:14.2"
ucidef_set_network_device_path "eth5" "pci0000:00/0000:00:14.3"
ucidef_set_network_device_path "eth0" "pci0000:00/0000:00:01.0/0000:01:00.0"
ucidef_set_network_device_path "eth1" "pci0000:00/0000:00:02.0/0000:02:00.0"
ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 eth5" "eth0"
;;
/etc/boards.json
{
"model": {
"id": "cloudgenix-ion-2000",
"name": "CloudGenix ion 2000"
},
"network": {
"lan": {
"ports": [
"eth1",
"eth2",
"eth3",
"eth4",
"eth5"
],
"protocol": "static"
},
"wan": {
"device": "eth0",
"protocol": "dhcp"
}
}
}
I added these two paths to /etc/sysupgrade.conf and reimaged. It required an extra reboot, but the configuration survived the upgrade.