I recently made the switch to android because i like that it has a better eco system of apps designed to enhance user privacy such as Orbot, etc.
So far I have installed CM13 and Xposed framework with XPrivacy.
I tried PryFi and it did not work.
I also installed Busybox and used terminal to manually change the MAC address using the following command:
Code:
busybox ifconfig eth0 hw ether XX:XX:XX:XX
When I connect to my router it still shows the original MAC address.
Can someone please provide instruction on how to successfully modify the MAC address on the Nexus 5X (running CM13).
Perhaps this thread may be of use to you:
http://forum.xda-developers.com/showthread.php?t=3374430
Sent from my SM-G930V using Tapatalk
Related
I'm trying to tether my Evo with my HP netbook that's currently running Blackbuntu which is a pen test distro based on Ubuntu 10.10 and using Wicd as my network manager. With the default network manager usb tethering worked "out of the box" but unfortunately I was unable to use WiFi with it which forced me to use Wicd. In order for Wicd to function properly I had to fully remove the original network manager. Now I can't figure out how to configure Wicd to work with tethering. Somewhere I read all I have to do is change the wired interface in Wicd from eth0 to usb0, or something along those lines, so I tried ifconfig to verify and nothing showed up other than eth0, lo, and wlan0 - the 3 that always show up. I can't seem to find the tethering tutorial I read before to double-check it. Any help/ideas would be great.
EDIT: I figured it out on my own. I just had a brain fart for a bit. For anyone wondering how to do it, here's how:
On your Evo open a terminal and do the following.
su
busybox ifconfig
Write down the IP address given.
Connect your phone to your Linux box and start USB Tethering.
On the Linux box open a terminal and type:
sudo ifconfig usb0 up
Open Wicd, click preferences, and change the wired interface to usb0. You may have to set DNS1 to the IP you copied earlier.
Sent from my PC36100 using XDA App
Hi
Didn't find any good solution on forum, so I am asking you guys if anybody have had successfully connected to corporate network using some kind of substitute of Cisco VPN client? I tried few solutions with tun.ko and vpnc widget but right after I typed my credentials my phone just rebooted, like every time
I hoped that after I flash to JJ's hibrid ROM maybe something will change, but it didn't.
Before that I had stock ICS installed from SE PC companion and the same reboot thing was occurring.
I have had tested this on GB but it doesn't have advanced routing and through GMS (because my operator have the same IP class as my private net) I was not able to route my traffic towards private network. vpnc worked fine but only on WiFi.
Cisco Anny Connect is not an option because it supports only SSL VPN.
Have you tried DroidVPN?
Sent from my LT15i using XDA
no.. but will give it a go
ed:
After granting su, gues what.. reboots :/
maybe other ideas?
sunekosuri said:
no.. but will give it a go
ed:
After granting su, gues what.. reboots :/
maybe other ideas?
Click to expand...
Click to collapse
I worked it in both ICS and GB, it worked perfectly!
Did you configure it?
Sent from my LT15i using XDA
yes, i configured it properly, all things were configured, maybe it's just because i use JJ's hybrid rom.. I don't know ;(
No JJ Rom shouldn't be a problem, but i think ICS may be the culprit as am using DroidVPN from GB
Sent from my LT15i using XDA
ohh shame.. why it is so hard to implement IPsec in unixbased os? ios have it, why android could not
I suggest to use some soft as follw:
Better Terminal Emulator Pro
VPN Connections
BusyBox 1.19.3
You can use BetterTerminalEmulatorPro to run vpnc script in command line mode.
It can output debug info.
# ./vpnc ./vpnc.config --script ./vpnc-script --debug 99
To which VPN software are you referring?
I have installed Terminal Emulator and I have BusyBox version mentioned by you.
Could you please be more specific in what should I do to run this up?
sunekosuri said:
ohh shame.. why it is so hard to implement IPsec in unixbased os? ios have it, why android could not
Click to expand...
Click to collapse
Well could you say how you implemented in iOS coz I have an iPad 3?
It is natively supported and if you have successfully connected from Mac OS X, then for sure it would work on iOS device.
If you are successfully using VPN in Mac OS X with a L2TP/IPSec configuration and you are using Password, RSA SecurID, or CRYPTOCard User Authentication methods, and Shared Secret key for Machine Authentication, then the same VPN configuration should work in iOS. In addition, if you are using a Shared Secret key or Certificate for Machine Authentication, it should work as well.
Click to expand...
Click to collapse
For proper configuration please refer to this link http://support.apple.com/kb/HT1424
Hi, is there anyway to spoof the MAC address on an m8 running 4.4.3 all the apps in the play store seem to end in an authentication error once the mac is changed by an app. This also happens when using a terminal and busybox with ifconfig, iplink etc.
Thanks.
Lothandyr said:
Hi, is there anyway to spoof the MAC address on an m8 running 4.4.3 all the apps in the play store seem to end in an authentication error once the mac is changed by an app. This also happens when using a terminal and busybox with ifconfig, iplink etc.
Thanks.
Click to expand...
Click to collapse
Have you tried Pri-Fi?
Pry Fi causes an authentication error once the mac is spoofed, so the phone won't reconnect to the AP.
Does anyone have a solution for this??
This is would be a huge help if someone could find or has found a way to implement this. Ive tried the apps Mac Spoof and Mac Address Ghost with no luck. I went digging around in the system and found some files that I was denied access to (Searching terms like 'wlan' in ES File Explorer) and the ones I did dig through didn't contain any info. The /persist folder also contains nothing, which a few different posts lead me to check. I'm on a Rooted and S-Off Verizon HTC One M8 Stock before the update bringing power saver if its any help.
Is there a way to "permanently" set the mac address of wlan0 to something of my choosing? I have been able to do this temporarily through ADB and with busybox, but it does not always work. I want to have a specific mac address on wlan0 for when I use my phone as a hotspot for portable gaming devices. I have google's this, and it seems at least in previous versions of CM, this was stored in a file and could be changed, but I cannot find that file on the build I am running (CM 12.1-20150705-NIGHTLY). Does anyone know how to do this? Currently, I have to enable the hotspot, use ADB cli like:
# busybox ifconfig wlan0 down
# busybox ifconfig hw ether 00:11:22:33:44:55
# busybox ifconfig wlan0 up
# busybox ip link show wlan0
If I check the mac address after this, sometimes it changes, sometimes it does not. And sometimes when "ip link" reports the changed mac, it is not really changed (I check with other devices and they still see the old mac). But it does work... sometimes (rarely.. but I have had it working). I'd really like to make this more permanent.
I have looked in /data/misc/wifi but I don't see any nvram file in there anymore where I think you used to be able to set it.
This thread may help you. http://forum.xda-developers.com/showthread.php?t=2286440 I haven't tried it myself but a friend of mine said it worked for him.
Hi,
I have read almost everything that this forum gave me and some solution from the rest of the internet and STILL my wifi mac address is still stcuk at 02:00:00:00:00:00
Wifi won't turn on and it won't display available wifi
I can't remember exactly what caused it but i'll try to share my recollection
I vaguely remember that i was able to connect to the wifi before trying to fix it. Can't recall what really happened
I fixed the random rebooting nexus 5x by using unblod fix
I think i tried rooting it and succeeded with a twrp recovery
I vaguely remember flashing a zip custom rom with wrong version and brought it into a soft brick. Cant find the file anymore.
I reflashed it with flash all batch file from stock firmware
the phone is bootlooping
Fixed it again using unblod exe using the stock firmware's boot.img
Wifi wont turn on
mac address is 02:00:00:00:00:00
Tried on android 6.0, 7.0, 7.1.2, 8.0 and 8.1.0
Other solutions tried:
Nil Mac app. Seems to work app wise but mac is still stuck at 02:00:00:00:00:00 on settings. Wifi wont turn on
Manually edited, placed *.bin file in /persist, and /etc/firmware/wlan/qca_cld/
WIfi mac changer apps from appstore (they dont work)
Some root apps that mess with the phone's setting (cant find anything that seems to deal with wifi mac address)
p.s.
I also tried bricking the phone using TWRP wipe and checking all the wipe locations to eliminate remnants from previous mods
I cant seem to do anything. Still stuck at 02:00:00:00:00:00
Any more suggestions on where to look?
Or is android not getting the real mac address and revert to 02:00:00:00:00:00 and wont let wifi turn on during flash all script?
Thanks in advance.
Recent Android hides the MAC address to prevent tracking. 02:xx:xx:xx:xx:xx means a site-local MAC address.
Try using "ip link" and looking for the wlan0 entry. eg.
Code:
22: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 3000
link/ether 2c:59:8a:xx:xx:xx brd ff:ff:ff:ff:ff:ff
nowster said:
Recent Android hides the MAC address to prevent tracking. 02:xx:xx:xx:xx:xx means a site-local MAC address.
Try using "ip link" and looking for the wlan0 entry. eg.
Code:
22: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 3000
link/ether 2c:59:8a:xx:xx:xx brd ff:ff:ff:ff:ff:ff
Click to expand...
Click to collapse
HI,
thanks for the reply. I already did that and i got a mac address that is not 02:00:00...
then i tried to change it using if config just to see if it changes using the command.
I got an error saying wlan0 not found (not exact words)
Is there a different MAC address in Settings -> System -> About phone -> Status ?
nowster said:
Is there a different MAC address in Settings -> System -> About phone -> Status ?
Click to expand...
Click to collapse
No, it is 02:00:00:00:00:00.
arviverona said:
No, it is 02:00:00:00:00:00.
Click to expand...
Click to collapse
Did this ever get fixed? I'm facing the same issue. However, the steps I did was trying to spoof a MacAddress using Busybox and a terminal emulator.
Just using that would not allow me to connect to wifi, but wifi was turned on. Then I read to change the wlan.bin file in the persists folder.
After I changed that file and did a reboot wifi would not turn on.
I tried:
1. factory reset
2.Changing the wlan.bin back to what it was
3.Sideload android 8.0
4.Flash OEM back to factory
Nothing seems to work. Settings->about->status MacAddress says "unavailable", but
wifi -> preferences -> advance shows MacAddress 02:00:00:00:00:00
Any help would be great,
-realkewl
Try AMC, its the only MAC Address Changer app I could find that worked on my 5x. That was without a screwed up MAC address to begin with, but It might work for you.
I downloaded it from the play store, but now its not there. Here's the apk from my phone:
https://sqerk.com/pythonlimited.amc.apk
Looks like AMC was forked from nMAC :
https://forum.xda-developers.com/android/software-hacking/app-nmac-nil-mac-changer-t3391283
sqerk said:
Try AMC, its the only MAC Address Changer app I could find that worked on my 5x. That was without a screwed up MAC address to begin with, but It might work for you.
I downloaded it from the play store, but now its not there. Here's the apk from my phone:
https://sqerk.com/pythonlimited.amc.apk
Looks like AMC was forked from nMAC :
https://forum.xda-developers.com/android/software-hacking/app-nmac-nil-mac-changer-t3391283
Click to expand...
Click to collapse
Thanks, but I figured it out. I was trying to flash with the same version 8.0...and for whatever reason that did not work, so I tried a costume ROM and it brought back my MAC address, so then I flash again to android 8.1 and my MAC address problems are fixed. Not sure why flashing with the same version did not fix it.
Thanks,
realkewl
realkewl said:
Thanks, but I figured it out. I was trying to flash with the same version 8.0...and for whatever reason that did not work, so I tried a costume ROM and it brought back my MAC address, so then I flash again to android 8.1 and my MAC address problems are fixed. Not sure why flashing with the same version did not fix it.
Thanks,
realkewl
Click to expand...
Click to collapse
What Custom ROM did you use friend? I have the same exact issue with my Nexus 5. Maybe finding your previously installed Custom ROM, I can fix the issue too. I saw a lot of threads says that installing Custom ROMs or downgrading then upgrading OS using OTA updates given from their Android System fixed the issue. MAC address is important and controls everything that has to do with wireless connections in your device. Maybe this can help be fix my issue too. I am almost convinced to buy a brand new smartphone. It's almost my limit here... If this doesn't bother you, please, can you tell me what is the ROM you used?