mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #13801 from miri64/tools/fix/start_network-interface-init
dist/tools/*/start_network.sh: ensure TUN/TAP interface
This commit is contained in:
commit
ecd266f3d3
1
dist/tools/ethos/start_network.sh
vendored
1
dist/tools/ethos/start_network.sh
vendored
@ -58,6 +58,7 @@ PORT=$1
|
||||
TAP=$2
|
||||
PREFIX=$3
|
||||
BAUDRATE=115200
|
||||
START_ETHOS=1
|
||||
|
||||
[ -z "${PORT}" -o -z "${TAP}" -o -z "${PREFIX}" ] && {
|
||||
echo "usage: $0 [-d|--use-dhcp] [-e|--ethos-only] " \
|
||||
|
1
dist/tools/sliptty/start_network.sh
vendored
1
dist/tools/sliptty/start_network.sh
vendored
@ -7,6 +7,7 @@ TUN=sl0
|
||||
TUN_GLB="fdea:dbee:f::1/64"
|
||||
UHCPD_PID=
|
||||
CREATED_IFACE=0
|
||||
START_SLIP=1
|
||||
|
||||
SUDO=${SUDO:-sudo}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user