Nethserver on Raspberry Pi

,

Yes, it’s not quite clear how to do this (go to):
Network > Edit (interface) > choose “Internet (red)” from the pull-down menu and (without saving anything) “LAN (green)” again. (@giacomo …)

You be able to set a fixed IP, its not possible to set it back to “DHCP” once a fixed IP is set.

Tnx for testing!

mini howto wireless network

(on a rpi3: install firmware as described in README in root directory)

show all network interfaces
ip a

Look for your wireless interface (probably wlan0).
This mini-howto assumes wlan0 is the interface to be configured.

Systemd unit wpa_supplicant loads configuration from /etc/sysconfig/wpa_supplicant --and–
/etc/wpa_supplicant/wpa_supplicant.conf

edit /etc/sysconfig/wpa_supplicant

# Use the flag "-i" before each of your interfaces, like so:
#  INTERFACES="-ieth1 -iwlan0"
INTERFACES="-iwlan0"

setup your network credentials:
edit /etc/wpa_supplicant/wpa_supplicant.conf ; and add

network={
   ssid="YOUR_NETWORK_NAME"
   psk="YOUR_NETWORK_PASSWORD"
}

start and enable wpa_supplicant.service:

systemctl start wpa_supplicant
systemctl enable wpa_supplicant

check the results: (wpa_state=COMPLETED if authentication to wifi network succeeded)
wpa_cli status

run the config-network script. (this is quite a blunt tool, i don’t know a better one :hushed:)
nethserver-config-network

wlan0 can be configured in the web-gui.:slight_smile:

4 Likes

Thanks Mark. Worked perfectly.
Also the response of the web interface is good and very usable.

Tom

Don’t know where to post this, so I probably take the more generic post of all.

I followed instructions on wiki and the mini-howto fom @mark_nl some post before and all worked perfectly.

The only thing that didn’t work out of the box was the wireless interface. Plus, once manually configured (following wifi mini-howto) and assigned a role within the NethGUI, on restart the interface wouldn’t automatically go in up state.

You may fix it (and onboot behavior of the wlan0 interface) with the following commands:

db configuration set wpa_supplicant service status enabled mkdir /etc/e-smith/db/configuration/defaults/wpa_supplicant echo "service" > /etc/e-smith/db/configuration/defaults/wpa_supplicant/type echo "enabled" > /etc/e-smith/db/configuration/defaults/wpa_supplicant/status signal-event runlevel-adjust

3 Likes

the mini how-to is based on the alpha-2 @dev-team has done a realy good job,
“new” interfaces are recognized now.

This looks like it’s close to a new module for nethserver(-arm) :slight_smile:

I’v been thinking about it, did not figure out a way to filter out the wireless interfaces other that the name starts with a “w”.

1 Like

19 posts were split to a new topic: Build web filter modules for ARM

CentOS has just released the ARM64 build:

https://lists.centos.org/pipermail/centos-announce/2017-January/022193.html

2 Likes

@arm_team would you like to spend some time with that?

yes, i’m following it but from what i know, actually only very nice and very expensive enterprise-class ARMv8 board are fully supported.
ordroid-c2 and pine64 are community supported at the moment, but i have only a rpi3 maybe it’s time tu buy an ordroid…

more info:
https://wiki.centos.org/SpecialInterestGroup/AltArch/AArch64

and for rpi3:

no upgrade path at the moment… while @mark_nl is busy, i’m testing ns7 final on rpi…

if someone what to help me, are really welcome :slight_smile:
is only a test, probably not so stable so, be careful

create the sd with centos 7-1611 as per wiki
http://wiki.nethserver.org/doku.php?id=ns_raspi2

then set your keyboard, ie:
localectl set-keymap de

and expand root partition:
/usr/local/bin/rootfs-expand

update:
yum clean all
yum update -y

install ns7
yum localinstall http://mirror.framassa.org/nethserver7-arm/nethserver-release-7arm.rpm
nethserver-install

please report back, and please have patience, i really am short on time :frowning:
tested only on rpi2 (i’ve left in the repo the aarch64 files but i didn’t have hardware to test)
tnx

3 Likes

Yes this is just perfect, I’ll try it in the next few days on my RPi 3.
I tried OpenMediaVault with OwnCloud and a nextcloud ubuntu image from here but bot were lacking in speed an stability.
If this works well it could be the solution to my problem (many mobile users taking photos, needing backup)

1 Like

Thanks man for your time, hope that someone else will help you @arm_team @Tom @EddieA @islipfd19

I am also interested in using Nethserver with a Arm based SoC (a Banana / Lamobo BPi-R1) but do to other commitments, I am going have to put this project on the back burner for a while.

2 Likes

Unfortunately I do not have any spare RPi’s available.

Sounds great let us know how your tests go

new wiki page, for Nethserver 7 on Raspberry/Arm
please report back, tnx

http://wiki.nethserver.org/doku.php?id=ns7_rasp

6 Likes

Yes, great work, thanks. Came in handy today :slight_smile:
Did a reinstall from scratch on my RPi3, flashed the image and resized the partitions on the SD with computer and copied my tweaked board settings config.txt (and remove swap partition and fstab entry while I was at it).
Boot up on the RPi, login and update … failed to get some firmware packages (userland’s fault?). Manually downloaded and localinstall-ed affected packages and update went through.
Installed nextcloud and webserver from the servermanager. I’ll have to connect some disks and shares and remount them in proper places, but thats for my next adventure :innocent:
Also the dashboard patch is great

3 Likes

Nice job, works quite well from what I’m seeing. This is going to be in a demo for some Electronic Fairs and other local events in which we will show RPis and other platforms (I have a Pine64 and also some Onion Omegas).

Unfortunately 1611 image for arm7l lacks firmware for the Broadcom Wireless interface (shame). I found someone that managed to find all the needed files and put together a script, so:

curl -sSL https://gist.githubusercontent.com/rhwood/9d4bd315bf6a183c057c156743646d48/raw/65e28a279d753b86e8e9e6ffaf4d8337eb16c3e3/rpi3-wireless-drivers.sh | bash

So this has to be done before the mini-wireless howto put up from @mark_nl and my additional information on auto-starting wpa_supplicant. Run the script, reboot, then go on with the mini-howto. Add my commands, then enjoy your wireless interface going up on boot :wink:

3 Likes

Hallo,

today I checked my raspi 3’s ram in Nethserver Dashboard:

there are only 924 MB of Ram shown. How can I assign more RAM of the 2GB for system under Nethserver?

[EDIT]
Okay I was a little bit confused, the RPI3 has only 1 GB of RAM. I confused the technical spec’s of RPI with my Jolla C …
[/EDIT]

Then I have the problem that the RAM will be full after 2 days and the pi hangs.

Has somebody else this problem too?

How can I solve that problem? By increasing the swap only or are there other possibilities?

with warm regards from Leipzig

Denis

@arm_team @syntaxerrormmm @indra @medworthy could you help Denis? I would appreciate it