maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   edit.............................................. ........................ (https://talk.maemo.org/showthread.php?t=80696)

moscatomg1 2011-12-06 22:09

edit.............................................. ........................
 
edit.............................................. ........................

peterleinchen 2011-12-06 23:14

Re: n900 MAC address change
 
Why not use (well and stable proven) devel stuff?

But of course you can go the manual way:
just forget about the wlancond (I had some unexpected reboots)

and just make sure, you are not connected to a WiFi
and
Code:

ifconfig wlan0 down
ifconfig wlan0 hw ether <mac address>
ifconfig wlan0 up

and (re-)connect to WLAN

check ether with
Code:

ifconfig wlan0

Joseph9560 2011-12-07 03:48

Re: n900 MAC address change
 
ifconfig wlan0 to check wlan0 properties.

peterleinchen 2011-12-07 08:18

Re: n900 MAC address change
 
What about being 'root'?

reinob 2011-12-07 08:28

Re: n900 MAC address change
 
Quote:

Originally Posted by moscatomg1 (Post 1134293)
Thank you so much for your reply. . . .



B/c so many folks warn against those for noobs like me.



What's this last one do?

Also, is this a "permanent" change (until I manually change it back), or will it revert whenever the device turns off/on?

*Edit* by the way, I tried it, and it didn't work--x terminal wouldn't even do the 1st line of code, again.

Thank you for any more help.

You have to be root (e.g. type "sudo gainroot"). Otherwise ifconfig is not in your path (you could type /sbin/ifconfig to solve that), plus without being root you may not be allowed to change some settings.

marmistrz 2011-12-07 18:51

Re: n900 MAC address change
 
or try making a shortcut to hildon.
The exec line should be

Code:

Exec=sudo macchanger -A wlan 0

mr_pingu 2011-12-07 20:50

Re: n900 MAC address change
 
install rootsh and try all commands again ;) That would be your best guess ;)

peterleinchen 2011-12-07 22:27

Re: n900 MAC address change
 
Code:

macchanger -a wlan0
will do the trick.

And please give us some more info what causes your invalid hw addr or syntax err or nothing. We can share knowledge but we are not clairvoyants.

peterleinchen 2011-12-08 08:44

Re: n900 MAC address change
 
You are welcome ;)

If you give full input of your commands, we may also solve those.
As it seems there are only typos ore some param missing, also.

The MAC will be set back to original value after each restart (or you save it in a file and point macchanger to that:
Code:

macchanger wlan0 -m `cat /home/user/myMAC`
where myMAC is a file with your MAC address ( xx:xx:xx:xx:xx:xx)


All times are GMT. The time now is 20:48.

vBulletin® Version 3.8.8