Dill Posted January 18, 2014 Share Posted January 18, 2014 Hello, I'd like to hide original pineapple mac addresses, even after a reboot. Of course, by defaut eth0, wlan0 and br-lan have the same mac address (00:13:37:A5:0F:01). So I added in /etc/init.d/network, in start() function : macchanger --mac=01:02:03:04:05:06 eth0 macchanger --mac=01:02:03:04:05:06 wlan0 ...where 01:02:03:04:05:06 is the new mac address I chose. At reboot, the eth0 and br-lan interfaces are well configured, with the 01:02:03:04:05:06 mac address. But the wlan0 interface keeps it's original mac address (00:13:37:A5:0F:01). :( So I tried to fix the wlan0 mac address in /etc/config/wireless, and I used : config wifi-device 'radio0' option type 'mac80211' option hwmode '11ng' option macaddr '01:02:03:04:05:06' [...] But after a reboot the wlan0 interface keeps it's original mac address (00:13:37:A5:0F:01), and in the file /etc/config/wireless new configurations were automatically added at the bottom : config wifi-device 'radio2' option type 'mac80211' option hwmode '11ng' option macaddr '00:13:37:A5:0F:01' [...] config wifi-iface option device 'radio2' [...] So, how to fix the mac address for wlan0, even after a reboot ? Regards. Quote Link to comment Share on other sites More sharing options...
xrad Posted January 18, 2014 Share Posted January 18, 2014 Hey Dill try this........ https://forums.hak5.org/index.php?/topic/30827-jjds-mac-changing-script/ Quote Link to comment Share on other sites More sharing options...
zz2Fac3zz Posted January 18, 2014 Share Posted January 18, 2014 It could set your script to a dip switch that would be kinda cool. Quote Link to comment Share on other sites More sharing options...
Dill Posted January 18, 2014 Author Share Posted January 18, 2014 Hi, Thanks you ! That's perfect. It works as requested. Have a good day ! PS: for those who just want the simplicity, in the /etc/config/wireless write the option macaddr '01:02:03:04:05:06' not in the config wifi-device 'radio0' but write it in the config wifi-iface section corresponding to radio0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.