WIFI (& IP) switch for roaming users - MDA III, XDA III, PDA2k, 9090 Accessories

I found several utilities to connect WIFI to a choosed hotspot, WIFI scanner like, but none having IP settings switching feature, at the same time (like Mobile Net Swith for XP).
Does someone know such a product? a utility? a script/batch?
Or, you keep your WIFI settings to DHCP provided IP & DNS ?
Thus allowing kinda easyness when roaming thru unknown public hotspots.

I'm interesting by any suggest too :wink:

I use a program called Hitchhiker - by Kasuei. It's free to use, nice graphics + you can make a donation if you like it.
Janeway

Related

Got Pandora and Market working with Dock *sorta

Just bought the Malata Dock for my Gtab. I'm currently running Zyhong's Gtab beta 3.2.
As stated by others, Pandora and Google Market fail to stream/download when using Ethernet only.
This is still early and hopefully a dev will point me in the right direction, but I am able to make the tablet use the ethernet connection for Pandora and Market.
Boot Gtab on dock with Ethernet connected. At this point most things work except Pandora/Market.
Using my Droid Inc, I turned on Wireless Tether in Infrastructure mode.
Configure wireless on the tab. Once it connects, go to Settings -> Wifi and modify the wireless connection. I configured the ip address, gateway and DNS 1&2 to work as if the wireless connection was the wired connection.
At this point Pandora and Market will begin to work using the Ethernet. I confirm this by downloading "Angry Birds" from the market. 18MB download in about 30 seconds. Checked phone during this time and it had no bars on 1X...no way it was using the cell connection.
My current theory is the previously stated "Connectivity Status = True" setting. I'm guessing this gets set once the Wifi connection is establish.
If I now drop the wifi connection, Pandora and Market breaks.
I'm curious if it is possible to write an app or script to rename wlan0 to eth1 and eth0 to wlan0. I'm assuming the test for connectivity status = true is set to check wlan0 ?
Any ideas?
Another theory is that there are no DNS servers configured for the wired connection.
I'll be trying that later.
I don't have enough posts yet to ask in the developer forums for help....so if you know one of the devs who are interested in the dock, please point them over here.
With that said, I tested if setting the DNS server manually would have any effect. It appears that DHCP is setting the DNS servers after all with a wired only connection.
So I'm back to the Connectivity Status = True issue.
I'll be looking at how that check is performed and what initiates it. If I can cause the check to be performed on eth0 instead of just wlan0 I think that will fix it.
konman2k4 said:
Another theory is that there are no DNS servers configured for the wired connection.
I'll be trying that later.
Click to expand...
Click to collapse
Got my dock today. With wireless turned off, I can boot on the dock & draw a dhcp ip.
Can't be a DNS issue or you wouldn't be able to surf the net.
Can surf net via browser, play videos/music/pics from my Windows Media Center, Netflix plays fine & can even receive email (as long as the app is the one that does the checking & not me telling it to).
Pandora, Crackle, Market, Amazon App tore, & SlideME not worky (some say no connection while others just hang).
Turning on wireless at the same time results in drawing different ip for wireless. Netcfg show eth0 up with an ip/mask, wlan0 up with an ip/mask. Ifconfig shows data transfer on both interfaces (and different mac addresses).
Must be something the the apps are looking for wifi. or could it be that this is a phone OS & phones don't have ethernet connections (and that ethernet is not listed in Settings, Wireless & Networks)?
At work we don't have wireless, so I used my phone with "wireless tether" to make a connection. Once the wireless network is seen and connected to, I modified the wireless network settings on the tablet so that the gateway, dns, subnet mask and IP are all valid on the wired connection. As for IP just make one up that is not already in use that is valid for the wired network subnet.
This basically tells the tablet that yes you are connected to a wireless network, but with a routing trick you are sending all your traffic out the wired connection.
Since the dock charges the tablet, I connect the phone to the tablet to keep it charged while the wireless tether app is running.
BTW...if you install opera and flash, you can change your agent string to "desktop" within opera and use the web version of pandora all without having to do the fake wireless trick.
I can confirm Pandora and the Market works just fine doing this....as for you other apps I haven't tried those.
konman2k4 said:
At work we don't have wireless, so I used my phone with "wireless tether" to make a connection. Once the wireless network is seen and connected to, I modified the wireless network settings on the tablet so that the gateway, dns, subnet mask and IP are all valid on the wired connection. As for IP just make one up that is not already in use that is valid for the wired network subnet.
This basically tells the tablet that yes you are connected to a wireless network, but with a routing trick you are sending all your traffic out the wired connection.
Since the dock charges the tablet, I connect the phone to the tablet to keep it charged while the wireless tether app is running.
BTW...if you install opera and flash, you can change your agent string to "desktop" within opera and use the web version of pandora all without having to do the fake wireless trick.
I can confirm Pandora and the Market works just fine doing this....as for you other apps I haven't tried those.
Click to expand...
Click to collapse
Read you origianl post. My point was that it is not a DNS issue since with wireless turned off & starting the tab on the dock, internet works. If DNS was the issue then the browsers/etc would not be able to resolve the urls.
But, I did verify your theroy while making sure that there was no possiblity the tab was communicating via your cell/wifi.
I connected mine to the dock with wireless & ethernet connected. Verified both interfaces were up via ifconfig. Wifi connected to wireless access point & ehternet connect directly to a switch. Disconnect access point from switch so no physical connection to lan/wan from the access point, that way wireless connection to tab stays up but it goes nowhere & the only physical connection to the lan/wan is via ethernet. Mail works, Market works, Amazon store works, Pandora works.
Has to be the Connection Status issue in Android that is casuing the problem. Current ROMs must not take ethernet into consideration when checking status. I saw sample code on the net for Connection Status that only looks for Wifi.
I believe we need a rom dev to pursue this for it to work correctly.
Haven't been back to this thread in a bit, but now that I have my 10 posts, i'll start asking around in the Dev community if somebody can point me in the right direction.
konman2k4 said:
Haven't been back to this thread in a bit, but now that I have my 10 posts, i'll start asking around in the Dev community if somebody can point me in the right direction.
Click to expand...
Click to collapse
I did a new post in the Q&A forum back on 5 Aug & pointed it back here. Here's the new post http://forum.xda-developers.com/showthread.php?t=1204015. So far 59 views and a big 0 responses.

Error: No Internet Connection when NOT Connected to Internet

I've set up a private network wireless with a webserver for a project I'm working on. I do not (and cannot) have internet connectivity on this network. Whenever I bring up the web browser on the TP (3.04) it spams me with "Error: No Internet Connection" messages and I can't access the webserver. I do not believe I had this problem with spamming on 3.02.
Does anyone know how to disable this or at least know the mechanism that the TP uses to determine if it has Internet connectivity? Maybe I can spoof it.

Local WiFi and LTE simultaneously.

Hi everyone, I have a question that i can't quite seem to find an answer to any where i look.
I am a recent android convert, i had ios on my iphone and ipads for many years. I use a wireless hard drive that has its own wifi signal, which i connect my devices to. The problem with doing this is that the device thinks then that it should get all of its internet from that wifi connection, which of course, being a hard drive, it does not have.
To get around this what i have done is go in my IOS configuration and remove the "default gateway" or "router" or whatever you want to call it (depending on your networking background), and then iOS knows to go ahead and not use wifi and continue to send any non local traffic over LTE.
My Samsung Note 5 doesn't seem to want to do this. First thing, when i try to remove the router/gateway from the ip address configuration in wifi, the "save" button is grayed, meaning i cannot save a blank gateway. I located an app on the app store called "wifi settings" which was suggested to use to set the router to nothing, but still this did not work, really what it did was save a 1 in the router/gateway field and caused nothing to work, not even local traffic.
The Note 5 has a "smart network switch" option which is apparently to detect a poor wifi signal and switch to LTE, if i enable this, the phone does realize that the wifi connection to the wifi hdd doesn't have an internet connection, but terminates the wifi connection, thus killing my connection to my hard drive.
My question, does anyone know how to configure the wifi on android to access local resources via wifi while still using the 3g/4g connection for internet traffic?
Any help would be appreciated. Thanks much.

Automatic Connection to VPN Upon Connecting to Specific WIFI Network(s)

Looking for a way to automatically connect to a VPN whenever a I connect to specific WIFI networks. If it matters I currently have OpenVPN based options & TorGuard but I'm completely open to others. Ideally this VPN session would close whenever I disconnect.
Yes, I could leave the VPN up all the time but I'm just looking to secure my first hop (work & public networks) and not worried about cellular data snooping and my own personal WIFI.

Listening to WiFi probe requests

Hello everyone,
I am new to Android development and am uncertain about the restrictions on STOCK phones.
The goal of my application is to exchange a small amount of data ~32 byte. It should use a method available for all phones (Android, iOS, Linux). Most phones always have mobile data and WiFi activated so my idea was to use WiFi.
I thought of two methods:
Method A
Phone A could add a new WiFi network to the list of known networks. The name of the SSID could be chosen (that's the transmitted message). Phone A would now send out WiFi probe requests. Phone B could listen to WiFi probe requests and extract the SSID (message received). The phones would not have to actually communicate over WiFi. The exchange of SSID names is all that needs to be achieved.
Method B
Phone A could send out a WiFi beacon. The name of the SSID could be chosen (that's the transmitted message). Phone A would now send out WiFi beacons. Phone B could scan available networks and extract the SSID (message received). The phones would not have to actually communicate over WiFi. The exchange of SSID names is all that needs to be achieved.
(I guess tethering would have to be possible. This might cause unwanted behavior if phone is actually supposed to be tethering. Also if I am correct tethering is sometimes restricted)
Preferably this should all work on stock phones. Differentiating between SSID that are messages and SSID which are regular networks (router..) is out of scope for this problem. If anybody has a hint for rooted phones, your help would also be greatly appreciated
Thank you very much for your help!
FreudigerMax

Categories

Resources