Liste des Groupes | Revenir à cs raspberry-pi |
On 9/15/2024 4:53 PM, Lawrence D'Oliveiro wrote:After logged in with SSH, you *are using* an interactive command.On Sun, 15 Sep 2024 22:08:07 -0000 (UTC), I wrote:Running headless, using ssh to login, I cannot use an interactive command to do this. Does this information live in a configuration file somewhere under /etc?
>On Sat, 14 Sep 2024 22:31:58 -0000 (UTC), I wrote:>
>Or, a quick look at the docs>
<https://manpages.debian.org/8/ip-link.8.en.html> gives
>
ip link set «device» address «addr»
Actually, I think it might be
>
ip link set «device» macaddr ...
No, it is in fact the first form. Note that the link must be down before
you can change its MAC address.
>
Also if you set this to a non-default value, “ip link show” will show that
default value as the “permaddr”. So you can easily set it back to that.
And the difference between raspian (a Debian derivative) and Fedora (which uses systemd) *does* make a difference.
Les messages affichés proviennent d'usenet.