[Q] How do you change your mac address? - AT&T Samsung Galaxy S II SGH-I777

Anyone know how to change the wifi mac address on our phones?
Edit: I did find this earlier but i wanted to hear from others. http://blog.thecodecracker.com/hacks/spoof-mac-address-in-android/

For the SGS2 you can change the mac is just a little triky, you need to change the mac whit this conmand “busybox ifconfig eth0 hw ether 00:00:00:00:00:00″ while you are still conected to the wifi, and the run this conmand “netcfg eth0 dhcp” that will make a renew on your ip adress and will get you conected sorry for my eng
Click to expand...
Click to collapse
Untested. Only thing I could find that is said to work with ours. I was hoping for a app, doesn't like like it.

cwc3 said:
Untested. Only thing I could find that is said to work with ours. I was hoping for a app, doesn't like like it.
Click to expand...
Click to collapse
Not to bring things back from the dead, but I would really be like to able change mac address of my phone. The above method works not. I think it is a kernel problem. Does anyone have kernel that supports mac address changing?

Related

[Q] Anyone been able to ssh remotely (not with wifi) to their Thunderbolt?

ssh from your computer over wifi is easy, but doing it over LTE seems to be problematic if not impossible (with the phone acting as the server). It doesn't look like we're given a public ipv4 address and they're just doing an NAT magic to translate it into an ipv4 addy on their end, but it doesnt necessarily link back to you always (if you check your ip over a browser).
With my home connection being SOL as far as having ipv6 thanks to craptactular att "we dont need no ipv6 for our customers," I don't see any possible method to reach the phone.
Blackberries had a static ipv4 (when I had one) but I know that's a dying thing for new phones with ipv4's days numbered.
I know there's other solutions (like vpn), but obviously that's not the same.
i have not had any luck either and that makes sense now cuz i remember having issues with trying to run a server on my phone . damn this is annoying.
I cant get ANY data to work with the exception of once and that was only searching google.com but no other website would work... any ideas anyone?
ddarvish said:
i have not had any luck either and that makes sense now cuz i remember having issues with trying to run a server on my phone . damn this is annoying.
I cant get ANY data to work with the exception of once and that was only searching google.com but no other website would work... any ideas anyone?
Click to expand...
Click to collapse
Nope, not really. Probably could set up a vpn server on my VPS server and and vpn into that to get around the NAT though and do some work in iptables for routing. That was the only thing I could come up with.
Hi,
I know that it was stated that "ssh from your computer over wifi is easy," but this process is not immediately obviously to me. I have succeeded in sshing with the phone, but not into it. Can someone explain how to ssh into the phone (from a computer with wifi that the phone is also connected into)?
Thank you,
Michael
mcoughlin said:
Hi,
I know that it was stated that "ssh from your computer over wifi is easy," but this process is not immediately obviously to me. I have succeeded in sshing with the phone, but not into it. Can someone explain how to ssh into the phone (from a computer with wifi that the phone is also connected into)?
Thank you,
Michael
Click to expand...
Click to collapse
You need an ssh server on your phone. You can either use something like dropbear, which comes by default on most AOSP ROMs and you can figure out how to set it up by reading this or you can use something like sshdroid, which is a GUI app.
I'd be willing to bet that verizion simply blocking ports and not giving you a real ip
Sent from my ADR6400L using XDA App
movielover76 said:
I'd be willing to bet that verizion simply blocking ports and not giving you a real ip
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Unless you're roaming, you're always behind NAT and an IP within verizon's network. No one is going to give you a real and static ipv4 address nowadays regardless of the mobile network, there just arent enough left. IPv6 however I do not know if it routes out or not, haven't tested yet and the only place that I have an ipv6 address is my remote server so it doesn't do that much good usability wise to me.
Thank you for the really helpful comment! Now for another silly question: imagine the case where you have your phone connected by USB to your computer. Is it still possible to "ssh" into it using one of the methods described above?
mcoughlin said:
Thank you for the really helpful comment! Now for another silly question: imagine the case where you have your phone connected by USB to your computer. Is it still possible to "ssh" into it using one of the methods described above?
Click to expand...
Click to collapse
if you have the usb cable connected, you could just use adb and type "adb shell"
Otherwise, I don't think so because you aren't registering a network address via usb.
So once you are into your phone with adb, is it possible to run a program like ConnectBot to ssh out from the phone through your computer's adb shell?
mcoughlin said:
So once you are into your phone with adb, is it possible to run a program like ConnectBot to ssh out from the phone through your computer's adb shell?
Click to expand...
Click to collapse
Yes, if you mean ssh into your computer's sshd (ssh server).
ssh client (phone) → ssh server (computer)
or you can go the other way as well if you have an ssh server on your phone.

