2024-10-06 23:18:16 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
modprobe regmap_spi
|
|
|
|
modprobe mac802154
|
2024-10-19 08:48:03 +02:00
|
|
|
insmod /home/loro/LoRo/LoRo/loro.ko tx_poll_div=1
|
|
|
|
sleep 1
|
2024-10-06 23:18:16 +02:00
|
|
|
ip link set down wpan0
|
|
|
|
iwpan dev wpan0 set pan_id 0xbeef
|
|
|
|
ip link add link wpan0 name lowpan0 type lowpan
|
|
|
|
ip link set up wpan0
|
|
|
|
ip link set up lowpan0
|
2024-10-19 08:48:03 +02:00
|
|
|
ip addr add fdfd:cafe::1/64 dev lowpan0
|