[Freedombox-discuss] Error when trying to edit WiFi-connection

Sunil Mohan Adapa sunil at medhas.org
Sat Sep 17 17:49:47 UTC 2016


On 09/17/2016 02:14 PM, Dieter wrote:
> Hello mailing-list!
> 
> I'm currently having trouble editing the WLAN-Connection of my
> freedombox (not having done much with the box in the last months).
> 
> The problem started when i rebooted the box yesterday, as since then,
> the same ip-address range gets assigned to the local ethernet connection
> eth0 as well as to wlan0.

Usually when you have multiple network connections in shared mode, then
network manager automatically chooses different IP address ranges (like
you have shown below), 10.42.0.1/24, 10.42.1.0/24, etc.

However, you can control this range if you want to.  After selecting
'shared' mode in the connection settings, set the IP address to the
first IP address (say 10.42.6.1) in the desired range (10.42.6.1/24) and
set the subnet mask suitable for the range (say 24, can't be less than
24, I think).

> 
> The following error occurs:
> 
> [2016-09-17 10:38:19,537] django.request ERROR    Internal Server Error:
> /plinth/sys/networks/9716ce20-1597-4eb2-839b-7f06e4cc9085/delete/
> Traceback (most recent call last):
>   File
> "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line
> 39, in inner
>     response = get_response(request)
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py",
> line 249, in _legacy_get_response
>     response = self._get_response(request)
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py",
> line 187, in _get_response
>     response = self.process_exception_by_middleware(e, request)
>   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py",
> line 185, in _get_response
>     response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File
> "/usr/lib/python3/dist-packages/plinth/modules/networks/networks.py",
> line 365, in delete
>     name = network.delete_connection(uuid)
>   File "/usr/lib/python3/dist-packages/plinth/network.py", line 454, in
> delete_connection
>     connection.delete()
> GLib.GError: g-dbus-error-quark: The name :1.6 was not provided by any
> .service files (2)

This looks nasty.  If you are trying to delete a connection and are
unable to, then you can work around by manually deleting from command line.

Network Manager terminal interface:

$ nmtui

Or using command line interface. List connections:

$ nmcli connection

Delete connection:

$ nmcli connection delete "<connection name>"

Hope this helps.

-- 
Sunil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20160917/a9b4e819/attachment.sig>


More information about the Freedombox-discuss mailing list