Applies to · OpenWrt 25.12.6 · ipq40xx/generic · ser2net · /dev/ttyUSB0
What to check
Distinguish between parameter requirements for numeric-only port fields and separate listening address fields, and inspect the generated ser2net configuration.
Connect over Ethernet and run the following commands in an SSH session on the router.
logread -e ser2net
ls -l /dev/ttyUSB0
How to interpret the result
Open the actually used ser2net.yaml file and check the listen address and port 16638. Correct the configuration by removing or replacing any values that include 127.0.0.1. Ensure the fields are accurate, then verify the current version's listen syntax and serial device settings. Keep the configuration limited to local machine listening only.
Verify and recover
Confirm that ser2net listens only on loopback and that an authorized local application can use the serial port. Restore the previous configuration if the binding is wrong.
Related guide · Identify a new device from OpenWrt lease and access logs
Comments