[Q]Changing MAC address - Nexus 7 Q&A, Help & Troubleshooting

I don't know if this is the right category,but...I tried to change my MAC address following this tutorial:
"ip link set NAME down
ip link set NAME address ....
ip link set NAME up"
but when I write "ip link set wlan0 down" and press enter my tablet just reboots.
If I try "busybox ifconfig wlan0 hw ether ..." the address doesn't change(checked it).
Is there a WORKING method to change my MAC?
If you are wondering I am running the latest version of CM11

Bad bad bad
aveq8 said:
I don't know if this is the right category,but...I tried to change my MAC address following this tutorial:
"ip link set NAME down
ip link set NAME address ....
ip link set NAME up"
but when I write "ip link set wlan0 down" and press enter my tablet just reboots.
If I try "busybox ifconfig wlan0 hw ether ..." the address doesn't change(checked it).
Is there a WORKING method to change my MAC?
If you are wondering I am running the latest version of CM11
Click to expand...
Click to collapse
The Question is Why do you want to do this. You know the MAC address is like a serial number to your WIFI Device in the Tablet.If you Change this to match a wifi address to Anyone on the same WAN. The two devices will Conflict and Likely Cause the WAN Provider (cable company) to BAN BOTH MAC Addresses. They do this to STOP Theft of Services.
I Seriously ADVISE Leaving it be.
If you have a issue that you think changing the MAC Will help please post that issue and someone may be able to help..

Related

[Q] solution for wifi conflict

My brother and I have two HD2 devices
but when we use the wifi in the android at the same time
a kind of conflict occurred and the last one who turn the wifi on can use the internet and the other is disconnected
so, is it kind of ip problem and how to solve it?
just to be sure: I guess when both are in WinMo all is working fine?
yes
yes they work great
kingo08 said:
yes they work great
Click to expand...
Click to collapse
I'm not a dev btw, just curious, sorry about bringing your hopes up
I searched some here as well as elsewhere, because I've read somewhere, a while ago something about changing the designated IP adress of the phone.
It sounds to me your router is try to give the phones the same IP. You could check the router for that. I'd first try and give each MAC adress a designated IP (a different one ofc).
Damn, I'm sure there's a post somewhere here about this, just can't find it...
Just found this:
http://ip208-100-42-21.static.xda-developers.com/showthread.php?p=8360637
In short: it's the MAC adress which is the same on the phones. You could try different build, but start with the mentioned thread first
This must be it:
"The only fix so far is run different kernels. That's what I've been doing."
and
http://forum.xda-developers.com/showpost.php?p=8455440&postcount=7397
Thanksssssssssssssssssssss
I really appreciate your efforts
as long as there is a solution somewhere here i will try to find it
Good!
Always willing to help
I surely hope it'll work!
I'm sure the problem is that you both use the same Mac address. Maybe the new desire hd & z use the original Mac address. So you both use the same android build and also use wifi
Sent from HD2
dusdus said:
Just found this:
http://ip208-100-42-21.static.xda-developers.com/showthread.php?p=8360637
In short: it's the MAC adress which is the same on the phones. You could try different build, but start with the mentioned thread first
This must be it:
"The only fix so far is run different kernels. That's what I've been doing."
and
http://forum.xda-developers.com/showpost.php?p=8455440&postcount=7397
Click to expand...
Click to collapse
hi
are u have that file for fixing mac address?
if u have it upload here .that link have problem
To do this, you need superuser app and terminal. You also need to know your true wireless mac address.
1) open terminal and type su
2) type ifconfig eth0 hw ether [mac address]
This should change your mac address, but you have to do this every time you reboot.
Sent from my Nexus One using XDA App
cma1032 said:
To do this, you need superuser app and terminal. You also need to know your true wireless mac address.
1) open terminal and type su
2) type ifconfig eth0 hw ether [mac address]
This should change your mac address, but you have to do this every time you reboot.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
by this way can i change mac address from 00:90:4c:c5:00:34 to 00:11:22:33:44:55 ?
and i do that and any happening?
If you return it back to 00:11:22:33:44:55 will return that mac address. If there's 2 people with hd2 and an android rom will encounter a conflict because both will have 00:11:22:33:44:55.
cma1032 said:
To do this, you need superuser app and terminal. You also need to know your true wireless mac address.
1) open terminal and type su
2) type ifconfig eth0 hw ether [mac address]
This should change your mac address, but you have to do this every time you reboot.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Thanks for that cma. Is it possible to make this into a script which could then perhaps be run at startup?
I don't know how this could be done at startup because you need wifi activated first before running it.
Sent from my Nexus One using XDA App
Can you write how we must put the wifi mac address;
Do we need [ ] and : between the numbers; I am trying with both ways,but nothing changes

