TL;DR: I obtained root on my NETGEAR MR1100 through its USB AT interface, using the challenge-response generator in bkerler/edl. The working generator profile was MDM9x40, despite the router’s firmware name containing 9X50. I then installed key-only Dropbear SSH on port 2201 and disabled the passwordless Telnet shell. The unexpected part: pointing telnetd at /bin/false did not disable it, because both paths led to BusyBox.
I wanted to run my own software on an old Nighthawk M1, especially Tailscale, so I wouldn’t need to install a client on every device while travelling. Before installing anything, I needed answers to a few basic questions: which Linux kernel did it run, was a TUN interface available, and could I keep a useful management connection after reboot?
The browser interface could tell me the firmware version. It could not give me a Linux shell. Getting that shell took a USB connection, engineering authentication, and a reboot. Making the result suitable for ongoing use took another round of work.
This is the process I tested on my own router on November 25, 2026. The commands that change router settings below describe that work.
The Hardware and Firmware I Tested
| Item | My Device |
|---|---|
| Model shown by the web interface | MR1100-100NAS |
| Hardware revision | 1.0 |
| Firmware | NTG9X50C_12.06.39.00 r4374 |
| Firmware build date | May 10, 2021 |
| Linux, confirmed after unlocking | 3.18.31, ARMv7 |
| Platform | Qualcomm MDM9650 |
| RAM | 399908 kB, about 391 MiB |
| Init system | SysV, normal runlevel 5 |
| TUN support | CONFIG_TUN=y, /dev/net/tun present |
I did not flash a different firmware image, replace the kernel, factory-reset the router, or change its IMEI. This procedure enabled an engineering shell already present in the stock firmware. It does not establish compatibility with every MR1100 variant, carrier build, or newer firmware.
1. Reach the AT Interface Through USB
My first Ethernet connection reached the management page, but ports 22, 23, and 5510 were unavailable through that connection. After connecting the router’s USB-C port to my Mac with a working data cable, its USB network interface appeared, and TCP port 5510 answered AT commands.
A saved network service named after the router was not enough. On my first attempt, macOS still had an old service entry, but the USB device and its network interface had not actually enumerated. Rechecking the live interfaces after reconnecting the cable resolved that part.
The relevant connection was:
Computer → USB network interface → Router TCP 5510 → AT command processorPort 5510 was an AT-to-TCP bridge, not a Linux shell. With ROUTER_USB_IP set to the router’s gateway address on your USB connection, a netcat session uses:
nc "$ROUTER_USB_IP" 5510These read-only AT commands confirmed what I had connected to:
AT
AT+CGMM
AT+CGMRThey returned OK, MR1100, and the firmware version listed above. The firmware also rejected some other queries, including AT!TELEN?. That matters later: an unsupported query did not mean that the corresponding setter was also unsupported.
For the authentication stage, keep one interactive connection to the AT interface open. Send commands with a carriage-return/newline terminator, and distinguish a real OK response from a command being echoed back. If the computer has several network interfaces, make sure the connection uses the USB route.
Earlier MR1100 write-ups describe this engineering access path, including Michael Callahan’s root-access article and Parker’s MR1100 notes. My result below is specific to the tested firmware, rather than a claim that every command in those write-ups applies unchanged.
2. Authenticate With the Correct Generator Profile
A preset engineering password from an earlier guide failed on my unit. The working route was the challenge-response implementation in edlclient/Tools/sierrakeygen.py from bkerler/edl.
The sequence was:
- Request a challenge with
AT!OPENLOCK?. - Generate its response locally using the
MDM9x40profile and OPENLOCK mode0. - Submit that response through the same AT connection.
- Continue only after the modem returns
OK.
The profile name was the easy mistake to make. The router’s firmware starts with NTG9X50C, and its platform is MDM9650. Neither tells you to select MDM9x50 in this particular generator. The source maps MR1100 to MDM9x40; that was the profile that worked on my device.
I reviewed the generator and loaded only its two tables and SierraGenerator class. That avoided running the script’s unrelated device-discovery and connection code. It still executes third-party Python code, so this is not a sandbox or a substitute for reviewing the source.
Here is the small local wrapper. Save the reviewed upstream source as sierrakeygen.py beside it, then save this as root-response.py:
import ast
import binascii
import getpass
import re
from pathlib import Path
source = Path(__file__).with_name("sierrakeygen.py")
tree = ast.parse(source.read_text())
selected = []
for node in tree.body:
if isinstance(node, ast.Assign) and any(
isinstance(target, ast.Name)
and target.id in {"prodtable", "keytable"}
for target in node.targets
):
selected.append(node)
elif isinstance(node, ast.AnnAssign) and isinstance(node.target, ast.Name):
if node.target.id in {"prodtable", "keytable"}:
selected.append(ast.copy_location(
ast.Assign(targets=[node.target], value=node.value), node))
elif isinstance(node, ast.ClassDef) and node.name == "SierraGenerator":
selected.append(node)
namespace = {
"hexlify": binascii.hexlify,
"unhexlify": binascii.unhexlify,
}
module = ast.fix_missing_locations(ast.Module(body=selected, type_ignores=[]))
exec(compile(module, "reviewed-generator", "exec"), namespace)
challenge = getpass.getpass("OPENLOCK challenge, 16 hex characters: ").strip()
if not re.fullmatch(r"[0-9a-fA-F]{16}", challenge):
raise SystemExit("Expected exactly 16 hexadecimal characters")
generator = namespace.get("SierraGenerator")()
response = generator.run("MDM9x40", challenge, 0)
print('AT!OPENLOCK="' + response + '"')This wrapper performs no network operations and changes nothing on the router. It prints the command to submit in the existing AT session. Treat its output as authentication material: do not paste it into a public issue or include it in screenshots.
3. Enable the Engineering Shell and Reboot
After successful OPENLOCK authentication, I read the existing custom settings, enabled Telnet and the debug shell, then read the settings again:
AT!OPENLOCK?
AT!OPENLOCK="<generated response>"
AT!CUSTOM?
AT!TELEN=1
AT!CUSTOM="RDENABLE",1
AT!CUSTOM?Both setter commands returned OK. The custom-settings readback included RDENABLE with value 0x01.
At that point, port 23 was still closed. The settings took effect after the reset command:
AT!RESETAfter the router restarted and the computer regained its network address, I connected to Telnet port 23. The session produced a root shell without asking for a password.
I verified it with:
id
uname -aThe relevant results were:
uid=0(root) gid=0(root)
Linux mdm9650 3.18.31 ... armv7l GNU/LinuxA TCP connection to port 23 alone would not have proved root access. I needed the actual shell and the id result. A scripted client also had to handle Telnet’s IAC negotiation; reading the socket as if it were plain text was not sufficient.
There was one other authentication detail worth keeping: when I later opened a new AT connection and tried to restore the debug settings, the commands failed until I performed engineering authentication again. I did not treat authentication as persistent across connections or reboots.
4. Keep the Temporary Telnet Shell Restricted
This was a passwordless root shell using an unencrypted protocol. I initially restricted TCP port 23 to the computer’s current USB address. When I needed to switch to Ethernet, I changed that to a rule allowing only the router’s LAN interface and subnet, with other sources rejected. IPv6 needed its own policy too.
I added dedicated firewall chains rather than flushing the stock rules. The router already had rules governing cellular ingress and access to its engineering ports; those were worth preserving.
The connection switch was necessary because the router’s MyMedia interface warned that USB tethering had to be disabled before storage could be used. On this setup, moving to Ethernet also changed the computer’s source address. A helper hard-coded to the old USB address stopped working until I updated it.
Uploading scripts through the interactive Telnet session exposed another small limit. A long base64 command was truncated by the terminal’s input line handling and left the shell at a continuation prompt. Splitting the encoded payload into 220-character pieces worked. I then checked the decoded file, its shell syntax, and its hash before running it.
Telnet was a temporary installation path. The next goal was to replace it with SSH before depending on this router for anything else.
5. Build a Small, Key-Only SSH Server
The stock image did not have a usable sshd or Dropbear installation. I built Dropbear 2026.94 as a static ARMv7 program, using an Alpine 3.22 container for linux/arm/v7.
I checked the downloaded source archive against the SHA-256 value published by the project. I did not perform a separate GPG signature verification.
In localoptions.h, I disabled password and PAM authentication at build time:
#define DROPBEAR_SVR_PASSWORD_AUTH 0
#define DROPBEAR_SVR_PAM_AUTH 0Inside that ARMv7 build environment, these were the working configure and build commands:
apk add --no-cache build-base linux-headers
./configure --disable-zlib --disable-syslog --disable-lastlog \
--disable-utmp --disable-wtmp --disable-utmpx --disable-wtmpx
make -j4 PROGRAMS="dropbear dropbearkey" MULTI=1 STATIC=1 \
LDFLAGS="-Wl,-z,now -Wl,-z,relro -static -no-pie"
strip dropbearmulti
./dropbearmulti dropbear -VThe first link attempt failed because the generated flags combined static linking with PIE:
relocation R_ARM_THM_MOVW_ABS_NC ... can not be used when making a shared object
dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit statusThe explicit -static -no-pie link flags above fixed that build. The resulting stripped executable was 259,976 bytes, and it ran on the MR1100.
I installed the program under /data/codex-ssh/ on internal flash, with dropbear and dropbearkey symlinks pointing to dropbearmulti. Keeping SSH on internal storage mattered: the much larger VPN programs I installed later needed the removable card, and I wanted a maintenance path that did not depend on that card mounting correctly.
The root account’s home directory on this firmware was /home/root, not /root. My authorized public key went into /home/root/.ssh/authorized_keys, with directory mode 0700 and file mode 0600. The host key was generated on the router and stored with mode 0600. My client private key stayed on the computer.
The working server invocation was:
/data/codex-ssh/dropbear -s -p 0.0.0.0:2201 \
-P /run/codex-dropbear.pid \
-r /data/codex-ssh/dropbear_ed25519_host_keyI initially included -E to request stderr logging. That failed with Invalid option -E: compiling with --disable-syslog had removed that option, and this build already used stderr. Removing -E fixed the startup failure.
The invocation above is only the server command. Before starting it, I installed source restrictions for TCP 2201: my LAN on its bridge interface, and my selected VPN client subnet on its VPN interface. Other IPv4 sources were rejected. I did not open remote IPv6 SSH. The port number itself is not an access control.
I wrapped that configuration in /etc/init.d/codex-ssh, with an S99codex-ssh startup link and K05codex-ssh shutdown links. Its log and PID file lived in RAM; the executable and keys lived on internal flash. I verified a new, signed SSH session and pinned the router’s host key before removing Telnet.
6. Disable Telnet Without Falling Into the BusyBox Trap
My first attempt seemed reasonable: stop telnetd, reject port 23, and change its executable symlink to /bin/false.
That stopped the current daemon. After reboot, however, Telnet was listening again. The firewall still rejected connections, which initially hid the problem from an external port check.
The paths explained it:
/sbin/telnetd → /bin/false → /bin/busyboxThe running process’s executable was /bin/busybox, but its command line still began with /sbin/telnetd.
BusyBox is a multi-call executable: it selects an applet from the name used to invoke it. Following a symlink through false had not changed the invocation name. It still saw telnetd, so it ran the Telnet applet.
The symlink had survived the reboot exactly as written. It was the wrong way to disable the service.
The stock startup command was in /etc/init.d/swiapplaunch.sh:
TELNET=`/usr/bin/bsinfo -sn`
if [ $TELNET -ne 0 ]; then
/sbin/telnetd -l /bin/sh > /dev/null 2>&1 &
fiAfter backing up that script and the original entry point, I made three changes:
- Removed only this Telnet startup block, preserving the other application and hardware initialization in the script.
- Replaced
/sbin/telnetdwith a real executable shell script that exits with status1. - Kept IPv4 and IPv6 rules rejecting TCP port
23, and stopped any existing Telnet daemon.
The replacement file contained:
#!/bin/sh
#Telnet disabled; use key-only SSH on port 2201.
exit 1I wrote it to a separate temporary file and renamed that file over the symlink. Writing directly through the existing symlink could have overwritten its target, including BusyBox itself. This is a case where the distinction between replacing a directory entry and writing through it matters.
These changes disabled the service, but they did not reset the engineering flags. On my router, bsinfo -sn still returned 1. I had already established the SSH path, and the final arrangement deliberately relied on the changed startup script, the real exit script, and the firewall rules. I did not describe that as restoring every debug setting to its factory value.
7. Verify After a Real Reboot
Once SSH worked and the Telnet changes were in place, I rebooted again. I compared the kernel boot ID before and after, rather than assuming that a dropped connection proved a completed reboot.
I checked these on the router:
cat /proc/sys/kernel/random/boot_id
cat /proc/uptime
pidof telnetd
netstat -lnt
/etc/init.d/codex-ssh statusThe final check showed:
| Check | Observed Result |
|---|---|
| Boot identity | Changed after reboot |
| Telnet process | Not running |
TCP port 23 | No listener; connection attempts rejected |
TCP port 2201 | Listening |
| SSH authentication | Signed public-key login succeeded |
| SSH host key | Unchanged |
| Authorized keys | Preserved |
| Access restrictions | Present after reboot |
I tested both the local management path and SSH over the VPN. An unauthenticated connection was rejected. A temporary installation-test key was removed, and a new connection using that removed key was also rejected.
One subtle distinction: seeing Server accepts key in an SSH debug log is only the public-key query stage. It does not prove that the client completed a signature and opened a session. The final tests actually executed id through authenticated SSH.
Recovery and Limits
Before changing the stock scripts, I kept copies of their contents and recorded the original symlink targets. If I need to undo the service changes, those are the correct starting point; replacing a script with a guessed version from a different firmware is not.
During an earlier stage, I successfully restored the engineering settings through a newly authenticated AT session using:
AT!TELEN=0
AT!CUSTOM="RDENABLE",0I subsequently enabled them again while changing management connections. Those rollback commands were not the final Telnet-disable mechanism, and I did not validate a factory-equivalent state after the final SSH installation. Do not close your only working maintenance path before testing the replacement.
Firmware updates can replace the modified startup files. I also disabled the WebUpdater automatic-check, download, and install settings on this unit, but that was a separate configuration change. It does not prove that every manual, recovery, or carrier-managed update path is blocked, and it leaves responsibility for reviewing security updates with me.
There were further storage and power-management problems when I installed larger software on the removable card. Those deserve their own article. Root access and a successful reboot do not prove that every later service, card, or power state is reliable.
The result of this work was a verified root management path on one stock firmware version: USB engineering authentication to get in, key-only SSH for ongoing access, and a Telnet shutdown tested by process, listener, firewall, and reboot checks. The most useful lesson was the BusyBox one: changing where a symlink points does not necessarily change which applet will run.
