[Freedombox-discuss] Setting up a FreedomBox on an apu1d4. Problem with "network".

Sunil Mohan Adapa sunil at medhas.org
Tue Feb 16 18:11:37 UTC 2016

On 02/13/2016 08:40 AM, A. F. Cano wrote:
> I just installed the latest freedombox image on a 4GB SD card:
> dd bs=1M if=freedombox-unstable-free_2015-12-13_all-amd64.img of=/dev/sde conv=fdatasync
> dd: writing `/dev/sde': No space left on device
> 3797+0 records in
> 3796+0 records out
> 3980394496 bytes (4.0 GB) copied, 180.22 s, 22.1 MB/s
> I put the SD card in the slot and it seems to have booted up fine.  For now
> the freedombox is just connected to a standalone computer via the center
> ethernet port.  I can access it at after I configured the computer
> like this:
> ifconfig eth0 netmask

You should not have to configure the computer manually.  FreedomBox
should act as a DHCP server and provide your computer a proper IP address.

> From the browser, I got all the warnings about certificates as explained
> here: https://wiki.debian.org/FreedomBox/Manual and then I was told that
> the initial set up was done and I had 2 choices (buttons): network and
> applications.  I selected network and it showed that only one interface
> was connected: FreedomBox LAN enp2s0.  When I clicked on it, to see if I
> could change the IP address (I run static IP addresses in my local
> network - 192.168.x.x) I got this:
> 500
> This is an internal error and not something you caused or can fix.  Please
> report the error on the bug tracker so we can fix it.

This is a known issue while showing the details of a network connection.
 As a workaround, from here you can proceed to editing the network
connection by typing "/edit" at the end of the show URL.  This issue is
fixed in the latest version of Plinth (0.7.2, or it could be the
upcoming version 0.8).

Even though you see the above error, it is not a hindrance to editing,
activating, deactivating or deleting the connection with workaround.
You may alternatively use the 'nmtui' and 'nmcli' command line tools for
editing Network Manager connections (for which Plinth is simply a Web UI).

> Is what I'm trying to do possible?  I would like to change the IP address
> of the freedombox to 192.168.x.x so it fits into my internal network.  For
> the "outside" or WAN ethernet port I will have a 4-port router to which are
> connected 2 Ubiquiti bullet 2 (HP and M2 HP) in station mode.  This setup
> was working very nicely (without the freedombox) when there was wifi
> available, which is not the case now.  So, as a backup I would like to use
> a tethered cell phone in a usb port on the apu1d4/freedombox.  Since ths
> tethered phone acts like a modem (which works great although quite slowly,
> with ppp when connected directly to a computer) it would be really nice
> if I could just plug it in into the freedombox and have internet access
> when the 2 ubiquitis don't find an AP.

I am not really clear on the targeted network setup.  However, since you
want to connect using Phone sometimes, here is what comes to my mind:

Regular Internet:

Internet --> (Slot 1) FreedomBox (Slot 2 or 3) --> Downstream router -->

Internet with Phone:

Phone (USB) --> (USB) FreedomBox (Slot 2 or 3) --> Downstream router -->

1) To connect Internet connection on Slot 1, if DHCP works, leave the
default configuration, otherwise, edit as necessary.  zone should be

2) When you connect a USB tethered phone it will show us as an Ethernet
device.  Which you can configure as 'external' connection in Plinth.  If
your phone only provides PPP, you will have configure that from 'nmtui'
from command line (Plinth does not do PPP connections yet)

3) For Slot 2 or 3, you don't have to configure much.  FreedomBox will
automatically provide DHCP addresses (10.42.0.x series) to router and
which ever device wants to connect.  If you want to change the allocated
pool of IP addresses, Plinth UI does not have the capability yet.  You
will have to do this using nmtui on command line.  For example, if you
want to have to 254 addresses allocated, then set the method
to 'shared', IP to and netmask to 24.

Hope this helps, do write about your targeted layout.


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

More information about the Freedombox-discuss mailing list