I’ve been trying for hours to get the board running under
Linux to work properly on a notebook.
( No problem with Raspberry but with
my Lenovo notebook doesn’t work.)
(and yes, I have the MiniPICE to USB Carrier Board)
Notebook:
**ubuntu 19.10 ** notebook 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
If I follow the instructions . changing WLAN interface names etc.
… Installation breaks with the
Error message:
Failed to disable unit: Unit file hciuart.service does not exist
…
unfortunately. Is there a step by step howto
for Ubuntu / Debian ?
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
Alle Pakete sind aktuell.
/opt/rak_common_for_gateway/rak /opt/rak_common_for_gateway
Failed to disable unit: Unit file hciuart.service does not exist.
Hmm… the set_eui.sh doesnt exist in…/lora/rak2247_usb/
the other files ca i modifiy…
the set_eui.sh exists in /lora/
i modified it but nothing happens…
Hi @fritze,
We have finished installing the source code of rak2247 on ubuntu, you just need to clone it and execute "sudo ./install.sh" to complete the installation.
If i use your git package with Ubuntu 18.04.3 Server
The ttn-gateway,service works !
but:
● ttn-gateway.service - The Things Network Gateway
Loaded: loaded (/lib/systemd/system/ttn-gateway.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-01-01 16:17:10 UTC; 4min 0s ago
Main PID: 5247 (start.sh)
Tasks: 6 (limit: 4915)
CGroup: /system.slice/ttn-gateway.service
├─5247 /bin/bash /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/start.sh
└─5255 ./lora_pkt_fwd
Jan 01 16:20:14 fritze ttn-gateway[5247]: ### [GPS] ###
Jan 01 16:20:14 fritze ttn-gateway[5247]: # GPS sync is disabled
Jan 01 16:20:14 fritze ttn-gateway[5247]: ##### END #####
Jan 01 16:20:14 fritze ttn-gateway[5247]: JSON up: {“stat”:{“time”:“2020-01-01 16:19:44 GMT”,
Jan 01 16:20:14 fritze ttn-gateway[5247]: INFO: [up] PUSH_ACK received in 62 ms
Jan 01 16:20:14 fritze ttn-gateway[5247]: INFO: [down] PULL_ACK received in 65 ms
Jan 01 16:20:14 fritze ttn-gateway[5247]: INFO: [down] PULL_ACK received in 59 ms
Jan 01 16:20:14 fritze ttn-gateway[5247]: INFO: [down] PULL_ACK received in 60 ms
Jan 01 16:20:14 fritze ttn-gateway[5247]: ##### 2020-01-01 16:20:14 GMT #####
Jan 01 16:20:14 fritze ttn-gateway[5247]: ### [UPSTREAM] ###
… i want to control it via WEB UI. like LoraServer or Chirpstack WebUI
want to check for Packet Capture / Live Lora Frames for testing.
My attempt to solve this,
but unfortunately it didnt work fully functional:
… 1 .
i copied your new git content in the directorys/content in
in the old directory rak_common_for_gateway
Source: /github.com/RAKWireless/rak_common_for_gateway.git
2. i change my ethernet internet connection in:
GATEWAY_EUI_NIC=“enp3s0”
in files: rak_common_for_gateway/lora/set_eui.sh rak_common_for_gateway/update_gwid.sh
because… no entry in rak_common_for_gateway/lora/rak2247/install.sh
i let it unmodified.
3. i deleted the line:
rak/install.sh:systemctl disable hciuart to solve the abort and
error message “Failed to disable unit: Unit file hciuart.service does not exist”
4. now i can run the install.sh
and install it… hmm
…
WARNING: ChirpStack is not support for this rpi model.
i have no Raspberry here, its an Lenovo Notebook.
let me know if you have an easyier solution to control
the magnificient Board via WebUi! ??
What model is your Raspberry Pi?
Your Raspberry Pi model should be Raspberry Pi 0, Raspberry Pi 1 or Raspberry Pi 2.
Chirpstack does not work on Raspberry Pi 0.
For Raspberry Pi 1 or Raspberry Pi 2, you may need to try it yourself.
If you want to install chirpstack on Raspberry Pi 1 or Raspberry Pi 2, you need to do something:
Go to the rak_common_for_gateway/chirpstack/ directory.
Modify the install.sh file in the rak_common_for_gateway/chirpstack directory.
Comment out the content shown below.
4.Run the command sudo ./install.sh in the rak_common_for_gateway/chirpstack directory to complete the installation.
5.Restart your Raspberry Pi after the installation is complete, use the command ps -ef | grep chirpstack to see if the related processes of chirpstack exist.