Change WiFi MAC Address - EVO Shift 4G General

Has anyone been able to change their WiFi MAC using any ROM/kernel/script/tweak? I know it's possible and I know how to do it via busybox "ip" commands. After I remove all associated AP's, bring down eth0, change eth0's hwaddr, confirm the change with "ip show eth0" and try to reassociate with a WPA/WEP it will not connect and logs show it fails to connect after "authorizing." I have a feeling that there needs to be a change in the wpa_supplicant conf file or in one of the init scripts to fix the issue but I have not been successful.
If any devs can point me in the right direction that would be awesome. I know I could make a simple script to change it if I knew why it won't authorize. Many access points require 00:XX as the beginning of a WiFi MAC or the device gets rejected due to a spoof attack on several routers. Thanks!

Related

WiFi Tether for Root Users won't encrypt its signal

I just recently rooted and installed Cyanogen 4.0.2, primarily to get WiFi tether going. It works just fine for the most part, but no matter how I set it up it refuses to apply WEP encryption. I have the checkbox checked and a passphrase saved, but when I turn on the tether and look it up on the PC, it says "unencrypted connection" and lets me connect to it without a password.
Anybody know what I'm doing wrong?
I have the same problem with cyanogen 4.0.4.
If you figure it out let me know
Have you tried looking at the Show Log option and checking for any errors? If no errors are showing up in the WT4R log, install a log collector or hook the phone up via adb and dump out the logcat. That should shed some light on the problem.
FTR I have no problems creating an encrypted connection on JF1.51 ADP1.

Wifi connection problems.

