[Q] Easy way to get WiFi Mac Address - Android Q&A, Help & Troubleshooting

Hi, We have a WiFi system that can report on how many people are connected and if they have created an account it associates the Mac to a name and will display the account name rather the device MAC.
What we want to do if use this to welcome people to our offices via digital signage but we need to know there MAC address first. We can do this via our WiFi network, when the WiFi see's a device we collect its MAC ( they don't need to connect ) If we have pre-associated the mac with a name we can display a welcome message saying "Welcome William Hill, your meeting is upstairs in room 1". That part is relatively simple for us.
What we need is a easy way that visitors can give us there MAC address of there phone before attending our building.
We are thinking of a registration form that has a field for the MAC, only problem is finding the MAC on a mobile is not that straight forward... especially to thw non technical.
Does anyone know of a way we could automate this by maybe scanning a QR / bar code. or does anyone has an alternative simple / automated way of collecting the mac of a mobile...
Any suggestions would be appreciated...
Thanks

Pigsfoot said:
Hi, We have a WiFi system that can report on how many people are connected and if they have created an account it associates the Mac to a name and will display the account name rather the device MAC.
What we want to do if use this to welcome people to our offices via digital signage but we need to know there MAC address first. We can do this via our WiFi network, when the WiFi see's a device we collect its MAC ( they don't need to connect ) If we have pre-associated the mac with a name we can display a welcome message saying "Welcome William Hill, your meeting is upstairs in room 1". That part is relatively simple for us.
What we need is a easy way that visitors can give us there MAC address of there phone before attending our building.
We are thinking of a registration form that has a field for the MAC, only problem is finding the MAC on a mobile is not that straight forward... especially to thw non technical.
Does anyone know of a way we could automate this by maybe scanning a QR / bar code. or does anyone has an alternative simple / automated way of collecting the mac of a mobile...
Any suggestions would be appreciated...
Thanks
Click to expand...
Click to collapse
Well to get your WiFi MAC address all you need to do is go into Settings > About phone > Status. If that's too much for your users then the only way I can think of solving this is to create an app that your users download which gets their MAC address automatically (using the WifiManager class in the Android SDK)

Related

Mac address

Can someone tell me where the Mac address is stored in SGS2.
I have found /etc/wifi/nvram_net.txt but in that file it is a different mac address then the one i see in wifi advanced settings.
/Mike
Anyone?
I really need this information.
/Mike
Be a pioneer, try the two options and post the result here.
Sent from my GT-I9100 using XDA Premium App
Have been a pioneer .
But it did not help to change in nvram_net.txt.
Doesn't anyone know in what file the mac address is stored?
/Mike
Menu > settings > About phone > Status > wifi mac address
(if that is what I understand from question)
Thanks
But i want to know in what file in the os the mac address is stored so i can change it.
/Mike
Leahcim said:
Thanks
But i want to know in what file in the os the mac address is stored so i can change it.
/Mike
Click to expand...
Click to collapse
I actually thought it was chipware (pic) stored on the actual wifi hardware. I know you should be able to override.
How do I override it?
/Mike
Dunno, much like linux I would guess, why do u want to?
Sent from my GT-I9100 using XDA Premium App
Having problem with a hotspot in a hotel.
I want to set the same mac address as in my pc. Then I can use the PC to login and then switch over to my phone.
How do i do in linux?
/Mike
Anyone?
/Mike
Leahcim said:
Having problem with a hotspot in a hotel.
I want to set the same mac address as in my pc. Then I can use the PC to login and then switch over to my phone.
How do i do in linux?
/Mike
Click to expand...
Click to collapse
Not the best of ideas, and may not even work, why not sign in on your phone?
And for your "How do i do in linux?" question, you use goolge to search for a query that millions will have had for the widest used classification of operating system in the world
But... a simple google search gives
http://www.robmcghee.com/android/changing-the-mac-address-on-android/
I am in a hotel and with a pc connect to the hotspot and get a wifi connection:
Then when i start to surf i get redirected to http://hyd.guestnet.int/login/
Where i fill in username and password in a form and i send the information to http://1.1.1.1/logon.cgi.
On my phone i get a wifi connection but is not redirected and i can not surf to http://hyd.guestnet.int/login/
I have tried all ways that is described but none is successful.
That is the reason I wonder if someone knows how i can change the mac in os on a SGS2.
/Mike
you tried downloading opera or firefox for your mobile? Either or may make it so you can login on that form?
Easier solution if it works
deanwray said:
you tried downloading opera or firefox for your mobile? Either or may make it so you can login on that form?
Easier solution if it works
Click to expand...
Click to collapse
Have tried Opera mobile, firefox and dolphin, none is working.
/Mike
Don't forget to set the User Agent of Opera/Firefox/Dolphin to Desktop. Does the hotel ask for a login in the form of a website, or is it a dialogue box? Because websites can easily load on your phone.
I have the Useragent set to Desktop.
The hotel redirect me to a webpage http://hyd.guestnet.int/login/
Where i fill in username and password in a form and i send the information to http://1.1.1.1/logon.cgi.
On my phone i get a wifi connection but is not redirected and i can not surf to http://hyd.guestnet.int/login/
I can not get the phone to show the webpage with login.
Now i was thinking to set the same mac addres on my phone as on the pc and use the pc to logon and then switch of wifi on pc and turn it on on the phone.
/Mike
Is it possible to change the mac address on SGS2?
/Mike

