Interesting, some further googling seems to suggest that this UUID is the equivalent of "unset".
Even if disappointing, "unsolvable" is a valid conclusion. Check off the list, next device.
Interesting, some further googling seems to suggest that this UUID is the equivalent of "unset".
Even if disappointing, "unsolvable" is a valid conclusion. Check off the list, next device.
In retrospect, I'd like to confirm exact paths for all models and not assume that they may be the same for 105/115 and 125/135 or SG/XG or wireless/non-wireless models.
I'm missing data for:
sophos-sg-105wr1
sophos-sg-115wr1
sophos-sg-125r1
sophos-sg-125wr1
sophos-sg-135r1
sophos-sg-135wr1
sophos-sg-105wr2
sophos-sg-115wr2
sophos-sg-115r2
sophos-sg-125r2
sophos-sg-125wr2
sophos-sg-105r3
sophos-sg-115r3
sophos-sg-115wr3
sophos-sg-125r3
sophos-sg-125wr3
sophos-sg-135r3
sophos-sg-135wr3
sophos-xg-105r1
sophos-xg-105wr1
sophos-xg-115r1
sophos-xg-115wr1
sophos-xg-125r1
sophos-xg-125wr1
sophos-xg-135r1
sophos-xg-135wr1
sophos-xg-115r2
sophos-xg-115wr2
sophos-xg-125r2
sophos-xg-125wr2
sophos-xg-135r2
sophos-xg-135wr2
sophos-xg-125r3
sophos-xg-125wr3
sophos-xg-135wr3
@NC1 @takimata @tapper @RaylynnKnight -- please check your devices and if you have any that match the list above, I need the output from:
cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat /sys/devices/virtual/dmi/id/product_version;
for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
find /sys/devices -type d -name "$i"; done
I'm keeping track of the devices with their paths confirmed in this commit: https://github.com/stangri/openwrt/blob/sophos-port-names/target/linux/x86/base-files/etc/board.d/02_network
When I'm ready to send PR, I'll remove comments with user names from the file but will keep them in the commit description.
For Sophos SG 135w rev.2
root@OpenWrt:/# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat
/sys/devices/virtual/dmi/id/product_version;
SG-135Wr2
root@OpenWrt:/# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:14.0/net/eth0
/sys/devices/pci0000:00/0000:00:14.1/net/eth1
/sys/devices/pci0000:00/0000:00:14.2/net/eth2
/sys/devices/pci0000:00/0000:00:14.3/net/eth3
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:02.0/0000:03:00.0/net/eth4
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:03.0/0000:04:00.0/net/eth5
/sys/devices/pci0000:00/0000:00:02.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/net/eth6
/sys/devices/pci0000:00/0000:00:02.0/0000:05:00.0/0000:06:03.0/0000:08:00.0/net/eth7
root@OpenWrt:/#
XG 105 Rev.3
root@OpenWrt:/# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat
/sys/devices/virtual/dmi/id/product_version;
XG-105r3
root@OpenWrt:/# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:13.0/0000:01:00.0/net/eth0
/sys/devices/pci0000:00/0000:00:13.1/0000:02:00.0/net/eth1
/sys/devices/pci0000:00/0000:00:13.2/0000:03:00.0/net/eth2
/sys/devices/pci0000:00/0000:00:13.3/0000:04:00.0/net/eth3
root@OpenWrt:/#
XG 105 rev.2
root@OpenWrt:/# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat
/sys/devices/virtual/dmi/id/product_version;
XG-105r2
root@OpenWrt:/# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eth0
/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/eth1
/sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/eth2
/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0/0000:05:01.0/0000:06:00.0/net/eth3
root@OpenWrt:/#
SG 105 rev.1
root@OpenWrt:/# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat
/sys/devices/virtual/dmi/id/product_version;
SG-105r1
root@OpenWrt:/# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eth0
/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/eth1
/sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/eth2
/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0/0000:05:01.0/0000:06:00.0/net/eth3
root@OpenWrt:/#
Will post results from other devices after I have time to find them in closet.
@RaylynnKnight Thank you so much, the commit has been updated with the information you have provided! Looking forward to more paths.
Additional devices:
SG 105w rev.2 (Device is labeled rev.2 even though product_version is indicating rev1!)
root@OpenWrt:/# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat
/sys/devices/virtual/dmi/id/product_version;
SG-105Wr1
root@OpenWrt:/# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eth0
/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/eth1
/sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/eth2
/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0/0000:05:01.0/0000:06:00.0/net/eth3
SG 115 rev.2 (Same as above device is labeled rev.2 even though product_version is indicating rev.1!)
root@OpenWrt:/# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat
/sys/devices/virtual/dmi/id/product_version;
SG-115r1
root@OpenWrt:/# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eth0
/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/eth1
/sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0/net/eth2
/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0/0000:05:01.0/0000:06:00.0/net/eth3
root@OpenWrt:/#
SG 125 rev.2 (Again device labeled rev.2, but product_version indicates rev.1).
root@OpenWrt:/# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat
/sys/devices/virtual/dmi/id/product_version;
SG-125r1
root@OpenWrt:/# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:14.0/net/eth0
/sys/devices/pci0000:00/0000:00:14.1/net/eth1
/sys/devices/pci0000:00/0000:00:14.2/net/eth2
/sys/devices/pci0000:00/0000:00:14.3/net/eth3
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:02.0/0000:03:00.0/net/eth4
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:03.0/0000:04:00.0/net/eth5
/sys/devices/pci0000:00/0000:00:02.0/0000:05:00.0/0000:06:02.0/0000:07:00.0/net/eth6
/sys/devices/pci0000:00/0000:00:02.0/0000:05:00.0/0000:06:03.0/0000:08:00.0/net/eth7
root@OpenWrt:/#
XG 86 rev.1
root@OpenWrt:/# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat
/sys/devices/virtual/dmi/id/product_version;
XG-86r1
root@OpenWrt:/# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:13.0/0000:02:00.0/net/eth0
/sys/devices/pci0000:00/0000:00:13.1/0000:03:00.0/net/eth1
/sys/devices/pci0000:00/0000:00:13.2/0000:04:00.0/net/eth2
/sys/devices/pci0000:00/0000:00:13.3/0000:05:00.0/net/eth3
root@OpenWrt:/#
XG 115 rev.3
root@OpenWrt:/# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat
/sys/devices/virtual/dmi/id/product_version;
XG-115r3
root@OpenWrt:/# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:13.0/0000:01:00.0/net/eth0
/sys/devices/pci0000:00/0000:00:13.1/0000:02:00.0/net/eth1
/sys/devices/pci0000:00/0000:00:13.2/0000:03:00.0/net/eth2
/sys/devices/pci0000:00/0000:00:13.3/0000:04:00.0/net/eth3
root@OpenWrt:/#
UTM 110/120 rev.5
root@OpenWrt:/# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat
/sys/devices/virtual/dmi/id/product_version;
UTM-120r5
root@OpenWrt:/# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/eth0
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth1
/sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/net/eth2
/sys/devices/pci0000:00/0000:00:1c.3/0000:05:00.0/net/eth3
root@OpenWrt:/#
This covers all the Sophos X86 based devices I have.
Thank you! Are the ports enumerated in a proper order in OpenWrt?
For UTM110/120 rev.5:
/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/eth0 is labeled eth3 HA
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/eth1 is labeled eth2 DMZ
/sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/net/eth2 is labeled eth1 WAN
/sys/devices/pci0000:00/0000:00:1c.3/0000:05:00.0/net/eth3 is labeled eth0 LAN
For XG 115 rev.3
/sys/devices/pci0000:00/0000:00:13.0/0000:01:00.0/net/eth0 Shared with SFP Cage 4
/sys/devices/pci0000:00/0000:00:13.1/0000:02:00.0/net/eth1 LAN 1
/sys/devices/pci0000:00/0000:00:13.2/0000:03:00.0/net/eth2 WAN 2
/sys/devices/pci0000:00/0000:00:13.3/0000:04:00.0/net/eth3 DMZ 3
Sorry, the forum ate the quote. Is the port enumeration the same between XG-105r3 and XG-115r3?
Both the XG 106 rev.1 and XG 105 rev.3 have identical port enumeration as the XG 115 rev.3.
All of the Sophos devices I have reported on have a corresponding WikiDevi page. Most with internal images.
I've built the base-files for 23.05.2 with the most recent changes, so it can be easily integrated into custom x86 builds with the image builder: https://dev.melmac.net/repo/x86_64/base-files_1551-r23630-842932a63d_x86_64.ipk
Otherwise, just grab the updated files from the branch: https://github.com/stangri/openwrt/tree/sophos-port-names/target/linux/x86/base-files
Does anyone else have the 8-port revision 3 devices? I'm hitting a wall renaming first 4 ports of the 8-port XG-135r3.
Hello,
I have the sophos xg-135 rev.3 but OpenWRT is not installed on it.
If needed, I can use a live USB.
I will be happy to help you if possible.
Thank you for your reply, I've sent a private message as to not clutter this thread.
root@OpenWrt:~# ubus call system board
{
"kernel": "5.10.138",
"hostname": "brax",
"system": "Intel(R) Atom(TM) Processor E3940 @ 1.60GHz",
"model": "Sophos SG-115r3",
"board_name": "sophos-sg-115r3",
"rootfs_type": "ext4",
"release": {
"distribution": "OpenWrt",
"version": "22.03.0",
"revision": "r19685-512e76967f",
"target": "x86/64",
"description": "OpenWrt 22.03.0 r19685-512e76967f"
}
}
root@OpenWrt:~# cat /sys/devices/virtual/dmi/id/product_name | tr '\n' '-'; cat /sys/devices/virtual/dmi/id/product_version;
SG-115r3
root@OpenWrt:~# for i in eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7 eth8; do
> find /sys/devices -type d -name "$i"; done
/sys/devices/pci0000:00/0000:00:13.0/0000:01:00.0/net/eth0
/sys/devices/pci0000:00/0000:00:13.1/0000:02:00.0/net/eth1
/sys/devices/pci0000:00/0000:00:13.2/0000:03:00.0/net/eth2
/sys/devices/pci0000:00/0000:00:13.3/0000:04:00.0/net/eth3
root@OpenWrt:~#
Thank you! Could you please confirm if the markings on the case correspond to the default port assignments as:
lan: eth1
wan: eth2
dmz: eth3
ha: eth0
Sorry. Yes that is the mapping.
Apologies for the delay, I was struggling with finding the time for testing of the revision 3 8-port device and in the end I decided to drop it from the PR for now: https://github.com/openwrt/openwrt/pull/15224.
To facilitate the merge of the PR, I'm now asking if the contributors to this thread/PR could help test the update. I've published the 23.05.3 images with the fixes (and a version bump in base-files IPK to 1555) here: https://dev.melmac.net/sophos/
I wonder if you could burn images to the USB drive and boot from it and test the ethernet port naming matching the case markings and basic operations of ports. If you can, please post the models you've tested and what did you test, it will be hugely appreciated!
Tagging users credited in the PR: @takimata @RaylynnKnight @tapper @NC1 @valknut
Never touched the DTI, so can't really help you, sorry. The 3 files that are touched by this update are all part of the x86 base-files package.
(I withdrew my question after realizing that. Sorry for the noise. )