Unable to access meshtasticd while running
Assuming issue is that “Error starting Web Server framework, error number: 4”
raspberry pi 5
Waveshare sx1262-lorawan-hat, sku 24654, Part Number: SX1262 868/915M LoRaWAN/GNSS HAT
with ML1220 1220 Lithium 3V Rechargeable Battery
cat /etc/debian_version
12.5
cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)”
NAME=“Debian GNU/Linux”
VERSION_ID=“12”
VERSION=“12 (bookworm)”
VERSION_CODENAME=bookworm
ID=debian
installed by
sudo apt install libgpiod-dev libyaml-cpp-dev libbluetooth-dev
sudo apt install openssl libssl-dev libulfius-dev liborcania-dev
curl -o meshtasticd_2.3.7.30fbcab_arm64.deb https://github.com/meshtastic/firmware/releases/download/v2.3.7.30fbcab/meshtasticd_2.3.7.30fbcab_arm64.deb
sudo apt install ./meshtasticd_2.3.7.30fbcab_arm64.deb
serial Port enabled
serial console enabled
Remote GPIO enabled
/boot/firmware/config.txt
dtparam=spi=off
dtoverlay=spi0-0cs
#dtoverlay=uart0
enabled_uart=1
/etc/meshtasticd/config.yaml
Module: sx1262 # Waveshare SX126X XXXM
DIO2_AS_RF_SWITCH: true
CS: 21
IRQ: 16
Busy: 20
Reset: 18
DIO3_TCXO_VOLTAGE: true
gpiochip: 4
GPS:
SerialPath: /dev/ttyAMA0
Logging:
LogLevel: debug # debug, info, warn, error
Webserver:
Port: 443 # Port for Webserver & Webservices
RootPath: /usr/share/doc/meshtasticd/web # Root Dir of WebServer
meshtasticd -c /etc/meshtasticd/config.yaml
DEBUG | ??:??:?? 0 Filesystem files:
DEBUG | ??:??:?? 0 /.. (0 Bytes)
DEBUG | ??:??:?? 0 /prefs/.. (0 Bytes)
DEBUG | ??:??:?? 0 /prefs/db.proto (512 Bytes)
DEBUG | ??:??:?? 0 /prefs/channels.proto (57 Bytes)
DEBUG | ??:??:?? 0 /prefs/. (0 Bytes)
DEBUG | ??:??:?? 0 /. (0 Bytes)
INFO | ??:??:?? 0 No I2C device configured, skipping.
INFO | ??:??:?? 0 No I2C devices found
INFO | ??:??:?? 0 Meshtastic hwvendor=37, swver=2.3.7.30fbcab
INFO | ??:??:?? 0 Initializing NodeDB
INFO | ??:??:?? 0 Loading /prefs/db.proto
INFO | ??:??:?? 0 Loaded /prefs/db.proto successfully
INFO | ??:??:?? 0 Loaded saved devicestate version 22, with nodecount: 1
INFO | ??:??:?? 0 File /prefs/config.proto not found
INFO | ??:??:?? 0 Installing default LocalConfig
INFO | ??:??:?? 0 Setting default channel and radio preferences!
DEBUG | ??:??:?? 0 Expanding short PSK #1
INFO | ??:??:?? 0 Wanted region 0, using UNSET
INFO | ??:??:?? 0 File /prefs/module.proto not found
INFO | ??:??:?? 0 Installing default ModuleConfig
INFO | ??:??:?? 0 Loading /prefs/channels.proto
INFO | ??:??:?? 0 Loaded /prefs/channels.proto successfully
INFO | ??:??:?? 0 Loaded saved channelFile version 22
INFO | ??:??:?? 0 File /oem/oem.proto not found
DEBUG | ??:??:?? 0 cleanupMeshDB purged 0 entries
DEBUG | ??:??:?? 0 Using nodenum 0x672ec0d6
DEBUG | ??:??:?? 0 Expanding short PSK #1
INFO | ??:??:?? 0 Wanted region 0, using UNSET
DEBUG | ??:??:?? 0 Set Timezone to GMT0
DEBUG | ??:??:?? 0 Read RTC time as 1714629492
DEBUG | ??:??:?? 0 NeighborInfoModule is disabled
INFO | ??:??:?? 0 File /prefs/cannedConf.proto not found
INFO | ??:??:?? 0 CannedMessageModule is enabled
DEBUG | ??:??:?? 0 Attempting to activate sx1262 radio on SPI port /dev/spidev0.0
DEBUG | ??:??:?? 0 SX126xInterface(cs=21, irq=16, rst=18, busy=20)
DEBUG | ??:??:?? 0 SX126X_DIO3_TCXO_VOLTAGE defined, using DIO3 as TCXO reference voltage at 1.800000 V
INFO | ??:??:?? 0 Starting meshradio init...
DEBUG | ??:??:?? 0 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=0, time 231 ms
DEBUG | ??:??:?? 0 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=253, time 2115 ms
INFO | ??:??:?? 0 Radio freq=906.875, config.lora.frequency_offset=0.000
INFO | ??:??:?? 0 Set radio: region=UNSET, name=LongFast, config=0, ch=19, power=30
INFO | ??:??:?? 0 Radio myRegion->freqStart -> myRegion->freqEnd: 902.000000 -> 928.000000 (26.000000 mhz)
INFO | ??:??:?? 0 Radio myRegion->numChannels: 104 x 250.000kHz
INFO | ??:??:?? 0 Radio channel_num: 20
INFO | ??:??:?? 0 Radio frequency: 906.875000
INFO | ??:??:?? 0 Slot time: 42 msec
INFO | ??:??:?? 0 Set radio: final power level=22
INFO | ??:??:?? 0 SX126x init result -707
INFO | ??:??:?? 0 Frequency set to 906.875000
INFO | ??:??:?? 0 Bandwidth set to 250.000000
INFO | ??:??:?? 0 Power output set to 22
DEBUG | ??:??:?? 0 Current limit set to 140.000000
DEBUG | ??:??:?? 0 Current limit set result 0
DEBUG | ??:??:?? 0 Setting DIO2 as RF switch
DEBUG | ??:??:?? 0 Using MCU pin -1 as RXEN and pin -1 as TXEN to control RF switching
INFO | ??:??:?? 0 Set RX gain to boosted mode; result: 0
INFO | ??:??:?? 0 SX1262 Radio init succeeded, using SX1262 radio
INFO | ??:??:?? 0 Using webserver port from yaml config. 443
INFO | ??:??:?? 0 Webserver started ....
ERROR | ??:??:?? 0 Error starting Web Server framework, error number: 4
INFO | ??:??:?? 0 API server listening on TCP port 4403
DEBUG | ??:??:?? 0 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=237, time 2000 ms
DEBUG | ??:??:?? 0 LoRA bitrate = 118.500000 bytes / sec
INFO | ??:??:?? 0 PowerFSM init, USB power=1
DEBUG | ??:??:?? 0 Enter state: BOOT