Automatically use adhoc network