maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Change the MAC-address Wi-Fi (https://talk.maemo.org/showthread.php?t=81998)

kuzmichov 2012-01-30 19:26

Change the MAC-address Wi-Fi
 
http://ecfac.ru/files/wi-fi_zone.jpg

Сonsider the fastest and easiest way to change MAC-address

instructions:
1. Go to settings - on the product and write off its own MAC-address WLAN (for example I have it 04:a7:1a:1f:aa:23)
2. Disconnects from the Wi-Fi network
3. Open a terminal and put this your new MAC (eg 14:56:73:24:89:17)
Code:

devel-su
rootme (the default password)
develsh
/sbin/ifconfig wlan0 down
/sbin/ifconfig wlan0 hw ether 14:56:73:24:89:17
/sbin/ifconfig wlan0 up

4. Check in settings - on a product modified MAC, or there is a terminal, write
Code:

/sbin/ifconfig wlan0
5. Connectivity to our public network!

-Tyler- 2012-01-30 20:42

Re: Change the MAC-address Wi-Fi
 
i was wondering what the **** the command "ifconfig" doesn't work in harmattan, I have to write "/sbin/ifconfig" thanks!!

why the need of the command develsh after you get root with devel-su? what is the diference between "devel-su" and "develsh" ??

Vaterix 2012-02-01 16:18

Re: Change the MAC-address Wi-Fi
 
I have a noob question :)

So i tried to create a script called wifi.sh with the code above, so that when i open the terminal I just write
/bin/sh /home/user/MyDocs/scripts wifi.sh and the MAC address is changed (then later execute wifi1.sh and it returns to default)

My question is: would it be possible to include the devel-su + pass + develsh input in the script so that when i open the terminal I just execute the script?

upd: figured it out eventually.

NicoLarve 2016-06-08 11:14

Re: Change the MAC-address Wi-Fi
 
Hi there,

Is there any reason my n900 switches to a "random" MAC address (yet always starting with 00:1f:1d) on its own?

It's the second of my n900s to do this.
After a reboot, it's gone and the initial MAC is back.

I find this really weird: what kind of app would change this without any notice to the end user?

Thanks for any feedback on this.

pasko 2016-06-08 13:35

Re: Change the MAC-address Wi-Fi
 
Quote:

Originally Posted by NicoLarve (Post 1507225)
Hi there,

Is there any reason my n900 switches to a "random" MAC address (yet always starting with 00:1f:1d) on its own?

It's the second of my n900s to do this.
After a reboot, it's gone and the initial MAC is back.

I find this really weird: what kind of app would change this without any notice to the end user?

Thanks for any feedback on this.

Hi.

I can recall something called 'macchanger' (no kidding) :) It was a CLI utility to change macs in the N900. I used it to get new access to free WiFi hotspots that banned mac addresses after a while.....

If you have trouble finding it, let me know and I'll take a look into my N900.

Regards.

pichlo 2016-06-08 13:55

Re: Change the MAC-address Wi-Fi
 
IIRC, macchanger is also used in the background by Cleven and maybe other WiFi sniffers. One would assume that they would restore it back after use but I do not really know as I have not been using them myself.

NicoLarve 2016-06-09 11:37

Re: Change the MAC-address Wi-Fi
 
@pasko: thank, I know macchanger and use it from time to time on laptops and desktops, but never on the n900 (it's not installed yet).

@pichlo: interesting, for sure that's something I was thinking about without being able to know which app could have play with the MAC value. As I said, macchanger is not installed but for sure other apps could embed code to do so. I don't have cleven installed and not that much wifi/wlan stuff:

Code:

$ aptitude search ~i~n\(wlan\|wifi\) -F "%p" --disable-columns
connui-conndlgs-wlan
connui-iapsettings-wlan
icd2-network-wlan-config
libicd-network-wlan
mbarcode-plugin-wifi
osso-wlan
osso-wlan-security
wifi-switcher



All times are GMT. The time now is 09:13.

vBulletin® Version 3.8.8