# ApUp libremesh
Before you begin, make sure you have at least two routers.
1- Pull packages from
https://github.com/libremesh/lime-packages/pull/1134
Update the packages from your router
2- Tell your routers to use apup
``` bash
root@LiMe-1f73aa:~# uci del lime-community.wifi.modes
root@LiMe-1f73aa:~# uci add_list lime-community.wifi.modes=apup
root@LiMe-1f73aa:~# uci commit
root@LiMe-1f73aa:~# lime-config
root@LiMe-1f73aa:~# reboot
```
## Debugging
1- Verify that limed is running
``` bash
root@LiMe-1f73aa:~# ps | grep limed
1153 root 4496 S {limed} /usr/bin/lua /usr/bin/limed
```
2- Verify that iwinfo is viewing
``` bash
root@LiMe-1f73aa:~# iwinfo | grep peer
wlan0-peer1 ESSID: unknown
wlan1-peer1 ESSID: unknown
wlan2-peer1 ESSID: unknown
wlan2-peer2 ESSID: unknown
wlan2-peer3 ESSID: unknown
```
3- Verify that batman has the interfaces
if the interfaces are not referenced in batman, then you must run "limed" ... it should start on its own
``` bash
root@LiMe-1f73aa:~#batctl if
eth0_29: active
eth1_29: active
eth1-2_29: active
eth0-1_29: active
wlan2-peer1_29: active
```
**wlan1-peer1_29: active
wlan2-peer2_29: active
wlan2-peer3_29: active**
3- Verify batman neights
``` bash
root@LiMe-1f73aa:~# batctl n
[B.A.T.M.A.N. adv 2024.4-openwrt-1, MainIF/MAC: eth0_29/02:95:39:1f:73:aa (bat0/7a:9b:c5:65:b7:67 BATMAN_IV)]
IF Neighbor last-seen
wlan2-peer1_29 LiMe_224ad6_wlan2_peer2_29 1.130s
```
this command may generate false links due to false link associations
iwinfo wlan2-peer1 assoclist
3- Verify network Throughput
root@LiMe-1f73aa:~# netperf -l 10 -H 10.13.74.214
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0) port 0 AF_INET to 10.13.74.214 (10.) port 0 AF_INET : demo
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
131072 16384 16384 10.29 3.71