From: Ralph Ronnquist Date: Mon, 22 Jun 2020 14:10:20 +0000 (+1000) Subject: fix to also gain standard broadcast X-Git-Tag: 0.2~1 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=89312529a517a5dfdddfb67738ee07838a1b4371;p=rrq%2Frrqnet.git fix to also gain standard broadcast --- diff --git a/rrqnet-cron.sh b/rrqnet-cron.sh index 68d04e6..f92ad74 100755 --- a/rrqnet-cron.sh +++ b/rrqnet-cron.sh @@ -16,7 +16,7 @@ function start-cable() { [ -z "$MAC" ] || ifconfig $TAP | grep -q "ether $MAC" || \ ifconfig $TAP hw ether $MAC [ -z "$IP" ] || ip addr show dev $TAP | grep -q $IP || \ - ip addr add $IP dev $TAP + ifconfig $TAP $IP up [ -z "$BR" ] || brctl show | grep -q $TAP || \ brctl addif $BR $TAP exec $RRQNET $VERBOSE -4 ${OPTIONS[@]} -t $TAP $PORT ${VPN[@]}