Android WIFIMANAGER tweak - Android Software/Hacking General [Developers Only]

I have a very unique situation where I need the wifimanager to scan every 10-20 seconds for a new WiFi Access point, and be able to determine by the RSSI value to either stay connected or switch to the stronger Access point.
We have a routed Mesh network, where the AP's all can are DHCP, but they run through tunnels. So during a VOIP call, it would be nice to have the wifimanager be able to scan and handle that handoff. The asterisk server we are using holds the calls as the handoff is taking place, and when using a windows mobile device I have been able to modify an app to make WM6 make the transition in under 5 seconds.
I am in no way an Android programmer, but my client wants to switch to Android, and I need to see what kind of Mountain I am tackling.
The handheld we are using, is strictly wifi b/g no cellular
Thank you in advance for any help you could offer.

Related

[Q] SSH Tunnel Question

I have a question regarding the feasibility of using an SSH Tunnel to achieve a specific goal.
I recently added my wife to my T-Mobile plan. We have excellent reception and coverage practically everywhere - except in her office. I think it has something to do with the thick metal roof on her building.
Anyway, connecting to her office Wifi, and enabling Wifi-calling allows all SMS/Call traffic through. The problem is that when making/receiving calls on Wifi, there is no audio transmitted through on either end. Wifi-calling works just fine from home, which leads me to believe that her enterprise IT department has blocked certain ports on the firewall that the T-Mobile Wifi-calling needs to operate correctly.
My questions is: If I create an SSH server on my WHS here at home (we have FIOS 30/15, with a low 2 digit ping, so bandwidth/latency shouldn't be an issue), can I then tunnel all of her android office-wifi-traffic through that SSH Server - and would that theoretically allow all ports to be open/available?
Before I take the time to set it all up, I just want a second opinion that it should work.
Thanks.
gat0rjay said:
I have a question regarding the feasibility of using an SSH Tunnel to achieve a specific goal.
I recently added my wife to my T-Mobile plan. We have excellent reception and coverage practically everywhere - except in her office. I think it has something to do with the thick metal roof on her building.
Anyway, connecting to her office Wifi, and enabling Wifi-calling allows all SMS/Call traffic through. The problem is that when making/receiving calls on Wifi, there is no audio transmitted through on either end. Wifi-calling works just fine from home, which leads me to believe that her enterprise IT department has blocked certain ports on the firewall that the T-Mobile Wifi-calling needs to operate correctly.
My questions is: If I create an SSH server on my WHS here at home (we have FIOS 30/15, with a low 2 digit ping, so bandwidth/latency shouldn't be an issue), can I then tunnel all of her android office-wifi-traffic through that SSH Server - and would that theoretically allow all ports to be open/available?
Before I take the time to set it all up, I just want a second opinion that it should work.
Thanks.
Click to expand...
Click to collapse
Wouldn't having it travel through the internet make it potentially public data being transferred? I know the office building I work in also has crummy connection and they are on high alert with potential "hackers", and when the IT people see that there is a direct connect from their servers to your house, they'll block it and you might get into trouble.
Sent from my SGH-T999
If I helped please press the thanks button
neim81094 said:
Ok so correct me if I'm wrong but you want her office to connect to your Wi-Fi through a ssh tunnel? I don't even think that's possible . That would be like office>server>internet>bouncing around>your router>WiFi and back? I though ssh tunnels were only for lan connections
Sent from my SGH-T999
If I helped please press the thanks button
Click to expand...
Click to collapse
The way it would work (in my head) is that my WHS would act as an SSH proxy server. She would connect to her office wifi, then on her phone, she would use the SSH Tunnel app to define the location of my WHS as her SSH proxy server. All of her internet traffic would be sent (using her office wifi) directly to the WHS at home, the WHS, would then translate all of the traffic out to the internet, and return the results back through the SSH tunnel.
It should work, I'm just not sure if anyone with a more real-world working knowledge of this stuff has any input for me?
Why don't you try it with another WiFi? Like Starbucks or something test to see if that method will work that is definitely an interesting idea.
Sent from my SGH-T999
If I helped please press the thanks button

Make Nexus stop switching WLAN automatically (same SSID, different BSSID)

Hi guys,
at work there is a WLAN build with several hotspots at different locations.
When my phone just lays on my desk it constntly loses the connection.
This is because i'm sitting almost in the middle between two hotspots.
The WLANs have the same SSID but every hotspot has a different BSSID
So i guess the nexus thinks "oh nice, same SSID but 5% stronger so lets switch to that network".
The issue here is, i have to login again after every network switch.
So i would like to know how to tell my nexus it shall not switch networks automatically.
Thanks a lot for your advice.
This might be an issue on the corporate side—they might need to tell their controllers to be less aggressive when telling wireless clients to switch APs.
Unfotunately this is not an Option. Huge company with it-security department etc. Nothing get's changed without special permission. So i've to solve this issue on client side
tapatalked from hammerhead

[Q] Long-range Wifi repeater with auto hotspot authentication?

Hi All,
At this point, I'm just brainstorming, and would like some input. (I hope this thread is in the right place)
I'm trying to find a setup to connect to free wifi hotspots that are far away, and share that connection to a group of devices locally. For example, this solution may be useful in a boat or an RV, when you're not particularly close to a free access point.
There are commercial solutions like the Rogue Wave however, this doesn't do anything to authenticate through the Terms of Service (TOS) pages that are frequently used at free access points.
This is what brings me to using Android. There are Android apps which automate the process of accepting the terms of service. My favorite right now is WebWifiLogin (I'm familiar with the security risks involved in using public wifi; and may also have the Android device to also establish a VPN connection when doing this.) (I can't find an equivalent macro-authentication solution that will run on a PC, which would make this much easier.)
So here's my proposed solution:
1. Start with a powerful omnidirectional wifi antenna (Possibly add an in-line amp if needed. Also perhaps a directional antenna may be better for non-mobile use.)
2. Connect the antenna to any Android device that supports an external Wifi antenna. I found several Android TV devices which should work. Like This, or possibly this.
3. Set up some kind of local access point/bridge. One option may be to use fqrouter2 which supposedly uses the same Wifi radio for the local WLAN, while it also connects to the remote one. Another option may be to USB or Ethernet tether to a DD-WRT Router.
Result:
The Android device has a range to connect to a free hotspot up to a mile or two away, then automatically accepts the TOS using the WebWifiLogin app, and shares that connection locally to a handful of devices.
So am I crazy? Is this too complex to work correctly? Is there a simpler solution that I'm missing?
Can anyone confirm whether I've posted this in the correct sub-forum?
Thanks.
I use a slightly different method which yields the same results.
I have a Linksys WRT54GL router (with high gain antennas) which runs DD-WRT and a script called AutoAP. The script scans for unencrypted WIFI access points, makes sure they're live, and automatically connects to the strongest one in range.
I set up a second WPA2 encrypted WIFI SSID in the router which I connect to with my Android tablet. Once WebWifiLogin on the tablet handles the TOS login, the remote access point allows web access for any device that connects to the WRT54GL router (either by WIFI to the secondary SSID or through one of the ports)! This happens because the remote access point usually checks/remembers TOS acceptance by the MAC address of the connected device. Since it only sees the MAC address of my router, anything behind the router now gets access.
ssenemosewa said:
Once WebWifiLogin on the tablet handles the TOS login, the remote access point allows web access for any device that connects to the WRT54GL router
Click to expand...
Click to collapse
This is great information; thanks!
I would not have thought WebWifiLogin would work when connecting through another router. When WebWifiLogin is running, its status says "Listening for WiFi events" (Or something similar) so I was under the impression that WebWifiLogin would only work if the connection to the AP is made directly by the Android WiFi interface, and not through a intermediary router.
This makes things much easier.

[GUIDE][NO ROOT] How to use tethering for home network

Hello everyone! Here's a nice little guide on how to tether your phone and use that ability to power a home internet network. I have done tons of trial and error to get this working with bits and pieces from numerous forums and google research. This has been working flawlessly for me and it's a "set it and forget it solution".
The reason why I wanted to do this is because I live in a rural area with no high speed ISP. My only option was to use a data capped satellite ISP that is extremely limited in ability and expensive. Without further ado my guide to achieve an unlimited, data cap free, tethered home network.
What you need:
Android phone you're willing to dedicate for full time use
Computer with windows and LAN port you're willing to dedicate for full time use
Wireless Router
A nice USB cord for your phone
A nice CAT cable
1) First thing to do is look around for an unlimited data (4glte preferred, no tethering plan needed) cellular plan. I know there are a few out there but I decided on MetroPCS due to the coverage I get and the price ($60 a month, no contract). I opted for just a sim card as I had an android phone laying around.
2) Make sure your android is unlocked if it's not on the same network you are trying to use. My phone was tied to AT&T and I had to call them to unlock it. Most carrier will do this if the phone in good standing. Meaning paid off. Or root it.
3) We will need to find out where your equipment will sit to receive the best speeds. I recommend putting your phone in "field test mode" and walk around the house. The lower number the better. I also ran a speed test in certain locations to give me a rough idea of what speeds I would be getting. If you are really serious about this set up there is equipment out there to boost cell signal in your house. I like WeBoost.
4) Download your tethering application. I have tried multiple apps but only one worked perfectly but with different hardware you might have other results. Clockworkmod Tether ($4.99) and PDAnet+ ($7.95) worked alright but I had issues with it talking to my router and clients so disconnects where frequent and frustrating. I ultimately went for EasyTether ($9.99) and it has been working fantastic. Mind you when using Clockwork and PDAnet I would be getting a DL speed of 6Mbs when my phone was 13Mbs. I don't know what would cause that but with EasyTether I am getting speeds very similar to my phone with no speed loss.
5) All three tethering applications require you to install a sister program on your computer to work. So install that on your "slave" machine. They are all about the same process, install an .exe and drivers for your phone.
6) Test that everything is working. The tethering application will have instructions on how to USB tether your phone. We need to check that it will give your slave machine an internet connection. Simply open a web browser and see if it is working.
7) Great! Now your are connected and able to surf the web! But wouldn't it be great if you could use this on all your devices? This is where the router comes in play.
8) Now I don't know what router you are using but mine is an ASUS RT-N56U and the principle should be the same. Plug your router into power and reset it with the button on the back (10 seconds). Unplug from power. Connect the CAT cable to the WAN port of the router (the one that usually connects a modem to the router) and the other end to the LAN port of your slave machine. Plug power to the router and allow it to boot up. Now on your slave machine go to Network and Sharing Center, View status on the tether connection, properties, sharing, check Allow other network users to connect through this computer's Internet connection, select the Home networking connection as the router. With everything done correctly you should be getting an internet connection to the router.
9) Now this is all fine and dandy but there are some settings in the router you can configure to make it more reliable. Our cases could be different but this is what has worked for me. I'm no networking genius by any means so my setting could not mean anything. In my experience things would work for a few mins but streaming to chromecast or connecting a mac to wireless mysteriously cut all connection. So here are my settings.
Disable MAC Filter
Disable Wireless Scheduler
Enable IGMP Snooping
Enable DHCP Server
Disable DHCP Routes
Disable Multicast routing (IGMP Proxy)
WAN Connection Type-Automatic IP
Enable UPnP
Connect to DNS Server automatically-NO
DNS Server1 8.8.8.8
DNS Server2 8.8.4.4
Everything else is default
I don't know about the NAT for all you gamers out there but I am sure there is some router configuration you can do. If anyone has ideas on how to achieve this please chime in.
10) Congratulations! You have now set up a home network with your phone and can use it like any other ISP. If you experience any issue with this process let me know and I will get back to you with an answer. I have had to do a lot of trouble shooting to get to this point.