[Q] Making my own VPN

So, I was trying to make my own VPN to bypass my mobile network's blockage on Skype. I'm trying to get my Galaxy S3 connect to my home's PC which is totally fine with Skype.
I followed the steps here to setup a VPN on Windows 7. But when I tried to fill the VPN settings on my phone, it was unsuccessful.
What am I missing?
EDIT:
Couldn't post the link. The steps were :
Following are the steps for configuring Incoming VPN Connection in Windows 7
First go to Control Panel and open Network and Sharing Center.
Click on Change adapter settings.
Press Alt+F and select New Incoming connection
Put a check on who you’d like to give access to this computer or you can configure a new account by clicking on Add someone,after that click on Next.
Put a check mark on Through the Internet. Click on Next.
Select the protocols you want to enable for this connection. Click on Allow access.
Make a note of the Computer name as this will be used by the client to connect to this computer and after that Click on Close.
Banana Phone said:
So, I was trying to make my own VPN to bypass my mobile network's blockage on Skype. I'm trying to get my Galaxy S3 connect to my home's PC which is totally fine with Skype.
I followed the steps here to setup a VPN on Windows 7. But when I tried to fill the VPN settings on my phone, it was unsuccessful.
What am I missing?
EDIT:
Couldn't post the link. The steps were :
Following are the steps for configuring Incoming VPN Connection in Windows 7
First go to Control Panel and open Network and Sharing Center.
Click on Change adapter settings.
Press Alt+F and select New Incoming connection
Put a check on who you’d like to give access to this computer or you can configure a new account by clicking on Add someone,after that click on Next.
Put a check mark on Through the Internet. Click on Next.
Select the protocols you want to enable for this connection. Click on Allow access.
Make a note of the Computer name as this will be used by the client to connect to this computer and after that Click on Close.
Click to expand...
Click to collapse
I have to say, I highly advise against using any of the desktop-based Windows OS for a VPN server. The reason being is that although some functionality for providing an incoming VPN service may be there, it is by no means widely supported and where it is found, can be flakey and unstable at the best of times. Server-based operating systems, like Windows Server 2003, feature a very solid server base (hence the name) and as a result, have much more support and stability when it comes to hosting services used by clients. Further to the point of an actual VPN server, they are very difficult to get working properly and even more difficult to maintain, even on a server-based OS. I know running a server-based OS isn't something that everyone can (or wants) to do, so if you need to use a VPN service for whatever reason I suggest taking a look here: http://www.makeuseof.com/tag/7-completely-free-vpn-services-protect-privacy/ or if you wish to shell out a few pounds here: http://www.zeropaid.com/news/94826/top-5-free-vpn-services/ Anyway, that's just my opinion (although one I have developed from a professional background and having endured trials much like you are now) so on to the problem you face...
You say you have setup a VPN incoming connection, via a Windows 7 wizard. I encourage you to check this link out, and go over the motions it describes to see if there are any intermediate steps the guide you followed may have missed.
http://www.pcworld.com/article/210562/how_to_set_up_vpn_in_windows_7.html
After you have done this, please follow the following link to see the ports that are needed to be opened between you and the outside world. This will either have to be done at a) your firewall if you have one (could be software, ie Windows 7 Firewall, or hardware) or b) your router.
http://www.speedguide.net/faq_in_q.php?qid=163
I am unsure whether Windows 7 as a VPN server uses PPTP or L2TP for its service. However, I will hazard a guess and say PPTP, as L2TP I have only ever seen used on Unix-based system. Therefore you will need to open (or forward) ports 1723 and port 47 to your Windows 7 PC. As there are many different makes and models of home router I cannot give you specific instructions on how to do this, but a Google string such as "<your router name here> port forwarding" will no doubt give you guides on how to do this. My money is on something like your router/firewall just blocking VPN traffic, as the ports are not currently forwarded properly.
I hope this helps - let me know how it goes.

[Q] App to make a wifi hotspot with ip filtering

Hi,
I want to use my phone as a wifi hotspot, but I would like my phone to allow access to only some ip adresses (my mail server actually).
This way if my PC try to go to another site (say "windows update" site) the phone will not forward its http request, thus limiting data consumption.
Is there an app on the market that does it ?
Thanks in advance, and I hope my english is understandable.
Regards,
Phil
Not exactly what you want but, a firewall with ip filtering on your pc might help?
Thanks for the answer. It would be a solution, but it has some cons :
1) my main PC is my work-computer. So, tools like firewalls or this kind of parameters are controlled by the security engineer of my company.
2) I will use the hotspot with 3 PC (home, work, friend). If IP filtering take place on the phone, I have to configure it only once instead of 3 time.
3) On the PC, I will have to switch between firewall configs depending if i am using the hotspot or my home wifi.
Phil

Different options to avoid 3 Mobile UK tethering block.

