Fix ifconfig execution

Fix the ifconfig execution in case of application of the advice about the root privileges gived in issue #5