I want to set up a IPTABLE(firewall rule) that will allow a connection for a port from my Nexus S. I want to create a match such as MAC Address. But obviously there is no ethernet card on the phone. Is there any other way to identify the phone device in a packet?
From the home screen Menu > Settings > About Phone > Status > Wi-Fi MAC Address
You should be able to use the MAC address there.
Related
I would like to use my HTC Cruise as a modem.
So that it is possible that i have the internet on my laptop.
From my mobile.
I know that it is not usual to do this all the time. But for know it not working.
can somebody help me?
I'm french but plug the PDA on your PC with USB cable
And in program you must have a program internet share (I don't know if in english it is the good word)
Launch it and click on connect
I tried to find it,
but when I connect it to my pc with my usb cable. I only get the program to synchronise. Because it's Vista.
How do i find the internetconnection anywhere else?
this program is on the PPC start -> program
On Vista you need Windows Mobile Device Center 6.1 that you can download from: http://www.microsoft.com/windowsmobile/devicecenter.mspx. It comes in both x64 and x86 flavors.
You also need to run the Internet Sharing application on your phone. On my unbranded HTC Touch Cruise there was no link to that application in Start/Programs. What you have to do, is to go into the Windows folder and run the IntShrUi.exe.
I'm not quite sure, but I think that it automatically creates a link for you in your Programs folder (Windows\Start Menu\Programs\). If it doesn't, you can do that yourself. The link should also be in the windows folder (IntShrUi.lnk) and you can just copy that manually to your Programs folder.
ovidiaconescu, I have an unbranded Cruise as well with the Stock ROM and had that icon in Programs. Don't remember doing anything to get it there.
Internet Sharing app is on the PPC. Here are directions, note that these are from someone else's post in another thread (http://forum.xda-developers.com/showthread.php?t=337714) I have put them here for convenience:
To set up your device as a USB modem
1. On your device, tap Start > Programs > Internet Sharing.
2. In the PC Connection list, select USB.
3. In the Network Connection list, select the name of the connection that your device uses to connect to the Internet.
4. Plug in the USB cable between your device and the computer.
5. Tap Connect.
To end the Internet connection
On the Internet Sharing screen, tap Disconnect.
To set up your device as a bluetooth modem
1. On your device, turn on Bluetooth and set it to visible mode.
2. Initiate a Bluetooth partnership from your device
3. Tap Start > Programs > Accessories > Internet Sharing.
4. Select Bluetooth PAN as the PC Connection.
5. From the Network Connection list, select the name of the connection that your device uses to connect to the Internet.
6. Tap Connect.
7. On your computer, set up a Bluetooth Personal Area Network (PAN) with your device:
For Windows Vista:
a. Click Start > Control Panel > Network and Internet > Network and Sharing Center.
b. Click Manage network connections and then under Personal Area Network, double-click Bluetooth Network Connection.
c. In the Bluetooth Personal Area Network Devices dialog box, select your device, then click Connect.
For Windows XP:
a. Tap Start > Control Panel > Network Connections.
b. Under Personal Area Network, click the Bluetooth Network Connection icon.
c. Under Network Tasks, click View Bluetooth network devices.
d. In the Bluetooth Personal Area Network Devices dialog box, select your device, then click Connect.
8. On the Internet Sharing screen on your device, check if a connected status is displayed, which indicates that your computer has been successfully connected to the Internet using your device as a Bluetooth modem.
Do you think it's possible to do the same kind of thing to access internet with an Archos 605 ??
Hi,
I succeeded to access internet by my WAP connexion mobile on my computer. But some website like gmail or hotmail are not reachable... Does someone have any idea?
Hi
I'm trying to get my htc touch pro on the school's wifi network. It is such that i have to login with my own details when accessing it on my laptop, and also have to connect through a proxy controlled by the school. I can connect to the network, and input my own login user/pass but i then need to enter a domain, i then need somewhere to input the port which the network uses, where do i do this??? I have to enter proxy info into the browsr on my laptop if it helps.
cheers
please?
the info i need to enter is the following :
My own login/pass/domain (this i input straight after connecting to the network, no problems here)
Proxy information. on my laptop i input this in the connections settings of my browser, under "Lan settings" tab, this is just the proxy port and domain. Where do i put this in my touch pro's settings please?
Settings > Connections Tab > Connections Icon > Advanced Tab > Select Networks Button.
Then press the edit button under "My Work Network" then go to the Proxy Settings Tab and enter your info.
You need to make sure your WiFi network is set to "Work" and not "internet"
You should be able to connect after that.
Let me know how you get on.
By doing this will I be able to connect to MSN Messenger, Skype etc.?
bsoon_tan said:
By doing this will I be able to connect to MSN Messenger, Skype etc.?
Click to expand...
Click to collapse
If you schools proxy network allows you to do so.
Well I can connect to above mentioned using my laptop but I just can seem to do it on my HTC Touch Pro. Any idea why?
I work at a private school as an assistant IT and we do not allow phones on the network. That is probably why as most people don't want rogue devices on their network.
Fair enough, thanks for the info guys.
Ok, if you need to connect to a WiFi network with no DHCP service where you are allowed to choose an IP (like your own home network where you want a specific IP), you have to go:
Settings > Connections > WiFi > Wireless Networks > Network Adapters > IEEE 802.11b/g Compatible Wi-Fi Adapter and there change to Use specific IP address and the like.
But the changes you make there, are valid for all your WiFi connections (since they are network adapter related). If you later need to connect to a public WiFi where you can only get an IP through DHCP, you have to go back and change the setting again all over again.
Is there any way/software that can keep these settings per network? Eg. if the network's name is Freenet then use DHCP, if the network's name is Home then use specific IP, DNS, etc.
There's something for windows.. which i'm almost positive will be work for WM.
I will check it when i get home..
Anything ?
nir36, can we please move this to "Networking" in case someone there knows anything? Or should I repost there?
Is there a way to change the name of my device? In my device list on my router it's listed as "Android_IMEI#" & I don't really like that. For WM you could change it to whatever you wanted.
bumpity bumperson
On my router, i can change it on the router setup page.
for bluetooth, you can change it from the bt settings page.
try wifi settings page maybe?
Check under Bluetooth settings and change device name
the bluetooth settings show it as HTC Sensation. can't find any options on the phone. I think it's a bit unsettling that any wifi network you connect to will have your device imei number
Privacy: How to set a random MAC address upon every Wi-Fi connection
I post this for two reasons, the first being I just learned this and therefore I want others to benefit from my newfound knowledge:
"Every time your device connects to a new network it can use a randomized MAC address. Why is this important? To put it simply: Privacy."which seems to apply to a variety of Android releases:
"Starting in Android 8.0, Android devices use randomized MAC addresses when probing for new networks while not currently associated with a network. MAC randomization prevents listeners from using MAC addresses to build a history of device activity, thus increasing user privacy."
And the second reason is that those who know more than I do can further add technical value to this topic.
What I did on Android 11 was I changed the following two settings which I believe add to privacy.
Android11-Settings > Connections > Wi-Fi > GearIcon > Advanced > MAC Address Type
Set to either {Randomized MAC} or top {Phone MAC}
Settings > Developer options > Networking > Enhanced Wi-Fi MAC randomization
Turn either {ON} or {OFF}
"Change this phone's MAC address each time it connects to a network that has MAC randomization turned on."
One caveat is the following:
"Once a random MAC address is used for a given network profile, the mobile device will continue to use the same random MAC address even after the user deletes the network profile and recreates the SSID/network profile."
Another caveat is the following:
"There is a bit which gets set in the OUI portion of a MAC address to signify a randomized / locally administered address. The quick synopsis is look at the second character in a MAC address, if it is a 2, 6, A, or E it is a randomized address."
If you're aware of additional technical information on this privacy topic, please add it to this thread so that we all benefit from your knowledge.
Thanx,
I did option 2 - Settings - Developer Options - Networking - Enhanced Wi-Fi MAC Randomization - as to On, and I tried googling where to find your first option 'Randomized MAC' on Android 11, but I can't find a solution as to why I don't see that 'Randomized MAC' option there on my Samsung Galaxy S21 Ultra, it is updated.
May you possibly tell me if you know of whether if I should have both your suggested options enabled and why I maybe can't see option 1 for me?
Hi, I cant find the setting Privacy - Use Randomized MAC on my Galaxy Note 8 but on my Mi Mix 2S, this option is there. Tried MacRandomizationEnabler module on Magisk but there's no changes. Tried it on various Roms Q/R/S for Note 8 but cant seem to get it to appear.
helionexusbiz said:
Thanx,
I did option 2 - Settings - Developer Options - Networking - Enhanced Wi-Fi MAC Randomization - as to On, and I tried googling where to find your first option 'Randomized MAC' on Android 11, but I can't find a solution as to why I don't see that 'Randomized MAC' option there on my Samsung Galaxy S21 Ultra, it is updated.
May you possibly tell me if you know of whether if I should have both your suggested options enabled and why I maybe can't see option 1 for me?
Click to expand...
Click to collapse
Try going in WiFi setting while being connected to a WiFi network. You will see a 'gear' icon beside the connected WiFi name. click on that then click on 'advanced'. Hope you will find what you are looking for.
Though I might be too late to reply, but anyway. I just got into (and presumably out of) this mess.
I think I might know where other people might be having issues...
Some routers are set to recognize devices by their MAC address (which won't work anymore with MAC randomization).
First, let me state unequivocally that I have been successfully using MAC randomization on Android 11 (which randomizes per SSID and only changes that randomization under certain circumstances) and I've been successfully using MAC randomization on Android 12 (which randomizes on every connection if you set the Developer options for that).
But I changed a few other (unrelated!) Wi-Fi settings that others might not be setting; (but maybe they matter?).
I don't think most of those Wi-Fi changes I've made are needed for MAC randomization to work per connection, though, as I did them only because I have other tools (like scrcpy and vysor and webdav which you can see in the screenshots below) which work best with a static IP address on the phone (and I hide my router broadcasts for privacy reasons - and yes - I said privacy and not security as Google/Mozilla/Kismet/Wigle/etc. still get your SSID even if you add "_nomap" and "_optout_" to that SSID).
But that's what I think may be DIFFERENT in my setup than in your setup (but I would think my setup would be harder to set up than for most people since my router doesn't broadcast the SSID and my phone doesn't try to reconnect to that SSID when I leave the home due to geofencing tricks).
Anyway, the things I did different from (perhaps?) most people are:
I set Developer options to Enhanced Wi-Fi MAC randomization
(Enhanced Wi-Fi MAC randomization = on)
I set the Android Wi-Fi to request a static IP address
(IP settings = Static)
I set the router to address reservation for that IP address
(Address Reservation = on)
I set the Android Wi-FI to not attempt to reconnect upon failure
(Auto reconnect = off)
I set Developer options to allow wireless debugging
(Wireless debugging = on)
But I want to stress that almost all those Wi-Fi settings I changed that may be different from others weren't necessarily for the MAC randomization feature to work but for other Wi-Fi privacy and functionality features to work, including:
Causing a new Wi-Fi MAC randomization on every connection
Not broadcasting the home Wi-Fi SSID (on the phone) whenever I'm away from home
Not broadcasting the Wi-Fi SSID (on the router) when I'm at home (in addition to using "_optout_" & "_nomap" names).
Mounting the entire phone (root & external SD included) as a read/write drive letter on Windows over Wi-Fi (using WebDav)
Mirroring the Android phone on Windows over Wi-Fi so that I can use the Windows keyboard & mouse & clipboard on the phone (using Vysor and/or Scrcpy) & so that I can just slide an APK from Windows to Android over Wi-Fi to install it onto Android
etc.