launch_tests: capture dist on the right IFace

it's not the same IFace when using ShadowSocks or SSHTunnel
rc.local: used by the server