Skip to content

Hotspot (tethering) mode not working properly after 0.9.8 update #34969

Closed
@cloudrainstar

Description

@cloudrainstar

Describe the bug

Steps to reproduce: pop in a SIM card, internet works over lte on comma 3x, then enable tethering, internet stops working on comma 3x, and internet doesn't work on any devices connected to weedle hotspot.
I ssh'd into the comma to check, it seems that in openpilot 0.9.7 the ipv4.route-metric=1100 is correctly shown when checking with the ip route command. However, in openpilot 0.9.8 the metric is set to 600, which is higher priority than the lte route metric at 1000. Doing an ip route del route default via 192.168.43.1 will allow the comma 3x to reach the internet again, but the connected devices will still not have internet.
Additionally, iptables nat rules are set when enabling tethering on 0.9.7, but 0.9.8 iptables have been upgraded to netfilters and I didn't see any nat rules for iptables and iptables-legacy, not sure if that is also part of this issue.

Provide a route where the issue occurs

N/A

openpilot version

0.9.8

Additional info

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions