Files
mu300-linux/docs
Abdurrahman Kaan DikeçandClaude Opus 5 9e9bc4ead4 Mobile data works: the downlink needed the delegate loaded after the modem
Measured on the device, one boot after the reordering. sipa_eth0 receives for the first time, the IPA receive
interrupt fires, DNS resolves through the carrier's own resolvers and a TCP handshake to 1.1.1.1:443 completes.

                        before          after
  rx_packets            0, always       climbs with every request
  irq 64 multi-sipa-0   0               67 and rising
  PROD_CP               released        granted, ref 1
  nic rc / nrt          0 / 1           4 / 0
  channel 5-120         no trace        send open msg 50.9s, receive open msg + success 60.8s
  sipa_dele             silent          type=5 flag=1 -> CONS_WWAN_DL 0->2 -> type=6 flag=1, cycling

The modem answers the channel open as soon as it is up, and 60.8 s is exactly when modem_control has the CP
talking - smsg_ch_open(dst, chan, -1) waits that out quite happily. So the early load did not fail by being
early in itself; it failed because the CP was reset underneath it afterwards, which is the path where
smsg_recv errors out and conn_thread exits for good.

Two things that are not this bug and cost hours looking like it, both now written down and one now fixed:

A stopped VPN left its policy routing behind. sing-box installs prefs 9000-9010 and table 2022 itself through
auto_route and can only remove them when it exits cleanly, so a kill or a crash leaves every packet directed
into a tunnel with nothing at the other end. The whole system then answers "Operation not permitted" and reads
exactly like a dead modem - the data path was fine and the tests were being answered by a routing rule.
"mu300-vpn off" now clears that too, and only when nothing is running, so it can never take the rules away
from a live tunnel.

And a resolv.conf left behind by Docker: images built before the build fix carry the container's
nameserver 192.168.65.7 as a regular file instead of the symlink to /tmp/resolv.conf, so every name lookup
fails while addresses work.

What remains is not ours. With the tunnel down, DNS and 1.1.1.1:443 are reachable over the bearer and other
destinations time out, which is the carrier restricting where this SIM may go.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-20 23:37:16 +03:00
..