[Q] How can I change WIFI and BT MAC address in NAND android?

Hi, guys
After flashing NAND Android, I found that the wifi mac address is : 00:11:22:33:44:55, and the BT mac address is :50:C3:00:00:00:00, any one can tell me how to change them ?
thx.
I've seen these possible answers:
Try changing the startup.txt from
Code:
set cmdline "nand_boot=0"
set cmdline "bt.mac=00:11:22:33:44:55 wifi.mac=00:12:23:34:45:56"
boot
To
set cmdline "rel_path=Android nand_boot=0"
boot
and
Code:
#Mdeejay FroYo Revolution v. 1.7
set mtype 2524
set ramaddr 0x11800000
set ramsize 0x1e400000
set KERNEL zImage
set initrd initrd.gz
set initrd_offset 0x00a00000
set cmdline "wifi.mac=00:11:22:33:44:55 bt.mac=00:11:22:33:44:55 nand_boot=0"
boot
NOTE: You need to repalce the 00:11:22:33:44:55 with the real MAC address or any of your choice...but if you're like me that have *ALL* security features turned on on your wireless router (MAC FILTERING, HIDE SSID, WPA2, 802.1X) then you need to use the real MAC address..
Click to expand...
Click to collapse
Problem is, both solutions mention startup.txt, which I simply do not see in the NAND setup folder...
Both are found in the MDJ FroYo Revolution v.2.1 threat...
I have not tested them, I would like someone to confirm this is working, someone who knows more than me...
Any help and opinion on this topic welcome...
The post above only applies to SD, NOT NAND. I want to know how to change these too
bump
Thanks
I want to find out too!
How can I spoof my mac address?
some bloke has the same mac addr as me @ the uni so I need this or I can't get online.
The uni defined that you have to REG your MAC first;
so that f¨¨king idot regged first, and now I am cut off because of him.
Anyone an idea where in nand the BT & MAC settings are stored? can this be changed with root explorer? or with cmd line?
HectiQ said:
I want to find out too!
How can I spoof my mac address?
some bloke has the same mac addr as me @ the uni so I need this or I can't get online.
The uni defined that you have to REG your MAC first;
so that f¨¨king idot regged first, and now I am cut off because of him.
Anyone an idea where in nand the BT & MAC settings are stored? can this be changed with root explorer? or with cmd line?
Click to expand...
Click to collapse
download the terminal emulator free from the android market.
-go to your setting and find out what your mac address is. write it down.
-open it
-if theres a question mark at the left of the cmd line write "su", if theres a # you can skip it
-write "ip link show"
-search for the expression having your mac address. at my phone it was eth0
-write "ip link set eth0 address 11:22:33:44:55:66" or any other mac
-write "ip link set eth0 broadcast 11:22:33:44:55:66" or any other mac
now your mac should be changed. remember that this method doesnt work at every phone, at mine it didnt work.
i read some about linux terminals to find that out, pls dont post things like "you stole it blabla".
hope that it works for you,
sallal
Correct me if I'm wrong but the Wifi Mac address has been fixed long ago, I have (I suspect) my real mac address on my phone no matter what rom I use, its the BT that I cant find how to change, even though I have a kernel with the solution but no one willing to help.
And in NAND versions of Android, you change your WIFI Mac address by changing the value in the calibration file, open it as text and change to what you need.

[SOLVED] I'm lost. Openvpn + tun + HMA. [email protected]!

