I have a Galaxy Note running Android version 4.0.3, and I'd like to change its MAC Address at will for tethering, but no matter what method I try, it never works. Does anyone know of a sure way to do it on this phone?
If I'm not mistaken, Mac address is build into the hardware.
*Convince me if I'm wrong.
Sent from my GT-N7000
You can't change a mac address, it's the hardware signature, as said above. And why would you want to anyway?
Sent from my GT-N7000 using xda premium
I want to do it so I can connect my 3DS with Streetpass relays, but that requires me to make the phone's address match the relays'. People can do it with other models, so I assumed the same would be possible on the Note, even if the method differs.
There are quite a number of mac address changing apps on play, Not sure if they work with tethering.
Just try a couple of them.
They do require root though.
If not, look up how to do it on linux and use the terminal.
Good luck.
Well, I managed to change the MAC using the terminal, but only on really weird conditions. I had to turn the tethering on, and then send the terminal command after it activated wlan0, but before it finished setting-up the tethering (or else, I'd get a weird signal with both the original MAC address and the target one, that can't connect with anything). So I guess the question now is: is there any way to turn on the tethering using only the terminal?
EDIT: Well, I managed to open the tethering app through the terminal, but is there a way to manipulate it exclusively by using command lines, without the graphical interface ever popping-up?
Related
been searching all over the internet and have tried a few methods but nothing seems to stick on the tab. im doing this because my mac address is something funky, 12:34:56... and i cant connect to my schools wifi. my IT department doesnt service "gadgets" so im on my own. ive tried the instructions here:
http://blog.thecodecracker.com/hacks/spoof-mac-address-in-android/
but they dont seem to stick. when i connect back to my wifi network (at home) it just goes back to the corrupt one. anyone have any experience with this?
i havent been able to connect in about 3 months so as you might imagine, im really getting frustrated with it. any help would be great.
Ayman
been searching all over the internet and have tried a few methods but nothing seems to stick on the tab. im doing this because my mac address is something funky, 12:34:56... and i cant connect to my schools wifi. my IT department doesnt service "gadgets" so im on my own. ive tried the instructions here:
http://blog.thecodecracker.com/hacks/spoof-mac-address-in-android/
but they dont seem to stick. when i connect back to my wifi network (at home) it just goes back to the corrupt one. anyone have any experience with this?
i havent been able to connect in about 3 months so as you might imagine, im really getting frustrated with it. any help would be great.
Ayman
Edit*
Temporary Fix:
1) Go to wireless & network settings
2) Disconnect and forget ALL previous SSID's that you connected to before
3) download a terminal emulator from the market
4) type the following, make sure you hit enter after every line
Code:
su
busybox ip link set eth0 address XX:XX:XX:XX:XX
Where XX:XX:XX:XX:XX is, make you have to put the MAC address you want there.
to confirm if it worked type:
Code:
busybox ip link show
it should show the new MAC address. Go connect to your network as normal.
NOTE:
If you go to the status option in the settings, you will see that the MAC Address DID NOT CHANGE. This is normal. It wont show the new MAC Address; at least it didnt for me.
One thing to keep in mind, sometimes you cant just put in an hexadecimal combination and expect it to work. It didnt work for me. So what I did is I connected to the school's network from my vibrant making sure I could surf the internet. then i disconnected and copied its MAC address to my tab. when i tried putting in my own custom MAC address, it didnt work. I could connect but packets wouldnt be sent.
Unfortunately when I reboot, my settings are not saved and I have to repeat the procedure. Simplest fix is to just download gscript lite from the market and put in the command I wrote above and whenever i restart my tab run the script quickly. If someone knows of a permanent fix, please let me know so I can update this.
feels good to finally be able to connect after 3 months.
I wrote a quick app that will do this - but i hardcoded the script for something else. I will modify it tomorrow so you can customize the script it runs and put it up here tomorrow or sunday if i get the time.
I would sincerely appreciate that!
Sent from my GT-P1000 using Tapatalk
ayman07 said:
One thing to keep in mind, sometimes you cant just put in an alphanumeric combination and expect it to work.
Click to expand...
Click to collapse
"alphanumeric"?
More like "hexadecimal"
Valid charachters are 0123456789abcdef and nothing more, if you used something else that would explain why it didn't work.
Sent from my GT-P1000 using Tapatalk
AlexTheStampede said:
"alphanumeric"?
More like "hexadecimal"
Valid charachters are 0123456789abcdef and nothing more, if you used something else that would explain why it didn't work.
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
Fixed
Sent from my GT-P1000 using Tapatalk
Ok here is the boot script loader.
I didn't spend any time on the interface or layout for you:
Obviously requires root to run
you don't need to start script with "su"-everything runs as su
enter the script in the edit box, click test to test it, click save to save it. It will run whatever has last been saved every boot.
Do NOT move to SD card or it will not pick up the BOOT_COMPLETED intent
i haven't tested if it runs before the SD card is fully mounted: so don't get carried away with your scripts. I suppose I could add options to run only after SD card is mounted but... i probably don't have time
Since this runs as root, do stupid things in your script things at your own risk. I'm not responsible in anyway.
the output from testing or from the boot log is:
stdOut
..some stdOut text
stdErr
..some stdErr text
where stdOut text is the results of your commands (you can see testing with a simple script containing just "ls" without the quotes)
and stdErr is any errors that occurred while running the script (you can see testing with a simple script containing "aasdf" without the quotes
click the "Thanks" button if you use this and it works
i really appreciate this. unfortunately i wont be able to try it out till monday when im at school. ill update it then.
thanks a lot of the script loader. it seems to do its job. but it seems my situation is a bit more complex than i thought. see i can only change the MAC address if i delete all the previously connected SSID. if i remove the dchp.list will that remove/forget all the previous SSIDs? i would have to run a cmd to forget all the SSIDs prior to running the MAC address change cmd.
I typed busybox ip link set eth0 address XX:XX:XX:XX:XX
i am receiving " bad address"
Pls help me
perhaps somebody here could be tolerant enough to assist or direct me to concise clear info to such a likely passe situation.
Phone again, stock from VZW and fully updated.
Barnacle installed from market.
I have a few questions;
1)Superoneclick seemed to only install "superuser" on my phone. Does this mean the busy box and abd things, of which I have no idea what to do with, is only accessible via my win7 64 bit pc while the phone is connected to it via usb?
2)How do I optimize this phone with stock rom and remove "bloatware" as well as eliminate intrusive programs? Are there any threads which ID these as well as their functions?
3) Jrummy Droid Overclock installed, several versions in fact, and the best I could do was make the phone extremely laborious and finally reverted back to stock settings before uninstalling. I did have to click the "experimental" box to make it able to scale the stock rom.
Any thread or info as to some failproof settings to make this stock thing work much better/faster?
4) Can this phone, usb tether the data connection without any paid apps or limitations regarding secure sites and such?
Interestingly enough, I'm finding the search functions on this forum to be impossible on my handheld and just about the same from my pc. From the handheld, it wanted me to assemble pix which my touchscreen or keyboard didn't seem to allow.
From the pc, 'no matches found' or something to that affect.
Also, when I was having problems recalling my login info, had almost given up deciding instead to reregister, I got a denial message based on having a verizon wireless IP. Weird.
I'm rereading the beginners info and it would be nice to be able to simply make my stock rom'd droid better.
Feel free to tell me if I'm pissing in the wind and need to just do different roms and or kernals. However, I'd like to just keep it simple for now.
You are able to download Busybox straight from the Android Market: https://market.android.com/details?id=stericson.busybox&feature=search_result
You can tether your phone to create a wireless hotspot, but I'm not 100% sure about USB tether.
skadude66 said:
You are able to download Busybox straight from the Android Market: https://market.android.com/details?id=stericson.busybox&feature=search_result
You can tether your phone to create a wireless hotspot, but I'm not 100% sure about USB tether.
Click to expand...
Click to collapse
Yes and thanks, I snagged barnacle for that. It works fine although I'm either too green to make it secure, or the WEP stuff is broken.
That is why I'd like the option to have a more secure hardwire tether.
I know I can do pda.net and some other apps, it seems to me that it should be able to do that perhaps just with some tweaks.
So when I extracted superoneclick on my pc, I see busybox and such in that file. I just did the one click and nothing else, not even on my phone.
It is interesting how fast such basic topics become inundated with miles of confusing info to bewilder a virtual computer twit.
It looks like what you want to do is basically create a wireless hotspot with your phone? Because I use Wireless Tether for Root Users and I am able to encrypt it and set up a secure connection.
Here's what I pulled from the Barnacle website:
How do I use WEP?
Barnacle support 40 and 104-bit WEP. In Settings find Wireless Security and enable WEP, then type in the key. For 40-bit WEP, type in 5 ASCII characters or 10 hex digits. For 104-bit WEP, type in 13 ASCII characters or 26 hex digits. Passphrase is not supported.
Click to expand...
Click to collapse
skadude66 said:
It looks like what you want to do is basically create a wireless hotspot with your phone? Because I use Wireless Tether for Root Users and I am able to encrypt it and set up a secure connection.
Here's what I pulled from the Barnacle website:
How do I use WEP?
Barnacle support 40 and 104-bit WEP. In Settings find Wireless Security and enable WEP, then type in the key. For 40-bit WEP, type in 5 ASCII characters or 10 hex digits. For 104-bit WEP, type in 13 ASCII characters or 26 hex digits. Passphrase is not supported.
Click to expand...
Click to collapse
Phone Settings? "no "Wireless Security" to be found nor did I readily find anything to do with WEP under the Wireless sections.
Barnacle? Again, no "Wireless Security" section found. There is a "Wireless Encryption" settings section. I did enable it with the app stopped and set a five digit alpha code. Restarted Barnacle and my pc completely disregarded it, connected to it with no input required and the signal still shows as unsecured and public.
I'm pleased that it tethers, I would like to make it secure and I would also like to easily usb it to any laptop or pc sans having to load software on them unless said pc/device was older and didn't automatically recognize this phone, as this new win 7 pc did, where upon loading some drivers would be seem reasonable.
I'm not pc/droid knowledgeable enough to know if this is dreaming but, it seems reasonable that it's usb output could be toggled and be seen as a modem connection.
I'm sure it can, but people use Wireless tethering more than a physical USB tethering.
I've never actually used this, but I've heard of people using it when they need to tether via USB: https://market.android.com/details?id=com.mstream.easytether_beta&feature=search_result
Yes and thanks, I truly appreciate your efforts to help and your tolerance for my ignorance.
I am aware of those various usb tethering programs and I suppose my question is why must software be loaded on a device capable of seeing other usb plugged connections and run them 'plug and play'?
I'll see if somebody with barnacle can assist me with the WEP issue. I've tried it several ways and have had no success. Possibly related, my droid no longer will send MMS. It still receives them, just no longer sends. I wish I could say if that occurred after rooting or after attempting overclocking, but, it happened after one or both.
Wait, does the Easy Tether not require software to be installled on usb tethered device? I was sure it did and after reading the page, it doesn't mention it.
It's still bizarre that I can wirelessly tether now that soc rooted it, but I still have to buy an app to usb tether it, and I was pretty sure, install stuff on device to be tethered.
No problem, anytime!
Honestly, I don't know much about Easy Tether, I've heard about it, but have not delved much deeper into it.
What ROM are you using (if any)? I know that I had some issues with CM7 and a little bit less with Cronos right now, where I send a text message and it hangs with "Sending..." for hours at a time.
How much did you overclock your phone by? What vsel?
Sent from my Milestone using XDA Premium App
phone is stock other than being rooted
I used JRummy's Droid Overclock as it is supposed to overclock a stock rom'd A855 droid.
I tried several several many settings, mostly what was recommended, but none of them seemed to make it better, and if they did, I couldn't seem to make them stick upon rebooting.
Kept all attempts at or below 800MHz.
I'm sure it's my lack of understanding and likely there are some simple settings that will speed it up with just a few clicks as well as save thru a fast and speedy reboot.
Quick background before the question: I upgraded my P1000 along with a friends' to Milestone #5 today. All went well, but we were experiencing WiFi problems. After fiddling around with things a bit, we checked the MAC addresses, and both devices had the same value. Deciding that we needed to change at least one, we did a bit of searching around, but couldn't find how to change it permanently.
After that, I did a search through the AOKP contents for the mac address, and found that the file /system/vendor/firmware/nvram_net.txt contained the line
Code:
macaddr=00:90:4c:c5:34:23
A-ha, I said. I'll just change the line to:
Code:
macaddr=00:90:4c:c5:43:32
on one of the devices, and we'll be set. After some adb pushing and adb pulling, it was changed. But when I did a reboot, I saw that my new MAC address was BC:47:60:A0:4B:44 instead (which differs on the last byte by one from my Bluetooth MAC address, by the way). Since it is different, it solved the immediate problem, but I am always worried about things that do not make sense. Where does this MAC come from? Is it random, or should I also find out where it comes from, and customize it?
Eventually, there will be three P1000s running here at home, so I need to ensure the MACs are different on all of them, so I think it is important for me to get to the bottom of this. Any help or suggestions for things to check out is welcome.
TL;DR: I need to control WiFi MAC addresses on P1000 AOKP Milestone #5. How do I do that?
usually, the wifi mac is just one byte different from the BT mac address. Its usual because i deal with a lot of devices(other than mobile phones and tabs) which have more than 1 network interface. Like a wimax modem, or a WIFI router.
These have two interfaces (wifi router). One is the wifi interface, and the other is the LAN interface (provided there is an option to plug in LAN connectors for physical connection).
In these devices, the MAC address differs in the last byte. Just one hex alphabet is different. So i think when you entered an address, it wasn't valid, so it went to it's original.
The wifi MAC address is also usually written on the SGTP1000 box which you get when you buy it.
Thanks for the info. It makes sense that BT and wifi have very similar looking MAC addresses if they are implemented by a single module. So, probably my MAC address is the one specified in the hardware. Unfortunately, only the IMEI is printed on the box, so I will never be sure.
I found a script on the ROM (/system/vendor/bin/set-macaddr) that does some interesting processing: among other things, it checks /data/.nvmac.info, and if it exists, it replaces the MAC inside the nvram_net.txt file I mentioned, and copies it to /data/.nvram_net.txt. Otherwise, it just copies the file without modification. What I am thinking is that the OS reports the MAC address in /data/.nvram_net.txt, and on my first boot the other file didn't exist, so it simply used the hardwired value.
Unfortunately, I couldn't find who runs this script, or who creates the /data/.nvmac.info, so I cannot really be sure. I am not certain that it is very important either. I will just keep an eye open on identical MAC addresses on devices, and I'll try to get them to change to the hardware values if it happens.
I've notice WIFI disconnect sometimes when Tab on sleep mode
it wont receive whatsapp and twits till i click power button then reconnect to wifi
I also have problem with Bluetooth mac address.
I'm trying AOKP milestone 5, with restock.
And now the CM9 Nightly, also with restock.
But in both cases, the original bluetooth mac adrress, and also wifi mac change values from the GB stock.
Has anyone idea about?
Nook has been acting strange lately I am running cm7 off SD.
It now seems to wake up by itself every morning while it is charging and on a few occasions I have found it playing a video using Moboplayer app. I uninstalled moboplayer yesterday and today it was at the dir screen for my E S File explorer app for videos and pictures.
Getting paranoid that someone is accessing by wifi. Is this possible?
Possible. Likely, no. Check your logcat.
Sent from my SPH-D710 using xda premium
Don't have a clue what logcat is or how to use it.
Maybe someone could clue me in so I have a better understanding how wifi and my nook color works. ie: Does someone have to access by way of the address on my router? If I go on my laptop wifi I cannot see anyone else's equipment just their router and whether it is open or password protected. I have assumed my equipment is the same and someone would have to access my routers wpa password to get to the Nook but maybe not I have no clue about this stuff.
GTT1 said:
Don't have a clue what logcat is or how to use it.
Maybe someone could clue me in so I have a better understanding how wifi and my nook color works. ie: Does someone have to access by way of the address on my router? If I go on my laptop wifi I cannot see anyone else's equipment just their router and whether it is open or password protected. I have assumed my equipment is the same and someone would have to access my routers wpa password to get to the Nook but maybe not I have no clue about this stuff.
Click to expand...
Click to collapse
You can get into any device.
Sorry not at all trying to self promote, but check this out.
https://plus.google.com/app/plus/x/...3ygf3fga3abe&spath=/app/plus/x&sparm=v%3Dhome
Sent from my SPH-D710 using xda premium
I have two Nook HD 7s that I rooted using leapinlar's instructions here: http://forum.xda-developers.com/showthread.php?t=2317500. They work well except when the kids get on the network together the devices appear to have the same ID, so the router appears to be assigning the same IP address to both of them. The result is the two kids can't be on at the same time. Anyone heard of anything like this before?
I don't remember for sure, but when I did the root and CM10.1.3 on emmc, I backed up one and then may have used that backup to do the 2nd tab. Would that cause this issue?
I don't have the devices with me right now, but thought I'd ask anyway. I'll have them later to troubleshoot "hands on".
Thanks. They've been working fine for months otherwise...
Two possibilities come to mind:
1) The first device had been set to use a static IP address on your Wifi network, and that got copied to the second device when you restored the backup to it. Fix would be to change the fixed IP address on the second device, or use DHCP.
2) Another possibility (though I don't know if this would actually happen) is that the second device ended up with the same MAC address as the first device following the restore. That would mean that the router would not be able to differentiate between the devices and it would just keep handing out the same IP address whenever either device asked for one. If that does turn out to be the case then I think you might have to take the second device back to its stock ROM and then re-install CM10.1.3 from scratch, rather than by restoring a backup from the first device.
jck_p said:
I have two Nook HD 7s that I rooted using leapinlar's instructions here: http://forum.xda-developers.com/showthread.php?t=2317500. They work well except when the kids get on the network together the devices appear to have the same ID, so the router appears to be assigning the same IP address to both of them. The result is the two kids can't be on at the same time. Anyone heard of anything like this before?
I don't remember for sure, but when I did the root and CM10.1.3 on emmc, I backed up one and then may have used that backup to do the 2nd tab. Would that cause this issue?
I don't have the devices with me right now, but thought I'd ask anyway. I'll have them later to troubleshoot "hands on".
Thanks. They've been working fine for months otherwise...
Click to expand...
Click to collapse
If you installed the backup to another device they will have the same MAC Address. The solution is to go to /system/etc/firmware/ti-connectivity and delete the wl1271-nvs.bin file. When it reboots it will rebuild that file with the correct MAC Address.
Sent from my SCH-i705 using XDA Premium HD app
leapinlar said:
If you installed the backup to another device they will have the same MAC Address. The solution is to go to /system/etc/firmware/ti-connectivity and delete the wl1271-nvs.bin file. When it reboots it will rebuild that file with the correct MAC Address.
Click to expand...
Click to collapse
Hmmm. The unit won't let me delete or rename the file. I have root access activated & wifi turned off. Is there another perm I don't know about? Or perhaps I need to do it via my pc?
Never mind. I got it. Had to change perms for File Manager from Safe mode to Root Access. Done and everything is fine. Thanks leapinlar!