successfully connecting to wifi and getting ip info