[Q] change mac address of wifi on Neo V - Sony Ericsson Xperia Neo, Pro

Has anyone successfully changed MAC address of wifi in Neo V?
blah-blah ifconfig blah-blah says "invalid parameter" or "operation not supported"
What kernel/dist do you use?

vovkav said:
Has anyone successfully changed MAC address of wifi in Neo V?
blah-blah ifconfig blah-blah says "invalid parameter" or "operation not supported"
What kernel/dist do you use?
Click to expand...
Click to collapse
Aqui esta la solucion -> http://forum.xda-developers.com/showthread.php?t=1694236

bt4777 said:
Aqui esta la solucion -> http://forum.xda-developers.com/showthread.php?t=1694236
Click to expand...
Click to collapse
As i have said above blah-blah ifconfig blah-blah says (see above)

vovkav said:
As i have said above blah-blah ifconfig blah-blah says (see above)
Click to expand...
Click to collapse
Just tried it on my own, Nightelf Kernel, I_Scream 12 (4.0.4):
wlan deactivated
open Terminal Emulator:
Code:
su ( -> confirm superuser )
netcfg wlan0 down
ifconfig wlan0 hw ether xx:xx:xx:xx:xx:xx
netcfg wlan0 up
edit: ifconfig works without the " : "`s too

Related

[Q] Change MTU on TouchPad?

Is it possible to change the MTU on the touchpad?
I really want to set up my Motorola triumph for wireless tether and apparently, the MTU has to be set to 1472.
there's a thread here
http://forums.androidcentral.com/motorola-triumph-virgin-mobile/108734-tether-fix-sortof.html
It should be doable in developer mode. I don't have mine here to check, but if the "ip" command is there then you could run
ip link set wlan0 mtu 1472
at a shell prompt. If "ip" isn't available, then try running
ifconfig wlan0 mtu 1472
I'm assuming it's using the standard device naming. You can see the available network devices by running "ip link" or "ifconfig".
cbf123 said:
It should be doable in developer mode. I don't have mine here to check, but if the "ip" command is there then you could run
ip link set wlan0 mtu 1472
at a shell prompt. If "ip" isn't available, then try running
ifconfig wlan0 mtu 1472
I'm assuming it's using the standard device naming. You can see the available network devices by running "ip link" or "ifconfig".
Click to expand...
Click to collapse
is there a program for that? can't seem to find a terminal app
cbf123 said:
It should be doable in developer mode. I don't have mine here to check, but if the "ip" command is there then you could run
ip link set wlan0 mtu 1472
at a shell prompt. If "ip" isn't available, then try running
ifconfig wlan0 mtu 1472
I'm assuming it's using the standard device naming. You can see the available network devices by running "ip link" or "ifconfig".
Click to expand...
Click to collapse
From what I found in my touchpad,
Open WebOS quick install find your touchpad, then click tools, Linux command line, type
ifconfig eth0 mtu 1472
then type
ifconfig
Now it will show your mtu 1472 is set... dont know if it will connect to Ad-Hoc but that will change it. Hope this helps...
This works for me
Just try this it works for my Motorola Photon...
http://code.google.com/p/android-wif...downloads/list
Install it
Run it
Menu-Settings
Change Device-Profile
Select: Samsung Galaxy S
Change Setup-Method
Select NetD (Master)
Back to main screen
Click start tethering... now you will get 2-5 pop ups with errors DONT WORRY just look for the network and disregard the errors on the phone
And now you are good to go. I have used this on my Photon (MoPho) running STOCK rom with root.
Have fun tethering.
@Ion4:
I tried the galaxy S and netD and I SEE IT ON THE TOUCHPAD!!!!
but.... it failed to configure and "Association Failed".. i tried it on my ipod touch and i see AndroidTether but it cannot connect

[Q] Tethering ( hotspot)Problems with ZTE V987

Hello friends,
I'm Spanish and I tell my story to the V987 (need help):
I received the phone through March, with Chinese Rom and English language have connectivity problems when the ZTE hotspot ago (right side connects to Windows or other android but NO INTERNET, having internet at the same ZTE987. I contact the seller and tells me send it to China again. They star up and say there working properly and sent me back to Spain. When it comes to me, I rip with a new rom that I have gotten (and run the app from Google etc) but tethering still does not work. I install rom Bruno ([ROM] [23.04.2013] ZTE V987 (MT6589) custom ROMs (JB)) but still not working the hotspot. I tasted with operators Movistar, Vodafone and Orange. Occurs to me to try to "Symio" and Bingo works .
The current result is:
********** Work = Simyo, Ono, Yoigo and Tuentimovil.
********** No work = Movistar, Orange and Vodafone.
Note: The operators that work, are Low Cost of the operators that don't work .
do you know anyone, is happening?
Thanks in advance.
victorgti said:
Hello friends,
I'm Spanish and I tell my story to the V987 (need help):
I received the phone through March, with Chinese Rom and English language have connectivity problems when the ZTE hotspot ago (right side connects to Windows or other android but NO INTERNET, having internet at the same ZTE987. I contact the seller and tells me send it to China again. They star up and say there working properly and sent me back to Spain. When it comes to me, I rip with a new rom that I have gotten (and run the app from Google etc) but tethering still does not work. I install rom Bruno ([ROM] [23.04.2013] ZTE V987 (MT6589) custom ROMs (JB)) but still not working the hotspot. I tasted with operators Movistar, Vodafone and Orange. Occurs to me to try to "Symio" and Bingo works .
The current result is:
********** Work = Simyo, Ono, Yoigo and Tuentimovil.
********** No work = Movistar, Orange and Vodafone.
Note: The operators that work, are Low Cost of the operators that don't work .
do you know anyone, is happening?
Thanks in advance.
Click to expand...
Click to collapse
I've the same problem. I've tested with many ROMs. I'm going to try whith other apps.
(A mi me pasa igual he probado con varias ROMs, voy a probar con alguna aplicacion externa y te cuento. Un saludo.)
conseguido!!
Primero:HAY QUE SER ROOT
Segundo:
Instala la aplicacion script manager (SM manager)
abrelo y se te abre un explorador de archivos SD
menu/Crear un nuevo script
(ver imagen adjunta)
ponle el nombre tethering_enabled
y ecribe esto:
iptables --flush
iptables -A POSTROUTING -s 192.168.43.1/24 -j MASQUERADE -t nat
iptables -A FORWARD -j ACCEPT -i ap0 -o ccmni0
iptables -A FORWARD -j ACCEPT -i ccmni0 -o ap0
sysctl -w net.ipv4.ip_forward=1
(otra opcion es crear un fichero de texto en el pc con este texto y renombrarlo tethering_enabled.sh y pasarlo a la SD)
Ahora activa el thetering y una vez activo ejecuta ejecuta el tethering_enabled.sh desde el explorador de archivos del SM manager y activa el SU
(ver imagen adjunta)
y ejecutalo y ya me funciona el internet en el pc.
Cada vez que actives el tethering hay que ejecutar el script
Suerte!!
¿Qué?
Warped420 said:
¿Qué?
Click to expand...
Click to collapse
First:TOU HAVE TO BE ROOT
Second:
Install Script manager app (SM manager)
Open it and a file explorer will be opened.
menu/Create a new script
(see atached image)
name it tethering_enabled
and write this in the script:
iptables --flush
iptables -A POSTROUTING -s 192.168.43.1/24 -j MASQUERADE -t nat
iptables -A FORWARD -j ACCEPT -i ap0 -o ccmni0
iptables -A FORWARD -j ACCEPT -i ccmni0 -o ap0
sysctl -w net.ipv4.ip_forward=1
(another option is create a txt file in your computer and rename it to tethering_enabled.sh and transfer it to SD)
Now activate tethering and after that execute the file tethering_enabled.sh from the SM manager file explorer. Remember enable SU
(See atached file)
push execute and tethering will start to function.
You need to activate the script each time you activate tethering
Good luck!!
p82maarj said:
First:TOU HAVE TO BE ROOT
Second:
Install Script manager app (SM manager)
Open it and a file explorer will be opened.
menu/Create a new script
(see atached image)
name it tethering_enabled
and write this in the script:
iptables --flush
iptables -A POSTROUTING -s 192.168.43.1/24 -j MASQUERADE -t nat
iptables -A FORWARD -j ACCEPT -i ap0 -o ccmni0
iptables -A FORWARD -j ACCEPT -i ccmni0 -o ap0
sysctl -w net.ipv4.ip_forward=1
(another option is create a txt file in your computer and rename it to tethering_enabled.sh and transfer it to SD)
Now activate tethering and after that execute the file tethering_enabled.sh from the SM manager file explorer. Remember enable SU
(See atached file)
push execute and tethering will start to function.
You need to activate the script each time you activate tethering
Good luck!!
Click to expand...
Click to collapse
this method can be used for wifi tethering too ??
i have the same case usb tethering lil bit slow , and wifi tethering not working..
but on my phone connection goes well..
thx advice
I've got the same problem?!
any clear help?
in English offcourse
A guy ("ervius" , all credits to him) in a italian forum solved the problem in his roms, first for jiayu g3 with android 4.1.2 and after for zopo zp810hd with android 4.2.1.
He used a NAT solution.
He also published single fixes to flash in cwm. He says they MIGHT work also in other roms/devices (so BACKUP FIRST)
I can confirm that works in its rom for jiayu G3, but I HAVE NOT INFORMATIONS IF IT WORKS ON OTHER DEVICES
If you'll have many notifications by superuser/supersu app about natting, you can disable notifications in supersu/superuser
For 4.2.1 roms http://www.4shared.com/zip/ScXhZCLw/working_tether_update_v5.html
(taken from here http://www.androidiani.com/forum/zopo-modding/296897-zopo-zp810hd-zp800h-hero-h7500-ervius-rom.html at the end of first post)
The link for fix the 4.1.2 roms doesn't work. I'll try to find it

[Q] [XPERIA P] Configuring wireless adapter

Hi,
The goal of my project is to implement mobile ad-hoc network routing protocol(AODV).
My problem is that I need to reconfigure the wireless driver/adapter to be able to work in ad-hoc mode. This means receiving packets from other nodes and resending packets if 2 nodes which want to communicate are far away from each other.
I don't have experience with drivers changing and I'm noob in Linux.
For better imagination, I've got source code for the Nexus One and HTC Hero and this code should be able to change wireless drivers configuration on these devices.
Here's the code for Nexus One:
Code:
case 0: //NEXSUS
system("insmod /system/lib/modules/bcm4329.ko");
snprintf(cmd, sizeof cmd, "ifconfig eth0 %s netmask 255.255.255.0", ip);
printf("\ncmd: %s\n", cmd);
system(cmd);
system("ifconfig eth0 up");
system("iwconfig eth0 mode ad-hoc");
system("iwconfig eth0 essid nexusbac");
system("iwconfig eth0 channel 6");
system("iwconfig eth0 commit");
break;
And here for the HTC Hero
Code:
system("insmod /system/lib/modules/wlan.ko");
system("wlan_loader -f /system/etc/wifi/Fw1251r1c.bin -e /proc/calibration -i /data/local/bin/tiwlan.ini");
snprintf(cmd, sizeof cmd, "ifconfig tiwlan0 %s netmask 255.255.255.0", ip);
system(cmd);
system("ifconfig tiwlan0 up");
break;
I was wondering if you could give me some advice what commands to use.
My Sony Xperia P is Rooted and I'm using Honami Moonwalker V8 ROM.
It seems that command ifconfig is not working. If I try to execute e.g
Code:
ifconfig eth0 up
android shell throws this error:
ifconfig eth0 up
error: SIOCGIFFLAGS (No such device)
Thank you for your answers. I really appreciate the time you give to this thread.
Try wlan0
ChikeD said:
Try wlan0
Click to expand...
Click to collapse
thanks ChikeD, it seems that wlan0 works fine for ifconfig but it seems that iwconfig binary is missing. Are there any alternatives for this shell command in Android?
I tried to use iwconfig binary from Android tethering project but using it throws an error like this:
Code:
[email protected]:/ # iwconfig wlan0 essid xperiaP
SET failed on device wlan0; Invalid argument
Ageiris said:
thanks ChikeD, it seems that wlan0 works fine for ifconfig but it seems that iwconfig binary is missing. Are there any alternatives for this shell command in Android?
I tried to use iwconfig binary from Android tethering project but using it throws an error like this:
Code:
[email protected]:/ # iwconfig wlan0 essid xperiaP
SET failed on device wlan0; Invalid argument
Click to expand...
Click to collapse
There is iw binary see what you can make out of that.
ChikeD said:
There is iw binary see what you can make out of that.
Click to expand...
Click to collapse
Thanks, this looks very interesting. I'll give some feedback later if I manage to make it work
Ageiris said:
Thanks, this looks very interesting. I'll give some feedback later if I manage to make it work
Click to expand...
Click to collapse
You changing the driver source?
ChikeD said:
You changing the driver source?
Click to expand...
Click to collapse
I just need to make it work in the ad-hoc mode. If think it's an IBSS mode. I just need to figure out, how to setup this type of connection
Ageiris said:
I just need to make it work in the ad-hoc mode. If think it's an IBSS mode. I just need to figure out, how to setup this type of connection
Click to expand...
Click to collapse
Assuming(thinking) is not an option.
From a brief look at the sources it seems the ad-hoc is not implemented.
ChikeD said:
Assuming(thinking) is not an option.
From a brief look at the sources it seems the ad-hoc is not implemented.
Click to expand...
Click to collapse
Sorry for delay.
So you don't consider an IBSS mode as a true ad-hoc mode? Am I right? I thought that IBSS is like a synonym of the term "ad-hoc"
According to this website: http://en.kioskea.net/contents/804-wifi-modes-of-operation-802-11-or-wi-fi
It should be the same.
To my problem. I've made this commands to work:
Code:
/*Bring the interface up (an additional step like rfkill unblock wifi might be needed: ip link set wlan0 up*/
system("iw dev wlan0 set type ibss"); //Set the operation mode to ibss ):
system("iw dev wlan0 ibss join MyAdHocNetwork 2412") //frequency for channel 6: 2437, 2412 for channel 1...
system("ip addr add 192.168.1.2/24 broadcast 192.168.1.255 dev wlan0");
system("ip route add default via 192.168.1.1");
What do you think?
Thanks
Seems so, does it work?
ChikeD said:
Seems so, does it work?
Click to expand...
Click to collapse
I don't know yet. I seems that everything is set up. Now I need to buy at least another xperia p or similar smartphone to test communication.
I am now trying to run ad-hoc mode on HTC Desire and Tablet Prestigio Multipad 3270b. But it's pain, because they don't have iwconfig and iw binaries.
Ageiris said:
I don't know yet. I seems that everything is set up. Now I need to buy at least another xperia p or similar smartphone to test communication.
I am now trying to run ad-hoc mode on HTC Desire and Tablet Prestigio Multipad 3270b. But it's pain, because they don't have iwconfig and iw binaries.
Click to expand...
Click to collapse
So what is the purpose of this?
Doesn't have to be a smartphone, you can do it with a wireless pc/laptop
http://windows.microsoft.com/en-us/windows/set-computer-to-computer-adhoc-network#1TC=windows-7
http://www.tp-link.com/en/article/?id=219
ChikeD said:
So what is the purpose of this?
Doesn't have to be a smartphone, you can do it with a wireless pc/laptop
http://windows.microsoft.com/en-us/windows/set-computer-to-computer-adhoc-network#1TC=windows-7
http://www.tp-link.com/en/article/?id=219
Click to expand...
Click to collapse
Thanks for the links. The goal of my project is to run ad-hoc mode on android. I will definitely test this later using windows but I am running out of time, so I'm focusing mainly to at least changing wireless mode from managed to ad-hoc. That's the most difficult thing because right now I am not able to change wireless mode on HTC and Prestigio using linux system commands. Maybe there is a way to change wireless mode programmatically (Java or C) but I haven't found that information yet.

[Q] how to change mac address in moto e

plz tell me how to change mac address....
You're on ROOT?
nijom said:
You're on ROOT?
Click to expand...
Click to collapse
Yep, I had rooted My Moto E, and used the below commands in terminal :-
su //to get the root access
busybox ifconfig wlan0 hw ether 00:11:22:33:44:55 //to change the mac address
busybox ifconfig // It shows the mac changed
Now if I go to system -> Wireless mac address to crosscheck, it's still shows me the old one
I had rebooted the phone, and checked the mac address under terminal using "busybox ifconfig" - it's restored to old (real one) :crying:
Any suggestions, where I am doing it wrong ?
Thanks!
kamalpal said:
Yep, I had rooted My Moto E, and used the below commands in terminal :-
su //to get the root access
busybox ifconfig wlan0 hw ether 00:11:22:33:44:55 //to change the mac address
busybox ifconfig // It shows the mac changed
Now if I go to system -> Wireless mac address to crosscheck, it's still shows me the old one
I had rebooted the phone, and checked the mac address under terminal using "busybox ifconfig" - it's restored to old (real one) :crying:
Any suggestions, where I am doing it wrong ?
Thanks!
Click to expand...
Click to collapse
Check it out, this might help you http://forum.xda-developers.com/showthread.php?t=2286440

[Q] Change mac address

Hi guys
anyone can change mac of s5830I?
I try apps and busybox command but I cant.
can you help me
TNX
my English is bad
danial199 said:
Hi guys
anyone can change mac of s5830I?
I try apps and busybox command but I cant.
can you help me
Click to expand...
Click to collapse
The MAC address is hard-coded on your network interface controller (NIC) and cannot be changed permanently with simple command line from your terminal nor in software level approach. However we can assign a temporary solution for your MAC, which will be reverted back to it's original state after Reboot/Power off .
Requirements :
- Rooted phone
- Busy box app from play store installed
- Terminal emulator from play store :
Know normally your card's interface should be eth0 ( older devices ) or in case of newer phones ( wlan0)
after granting super user permission in terminal ( Su) , type >> netcfg
Code:
busybox iplink show eth0
you may change it to wlan0 , if you are on this interface
Code:
busybox ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX
change the XX to your preference value ( i,e : 00:11:22:33:44:55)
Because of kernel design and absence of monitoring mode support for mac spoofing , this method won't work on protected networks ( ONLY open networks )
and if the lines above don't work for you , try to disable and enable your eth0:
Wifi is ON
su >
Code:
busybox ifconfig eth0 down
busybox ifconfig eth0 hw ether (address)
busybox ifconfig eth0 up
ehsanotaku said:
The MAC address is hard-coded on your network interface controller (NIC) and cannot be changed permanently with simple command line from your terminal nor in software level approach. However we can assign a temporary solution for your MAC, which will be reverted back to it's original state after Reboot/Power off .
Requirements :
- Rooted phone
- Busy box app from play store installed
- Terminal emulator from play store :
Know normally your card's interface should be eth0 ( older devices ) or in case of newer phones ( wlan0)
after granting super user permission in terminal ( Su) , type >> netcfg
Code:
busybox iplink show eth0
you may change it to wlan0 , if you are on this interface
Code:
busybox ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX
change the XX to your preference value ( i,e : 00:11:22:33:44:55)
Because of kernel design and absence of monitoring mode support for mac spoofing , this method won't work on protected networks ( ONLY open networks )
and if the lines above don't work for you , try to disable and enable your eth0:
Wifi is ON
su >
Code:
busybox ifconfig eth0 down
busybox ifconfig eth0 hw ether (address)
busybox ifconfig eth0 up
Click to expand...
Click to collapse
Tnx for answer
after change mac I cant connect to wifi
want a new password but pass is true
danial199 said:
Tnx for answer
after change mac I cant connect to wifi
want a new password but pass is true
Click to expand...
Click to collapse
You are trying to access protected network , which comes with encryption ( WEP/WPA/WPA2 etc etc ) ? What error you are getting from Android OS ? Are you absolutely certain your MAC address is white listed inside the router/modem settings on open network protocol settings of course ?
ehsanotaku said:
You are trying to access protected network , which comes with encryption ( WEP/WPA/WPA2 etc etc ) ? What error you are getting from Android OS ? Are you absolutely certain your MAC address is white listed inside the router/modem settings on open network protocol settings of course ?
Click to expand...
Click to collapse
wpa2
when i connect to network want a password but the password is true
There isnt any listed mac address inside the router
danial199 said:
wpa2
when i connect to network want a password but the password is true
There isnt any listed mac address inside the router
Click to expand...
Click to collapse
Already explained about protected networks and the reason behind it in the first post . You need to set it to 'Open network' ( means no wpa/wpa2/wep etc,,etc) inside the router/modem you are seeking an access.
Maybe not so
I have tried several apps and every possible command in terminal (as root) and although all can successfully change the MAC address, the device is always unable to connect to an access point thereafter. This is a known issue, but unresolved and too frequently denied. I half suspect their are some "political" purposes for withholding the resolution; many have inquired about this, yet only receive pedantic or useless replies. I wonder if there is any correlation to the wifi chipset, or if it's a built-in Android limitation. I know my chipset is very difficult to identify ('demesg | grep wlan0' yields nothing familiar) and that it also seems incapable of monitor mode.
I have scoured many forums for the solution to this and found only a suggestion to change certain files, all which appear to vary between devices, etc.
What I'd like at this point, is and explanation if not a solution. Anyway, I think the OP may have been misunderstood, ergo my 'two cents'.

Categories

Resources