is there a way to use Ethernet for Internet on slimrom using a USB/Ethernet adapter and then change the MAC address of the device so that the original Mac of the Fire is used. I want the original MAC of the fire's wifi chip to show up when I use ethernet
cesman873 said:
I've been unsuccessful using the following in terminal on the device or from an adb shell -
ip link set wlan0 address XX:XX:XX:YY:YY:YY
I get the following -
RTNETLINK answers: Operation not permitted
I've enable root user.
I've also gotten an error referring to the "transport endpoint" (can't remember the exact error).
Click to expand...
Click to collapse
Why would you want to do this? Just curious as to why it is even necessary.
Related
Hi, does anyone know how to permanently change the MAC address on a rooted Nexus One? Thanks.
Considering the root of this file system is linux, it should be pretty similar to this: http://linuxhelp.blogspot.com/2005/09/how-to-change-mac-address-of-your.html
If at all possible. Obviously, change eth0 to whatever is appropriate. Also, you'll probably have to su to do any of the commands.
Hi, thanks for the reply. I did try that already but after the following command:
ifconfig eth0 hw ether 00:80:48:BA:d1:30
I get this error:
ifconfig: bad address 'hw'
Any ideas?
It worked for me. Before you ran that command did you switch to root user?
Also, this won't permanently change it. It'll only change it for your current boot. If you want it to be permanently done, you'll have to put the command into a init.d script.
So, I have been looking into and testing this some more and I have found something strange. It seems as though something within android keeps reverting my MAC address back to the real MAC address and I am unable to connect to the network I am trying to connect to (it has MAC address filtering). Any thoughts?
And nachod0g in response to your error, double check and make sure that when you type the command "ifconfig -a | grep HWaddr" that eth0 actually comes up. If WiFi is not enabled, this will not work.
The title says it all
If everyone knows it, please tell me!
Thanks in advance
WingZero
I'll reply myself.
In a CM7 ROM It's enough to open "terminal emulator" and type:
su
bdaddr [new bluetooth address] && hciconfig hci0 reset
Click to expand...
Click to collapse
and it worked.
Follow up on altering the BT mac address
I'm in a situation where I have two Arias both on CM7.2 now, checked and they have the same BT mac address. I'm trying to pair them to a Panasonic home phone that can connect via BT to the cell. It will take one or the other but not both. I think if I change the mac on one of them I'll be in good shape.
Did it matter what you changed it to? Did you roll back to the stock ROM and see what that was to make it correct for your device or just pick something random? Thanks!
Edit: I followed the steps but it didn't keep my new address when I reset the phone. Any thoughts?
I cant seem to find anything about the sgs 1 and changing its mac adress (permanently/temporarily) ?
Can someone help pleaseeee!!!
Thanks in advance
I dont think we can change the mac address.
can't you spoof it?
I havent heard of this in android yet.
Sent from my GT-I9000 using Tapatalk 2
Mac address is a permanent address hard coded into the phone's hardware, or any wireless device's hardware for that matter.. Each wireless device in the world has its own unique mac address, just as each computer's bios has its own unique code..
You cannot change your device's mac address..
Hi
REQUIREMENTS
1) ROOTED PHONE
2) BUSYBOX INSTALLED
3) Terminal App
OPEN UP TERMINAL AND WRITE
:su
:busybox iplink show eth0
(THIS WILL SHOW YOUR CURRENT MAC ADDRESS)
NOW TYPE IN
:busybox ifconfig eth0 hw ether 00:11:22:33:44:55
(INSTEAD OF 00:11:22:33:44:55, YOU CAN WRITE YOUR WANTED ADDRESS)
Code:
http://forum.xda-developers.com/showthread.php?t=1385577
hardrockk said:
Hi
REQUIREMENTS
1) ROOTED PHONE
2) BUSYBOX INSTALLED
3) Terminal App
OPEN UP TERMINAL AND WRITE
:su
:busybox iplink show eth0
(THIS WILL SHOW YOUR CURRENT MAC ADDRESS)
NOW TYPE IN
:busybox ifconfig eth0 hw ether 00:11:22:33:44:55
(INSTEAD OF 00:11:22:33:44:55, YOU CAN WRITE YOUR WANTED ADDRESS)
Code:
http://forum.xda-developers.com/showthread.php?t=1385577
Click to expand...
Click to collapse
I started to grant SuperUser rights to my terminal app . After this, i started with the command "busybox iplink show eth0" and received the following error message:
iplink: can't find device "eth0"
Additionally tried the other command (with eth0) and there is the following error message:
ifconfig: SIOCSIFHWADD: No such device
Im using a Samsung I9000 with root access and all root-related apps already have root access all in all.
Even when Im typing ":su" or ":busybox ~", the device means:
sh: :busybox: not found
I don't get it, the terminal can work without these colons but the "eth0" could not be found, too
Any hints/tipps? Would be great, thank you
Wlan0 not eth0 no Ethernet on galaxy s
Sent from my GT-I9000 using xda premium
At first, thanks for the fast reply and I think your right..
..but at least, I already tried "Wlan0"
It seems, that the command (including wlan0) could be executed and I'm also able to display the wlan0 settings by typing: busybox iplink show
All related content is displayed including the "wlan0". The recently added mac-adress is successfully taken at this point (xx:xx:xx~ instead of the original one) and could be displayed there but even when im checking for the MAC adress in my android wlan settings, there is still the old one and my smartphone still connects with the old MAC to my gateway
I'm not sure then sorry will have to see if anyone else knows how
Sent from my GT-I9000 using xda premium
error eth0
eth0 not found in terminal what i should to do ? how to fix this error and ip link not found i know xda devloper in work fine but they have not solution for this...........
flexoduss said:
I cant seem to find anything about the sgs 1 and changing its mac adress (permanently/temporarily) ?
Can someone help pleaseeee!!!
Thanks in advance
Click to expand...
Click to collapse
1. A rooted device
2. Busybox installed </system/xbin>
3. Terminal Emulator
open terminal
type 'su' press Enter
grant super user access
then type 'busybox iplink show wlan0' press Enter
this shows ur current mac address of ur android phone
then type 'busybox ifconfig wlan0 hw ether XX:XX:XX:XX:XX:XX' press Enter
type the desired mac in XX:XX:XX:XX:XX:XX
voila Done!!!
How to fix your MAC address
Info
Currently, all of the mac addresses are something starting with f0.
All the Kindle Fire 2s using CM10.1 now have the same exact MAC address. This can cause some issues and overall, it's better to fix it, even if you don't have 2 Kindle's on the same network.
Hashcode is going to include a fix in the next update, but until then, follow this guide!
Instructions
**You can do this from the desktop script, or by downloading the file to your device (I find it best to open the thread on the Kindle and download it directly that way) and using the terminal emulator to run the follow code**
Kindle
Download this
In the Terminal Emulator, type:
Code:
mount -o remount,rw /system
[*]rm /system/etc/firmware/ti-connectivity/wl1271-nvs.bin
[*]rm /system/bin/fix-mac.sh
Copy that file to /system/bin now either using cp /sdcard/Download/fix-mac.sh /system/bin/fix-mac.sh (or similar terminal command) or using your favorite file explorer (I recommend root explorer)
Code:
chmod 755 /system/bin/fix-mac.sh
[*]reboot
Desktop
Download and run this, seriously, that's it.
This is simply my guide, main credit for the fix goes to Hashcode. I told him about the MAC addresses needing to be fixed, and I helped with getting it fixed, but he did most of what needed to be done.
~Re-Formatted by iytrix
That worked great! Now both my kids KF2s have their own unique MAC addresses and are running perfectly without any conflicts! Awesome.
Thanks a lot fmkilo and Hashcode!
fmkilo said:
How to fix your MAC address
Info
Currently, all of the mac addresses are something starting with f0.
All the Kindle Fire 2s using CM10.1 now have the same exact MAC address. This can cause some issues and overall, it's better to fix it, even if you don't have 2 Kindle's on the same network.
Hashcode is going to include a fix in the next update, but until then, follow this guide!
Instructions
**You can do this from the desktop script, or by downloading the file to your device (I find it best to open the thread on the Kindle and download it directly that way) and using the terminal emulator to run the follow code**
Kindle
Download this
In the Terminal Emulator, type:
Code:
mount -o remount,rw /system
[*]rm /system/etc/firmware/ti-connectivity/wl1271-nvs.bin
[*]rm /system/bin/fix-mac.sh
Copy that file to /system/bin now either using cp /sdcard/Download/fix-mac.sh /system/bin/fix-mac.sh (or similar terminal command) or using your favorite file explorer (I recommend root explorer)
Code:
chmod 755 /system/bin/fix-mac.sh
[*]reboot
Desktop
Download and run this, seriously, that's it.
This is simply my guide, main credit for the fix goes to Hashcode. I told him about the MAC addresses needing to be fixed, and I helped with getting it fixed, but he did most of what needed to be done.
~Re-Formatted by iytrix
Click to expand...
Click to collapse
do you have the desktop script? link is dead....also would you think this is safe to run on the Kindle Fire 2 (non HD) ?
There is no reason to run this anymore.
--
Sent from my mind to your screen.
The only way 2 Kfires would have the same MAC address these days is if the boot0 block was copied from 1 over the other. (The boot0 block contains the device specific MAC, serial # etc).
Sent from my XT926 using Tapatalk 2
Hashcode said:
The only way 2 Kfires would have the same MAC address these days is if the boot0 block was copied from 1 over the other. (The boot0 block contains the device specific MAC, serial # etc).
Sent from my XT926 using Tapatalk 2
Click to expand...
Click to collapse
Dude. Really wish i could "shadow" you for a week. I've never been able to make the leap from "modder" to dev. I've found so many operate by rote without understanding what is being done.
Fortunately OR unfortunately for me (not sure which sometimes lol) I cant seem to convince myself to DO anything without some understanding of what it is I'm doing.
This was my long was of saying "thanks for the knowledge your smallest answers provide"
--
Sent from my mind to your screen.
I am using Bluestacks 0.9.7.4101 which is already rooted. I want to change its Wi-Fi MAC Address as that of my mobile. So is there any way to change Bluestacks Wi-Fi MAC to a specific one? For example, 11:22:33:44:55:66.
I installed BusyBox and Terminal Emulator, but i am unable to change the Wi-Fi MAC. Somehow i managed to change the ethernet MAC, however it is still being listed as the fake MAC in wifi mac changer application. The wifi mac is listed as the real MAC in the app, which i want to change. Any help is appreciated....
catfish21 said:
I am using Bluestacks 0.9.7.4101 which is already rooted. I want to change its Wi-Fi MAC Address as that of my mobile. So is there any way to change Bluestacks Wi-Fi MAC to a specific one? For example, 11:22:33:44:55:66.
I installed BusyBox and Terminal Emulator, but i am unable to change the Wi-Fi MAC. Somehow i managed to change the ethernet MAC, however it is still being listed as the fake MAC in wifi mac changer application. The wifi mac is listed as the real MAC in the app, which i want to change. Any help is appreciated....
Click to expand...
Click to collapse
Not sure which methods you've tried so far, but I found this method, I haven't tested it, so try at your own risk:
1. As you already have busybox and terminal installed, open a root shell in terminal (run "su" and grant access) note that all the following commands MUST be run as root
2. Run "busybox iplink show eth0" which will show your current Mac address, write it down in case you want/need to revert back
3. Run "busybox ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX" where XX:XX:XX:XX:XX:XX is replaced with your desired mac address
4. Run "busybox iplink show eth0" again to check if it did update
tried that...it doesn't work....moreover eth0 shows only the ethernet mac and not the wifi mac....i even verified this with device id app....wifi and ethernet MACs are different where ethernet mac is listed as fake mac and wifi mac is listed as the real mac in the wifi mac changer app.....
Anyone found solution to change wi-fi mac on rooted bluestacks?
I've already tried everything. It's impossible.
with root and expose - or with bstweak and a lot of installs you can make fake wifi to work; and type there your mac and other wifi name and fake bcid etc;
and looks like is possible to simulate all real device ids or most of them
play whole day and changes most of things; deviceid; fingerprint details;
now stack tofind free app for gsf id and hardware serial;