Meshsense: install on linux or others
Meshsense linux
Best success:
- Rpi 4 with docker, running meshtastic and hosting RP2040 on serial mode
- Created a Pi4 running meshsense beta 1.10 on raspian bullseye also meshtastic python, dual homed to see internal and remote networks, hosting an RP2040 22 dB module in serial mode.
- Will test next another unit running a meshdev 30dB unit, and pi zeroW with POE modules.
- Ideally, if I can get any pi hosting a HAT like the meshdev units to self-host meshsense, that would be great.
Ubuntu 24:
- root/password
- scp to unit
- sudo chmod a+x mesh*
- ./mesh* --appimage-extract
- cd sq*
- look for squashfs folder
meshsense from GUI or:
headless:
- sudo apt install libatk-bridge2.0-0
- sudo apt install libcups2
- sudo apt install libgdk-pixbuf-2.0-0
- sudo apt install libgtk-3-0 -y
- sudo apt install libgbm1 -y
- sudo apt install xvfb
- su root
- cd sq*
- dbus-run-session xvfb-run ./meshsense --headless --disable-gpu --in-process-gpu --disable-software-rasterizer --no-sandbox
- remote admin papaya77
install meshtastic:
- sudo apt install pipx -y
- pipx install meshtastic
- pipx ensurepath
pytest: python3 /usr/bin/py.test
add for serial access to meshtastic:
sudo usermod -a -G dialout user1
logout-login
Pi 3/4/5 64: (best version)
must be 64 bit-fails on 32bit
docker install:
- sudo apt update
- sudo apt install -y wget
- wget https://github.com/roperscrossroads/meshsense-docker-arm64/raw/main/install-docker.sh
- chmod +x install-docker.sh
- ./install-docker.sh
- newgrp docker
sudo docker run --name meshsense \
- -p 5920:5920 \
- -e PORT=5920 \
- -e HOST=0.0.0.0 \
- -e ACCESS_KEY=papaya77 \
- -e DISPLAY=:99 \
- --cap-add NET_ADMIN \
- -v meshsense-data:/home/mesh/.meshsense \
- -v /run/dbus:/run/dbus:ro \
- --restart unless-stopped \
- --user 1000:1000 \
- --label project=meshsense \
ghcr.io/roperscrossroads/meshsense-docker-arm64:main
start bluetooth:
- bluetoothctl
- power on
- agent on
- default-agent
- scan on
- pair 00:1D:43:6D:03:26
- trust 00:1D:43:6D:03:26
- connect 00:1D:43:6D:03:26
scan off
exit
Install meshtastic CLI:
- sudo apt install pipx -y
- pipx install meshtastic
- pipx ensurepath
debian install:
debian 12
- install docker (various)
- docker run --rm -v ./data:/root/.local/share/meshsense/ -v ./dbus/:/var/run/dbus/system_bus_socket:ro -p 5920:5920 y0mg/meshsense:amd64
Migrated from Apple Server Wiki. Original page ID: 91v0p6