Fixed issue #51

Improved network setup. If there is only one interface found, then this
will be selected as default.