View Single Post
Posts: 60 | Thanked: 22 times | Joined on Feb 2008
#77
(information below has been modified (again), read if you followed the original suggestions)

n800 here, also try switching in the startup script /etc/init.d/wlancond (I was mistaken with my previous suggestion: etc/init.d/rcS). Just insert (as root) after:

Code:
test -x $DAEMON || exit 0
and before

Code:
set -e
this

Code:
ifconfig wlan0 down hw ether 00:xx:xx:xx:xx:xx 
ifconfig wlan0 up

Reboot. Done.

--------------------
I actually use much clumsier script (see below) which allows me to relatively easily switch between the old and new MAC (useful for Skype):


Code:
cat /home/user/newMAC.txt && ifconfig wlan0 down hw ether 00:19:my:new:mac 
cat /home/user/oldMAC.txt && ifconfig wlan0 down hw ether 00:19:my:original:mac 
ifconfig wlan0 up
I simply keep a file in my home directory (/home/user) and rename it from oldMAC.txt to newMAC.txt (in File Manager) or vice versa and reboot. (if neither file exists nothing is done, if both exist the second number takes precedence.) Works w/o a hitch for me.

DISCLAIMER: Verify independently please that changes described above are safe, I assume no responsibility if you manage to brick your device by corrupting any of the system files.

Last edited by directore; 2008-04-02 at 19:19.