[Q] WiFi hotspot management? - G1 Q&A, Help & Troubleshooting

On Symbian I could add all separate WiFi hotspots, routers, etc, to a big list of "Connection Points", and configure them separately. However, looks like there is no option for this on Android. Did I miss something or I really can't set up different proxy/static IP for different hotspots? I would need this feature really bad, as my school router uses a set of settings with the proxy, the home connection needs static IP (what of course does not works with the school system) and for open networks I need clean settings.
So, is there any apps or setting options to have separate set-ups for separate hotspots?

No idea, anyone?

fonix232 said:
No idea, anyone?
Click to expand...
Click to collapse
You cant do it like on symbian(never used it), you can change the settings for the wifi network, currently on and that's it...What you want is not available as far as i know.

Related

Monitor Froyo hotspot clients?

Hi,
Let's say I want to check, who's connected to my hotspot. I've searched for an application or terminal commands that can show this info, but didn't find anything. Is there such a thing?
Thanks,
William.
Good question, I'm interested as well.
Sent from my Nexus One using XDA App
i never tried to monitor wifi hotspot clients but i think these ways should work.
way 1:
goto terminal, type:
arp -a
this command displays all entries, since the wifi connection actually makes the phone a router, so all connected clients should have corresponding arp entry.
way 2:
goto market and download Network Discovery application, use it to scan the whole network. Also it provides port scanning function too.
(but .. this application usually crashes on my phone after scanning for long time)
Interesting, thanks. I'll test and reply.
Tested, even the basic "busybox arp" with no switches works. The result needs to go through grep or use "specify interface" switch to avoid showing the 3G data IP.
I suppose that access control has to be implemented in the kernel, so I won't mess with it - but now I have a script line to see, who's connected. Thanks
And one day someone could write a widget for it. At least modify the on/off widgets to show the number of connected clients.
Any more news on this? The network discovery app kind of worked, but it had to use wifi which disabled tethering.
I think there has to be a way to see who is connected to your hotspot at one time without disabling anything.
The Palm Pre Plus on Verizon does this automatically. There are a lot of features that phone has that I wish android would impliment...Man it would have been nice if google had bought palm
Jack_R1 said:
Tested, even the basic "busybox arp" with no switches works.
Click to expand...
Click to collapse
Is that news?
You want an app/widget for that? There is none. I've turned to the creator of the "hotspot widget" and asked him to implement counter for connected clients (which should good enough for anything I can think of), but I got no answer. I also tried to find any open-source code for such widget to modify and add the functionality, but didn't find any.
The older Eclair CM build had such app for manual control, showing MACs of connected clients.
I dont think the stock froyo tethering implements this but the wired/wireless tether apps included in 2.1 roms has the function, mac address filtering too =D

Wifi and 3G working together

I have yet to come across the ability to use wifi and 3G simultaneously so it seems like it could be well worth implementing.
http://mobisocial.stanford.edu/news...together-by-hacking-connectivityservice-java/
*Also posted in Android General: http://forum.xda-developers.com/showthread.php?p=15161427
Well, I didn't go to Stanford, but wouldn't you have to be able to tell the system which traffic should use which interface? Generic routing can't handle this stuff.
My thoughts were leaning towards those apps that already require one connection type versus another. For example wouldn't it be nice for those that use wifi to vpn into their network(s) for work/home and also be able to use apps that require their 3G. I recall having to switch to 3G from my wifi once or twice at home to use just an app that was developed to use only 3G.
The simplest thing IMO (if possible) would be to have the person be able to set a preference on their phone for wifi or 3G (by app selection would rock). Then apps would connect through the preference if available (and if allowed) or move on to the alternate if not.
This kind of discussion is what I was hoping for so please keep it coming...
*BTW we've come a long way since the Vogue
This is what we used to call "shotgunning"
Jiggity Janx said:
My thoughts were leaning towards those apps that already require one connection type versus another. For example wouldn't it be nice for those that use wifi to vpn into their network(s) for work/home and also be able to use apps that require their 3G. I recall having to switch to 3G from my wifi once or twice at home to use just an app that was developed to use only 3G.
The simplest thing IMO (if possible) would be to have the person be able to set a preference on their phone for wifi or 3G (by app selection would rock). Then apps would connect through the preference if available (and if allowed) or move on to the alternate if not.
This kind of discussion is what I was hoping for so please keep it coming...
Click to expand...
Click to collapse
Right... I guess it would be handy if the only check was for whether a particular connection was ACTIVE, not necessarily if it were the primary interface.
Well, I guess you could futz it manually with the routing table -
wifi
addr 192.168.1.100
gateway 192.168.1.1
ppp0
addr 76.76.76.76
gateway 76.1.1.10
corp public
20.20.20.20
so, if you had a corp vpn app that required wifi, and could force both to be enabled, you could set...
Code:
route add -host 20.20.20.20 netmask 255.255.255.255 gw 192.168.1.1
but it'd be a pain to change every time. guess you could build an app to handle it...
*BTW we've come a long way since the Vogue
Click to expand...
Click to collapse
Aye, mate.
"shotgunning"
Click to expand...
Click to collapse
new to me. will google this.
EDIT: ah, yes - multiplexing PPP connections. not possible, I think. You might be able to load balance/share, though, and that could be handy.