I am trying to connect to my university's wireless.
We have two different wireless ssid's that i can connect to with my laptop.
The first, called UBC is unsecured, but when you connect, it takes you to a web page where you enter your username/password.
The second, called ubcsecure, can authenticate with either WPA2 or WPA ( it shows up as WPA2-Enterprise).
The encryption method is AES for WPA2, and TKIP for WPA.
EAP type: PEAP v0 , Authentication protocol is MS-CHAP-V2
there is an option for mutual authentication using a certification server:
secure.wireless.ubc.ca
I am unable to connect to either using the stock HTC magic ROM, the HoFo community rom, and most recently, myHero 1.0.1
I have tried editing /system/etc/wifi/wpa_supplicant.conf to include
network={
ssid="ubcsecure"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=PEAP
identity="[email protected]"
password="password"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
Any ideas as to how to connect?
Data wipe.
Try to reset your phone's basic settings.
It could rebuild the information necessary to acquire the specific IP from their connection.
Manually entering the data couldn't hurt either. This is something that usually I would consider consulting the school about. Privatized internet connections could cause a number of issues for those seeking to utilize Wi-Fi.
The NAT settings might be too strict to support a handheld device.
Me too!
have you found any other solution??
i m here in ubc as well with my htc magic 1.5
when i'm trying to connect to ubc,, it keeps requiring the ip but doesnt connet
and ubcsecure doesnt even show up!
is really frustrating not being able to use internet in universityyy..
i thought by activating the wpa enterprise will work for the ubcsercure, i guess not??
will any of the heros rom work??
Im having this problem too.. anyone find a fix?
I have no idea why but ubcsecure seems to be working using JesterBlur ROM. http://forum.xda-developers.com/showthread.php?t=567122
it works on the Dream? or sapphire? I don't think it matters but... be interesting to know
Dream. Theres a version for the Sapphire. Maybe give it a shot? ubcsecure still working here.
Ask for working setting
absolutcamper said:
Dream. Theres a version for the Sapphire. Maybe give it a shot? ubcsecure still working here.
Click to expand...
Click to collapse
Did you use the UI setting or you edit the "wpa_supplicant.conf" file manually?
would you please send us your "wpa_supplicant.conf" file or its ubcsecure part? it would be the great help to have a working setting.
Cheers,
Ali
I used the UI that came up during first boot. How can I get to that file?
the wpa_supplicant is in /data/misc/wifi. But considering how it works using the ui settings, i dont think changing the config file will work...but please still post it.
I also tried replacing the wlan.ko from the jesterblur rom... and doesnt seem to be compatible with magic which is apparently normal because there is a patch for magic users that fixes wifi apparently. I will try the wlan.ko from the fix soon probably to see if it works.
Hi guys,
I'm at UBC with the same problem (I can't even connect to the regular UBC network). I went to the UBC help desk and they basically told me that they don't support android at all. The funny thing is I can connect to the fatport network with no problems but cannot connect to ubc, ubcsecure or eduroam networks on campus. I'm currently runnning on Cyanongen 4.2.4 (waiting for 32a kernel to upgrade to 4.2.5) on a rogers htc magic.
Anyway, the point of this post. If anyones interested in meeting up at UBC to find a solution to this problem it'd be great. I'm hoping we can eventually create a package of some sort that'll fix any android phone but lets focus on fixing the current prob first.
Also @fnkaze - aren't the dream and sapphire the same thing?
Er, i think the dream is the G1 and the sapphire is the G2 aka the rogers magic... well i think the dream has a differnt wifi driver? maybe.. thats the problem
I think the reason why they dont support android is because the stock rogers rom doesnt have native wpa2 support i think.... but the custom roms should have it.. the hero rom does have it... at home my wpa2 wifi works fine
I can also connect to fatport, i think the eduroam is also using the same thing...tho ive heard eduroam seems to work on the rogers rom at different univeristies..
I still have yet to try the jester rom wifi driver tho, ill try it soon...
Thanks for the clarification. And the reason eduroam works at other universities is because the WPA encryption settings are based on the uni's actual/main wireless network. So at different universites the authentication protocols might be a bit different.
What phone do you have? The dream or the magic? The jester rom doesn't work on my magic.
i have the magic, but i think it should work on the magic, they also have a seperate patch to get Wifi working for the it.. so im assuming its possible..
So yeah, Concordia University in Montreal has the same WPA2-Enterprise and this is how I got WIFI to work on my Magic (with HoFo's Sense UI ROM, would still probably work with a rooted 1.5/1.6 ROM)
In fact it will probably work with any rooted Dream or Magic
Remember you need your phone to be rooted for this to work, you will also need to have the drivers installed for your phone from the Android SDK.
- Go into recovery mode
- mount the /data/ folder
Code:
adb shell mount /data
- With ADB Pull the /data/misc/wifi/wpa_supplicant.conf file to your computer (in this example it will go to the tools folder where you have your androidsdk)
Code:
adb pull /data/misc/wifi/wpa_supplicant.conf .
- Make a backup of your conf file in case you mess something up
- Edit it and add in the configuration settings given by your University for Linux wpa_supplicant.conf files, so in your case
Code:
network={
ssid="ubcsecure"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=PEAP
identity="[email protected]"
password="password"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
- With ADB Push the wpa_supplicant.conf from your computer to the /data/misc/wifi/ folder
Code:
adb push wpa_supplicant.conf /data/misc/wifi/
mydewji13 said:
UBC help desk and they basically told me that they don't support android at all.
Also @fnkaze - aren't the dream and sapphire the same thing?
Click to expand...
Click to collapse
Honestly that person at the helpdesk probably doesn't even know what Android is. If they says they don't support Android at all, well using their logic any Linux distro using wpa_supplicant.conf isn't supported which OBVIOUSLY isn't the case.
And no the Dream and Magic are far from being the same device.
Thanks!
I'll try this solution and see if it works. Will post back to let you know how it goes.
Hi,
Ok, I just finished installing the sdk, fixing udev to recognize my phone etc...
The problem I'm having is that everytime I run:
Code:
adb shell mount /data
I get the following error:
Code:
mount: cannot read /etc/fstab: No such file or directory
Help?!?!
NVM after reading the adb -help i tried this:
Code:
adb pull /data/misc/wifi/wpa_supplicant.conf /home/myuser
Ok something really wierd happened...I pushed a new wpa supplicant file and the rebooted the phone and it stopped seeing wireless networks! But ubcsecure showed up as a known network. If I long press it an 'forget it' I can see networks again, but still cant connect to any ubc network?
WTF>?
Is there anyway I could use by ubuntu wpa_supplicant settings? Anyone know where the file is on Karmic? b/c I cant find it at all

[Q] Same old MAC Address problem, different question?

It occurred to me that there must be some kind of really easy solution to the problem of cracking a windows phone and applying Android and ending up with the WiFi MAC Address conflict issues...
I have 00:90:4c:c5:00:34, but my "real" MAC address ends in :38...
My guess is, there is a string in some bit of code, somewhere, a config file or a boot file, or some hardware file that has this MAC address in it.
Wouldn't it be easy to just go into that line in the code or config files and change it?
Or am I making this too simple?
Is this some kind of default address handed out when a program fails to find a proper MAC Address (nand not working, etc)?
I have searched all day for a solution, and tried 3 or 4 that I found without success.
So my questions are:
1) If this "default" MAC Address (00:34) is in a config or other file, what file would that be?
or
2) is there a simple way to change the MAC Address some other way, so I can get all 3 of these devices on the same network?
I have Android 2.2, Kernel 2.6.32.15r8.4-gb02a70d (hastarin... #66), Build 2.29.405.2 CL263770, Software Sergio Core Droid Desire V0.8...
On an HTC HD2.
(maybe there is a better distribution that gives me this same kind of look and feel that might work better for this problem?)
Thanks in advance for your consideration and help.

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.

MAC change

Has anyone figured out how to change the mac address for this phone? I can successfully change the mac address through the terminal but after I get it changed I cannot for the life of me get my wifi to connect to anything after.

Categories

Resources