Op zondag 26 november 2017 18:52:01 CET schreef Matwey V. Kornilov:
Currently, I have two issues. MAC addr are different after each reboot.
Link auto-detection either not work or not supposed to work.
You can edit a file /etc/systemd/system/macspoof@.service with following
content:
[Unit]
Description=MAC Address Change %I
Wants=network-pre.target
Before=network-pre.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=oneshot
ExecStart=/usr/sbin/ip link set dev %i address
ExecStart=/usr/sbin/ip link set dev %i up
[Install]
WantedBy=multi-user.target
--------------------
Where you enter a MAC address at you saw previously.
After that you give the command (on one line) in case the device name for the
Ethernet device is eth0:
ln -s /etc/systemd/system/macspoof@.service /mnt/ll/etc/systemd/system/multi-
user.target.wants/macspoof@eth0.service
--
fr.gr.
Freek de Kruijf
member openSUSE
--
To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-arm+owner@opensuse.org