Add a protocol selection to WiFi connections

asked 2015-04-01 11:05:21 +0300

Fludizz gravatar image

updated 2016-08-17 10:55:38 +0300

jiit gravatar image

It would be nice to be able to select which protocols (e.g. IPv4 and/or IPv6) to use on a specific wireless network.

Example 1: You are connected to a wireless network that has IPv6 enabled but connectivity on IPv6 is not working as it should and you are not in the position to correct the network. Having a checkbox in the network configuration that allows you to disable certain protocols (in this case: IPv6) would work around this problem.

Example 2: You are connecting to an IPv6 only network. Connecting is troublesome as the connection attempts to configure an IPv4 address. Currently, to work around this, you'd have to manually set a static IPv4 address to be able to connect properly. Having a checkbox to disable IPv4 would fix this problem.

Would it be possible to get a checkbox to enable/disable IPv4 and a checkbox to enable/disable IPv6 per WiFi network?

EDIT 24-11-2015: The below proposed solution, the connmanctl utility, doesn't appear to be available in Sailfish OS 2.

edit retag flag offensive close delete

Comments

1

You can do this from command line. For example to disable ipv6 do connmanctl config serviceid ipv6 off

You can get the serviceid by connmanctl services command.

jr ( 2015-04-02 01:14:13 +0300 )edit

Unfortunately, the utility connmanctl no longer seems to be available in Sailfish 2.0 - are there any other options available?

Fludizz ( 2015-11-24 13:30:57 +0300 )edit
1

@Fludizz it is available, please check "which connmanctl". :)

tigeli ( 2015-11-24 23:26:39 +0300 )edit

Strange enough, it's not available on my Jolla?

[nemo@brigand ~]$ version
SailfishOS 2.0.0.10 (Saimaa) (armv7hl)
[nemo@brigand ~]$ which connmanctl
which: no connmanctl in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/nemo/bin)
Fludizz ( 2016-02-20 18:10:12 +0300 )edit