I have changed my MAC address in my Linux machine using ifconfig. Now the problem is I have not saved my original MAC address. I want to restore it without rebooting.
Is there a way to do it?
|
I have changed my MAC address in my Linux machine using Is there a way to do it? |
||||
|
[rooted] assuming wlan0 ...(to find driver)
...(to restart driver)
This is how I do it. I made a script for this and use it with a couple of my programs. If that's the route you take, put a 'time.sleep(3)' {or whatever sleep command} before bringing the interface back up. |
||||
|
|
|
Assuming eth1:
could find something in the logs {daemon,kern,syslog}.log on my system. |
|||
|
|
|
Maybe try removing then installing the module again?
Or maybe dropping the interface and bringing it back up?
|
|||||||||||
|
sudo ifdown interface && sudo ifup interfaceOr maybe:sudo /etc/init.d/networking restart– emb1995 Jun 16 '11 at 15:25