diff --git a/setup/so-setup b/setup/so-setup index 69cbfbee1..9f386c4a6 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -208,8 +208,8 @@ if [ -n "$test_profile" ]; then fi ALLOW_CIDR=0.0.0.0/0 - MNIC=eth0 - BNICS=eth1 + MNIC=$(ls -1 /sys/class/net | head -1) + BNICS=$(ls -1 /sys/class/net | head -2 | tail -1) WEBUSER=onionuser@somewhere.invalid WEBPASSWD1=0n10nus3r WEBPASSWD2=0n10nus3r