View Single Post
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#561
Originally Posted by mautz View Post
You can set the mac with 'ip link set dev wlan address $MAC'. But this is only a workaround.

You could try to put this with your mac in init.hammerhead.rc for example, nd try if this works.
That command does not work

I created this script
/usr/bin/fixed_mac

HTML Code:
ifconfig wlan0 hw ether 00:90:4C:E1:87:FF
and service

HTML Code:
[Unit]
Description=fixed_mac address

[Service]
Type=oneshot
ExecStart=/usr/bin/fixed_mac

[Install]
WantedBy=multi-user.target
Now mac address is fixed but after reboot wifi still does not connect and asks password, after this it changes ip address.
 

The Following User Says Thank You to matemana For This Useful Post: