android - How to use 3G network when connected to a WiFi network with no internet access? -


sometimes have connect nexus 5 wifi network share files other devices, network not have internet access. use 3g data connection while phone connected. have root access. there way achieve this? (not necessary simple way)

my phone isn't rooted , don't have shell installed on test, off top of head maybe help?

route -n - determine routes available

route add default gw <<ip address>> - replace gateway's ip address want default. make sure run command root or sudo.

i'm not familiar android shell access or internals of how android manages networking. know, entire 3g internet connection may shut down default when on wifi. if else fails, consider "mobile hotspot" app phone, , have devices connect (as bonus, have internet access too).

more information on viewing default gateway route command


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -