I've been trying to change my mac address on my Moto G3 but to no success. The first method I tried, was using an app. When I changed the mac with the app, (also called 'Mac Changer') it actually changed what the device said the mac address was, seemed very promising. So to test it I went into 'Kali Linux' on my computer and ran a command that shows the mac address on nearby hotspots or devices. It runs for a few seconds, and up pops my mac address, but not my new one. It shows my old mac address (A4:70:Blah:Blah:Blah) which means it didn't work even though the actual device settings said it did! Surprised me. Next thing I tried was using 'Terminal Emulator'. I had 'Busybox' installed and 'Superuser' installed from rooting so I got right into it. I entered in the command 'su' and hit enter. Now I have root access. BTW: My device has been fully rooted and all unnecessary bloatware, (like Google) completely removed using 'Debloater', not hidden like most app removers will do. Next I typed in 'Busybox iplink wlan0' and it showed my mac address, (Take notice that you have to have your wifi on to be able to do this, alot of people have had this problem where they don't turn their wifi on and it doesn't work. I struggled with it for a while til I found out wifi has to be on. I'am not sure why the wifi has to be on because on my computer I can check my mac address through command prompt with command 'getmac' and it shows my mac address without wifi being on.) Anyways, I then typed 'busybox ifconfig wlan0 hw ether (mac address)' and hit enter. To check if it worked I did the iplink command I did earlier. It showed the new mac address but when I went to 'Kali Linux' it showed it being the same old mac address. If anyone knows how to successfully change a mac address on a Android 6.0.1 device, please let me know. Also if you need help with anything and think I might be able to help you based off what you read just now, please let me know, I'd be glad to share my knowledge and help somebody out. Thanks!
Related
I just finally rooted my G1 and now I'm trying to learn all the good stuff I've been missing out on. I've been reading up a lot over the last week, and I'm trying to connect to my school's unix servers to run scheme programming from their stk libraries, instead of just using basic the REPL emulator.
I'm running cyanogen 6, and I've been trying the Terminal Emulator, ConnectBot, and a few other programs, but none seem to be able to connect.
Terminal Emulator tells me:
"ssh: exited: Error resolving 'star. (address removed) .edu' port '22' . No address associated with hostname"
ConnectBot seems to do a little better. It screen reads:
"Connecting to star. (address removed again) .edu:22 vis ssh
Connection Lost
star. (address removed again) .edu
Host has disconnected. Close session?"
Can anyone help me? I usually log on to the servers using puTTy, or xterm or xload in xWin.
Thanks!
Hey,
Even Am using Terminal Emulator on android phone. It seems working fine.
Have you installed SuperUser software? because whenever i enter "su" in terminal SuperUser software prompts me whether to provide or deny. Even it asks permission when i give su from adb.
If you are connected thro' wifi and trying for SSH... may be you need a ssh service {i don't have much idea}
Try installing SuperUser and then terminal emulator...
Thanks
Thanks. I actually upgraded to the new cyanogen 6.1 last night, and now when I tried using ConnectBot this time it worked fine.
I've been trying to setup ADB on my Mac book and followed a tutorial but after typing "ADB devices" it says devices connected and then no serial number as it is supposed to. I'm wondering if anyone had this problem with their thunderbolt? Here is the tutorial it used:
http://esausilva.com/2010/10/02/how-to-set-up-adb-android-debug-bridge-in-mac-osx
Any help would be appreciated.
Sent from my Thunderbolt
Does this at least mean that the thunderbolt is not connected?
Sent from my Thunderbolt
Double check USB Debugging is on.
It works just fine on my iMac. Though the way I have it set up, I have to type "./adb devices"
Have you tried doing anything past there? See if any other commands actually work. Try to install something, or read the log.
Just in case someone comes to is problem i've found the answer. I have the Easythether app installed and the driver for it conflicts with allowing adb and your computer to connect with your phone. The solution is pretty simple you have to either disable the driver on the mac everyone you want to debug or remove it altogether. Here is a page explaining the process.
http://stackoverflow.com/questions/...and-adb-devices-fails-to-list-android-devices
Sent from my Thunderbolt
when i flash a new rom or do a hard reset, don't know which does it but probably both, my mac address changes. some of the networks i connect this to have mac address filtering and it is annoying to have to update the networks every time i update or change a rom. what would i have to do to do to manually change the mac address. What would be a good way to get a unique or randomly generated mac address.
i somehow dont think your mac address is changing. If im not mistaken MAC addresss are hardcoded and can ony be changed by spoofing it. Your MAC address should not be changing at all
I have a nexus s and a transformer, both have gone through multiple rom changes and formats and reboots and not once did i have to update the MAC list on my router for them to get their static IP addresses
Something else is going wrong and its not MAC addresses in my mind
Cheers!
The mac address that the tablet is sending has changed on me at least twice now.
I wouldnt care to much what my mac address was exept my school does mac address filtering and password. When i hardreset or flash a new rom, the password i had before didn't work anymore. I checked my mac address and it was differnent form what it was before so it was updated to the new one and the password worked again. My transformer at least changes Mac addresses.
Does anybody know how to change this, or spoof it if you can't change it?
https://market.android.com/details?id=in.introkun.setmacaddress
what rom are you using?
prime 1.9 at the moment, i will be reflashing when prime 1.9 or revolver 3.0 when the nvflash version comes out, and flash ubuntu to. when you flash ubuntu you can't get into clockworkmod anymore can you?
I wonder if a build.lst file or something like that in our phones has a equivalent list in the transformer also that might have a different Mac address on it. Then a program will retrieve that one instead of the true address since each address is different and is hard coded into the wifi card.
Where is build.lst located?
/data/misc/wifi/nvram.txt has a place for mac address. What steps would be good to do to change this? edit that file, go to CWM and wipe delvic cache? I could hardreset but would prefer not to.
What is probably happening in the process of wiping the device it couldn't figure out what the mac was, so it randomlly generated one.
How would you figure out the one that is hardcoded in the device, or is it not hardcoded in the device?
edit if i change it in nvram.txt it will change. but if i reboot it reverts back to the what it was before.
Hello guys,
I had my phone working on my home network, but after wiping it to try a new ROM, I cannot connect back to my Windows 8 network.
Previously I was on a Homegroup on 5 PC's in my home... all the same local user account name and NO password.
Now I get a Login Failure message Using ES file explorer on my phone which lists some things that could be at fault, but none seem right. Ive been trying to change sharing options on my main PC to see if that helps, but it doesnt.
My phone "sees" the main computer when I do a LAN server scan, but clicking on the found server the error says it may be caused by: "WiFi is off, SMB server is out of network scope, The IP is invalid, Blocked by the firewall, SMB service is off" None of which I think are correct since I have not changed anything on the pcs up till now.
Astro is even less helpful and says: "No Windows shares found on network"
Any ideas?
Thanks guys,
Mark.
Even same thing happening to me. I assume win8 network is a complete ****... well.. I hope someone has answer....
Did you ever figure this out?
Same problem on my Win7 box, although it seems to come and go...
Team,
I have a nice S4 that is not used anymore so I started experimenting different stuff, there is not any warranty active so I tested the root/unroot, different images etc.
It all went well till I tried to start working with the wlan0 configuration. I tried all possibile solutions found around, on the busybox/term even if every command does not return an error nothing changes. I've tried differents apps they all claim is fine but nothing changes, even modifying the efs/wifi files does not have any result.
I tried rebooting after changes... the max I was able to achieve was turn off wifi, change the files, reboot, check max 02:00:00:00:00, turn on wifi... mac back to original.
Is there anyone can help me? is it a problem related to the image? or to the phone?
Thanks,
M
m.savazzi said:
Team,
I have a nice S4 that is not used anymore so I started experimenting different stuff, there is not any warranty active so I tested the root/unroot, different images etc.
It all went well till I tried to start working with the wlan0 configuration. I tried all possibile solutions found around, on the busybox/term even if every command does not return an error nothing changes. I've tried differents apps they all claim is fine but nothing changes, even modifying the efs/wifi files does not have any result.
I tried rebooting after changes... the max I was able to achieve was turn off wifi, change the files, reboot, check max 02:00:00:00:00, turn on wifi... mac back to original.
Is there anyone can help me? is it a problem related to the image? or to the phone?
Thanks,
M
Click to expand...
Click to collapse
If you are getting problem in Macoptimizer you can perform following steps:
Open up settings and then go to WiFi.
Now, you will see gear on the top of this screen, click it. But if you don’t see it, look for “Configure WiFi” option and click it. Some Android system have Advanced option in WiFi, MAC address can be found there also.
You can find the MAC address on the bottom of this screen. Keep a note of it.
In order to get the interface name, you will have to install Terminal Emulator for Android. Go to Google Play Store and download it or click the link to get it.
Then open it and type the following command : ip link
You screen will be filled with lot of information, useful and useless. Now, remember I told you to keep a note of your MAC address. Just look for this MAC address under “link/ether” for all the cases.
The one that matches our MAC address, is the connection name. For most of the devices it is either “wlan0” or “eth0”.
Now, that we know our MAC address and the connection name, we can go on to change the MAC address with this terminal emulator only. Before that you should have a valid MAC address in your mind or generate one from this link. Once, you have a new MAC address, just get on with the below steps:
Launch the Terminal Emulator
Just type the following command: ip link set wlan0 address XX:XX:XX:YY:YY:YY, where wlan0 is the name of the interface and XX:XX:XX:YY:YY:YY is the MAC address you want to set.
Important thing to keep in mind that the manufacturer name should be kept unchanged while changing the MAC address i.e. XX:XX:XX (first 6 digits) should be same as before, otherwise you might face a lot of authentication issue.
This is only a temporary change and when you restart your device, your previous MAC address will be retrieved back."