Set DNS app

Useful app, and it did speed up my browsing and market downloads, a lot!
https://market.android.com/details?id=uk.co.mytechie.setDNS&rdid=uk.co.mytechie.setDNS&rdot=1
okantomi said:
Useful app, and it did speed up my browsing and market downloads, a lot!
https://market.android.com/details?id=uk.co.mytechie.setDNS&rdid=uk.co.mytechie.setDNS&rdot=1
Click to expand...
Click to collapse
I have tried this - however, I use OpenDNS at home and saw improvement
Im going out on a limb here and guessing the app will only work if ou have DNS set up on the network in which you are connected to.
tincbtrar said:
I have tried this - however, I use OpenDNS at home and saw improvement
Im going out on a limb here and guessing the app will only work if ou have DNS set up on the network in which you are connected to.
Click to expand...
Click to collapse
Hmmm...seems to really work with several different networks, including my Clear Wimax MiFi. Placebo effect? I don't care, if it works. Especially for those never ending market updates...
Hah that's funny! I actually just went about changing up my DNS servers again for my home network. I actually have my wireless router and all other devices set up with a great DNS server setup. The primary DNS is Google's main public server, which is 8.8.8.8, meanwhile my secondary is the server that is closest to my actual location, which is good. Just in case the main server fails I will still have a close server connection, which means an overall good connection to fall back on.
Best tool to use all around to find out if your primary and secondary DNS servers are really fast and reliable? Google's own tool called namebench. It can be found here: http://code.google.com/p/namebench/
It will recommend to you the fastest server as the main, showing the percentage of how much better it is compared to your current, and it will also show the closest server based on your location for the secondary. Works like a charm every single time.
Actually, I have been using Google's DNS for like 2 years now as my main, but my secondary is what has recently changed. No complaints here at all. It chugs along like it should without so much as a hiccup.
Anyone reading this: Once you find the best DNS servers for yourself, you should go about applying them to all of your internet enabled devices as I have done myself. For example: wireless router, computer, phone, tablet, Wii, PS3, and any other device you can think of! You shan't regret it!
StrifeSoldierVII said:
Hah that's funny! I actually just went about changing up my DNS servers again for my home network. I actually have my wireless router and all other devices set up with a great DNS server setup. The primary DNS is Google's main public server, which is 8.8.8.8, meanwhile my secondary is the server that is closest to my actual location, which is good. Just in case the main server fails I will still have a close server connection, which means an overall good connection to fall back on.
Best tool to use all around to find out if your primary and secondary DNS servers are really fast and reliable? Google's own tool called namebench. It can be found here: http://code.google.com/p/namebench/
It will recommend to you the fastest server as the main, showing the percentage of how much better it is compared to your current, and it will also show the closest server based on your location for the secondary. Works like a charm every single time.
Actually, I have been using Google's DNS for like 2 years now as my main, but my secondary is what has recently changed. No complaints here at all. It chugs along like it should without so much as a hiccup.
Anyone reading this: Once you find the best DNS servers for yourself, you should go about applying them to all of your internet enabled devices as I have done myself. For example: wireless router, computer, phone, tablet, Wii, PS3, and any other device you can think of! You shan't regret it!
Click to expand...
Click to collapse
Yes, I chose Google DNS for my main when on the go (using MiFi usually) and will set to whatever works best at home (haven't checked yet but will use that namebench app you recommend). I have seen a real improvement so far.

Permanently disable Mac randomization

Hi,
how can I permanently disable MAC adress randomisation?
I can set this for each connection separately but I want to disable this feature completely.
Thx
Doenerbude said:
Hi,
how can I permanently disable MAC adress randomisation?
I can set this for each connection separately but I want to disable this feature completely.
Thx
Click to expand...
Click to collapse
From this site, it would appear you cannot in Android 10: https://source.android.com/devices/tech/connect/wifi-mac-randomization
I'm curious though, what use case do you have where you want to do this?
JohnKuczek said:
From this site, it would appear you cannot in Android 10: https://source.android.com/devices/tech/connect/wifi-mac-randomization
I'm curious though, what use case do you have where you want to do this?
Click to expand...
Click to collapse
I don't like that it's the default setting. For some reason, if I change WiFi networks (away from the one that autoconnected), I have to re-enter the password and have to remember to change it back to "Use device MAC".
brandon5491 said:
I don't like that it's the default setting. For some reason, if I change WiFi networks (away from the one that autoconnected), I have to re-enter the password and have to remember to change it back to "Use device MAC".
Click to expand...
Click to collapse
Is MAC randomisation causing a problem for you? Maybe someone can help if they understand the issue.
I have several WiFi networks to deal with at work and access control is based on MAC address.
Thats no security thing, only offline networks for testing purpose. SSID changes often and I always forget to change the setting...
@brandon5491 had the same issue with WPA3 but seems to be fixed with March Update (or newer AP firmware)
I have several WiFi networks to deal with at work and access control is based on MAC address.
Thats no security thing, only offline networks for testing purpose. SSID changes often and I always forget to change the setting...
@brandon5491 had the same issue with WPA3 but seems to be fixed with March Update (or newer AP firmware)
Well iOS and Android do MAC randomisation so it will be more than just you struggling with this issue, maybe raise the problem with your work? Maybe there is a tasker addon that can turn the option off based on some rule you create.
As for stopping you, I'm not sure how? If you join a network the device will use its fixed hardware MAC address which is approved. The MAC filtering should not be enforced unless you are connected to the network.
Randomized MAC addresses and IoT Devices
JohnKuczek said:
From this site, it would appear you cannot in Android 10:
I'm curious though, what use case do you have where you want to do this?
Click to expand...
Click to collapse
For me, it makes it nearly impossible to onboard new smart devices. Lifx, Kasa, Samsung, etc all need static MAC when adding them. You have to stop the install, go change the setting on the wifi for each device, then start the install all over again.
William

Use your phone's VPN in your computer without root.

I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Please
ssaikia3 said:
I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Click to expand...
Click to collapse
Can you explain me how does vpn work?
I mean when I connected to my home wifi, I connected with my pc( Desktop ) too.
So I mean do I still need vpn to use Internet?
Thanks!!!!
ssaikia3 said:
I have seen a lot of people wondering about how to use your phone's vpn in pc. If you're one of them, than keep reading.
To do this you do not need root
Works on any computer OS
Works on home wifi or data hotspot
When your PC is connected with your WiFi or hotspot, it's sends all the request directly, regardless of your phone's vpn, wheather it is on or off. When you turn on the phone's VPN, all the traffic from your phone goes through the VPN, and we have to divert your PC's traffic through the same route.
There are a lot of different ways to do this, but we will use proxy method.
Download an app called proxy server (<1MB), you can find it in PlayStore or here on XDA. Or any other app would do, it just needs to have the capability to create a proxy server.
So (for Proxy server app) all you have to do is (first time setup)-
Open the app.
Click on the add button at the top, give it a name.
Remember the port and go back.
On the dialogue, click save.
Click on Info at the top, note the wifi ip, go back.
Click on Start at the top to start the server.
Go to PC's browser (or network proxy, if you want to tunnel everything) settings.
Put the proxy server ip (the wifi ip noted earlier) and the port.
Turn on your phone's VPN
Enjoy :good:
If you're using hotspot, go to pc's network settings or ipconfig (google if you don't know how) to find out the gateway, that will be your proxyserver ip.
Just in case it seems to be a lot of steps, know that, you only have to setup once, after that its pretty much start and stop on both your phone and PC. I have an addon installed in my browser (proxy toggle) so basically it's a single-click step.
I'm no scientist, so I don't know all the billions of methods to do this, but this is just a good old method that's going unnoticed somehow. I'm just trying to help people here by sharing it here. If you already knew it, good for you. If you didn't, congratulations and good luck.
:good:
Click to expand...
Click to collapse
More explanations are needed thanks
Ewaret said:
Can you explain me how does vpn work?
I mean when I connected to my home wifi, I connected with my pc( Desktop ) too.
So I mean do I still need vpn to use Internet?
Thanks!!!!
Click to expand...
Click to collapse
I think it'd be better if you go watch a video on YouTube, explaining "what is a vpn" . If I try to explain you here, chances are you're going to get confused even more.
sl13kp said:
More explanations are needed thanks
Click to expand...
Click to collapse
Start VPN in phone
Start proxyserver app in phone
Set the proxy IP and port in your PC browser
It's a 3 step process. If you still need help, you should ask more specifically, a generic "more explanation needed" doesn't pin point where should I start.

Categories

Resources