[Freedombox-discuss] freedombox on fit-pc4

Jan Costermans jancostermans at gmail.com
Mon Feb 29 23:11:34 UTC 2016


A quick update on my attempts to set up freedombox on the fit-pc 4 pro.

The WiFi is now working. I didn't select "shared".
This was in /var/log/syslog:

> Feb 29 23:45:05 myhostname plinth[656]: 127.0.0.1 - -
> [29/Feb/2016:23:45:05] "GET /plinth/static/theme/img/network-computer.svg
> HTTP/1.1" 304 - "https://myhostname.local/plinth/sys/networks/"
> "Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
> Iceweasel/44.0.2"
> Feb 29 23:45:09 myhostname NetworkManager[642]: <warn>  (wlp2s0): DHCPv4
> request timed out.
> Feb 29 23:45:09 myhostname NetworkManager[642]: <info>  (wlp2s0): DHCPv4
> state changed unknown -> timeout
> Feb 29 23:45:09 myhostname NetworkManager[642]: <info>  (wlp2s0): canceled
> DHCP transaction, DHCP client pid 2222
> Feb 29 23:45:09 myhostname NetworkManager[642]: <info>  (wlp2s0): DHCPv4
> state changed timeout -> done
> Feb 29 23:45:09 myhostname NetworkManager[642]: <info>  (wlp2s0): device
> state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120
> 5]
> Feb 29 23:45:09 liefjes NetworkManager[642]: <warn>  (wlp2s0): Activation:
> failed for connection 'mySSID'
> Feb 29 23:45:09 myhostname NetworkManager[642]: <info>  (wlp2s0): device
> state change: failed -> disconnected (reason 'none') [120 30 0]
> Feb 29 23:45:09 myhostname avahi-daemon[516]: Withdrawing address record
> for f0f0::f0f0:f0f0:f0f0:f0f0 on wlp2s0.
> Feb 29 23:45:09 myhostname avahi-daemon[516]: Leaving mDNS multicast group
> on interface wlp2s0.IPv6 with address f0f0::f0f0:f0f0:f0f0:f0f0.
> Feb 29 23:45:09 myhostname avahi-daemon[516]: Interface wlp2s0.IPv6 no
> longer relevant for mDNS.
> Feb 29 23:45:09 myhostname kernel: [ 1090.328612] iwlwifi 0000:02:00.0: L1
> Disabled - LTR Disabled
>

I've deleted all interfaces and configured the WiFi with 'shared'. It looks
pretty stable for now. Also much faster compared to the olinuxino A20 wifi
dongle.

I still have an issue with the connections. When opening the WiFi settings
page in plinth, it throws an internal error 500 page. Here's the log:

> Mar  1 00:01:46 myhostname plinth[656]: 127.0.0.1 - -
> [01/Mar/2016:00:01:46] "GET /plinth/static/theme/img/network-ethernet.svg
> HTTP/1.1" 304 - "https://myhostname.local/plinth/sys/networks/"
> "Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
> Iceweasel/44.0.2"
> Mar  1 00:01:51 myhostname plinth[656]: [2016-03-01 00:01:51,402]
> django.request ERROR    Internal Server Error:
> /plinth/sys/networks/4db6ab0b-2647-492f-8d78-e1f073d9b89a/show/
> Mar  1 00:01:51 myhostname plinth[656]: Traceback (most recent call last):
> Mar  1 00:01:51 myhostname plinth[656]: File
> "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 149, in
> get_response
> Mar  1 00:01:51 myhostname plinth[656]: response =
> self.process_exception_by_middleware(e, request)
> Mar  1 00:01:51 myhostname plinth[656]: File
> "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 147, in
> get_response
> Mar  1 00:01:51 myhostname plinth[656]: response =
> wrapped_callback(request, *callback_args, **callback_kwargs)
> Mar  1 00:01:51 myhostname plinth[656]: File
> "/usr/lib/python3/dist-packages/plinth/modules/networks/networks.py", line
> 97, in show
> Mar  1 00:01:51 myhostname plinth[656]: device,
> connection_status['wireless']['ssid'])
> Mar  1 00:01:51 myhostname plinth[656]: File
> "/usr/lib/python3/dist-packages/plinth/network.py", line 172, in
> get_status_from_wifi_access_point
> Mar  1 00:01:51 myhostname plinth[656]: if
> access_point.get_ssid().get_data() == ssid:
> Mar  1 00:01:51 myhostname plinth[656]: AttributeError: 'NoneType' object
> has no attribute 'get_data'


Looks like a bug in the "get_status_from_wifi_access_point function?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20160301/6ec914d6/attachment.html>


More information about the Freedombox-discuss mailing list