This is from How can I set mac address using the command line in Ubuntu 16.04? , where I cannot contact the_velour_fog
I have this same problem but im stuck with the solution adonis proposed:
nmcli connection modify --temporary 802-11-wireless.cloned-mac-address 00:60:1B:EB:F8:73
Is this a command? What do I write instead of connection_name
? I don't know where to find it.
nmcli connection up
If this is a whole command, do I &&
between them?
Yes, "nmcli" is a command. It's a shortened version of NetworkManager command-line interface. You can find it by using the "which" command, like this (but it should already be in your PATH)
The 'connection name' will be something you created previously. Your connections could be created from the command-line, but I usually just use the GUI to create them (especially wireless connections.) You can list your connections with the command "nmcli connection show" or the abbreviated way "nmcli c s" Here is an example of my connections...
Finally, you need to execute the commands in order, one after the other. You could use && to do that, if you want to create a long single-line command. I usually just create a small script file to make things easier. Here is my example.
You can either do a one whole command with && or in order. < Connection name > is the name of the wifi you are currently connected too. You dont have to input <> just the string name ex. MyWifi