Expose Tethering settings to user

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
3 years ago
8 months ago

People

(Reporter: gerard-majax, Unassigned)

Tracking

({foxfood})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
In dom/system/gonk/TetheringService.js we have lots of settings key defined to control the behavior of WiFi and USB tethering. But user has no way to change those.

That makes the feature useless if you are unlucky. Story of my life, fiber cut, no more DSL. I wanted to use my B2G device in USB tethering on my router to get network in the meantime.

Bad luck, the tethering networks are 192.168.0.0/24 for USB and 192.168.1.0/24 for WiFi. Same as mine. So I needed to change USB tethering network.

Since it's not exposed and not reacting to prefs, one has to plug WebIDE and play with |navigator.mozSettings.createLock().set()| directly ...
(Reporter)

Updated

3 years ago
Flags: needinfo?(changyihsin)
Flags: needinfo?(arthur.chen)
Hi Alexandre, we have setTetheringEnabled WebAPI [1] to turn on/off wifi/usb tethering. You can also specify ip address in TetheringConfiguration params.   


[1] https://dxr.mozilla.org/mozilla-central/source/dom/webidl/MozTetheringManager.webidl?from=MozTetheringManager.webidl&case=true#54
Flags: needinfo?(changyihsin)
Vincent, using this API means that it is required to use API for toggling wifi, right?
Flags: needinfo?(arthur.chen)
Keywords: foxfood
Keywords: dogfood

Comment 3

8 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.