Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: wifi: wifi_handlers: networkmanager: Add default gateway for wifi hotspot #3112

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ async def enable_hotspot(self, save_settings: bool = True) -> bool:
"create_ap",
"-n", # self._ap_interface, # Uncomment for routing internet (seemed to cause communication issues when starting hotspot)
"uap0", # Use physical interface for internet
"-g",
"192.168.42.1", # IPv4 Gateway for the Access Point
"--redirect-to-localhost", # Redirect all traffic to localhost, captive-portal style
credentials.ssid,
credentials.password,
Expand Down