Hi everyone,
I am trying to get my head around on what can be done to bypass the tethering filter on 3UK.
Below are different scenarios I have come up with and would like any volunteers who could try out any of the following for me. Of course I will be doing these myself as and when time permits but its always helpful to have others view on it too.
Please and I say please, do not turn this thread into Right and Wrongs of tethering or Terms and conditions of 3 mobile contracts. Please keep your views to yourself regarding if its lawful or unlawful or ethical or unethical or whatever you seem to come up with. I would like this to be a productive thread, instead of random comments on tethering.
Option 1: Use SSH Tunnel * Should I use SSH tunnel on my phone and use my PC to connect to it to use internet. Is there a reverse option?
Option 2: Use OpenVPN Install OpenVPN on your pc, and connect your phone to your pc using default VPN function on your phone in my case GT-I9100 comes with VPN function. You could also try to reverse this method and install OpenVPN on your phone and use your PC to connect to it. *
Option 3: Use the above two together in combination As the heading says, use SSH tunnel to connect to your OpenVPN.
Option 4: Use a proxy on your pc and connect to your phone or reverse, install proxy app on your phone and point your pc web browser to that proxy address. You could use the SSH tunnel here to connect too.
So, tools at hand are vpn with any encryption available, ssh tunnel, proxy server.
Tools to ignore - TOR (onion), garlic based TOR like, changing User Agent on web browsers or paid VPN.
3 UK has two APN settings, three.co.uk for mobiles (NATd ip address) and 3internet (dongle users) has external IP address and I believe it’s an Open NAT or no NAT.
Please feel free to mix and match any options and also share your views on what is technically possible.
I hope to see something useful and learn a bit more. Even if we fail to achieve the desired results, it will still be enlightening to find the facts on how 3 detects tethering.
I
Code encode decode
Found on giff gaff forum useful info
Well, they have a few ways..TTL: In my opinion, the most likely telltale signal of tethering. For example, *iOS packets originate with a TTL of 64, so if they see anything else they know something is up. This is very easy to check, as the TTL is checked by each router as the packet is handled. (the address on the envelope - doesn't require opening the letter, to use an analog analogy)APN: Another possible sign of tethering is data being routed over the access point set up for the built-in tethering feature. But giffgaff does NOT have a separate APN for Tethering. Again, this is easy to check without deep packet inspection.User-agent: This is where carriers would need to get heavy-duty equipment and a willingness to be invasive to detect tethering. Your browser sends information about itself to remote web servers, and this information could be checked. I do not think giffgaff is doing this (to detect tethering at least,) as it is not proof of tethering since anyone can easily use another browser on your phone that reports a different User Agent.Web Sites Visited: Again, highly invasive, though it doesn't require DPI. If you're using the DNS servers of the carrier, they could look for requests for certain domain names like windowsupdate.com etc. This wouldn't be proof either, though.I would bet that they are using TTL. So tunneling the TCP/IP packets that way probably resets the TTL to the default of the WAN interface on the phone.
Code encode decode
Why do you have to make 2 threads for the same subject?
Well I wasn't sure at the time of writing first one if I had to go down the route of testing which the second one is for. So, the first one is literally to know if its happening to new contracts only and second is for testing different scenarios and finding how.
Hope this helps and if not then jog on.
Code encode decode
Invincible29 said:
Hope this helps and if not then jog on.
Click to expand...
Click to collapse
Less of the attitude please and more of the reading of forum rules. Stick to one thread for the same thing.
Thread closed, use the other one (it was created first).

IP Whitelist for System to make calls to

Hey all, I turned on google maps (and the location service) on my stock Galaxy S9+ and noticed that the android system was suddenly making some outside calls on the HTTPS port (443). I've blocked them for now, but I was wondering if any of you know if they are ok to let through? The IP addresses are usually 13.249.134.*, going out to an amazon cloudfront server. Is this just how Samsung does some of its updates, or should I be worried about my privacy?
It could be any number of apps or services on your phone doing that. Without knowing which app did it or what it was doing (get, post, etc) was it's not possible to tell you if it's normal or not.
For example on my phone I see an https tunnel connection to 13.56.148.213:443 by Samsung neural keyboard.
I would try to use something to help narrow down what app is connecting to that IP address, and what it is doing in a bit more detail.
I cleared my adguard filter log recently but I will keep an eye on it. Will check on it tomorrow and see if I have any requests going to that IP address range.
**Edit - I don't see anything calling to that specific ip address range, but that doesn't mean anything necessarily. I would strongly suggest you find a way to identify what application is trying to connect to the IP address and what kind of event is taking place (POST, GET, HTTP TUNNEL, etc). Amazon cloudfront server(s) could very well be some form of content delivery service (images and etc), a server for use in backing up configurations/data, or as a way to send data to an app using the closest server to your location (like some sort of content delivery network).
Alright, thanks for your help! Would you happen to know of any good packet sniffers that wouldn't require root access?
StultusNemo said:
Alright, thanks for your help! Would you happen to know of any good packet sniffers that wouldn't require root access?
Click to expand...
Click to collapse
Unfortunately no., and I looked for such an app for a while (over past few months) now.

Categories

Resources