From dcbfc57c019d5f58c15c9f34c171cf63b88e1a38 Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Sun, 9 Sep 2018 21:13:37 -0400 Subject: Enabled vnet testing script without wlan0. --- vnet/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/vnet/build.sh b/vnet/build.sh index 19d65406..5354969a 100755 --- a/vnet/build.sh +++ b/vnet/build.sh @@ -73,6 +73,7 @@ buildtaps() { buildtaps num=$(ip addr show wlan0 | sed -n '/\s\+inet 192/ s/\s\+inet 192\.168\.[0-9]*\.\([0-9]*\).*$/\1/ p') +num=${num:-88} ip addr add 80.$num.99.99 dev ep0 ip addr add 81.$num.99.99 dev ep1 -- cgit v1.2.3