Hi,
Just got myself some nice account at hidemyass_dot_com ... They dont support l2tp yet, and pptp just doesn't work (some encryption issue idk).
So I figured i'd try using openvpn. So I downloaded the market version of openvpn software.
Got the crt files, ovpn files and key file. Everything is in order. When I try to connect, I see that I can pass everything (even get a bloody IP). But the routes dont work. Meaning, I'm not routed through the tunnel but through the normal pdp0 interface.
I got into adb shell, adb logcat etc. This is what I figured out:
Routes are not "implemented" because it can't find the tun0 interface. Why? because its not in "up" mode. Since its not in "up" mode, openvpn software failed when it did "ifconfig IP MASK".
Now get this, if i manually (after openvpn authenticates, assigns an IP and says "connected") netcfg tun0 up, and then manually ifconfig tun0 IP MASK and then manually assign the routes which were automatically failed last time - it works.
Everything is routed properly.
What I figured was an issue with the netcfg tun0 up and ifconfig tun0 ip mask commands ... I read people tried tun.ko files (for each cfw) but couldn't find any for S2 (or lite'ning).
OMG I'm desperate. Help?
[SOLVED] - CHECK BELOW
advocator said:
Hi,
Just got myself some nice account at hidemyass_dot_com ... They dont support l2tp yet, and pptp just doesn't work (some encryption issue idk).
So I figured i'd try using openvpn. So I downloaded the market version of openvpn software.
Got the crt files, ovpn files and key file. Everything is in order. When I try to connect, I see that I can pass everything (even get a bloody IP). But the routes dont work. Meaning, I'm not routed through the tunnel but through the normal pdp0 interface.
I got into adb shell, adb logcat etc. This is what I figured out:
Routes are not "implemented" because it can't find the tun0 interface. Why? because its not in "up" mode. Since its not in "up" mode, openvpn software failed when it did "ifconfig IP MASK".
Now get this, if i manually (after openvpn authenticates, assigns an IP and says "connected") netcfg tun0 up, and then manually ifconfig tun0 IP MASK and then manually assign the routes which were automatically failed last time - it works.
Everything is routed properly.
What I figured was an issue with the netcfg tun0 up and ifconfig tun0 ip mask commands ... I read people tried tun.ko files (for each cfw) but couldn't find any for S2 (or lite'ning).
OMG I'm desperate. Help?
Click to expand...
Click to collapse
I've been trying to do this but just forgot about it when I first got the phone. You need to compile the tun.ko driver.
are you root?
you need root for OpenVPN
also the kernel needs to have tun.ko else it won't work
I wasn't able to test it myself yet but this is what I remembered from my Hero..
Gawis said:
are you root?
you need root for OpenVPN
also the kernel needs to have tun.ko else it won't work
I wasn't able to test it myself yet but this is what I remembered from my Hero..
Click to expand...
Click to collapse
I'm root.
Now not sure about the tun.ko in the kernel. I guess it has the default one (I do afterall, manage to netcfg tun0 up and ifconfig tun0 IP MASK if I do them manually ... they fail when openvpn does them by itself) ..
Maybe I need a special tun.ko? how can I compile my own?
I suddenly remembered thread in which I posted a while back about SGSII and OpenVPN
that member confirmed it as working, the link is here:
http://forum.xda-developers.com/showthread.php?t=1074492
I will root my SGSII somewhere this or next month and try it myself then..
SOLVED
Had to reinstall BusyBox (so I'd have /system/xbin/bb folder).
Now everything works with the default tun.
re-install openvpn when prompt ifconfig directory select /system/xbin/bb. then open console add sym link "ln -s /system/xbin /system/xbin/bb"
your openvpn should now able to up the tun0 interface and accept the push config from openvpn server

[Q] Atrrix Blur rom Mac change

Hello Everybody,
I would like to change MAC address of wifi card in my atrix, but i cant:-(
I am rooted, i use Nottachtrix 1.2.4
With Terminal Emulator i try both options:
su
ip link set eth0 address 00:12:f0:dd:cc:dc
ifconfig eth0 hw ether 00:12:f0:dd:cc:dc
I do not get any error but MAC is just not changed.
Any ideas how to Fix this problem
Adam

Change WiFi-MAC Address?

Hey,
I know it's possible and I've tried several apps including 'MacChanger'.
If I change it and view my mac address, it's changed.
If I connect, it says 'Connecting...' for a long time and stops after a while, resets the mac address back to it's default and successfully connects.
Yes the MAC Address is in the right format.
I rooted my phone (Huawei Y550) manually with SuperSU and busybox installed.
Using ifconfig command on the wlan0 interface it doesn't change at all,
and I guess MacChanger uses the method that edits the file containing the MAC Address, which it shows the new mac address, but changes it to the default after connecting.
Any advice?
Thanks.

Categories

Resources