**Router:** NETGEAR Orbi Pro SRR60
**Installed firmware:** V2.7.2.102
Orbi Pro Attached Devices name keeps reverting? How I traced it and saved a custom name and model
This walkthrough assumes you already have root shell access. The paths, process ID, and device slot below are from my router.
**AI assistance:** I used OpenAI Codex (GPT‑6) to help troubleshoot the issue, interpret the router’s logs and traces, and identify the `d2` commands. I ran the commands on my Orbi Pro SRR60 and verified the results myself.
**Use at your own risk.** These commands run as root, and `d2 -c` writes to the Orbi’s persistent configuration. Changing the wrong record or field could royally toast your Orbi. Back up your configuration, verify the target device’s MAC address before writing, and have a recovery plan.
My Orbi Pro showed my wired Raspberry Pi as a Google Chromebook, with `1` as its device name. I wanted the name to be `raspberrypi` and the model to be `pihole`. The web UI sent both values when I clicked **Apply**, but the Attached Devices list kept showing the old ones.
I traced the issue to the router’s device records and used its built-in `d2` utility to save both overrides. I verified them in the live device table, on flash, and in the rebuilt Attached Devices list. I haven’t tested a reboot.
This walkthrough assumes you already have root shell access. I tested it on the SRR60 running V2.7.2.102. Use your own device’s MAC address and verify its DAL slot before writing any changes.
### 1. Find the file behind Attached Devices
The Attached Devices page requests `DEV_device_first_info.htm` on initial load and `DEV_device_info.htm` on refresh. A `lighttpd` trace showed the web backend opening `/tmp/netscan/attach_device` for reading.
I confirmed my Pi was in that file by searching for its MAC address. Replace the example MAC with yours:
```sh
mac='B8:27:EB:6A:3F:19'
grep -i -A 8 "$mac" /tmp/netscan/attach_device
```
Editing this file changed what the web page showed, but the next scan rewrote it. That told me it was a generated list.
### 2. Find the persistent record and confirm the slot
The process listing showed `/usr/bin/d2d /tmp/dal/d2d`. On my router, `/tmp/dal` is a separate flash-backed mount, even though the path starts with `/tmp`.
```sh
df /tmp /tmp/dal/d2d
grep -il "$mac" /tmp/dal/d2d/DeviceIdList.*.json
```
My Pi matched `DeviceIdList.07A.json`. The record contained `Chromebook` and `1`, with empty `DisplayNameCustom` and `DisplayModelCustom` fields.
The filename suffix is hexadecimal. On my router, `07A` corresponded to decimal slot `122`. Confirm the live slot before changing anything:
```sh
slot=122
key="deviceidlist[$slot]"
/usr/bin/d2 -s "$key.DeviceMac"
```
Use the slot that returns **your device’s MAC address**.
### 3. Trace why clicking Apply didn’t stick
Firefox’s Network panel showed the Apply request sending `devname_changed=1`, `orbi_name=raspberrypi`, and `hid_orbi_model=pihole`. The router returned a wait page and redirected back to Attached Devices. The checksum of the persistent record stayed the same.
To see what the save handler was doing, I found the `lighttpd` PID and traced the commands it launched. Replace `10790` with the PID from your router:
```sh
ps w | grep '[l]ighttpd'
strace -f -tt -s 256 -e trace=execve -p 10790 -o /tmp/orbi-apply.trace
```
I clicked **Apply**, waited 30 seconds, pressed `Ctrl+C`, and checked the highest DAL slots the trace showed:
```sh
sed -n 's/.*deviceidlist\[\([0-9][0-9]*\)\]\.DeviceMac".*/\1/p' /tmp/orbi-apply.trace |
sort -nu | tail -5
```
Two captures stopped at slot `54`, which contained `00:00:00:00:00:00`. Slot `55` held a real MAC, and my Pi was at `122`. My best explanation is that the save lookup stops at the first empty slot. I observed the cutoff, but I didn’t verify the firmware’s loop logic.
### 4. Save the name and model through DAL
With `mac`, `slot`, and `key` set as above, I used `d2 -c` to set the two custom fields. The guard checks the slot’s MAC before writing:
```sh
if [ "$(/usr/bin/d2 -s "$key.DeviceMac")" = "$mac" ]; then
/usr/bin/d2 -c "$key.DisplayNameCustom" 'raspberrypi' &&
/usr/bin/d2 -c "$key.DisplayModelCustom" 'pihole'
else
echo 'MAC check failed. No changes made.'
fi
```
### 5. Verify the saved values and refresh Attached Devices
Read the values back through DAL, check the matching JSON file from step 2, then reload **Attached Devices** and check the generated list:
```sh
/usr/bin/d2 -s "$key.DisplayNameCustom"
/usr/bin/d2 -s "$key.DisplayModelCustom"
tr ',' '\n' < /tmp/dal/d2d/DeviceIdList.07A.json |
grep -E '"Display(Name|Model)Custom"'
grep -i -A 8 "$mac" /tmp/netscan/attach_device
```
On my router, the live table and flash-backed JSON both showed `raspberrypi` as the custom name and `pihole` as the custom model. The rebuilt Attached Devices list picked up both values.