code for startup and read config file and probe network hardware