Wi-Fi radio control?

I am not an android programmer but I do have the need for a feature that doesn't seem to exist and I'm curious if its possible.
We are using generic Android 5.1 phones that are embedded into RFID scanners that connect to WiFi to relay scan information.
The RF environment we use them in is as bad as I think it can get, doing an AP scan you usually see 400-600 other SSIDs that are visible.
What I'm trying to ascertain is can an app be developed that turns off 2.4 and specifically only scans a few 5Ghz channels reducing the amount of APs it has to look at before it finds the correct SSID? What we have does work but frequently some of the scanners take several minutes before the lock and authenticate to the right AP.
To much noise they have to filter through. I can configure radios that will lock instantly but of course that kind of control doesn't appear to exist in normal android phones.
Any input would be helpful
eroberts435 said:
I am not an android programmer but I do have the need for a feature that doesn't seem to exist and I'm curious if its possible.
We are using generic Android 5.1 phones that are embedded into RFID scanners that connect to WiFi to relay scan information.
The RF environment we use them in is as bad as I think it can get, doing an AP scan you usually see 400-600 other SSIDs that are visible.
What I'm trying to ascertain is can an app be developed that turns off 2.4 and specifically only scans a few 5Ghz channels reducing the amount of APs it has to look at before it finds the correct SSID? What we have does work but frequently some of the scanners take several minutes before the lock and authenticate to the right AP.
To much noise they have to filter through. I can configure radios that will lock instantly but of course that kind of control doesn't appear to exist in normal android phones.
Any input would be helpful
Click to expand...
Click to collapse
Why isn't the relay just routed through a wifi point. Why does it always need to connect to "X Network" when it should always be on that network and just routed to where it needs to go.
Valkiry said:
Why isn't the relay just routed through a wifi point. Why does it always need to connect to "X Network" when it should always be on that network and just routed to where it needs to go.
Click to expand...
Click to collapse
Its a closed network, not publicly accessible needs to connect to our SSID to be on the right VLAN and insert the RFID capture data into the SQL.

Categories

Resources