Related
I'm wondering if it is possible on the phone running Android 2.2.
For a laptop to share it's WiFi connection (basically turning it in to the access point) it is not a problem.
There is a free soft for that, for example connectify (http://www.connectify.me/).
I couldn't find anything for Androind along the same lines, though. There are tons of apps that do WiFi tethering (sharing your 3G/4G over WiFi with other devices) but nothing on sharing WiFi.
Here is a use case.
You come on vacation with family. Everyone has a gadget that needs WiFi. The hotel Inet access costs quite a bit. So you buy one access pass and share it so that everyone (in your family) could use it.
As I said if you have a laptop it is not a big deal but this is not always the case.
Im not sure but I would assume usb tethering would do this for one laptop. But no you cant have multiple wirelss connections.
This only works with 3G unfortunately. I haven't ever seen an app that does that with wifi.
Sent from my GT-i9000/Vibrant.
USB tether then create an ad hoc network
You are receiving this message over connectify from my neighbors kanged wif works perfect.
Sent from my SGH-T959 using XDA App
Hello, I need some experienced developer confirmation on a few things.
Is it possible to code an app that will allow a device (Android or iOS) to create a hotspot and link several other devices with each other, allowing files to be transferred with each other WITHOUT tethering the host device's data network? Just a simple router with no internet I suppose.
Adhoc won't work because most mobile devices will have issues connecting to an adhoc network.
If possible, I would like for the code to allow the hotspot to not only connect the devices via WiFi but not kill the mobile data connection when each device connects to the WiFi hotspot. Essentially connecting to the hotspot and data network at the same time; the connections working simultaneously but completely separate from each other.
In a perfect world I would like to get this coded cross-platform: ie Android/iOS and maybe even Windows/Mac.
A tough question I know, but thanks for any responses. My primary concern would be Android, because it seems like it would be more suitable to make this happen, and I actually own one.
Syn Ack said:
Hello, I need some experienced developer confirmation on a few things.
Is it possible to code an app that will allow a device (Android or iOS) to create a hotspot and link several other devices with each other, allowing files to be transferred with each other WITHOUT tethering the host device's data network? Just a simple router with no internet I suppose.
Adhoc won't work because most mobile devices will have issues connecting to an adhoc network.
If possible, I would like for the code to allow the hotspot to not only connect the devices via WiFi but not kill the mobile data connection when each device connects to the WiFi hotspot. Essentially connecting to the hotspot and data network at the same time; the connections working simultaneously but completely separate from each other.
In a perfect world I would like to get this coded cross-platform: ie Android/iOS and maybe even Windows/Mac.
A tough question I know, but thanks for any responses. My primary concern would be Android, because it seems like it would be more suitable to make this happen, and I actually own one.
Click to expand...
Click to collapse
Maybe disable data and try a hotspot app? If you have a wired and wireless connection on a computer, turn it into a hotspot, using apps like Connectify (on Windows).
MrObvious said:
Maybe disable data and try a hotspot app? If you have a wired and wireless connection on a computer, turn it into a hotspot, using apps like Connectify (on Windows).
Click to expand...
Click to collapse
Thanks, I've already actually been able to accomplish that with one of the many WiFi tether apps. I am actually wanting to know if it's possible that I can code a version of that, that doesn't require root, works on most phones, creates a hotspot (doesn't just use the stock one), and doesn't use data. I suppose I could deal with it disabling data. As long as it never ever deals with data while the app is on, because I would prefer to not deal with carrier issues.
Alternatively I wouldn't mind using Bluetooth as long as I can connect the host device to more than one client devices, where the host device acts as a server. Can Android connect several devices via bluetooth?
Syn Ack said:
Thanks, I've already actually been able to accomplish that with one of the many WiFi tether apps. I am actually wanting to know if it's possible that I can code a version of that, that doesn't require root, works on most phones, creates a hotspot (doesn't just use the stock one), and doesn't use data. I suppose I could deal with it disabling data. As long as it never ever deals with data while the app is on, because I would prefer to not deal with carrier issues.
Alternatively I wouldn't mind using Bluetooth as long as I can connect the host device to more than one client devices, where the host device acts as a server. Can Android connect several devices via bluetooth?
Click to expand...
Click to collapse
I don't think you can do multiple Bluetooth. Honestly you'd be better trying to do it from a computer/router.
MrObvious said:
I don't think you can do multiple Bluetooth. Honestly you'd be better trying to do it from a computer/router.
Click to expand...
Click to collapse
That's the thing, we're trying to do this for our app with no extra devices. No worries I'll keep brainstorming.
You might want to check out an app called JoikuShare (sorry, can't post links yet).
I'm running a rooted GS5 and I'm using it to link to a wifi controller on a drone. However, because the drone doesn't provide internet, the wifi manager auto-connects to my wireless SSID and severs the connection with my drone. How can I "lock" onto the drone's SSID? In the older GSX there was an advanced setting in wifi settings to not allow auto switching of wireless networks. Where is that functionality in the GS5?
There may be an advanced wifi option to do so, but I haven't looked.
Your objective could be done with Tasker and iptables. But I'm going to make the assumption that if that didn't occur to you already, that you don't use those programs and there is a learning curve to scripting. So, just grab an app to do this e.g. Wifi prioritizer.
Done
.
.
Lack of option - that is correct - there is no option to disable scanning. The only reliably sensible option left to you is to forget your home wifi network before connecting to the drone and then establishing a connection with the drone.
That's pretty much it - of course on rooted device you could write scripts to engage/disengage a specific network - but to be honest I'd call that an overkill.
tl;dr: When my phone (Sony Xperia Z5 compact, Android 6) connects to a wifi with no internet, I want to use the local network on the wifi but use the internet from my mobile data. Instead what happens mobile data doesn't switch back on while connected to wifi with no internet.
I have been trying to find a solution for this since forever. My camera creates a local wifi connection which I can connect to to view the camera as well as controlling it. The downside is that while connected to this network my cellular data gets switched off, despite this wifi network not having any internet. So while using my camera I have no way to access the internet. It wasn't a huge problem up until recently when the app I use is introducing livestreaming. I really want to use it but I am unable to find any way how to keep my phone connected to this wifi network (and being able to use it), while any internet data goes over 4G. I am using android 6.0.1. I am quite sure I was able to do this on my previous phone with an older Android version but I cannot find said option (smart network switch or something?) anymore in the wifi settings. Nor any recent similar topics with people with the same question? Anyone that knows more about this?
My phone is rooted. If I need to do any system changes I can do that.
I didnt get what you were trying saying.Do you know that you cant use mobile data and wifi simultaneously unless your device is rooted.If your phone is rooted then try using "download booster"
hh950430 said:
I didnt get what you were trying saying.Do you know that you cant use mobile data and wifi simultaneously unless your device is rooted.
Click to expand...
Click to collapse
Err, sorry, lol. I have wifi network that has no internet, just a local network. I'd like to be connected to that wifi network AND be able to use internet over my mobile data both at the same time. As it is right now, my mobile data gets disabled even when the wifi network has no internet access.
I have talked to two friends of mine about it and both say this is already possible in Android. One friend sent me a screenshot of an option he has in his wifi settings called 'Switch to mobile data' which gets enabled when the wifi network has no internet. My other friend said he doesn't have this option but claims it has been a default feature of Android since lollipop. He tested it on his phone and indeed it works as expected. Both have an unrooted phone with stock Android. So now there is me with my brand new phone and Android 6 and I can't find this option nor does it seem to do what I want by default. I'm confused.
As I mentioned, my phone is rooted so if there is a way to turn this feature on using root, I can totally do that if someone knows how.
As i said try using "Download Booster" It allows you to use wifi and mobile data at the same time just google it.
hh950430 said:
As i said try using "Download Booster" It allows you to use wifi and mobile data at the same time just google it.
Click to expand...
Click to collapse
That appears to be just a download manager if I am correct? I don't need to download anything. I just want to be able to use my existing apps to use my mobile internet when I am connected to wifi (that has no internet).
This is the exactly the thing I'm after. Screenshot from my friend's phone (LG G4 with Android 6.0): (*link removed). My other friend who also has this functionality working has a Nexus 5 with Android 6.0.1.
* Forum doesn't let me post screenshots.. But basically in his wifi settings he has an option called "Switch to mobile data". The box says "Internet unavailable via connected Wi-Fi. Stay connected to Wi-Fi, but use mobile data. Data charges may apply."
Again, I have Sony Xperia Z5 compact with Android 6.0.1 and I can't find this. Have I bought the wrong phone or is it fixable? At this point I am more than happy to even take a custom rom route.
You cannot use wifi and internet at the same time as they are completely different hardware components, using different air waves, so there's no conflicts between them. Better use internet through your wifi or use bluetooth tethering.As for the "switch to mobile data option" it disconnectes you from your wifi if it has no internet and connects you to your mobile data so it doesnt lets you use your wifi and mobile data at the same time
hh950430 said:
You cannot use wifi and internet at the same time as they are completely different hardware components, using different air waves, so there's no conflicts between them. Better use internet through your wifi or use bluetooth tethering.As for the "switch to mobile data option" it disconnectes you from your wifi if it has no internet and connects you to your mobile data so it doesnt lets you use your wifi and mobile data at the same time
Click to expand...
Click to collapse
It actually clearly mentions that it keeps connected to the wifi. He tested it and indeed he could use the local network on the wifi side and use the internet through his mobile data simultaneously. Both friends haven't rooted their phones or anything. This is just a default functionality for them. I have now tested it also on my older phones (Oneplus One and HTC One M8) and all phones can't have both connections open at the same time.
This wifi network is created by my camera by the way and I can't change much about it. The DJI drone I control does the same thing. When I am connected to the camera or drone I lose my mobile internet connection.
I don't have any other device that has access to internet here. We don't have cabled internet, only mobile internet.
Interestingly, in the developers options there is an option called "Mobile data always active" ("Always keep mobile data active, even when Wi-Fi is active"). I've tried it many times, rebooted my phone but this doesn't actually do anything. Even with this option on when wifi is connected the mobile data gets turned off.
This is beyond annoying!
I too have struggled to find a solution to this problem. I do not have a WAN connection to my home network. It is LAN only. I have four PC's, three Sonos speakers, two hdhomerun TV tuners, and various hand held devices that all use the LAN. All I want to do is be able to use my Moto X Pure to control Sonos and file sync to my LAN via wifi and simultaneously use mobile data for WAN stuff. I know the mobile connection is active with wifi enabled because I can see it when running if config, up route show etc... I am trying to learn about the routing tables to see if I can fix this myself. I love my android devices and am loyal, but this is beyond dumb! Any suggestions????
How to fix for android
okay so for anyone who doesnt know still go into the about phone option in your phone settings, then click on kernel version, build model, etc til one pops up with a flash notification saying click so many more times and youll become a dev. once you done that go into the developer menu and scroll too wifi assist or force mobile data upon wifi connection. exit out , open your app , bobs your uncle
Thank you for the answer.
I tried with my Huawei but it doesn't work. Could you tell with which phone you made it work ? Thank you !!
Ok here we go, after 12 years this my first post.
Above suggestions related with developer options nothing to do with OPs requirement. Those option only allows the device rapidly switch to mobile data when the WiFi signal gets weak. Since you always close to your DSLR camera it solves nothing because WiFi signal is always strong.
Root cause of the problem is you can not have 2 default gateways (i.e. router address) for your networks in any operating system (Actually you can but you have to set static routes, which is a pain in the ass for regular users)
iOS handles this in a very simple way. Set your wifi connection to static IP address instead of DHCP and leave your default gateway or router address blank. Viola you can have 3G/LTE data while you connected your camera and now you can sent your downloaded pictures via Whatapp while you still connected to your camera via WiFi. (In my case Panasonic Lumix)
I stumbled upon this thread via Google since I needed the same thing now with Android. But iOS way failed. Actually I am shocked that you cannot leave WiFi Gateway address blank in Androdid 8.0! Save button grays out if you leave it blank. This is really weird. At least with Galaxy S8 Duos with Android 8.0
So anybody know how to setup a WiFi network without a default gateway, please share.
Is this phone specific or something? Never had that happen, I have no problem with wifi being on without internet and using cell data.
I don't think the UI really exposes anything like it directly but you can technically have multiple gateways; it's not something your average user will understand (policy routing)..
Having said that, if you're attached to an AP you should at least see a /24 route out your wireless interface (standard dhcp lease). It's quite common for the AP to have client isolation but are you sure you're not using something like Wifi Direct or even adhoc?
Similar Experience
I have been through this experience long ago. All I did was to sell the phone and bought a new one.
Coming from Sammy that has offered a "Wi-Fi" sharing" feature for years I am really missing it on my OnePlus.
This feature allows you to keep your WiFi AND HotSpot on at the same time. It allows you to connect you Samsung to the hotels WiFi and then connect other devices (such as Chromecast) to your WiFi sharing Samsung phone that is using the Hotels WiFi and not your mobile data.
Does anyone know of a way to get this working on the phone? I have looked on the playstore but only found ones that work for a PCs.
Thaanks
CrozB said:
Coming from Sammy that has offered a "Wi-Fi" sharing" feature for years I am really missing it on my OnePlus.
This feature allows you to keep your WiFi AND HotSpot on at the same time. It allows you to connect you Samsung to the hotels WiFi and then connect other devices (such as Chromecast) to your WiFi sharing Samsung phone that is using the Hotels WiFi and not your mobile data.
Does anyone know of a way to get this working on the phone? I have looked on the playstore but only found ones that work for a PCs.
Thaanks
Click to expand...
Click to collapse
Hey so it ends up the OnePlus actually has that already. Go to developer options and go to networking and you'll see WiFi coverage extend feature.
cgibbons51 said:
Go to developer options and go to networking and you'll see WiFi coverage extend feature.
Click to expand...
Click to collapse
Thank you, that is a nice find.
cgibbons51 said:
Hey so it ends up the OnePlus actually has that already. Go to developer options and go to networking and you'll see WiFi coverage extend feature.
Click to expand...
Click to collapse
. Did you get it to work? I enabled this feature but as soon as I turn on Hotspot it turns off my WiFi. If I turn WiFi back on, it kills hotspot. . Maybe I am missing something?
Same here. After enabling that extend option, turning on hotspot still kills wifi.
Just curious... If your phone is on WiFi.. Why would you need hotspot? Why not just put the 2nd device on the same WiFi your phone is on...
SteelH said:
Just curious... If your phone is on WiFi.. Why would you need hotspot? Why not just put the 2nd device on the same WiFi your phone is on...
Click to expand...
Click to collapse
it's for traveling purposes it's not so easy to connect a Chromecast to a hotel Wi-Fi. It's very nice to have your phone be your access point for all of your devices like your computer your Chromecast Etc. and especially with the Chromecast since it really isn't possible to do the login page on a Chromecast. With Samsung's Wi-Fi share feature it works seamlessly the Chromecast connect to the Samsung hotspot while Samsung is connected to the hotel's Wi-Fi and I can control all of the Chromecast casting right from Samsung
CrozB said:
it's for traveling purposes it's not so easy to connect a Chromecast to a hotel Wi-Fi. It's very nice to have your phone be your access point for all of your devices like your computer your Chromecast Etc. and especially with the Chromecast since it really isn't possible to do the login page on a Chromecast. With Samsung's Wi-Fi share feature it works seamlessly the Chromecast connect to the Samsung hotspot while Samsung is connected to the hotel's Wi-Fi and I can control all of the Chromecast casting right from Samsung
Click to expand...
Click to collapse
I figured there was a scenario where it made sense, I just wasnt aware, thanks for the info.