use $INTERFACE for network detection