rpi is slow
parent
db7833f6f5
commit
7ca44ef182
2
run.sh
2
run.sh
|
@ -69,7 +69,7 @@ function _set_hairpin() {
|
||||||
for i in {1..10}; do
|
for i in {1..10}; do
|
||||||
echo -n '.'
|
echo -n '.'
|
||||||
sudo ip netns exec $CONTAINER ip link set $WIFI_IFACE type bridge_slave hairpin on 2>/dev/null && { echo 'ok'; break; }
|
sudo ip netns exec $CONTAINER ip link set $WIFI_IFACE type bridge_slave hairpin on 2>/dev/null && { echo 'ok'; break; }
|
||||||
sleep 1
|
sleep 3
|
||||||
done
|
done
|
||||||
if [[ $i -ge 10 ]]; then
|
if [[ $i -ge 10 ]]; then
|
||||||
echo -e "\ncouldn't set hairpin mode, wifi clients will probably be unable to talk to each other"
|
echo -e "\ncouldn't set hairpin mode, wifi clients will probably be unable to talk to each other"
|
||||||
|
|
Loading…
Reference in New Issue