Spoof Mac Address

How do you go about spoofing your wifi mac address on the thunderbolt. I have searched and searched and could not find anything.
I figured out how to change macs, but when I go to settings and try to connect to a network, the mac changes back to normal. What can I do?
Im not gonna ask why your trying to spoof, odds are I know
But your probably gonna have to dual boot the backtrack 5 on the TB. There is a thread on it in the dev section. Thats gonna be the only way to make it stick i think.
Unless there is an app for that...

MAC address changing periodically.

I've noticed that the WiFi MAC address on my OG has been changing periodically. I first started noticing it on Monday when I was running the Team Nocturnal ROM. Since then I've done a factory reset and now I'm running The Base 0.7.3 and it's still occurring . The first 6 digits of the address are always "00:11:22" and the last 6 seem to be random. I grepped through the /system partition and the only reference to "00:11:22" was in an example config file, so I'm sort of stumped.
My guess is the MAC address is defined by the kernel somewhere? I'm using the freegee 0.5 kernel (3.0.21) . I'm going to try flashing KernelSk8 soon, I'll post my results. Has anyone else noticed this?
Thanks!
AFAIK, MAC address shouldn't change. The first 6 digits of the MAC are supposed to identify the manufacturer of the device - in our case A8:16:B2 = LG Electronics.
You can spoof it, but shouldn't need to. I have no idea why yours would be changing - there shouldn't be a need to.
Yea, I know it shouldn't change, which is why it's an issue At work I have to register my MAC address with the WiFi router in order to get access to the network.
I flashed sk8's kernel and I still have the same issue. I did a little more poking around and it seems to set the MAC address on startup. Does anyone know where the MAC address is set? I thought it was in the kernel but apparently not.
Thanks!
From what I can tell, this is a not-uncommon side effect of installing third-party ROMs on the phone. The last half of the the address gets randomized every time you reboot. This started happening to me after a Nexus 4 conversion -- and it remained even after re-installing the stock ROM.
On the other hand, restricting network access my MAC address isn't that secure. You're better off with a strong password and WPA2 with 256-bit encryption. Your workplace may require MAC filtering, however.
MZille said:
From what I can tell, this is a not-uncommon side effect of installing third-party ROMs on the phone. The last half of the the address gets randomized every time you reboot. This started happening to me after a Nexus 4 conversion -- and it remained even after re-installing the stock ROM.
On the other hand, restricting network access my MAC address isn't that secure. You're better off with a strong password and WPA2 with 256-bit encryption. Your workplace may require MAC filtering, however.
Click to expand...
Click to collapse
Thanks for the reply. It's good to know that I'm not the only person having this problem. This must be another undocumented side effect of the Nexus 4 conversion. You're right, it's my work that requires me to register my MAC address. It's really annoying to have to register the device everyday, and if I forget then my email doesn't come through.
Is there anyone that can give me any hints on where the MAC address might be (re)assigned? Or even what android OS system utilities might be used to change the address?
I can find a bunch of Google results for spoofing and changing MAC addresses, but discussion of *preventing* alteration is hard to find. You can apparently use Busybox to set whatever MAC address you like, but it's not clear if the phone retains this setting if it gets rebooted. I'd check right now, but I'm in the middle of a Titanium backup.
Edit: I imagine that you can create a shell script to automate changing the address whenever you need to.
Hi,
I know this is kind of old thread but i am having this issue of MAC address changing on every reboot after installing Candy 5, can someone please point me to a solution. ( its a problem for me as i have to register my MAC at workplace and everyday its changing and causing issues with my work network connection )
Any help would be appreciated.
MZille said:
I can find a bunch of Google results for spoofing and changing MAC addresses, but discussion of *preventing* alteration is hard to find. You can apparently use Busybox to set whatever MAC address you like, but it's not clear if the phone retains this setting if it gets rebooted. I'd check right now, but I'm in the middle of a Titanium backup.
Edit: I imagine that you can create a shell script to automate changing the address whenever you need to.
Click to expand...
Click to collapse

Mac address changes each boot -_-

Hi all,
I usually use stock rom but i decided to try this one :
MindCr Rom V2.8 : http://forum.xda-developers.com/showthread.php?t=1925850
Everything was fine ... then i noticed that my mac adress changes everytime i restart my Android !
The problem is my network is secure with filtering mac
Any idea ? I wonder how is that possible ...
Wait what? To my knowledge MAC addresses are something a company has to buy to implemented it in each network card unit. They are in other words not dynamic. Are you maybe referring to IP-address?
QNBT said:
Wait what? To my knowledge MAC addresses are something a company has to buy to implemented it in each network card unit. They are in other words not dynamic. Are you maybe referring to IP-address?
Click to expand...
Click to collapse
Im computer scientist so i was worried too about this. IP-adress is not changing : i cant connect to my network so i dont have one.
Fact is, this ROM is changing my MAC adress every time, even if i know it's very weird.
Trying to find another ROM ... : (
you guys are wrong, you can change your mac adress, but regarding to your issue i dont know what might be causing that.
Qnrx said:
you guys are wrong, you can change your mac adress, but regarding to your issue i dont know what might be causing that.
Click to expand...
Click to collapse
Don't think that is true. You can spoof it but that is not permanent, and I have no idea why the rom would have the functionality to spoof ones mac address. Maybe you could try to spoof your mac into one of the mac-addresses that are accepted. Did a quick google search and you don't seem to be the only one, do some reading and you might find something.
Hey
Op check this might help you
http://forum.xda-developers.com/showthread.php?t=2121151
Sent from my GT-S5830i using xda premium
rahulnandwani said:
Hey
Op check this might help you
http://forum.xda-developers.com/showthread.php?t=2121151
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Thanks you all !
But i finnaly dropped my phone and broke the screen lol ... si i dont care about a nice rom now ^_^
At least, I learned that it's possible to change the mac adress on Android
You can change your mac address by changing it in the files :
/system/etc/wifi/nvram.txt
/system/etc/wifi/nvram_mfg.txt
With these files changed when you activate wifi for the first time it will create a new file in internal memory with that mac address : /data/.mac.info
If that file already exists the wifi will use the mac address contained in it.
When changing only .mac.info with another address it would be temporary and will be reset after a factory reset.

[Q] work has me blocked anyway around it?

I had a razr maxx and I could connect to wifi at work with the password. Then I could not get on any longer. All it would say is obtaining ip address and never obtain it. Now I upgraded to a note 3 from verizon and was able to access work wifi again but only for about a month then it seems like im blocked again. They have to be doing this from the wifi mac address right?
Rootpooty said:
I had a razr maxx and I could connect to wifi at work with the password. Then I could not get on any longer. All it would say is obtaining ip address and never obtain it. Now I upgraded to a note 3 from verizon and was able to access work wifi again but only for about a month then it seems like im blocked again. They have to be doing this from the wifi mac address right?
Click to expand...
Click to collapse
The guys that run tech support at your work would be able to answer this much better than we could. A lot of it depends on what kind of encryption they use and what protocols they have set up for permission and all that.
es0tericcha0s said:
The guys that run tech support at your work would be able to answer this much better than we could. A lot of it depends on what kind of encryption they use and what protocols they have set up for permission and all that.
Click to expand...
Click to collapse
if i take my kindle fire hd to work i can connect to the wifi. keep in mind all 3 devices i have been connecting to with the same password. I asked a coworker who works in sales and brings his personal tablet with him and he said he had to provide the address so they wouldnt block him. its either the ip address or mac address
Rootpooty said:
if i take my kindle fire hd to work i can connect to the wifi. keep in mind all 3 devices i have been connecting to with the same password. I asked a coworker who works in sales and brings his personal tablet with him and he said he had to provide the address so they wouldnt block him. its either the ip address or mac address
Click to expand...
Click to collapse
That should be the Mac address then. It's typically pretty easy to see what device is connected in the router settings page and usually displayed by Mac.
Perhaps something of this sort might work if that is the case?
http://forum.xda-developers.com/nexus-s/general/update-18-05-13-spoof-wifi-mac-address-t1385577

Categories

Resources