You are not logged in.
Pages: 1
Hi all, I use the feature of network manager available in other distro's to spoof my mac address to differentiate from each os on my system for example
debian stable is spoofed to aa:bb:cc:00:11:01
debian testing is spoofed to aa:bb:cc:00:11:02
etc...
this way I can assign unique ip addresses to each mac address via my router setup
I find this the easiest way to get rsa keys working correctly for all distros which I use when ssh-ing in and out of different boxes. The problem is setting a mac address for my wired connection, I cannot find a file to add the relevant code.
On the wifi connection there is a file in /etc/NetworkManager/system-connections/ with the name of the wifi connection that I can modify to accept a cloned mac address, but I cannot find anything for the wired connection.
Am I looking in the wrong place or does the network manager just have a default setup that cannot be altered?
Any help appreciated
Dai
Offline
Ok it's been a week and no replies/comments. Is this possible with q4os? Any suggestions @q4osteam
Dai
Offline
I found this, I hope it helps:
"To make the change permanent on Debian-based systems, add "pre-up ifconfig NIC hw ether 00:00:00:00:00:00" to /etc/network/interfaces and then reboot. To undo this permanent change, remove that line from the file, or comment it out using "#" "
Source of this info: http://www.linux.org/threads/view-and-c … sses.8166/
No Longer Using Q4OS
Offline
Thanks bobby, didn't think to look at debian fixes as my debian installations all use network manager. I'll try that now
Dai
Offline
That didn't work, I can change it from command line so will probably end up using a script on boot to do it... Although I am looking at the scripts in /etc/network/interfaces.d/ to see if they might hold some clues. But thanks anyways
Dai
Offline
The job should be doable directly from Network manager command line, look at:
$ man nmcli
You could try to install Network Manager from Software centre too.
Offline
Thanks @q4osteam I will look at nmcli as I am trying to do as much as possible with just q4os specific utils, but if all else fails I guess I could resort to network manager.
Dai
Offline
Just in case anyone else needs to do this, I ended up installing network manager from Software Centre and everything is now working as I want it. Thanks again q4osteam.
Dai
Offline
Pages: 1