You are not logged in.
Pages: 1
So I am trying to rename a wifi interface TP-Link WN722N via udev. I have tried several different methods from the Arch Wiki. I have not had any success yet. The trick with this is that it has a dynamic mac address. Also the device path changes every boot. Any help would me very much appreciated!!!!!
Edit: Also forgot to mention I am using the drivers here:
https://github.com/AIRCRACK-NG/RTL8188EUS
Here is what I've tried:
Created 10-network.rules file with:
SUBSYSTEM=="net", ATTR{idVendor}=="2357", ATTR{idProduct}=="010c", NAME="wifi0"I also tried this, however, I am not sure that I did it right and I also have wireless NIC builtin so I am not sure how this one would work:
SUBSYSTEM=="net", DEVPATH=="/devices/pci*/*1c.0/*/net/*", NAME="wifi0"Here is some system information:
Output from uname -a:
Linux archielap 5.5.4-arch1-1 #1 SMP PREEMPT Sat, 15 Feb 2020 00:36:29 +0000 x86_64 GNU/LinuxOutput from udevadm monitor (when I unplug and plug back in):
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[11187.685076] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/rx-3 (queues)
KERNEL[11187.685188] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/rx-2 (queues)
KERNEL[11187.685235] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/rx-1 (queues)
KERNEL[11187.685276] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/rx-0 (queues)
KERNEL[11187.685314] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/tx-3 (queues)
KERNEL[11187.685350] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/tx-2 (queues)
KERNEL[11187.685384] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/tx-1 (queues)
KERNEL[11187.685488] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/tx-0 (queues)
KERNEL[11187.685565] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1 (net)
KERNEL[11187.704454] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/ieee80211/phy8/rfkill12 (rfkill)
KERNEL[11187.724818] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/ieee80211/phy8 (ieee80211)
KERNEL[11187.741465] unbind /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0 (usb)
KERNEL[11187.741802] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/wakeup/wakeup32 (wakeup)
KERNEL[11187.741899] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0 (usb)
KERNEL[11187.742729] unbind /devices/pci0000:00/0000:00:10.0/usb2/2-1 (usb)
KERNEL[11187.742810] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1 (usb)
UDEV [11187.791812] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/rx-3 (queues)
UDEV [11187.792570] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/rx-2 (queues)
UDEV [11187.793400] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/rx-1 (queues)
UDEV [11187.794061] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/rx-0 (queues)
UDEV [11187.795077] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/tx-0 (queues)
UDEV [11187.795472] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/tx-3 (queues)
UDEV [11187.795517] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/tx-2 (queues)
UDEV [11187.795779] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1/queues/tx-1 (queues)
UDEV [11187.796741] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/ieee80211/phy8/rfkill12 (rfkill)
UDEV [11187.797513] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1 (net)
UDEV [11187.797820] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/ieee80211/phy8 (ieee80211)
UDEV [11187.799445] unbind /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0 (usb)
UDEV [11187.801009] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/wakeup/wakeup32 (wakeup)
UDEV [11187.802140] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0 (usb)
UDEV [11187.804521] unbind /devices/pci0000:00/0000:00:10.0/usb2/2-1 (usb)
UDEV [11187.807483] remove /devices/pci0000:00/0000:00:10.0/usb2/2-1 (usb)
KERNEL[11189.968424] add /devices/pci0000:00/0000:00:10.0/usb2/2-1 (usb)
KERNEL[11189.971319] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0 (usb)
KERNEL[11190.036263] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/wakeup/wakeup32 (wakeup)
KERNEL[11190.036362] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/ieee80211/phy9 (ieee80211)
KERNEL[11190.036422] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/ieee80211/phy9/rfkill13 (rfkill)
KERNEL[11190.037021] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0 (net)
KERNEL[11190.037077] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/rx-0 (queues)
KERNEL[11190.037113] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/rx-1 (queues)
KERNEL[11190.037151] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/rx-2 (queues)
KERNEL[11190.037188] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/rx-3 (queues)
KERNEL[11190.037222] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/tx-0 (queues)
KERNEL[11190.037254] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/tx-1 (queues)
KERNEL[11190.037288] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/tx-2 (queues)
KERNEL[11190.037322] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/tx-3 (queues)
KERNEL[11190.037401] bind /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0 (usb)
KERNEL[11190.039369] bind /devices/pci0000:00/0000:00:10.0/usb2/2-1 (usb)
UDEV [11190.059556] add /devices/pci0000:00/0000:00:10.0/usb2/2-1 (usb)
UDEV [11190.063739] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0 (usb)
UDEV [11190.066695] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/wakeup/wakeup32 (wakeup)
UDEV [11190.066855] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/ieee80211/phy9 (ieee80211)
UDEV [11190.070499] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/ieee80211/phy9/rfkill13 (rfkill)
KERNEL[11190.073604] move /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1 (net)
UDEV [11190.116174] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1 (net)
UDEV [11190.119206] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/rx-2 (queues)
UDEV [11190.120154] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/tx-0 (queues)
UDEV [11190.121193] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/rx-3 (queues)
UDEV [11190.121639] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/rx-1 (queues)
UDEV [11190.121680] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/tx-1 (queues)
UDEV [11190.123664] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/rx-0 (queues)
UDEV [11190.123882] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/tx-2 (queues)
UDEV [11190.125423] add /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlan0/queues/tx-3 (queues)
UDEV [11190.127410] bind /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0 (usb)
UDEV [11190.137997] bind /devices/pci0000:00/0000:00:10.0/usb2/2-1 (usb)
UDEV [11191.202166] move /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1 (net)Output from udevadm info:
P: /devices/pci0000:00/0000:00:03.1/0000:01:00.1/net/enp1s0f1
L: 0
E: DEVPATH=/devices/pci0000:00/0000:00:03.1/0000:01:00.1/net/enp1s0f1
E: INTERFACE=enp1s0f1
E: IFINDEX=2
E: SUBSYSTEM=net
E: USEC_INITIALIZED=13842307
E: ID_NET_NAMING_SCHEME=v243
E: ID_NET_NAME_MAC=enxf0761c2f0c26
E: ID_OUI_FROM_DATABASE=COMPAL INFORMATION (KUNSHAN) CO., LTD.
E: ID_NET_NAME_PATH=enp1s0f1
E: ID_BUS=pci
E: ID_VENDOR_ID=0x10ec
E: ID_MODEL_ID=0x8168
E: ID_PCI_CLASS_FROM_DATABASE=Network controller
E: ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller
E: ID_VENDOR_FROM_DATABASE=Realtek Semiconductor Co., Ltd.
E: ID_MODEL_FROM_DATABASE=RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
E: ID_PATH=pci-0000:01:00.1
E: ID_PATH_TAG=pci-0000_01_00_1
E: ID_NET_DRIVER=r8169
E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/enp1s0f1
E: TAGS=:systemd:
P: /devices/virtual/net/lo
L: 0
E: DEVPATH=/devices/virtual/net/lo
E: INTERFACE=lo
E: IFINDEX=1
E: SUBSYSTEM=net
E: USEC_INITIALIZED=13188606
E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link
P: /devices/virtual/net/tun0
L: 0
E: DEVPATH=/devices/virtual/net/tun0
E: INTERFACE=tun0
E: IFINDEX=10
E: SUBSYSTEM=net
E: USEC_INITIALIZED=9010674238
E: ID_NET_DRIVER=tun
E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/tun0
E: TAGS=:systemd:
P: /devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1
L: 0
E: DEVPATH=/devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/net/wlp0s16f0u1
E: DEVTYPE=wlan
E: INTERFACE=wlp0s16f0u1
E: IFINDEX=14
E: SUBSYSTEM=net
E: USEC_INITIALIZED=11190096522
E: ID_NET_NAMING_SCHEME=v243
E: ID_NET_NAME_MAC=wlx34e894e2c2bb
E: ID_OUI_FROM_DATABASE=TP-LINK TECHNOLOGIES CO.,LTD.
E: ID_NET_NAME_PATH=wlp0s16f0u1
E: ID_VENDOR=Realtek
E: ID_VENDOR_ENC=Realtek
E: ID_VENDOR_ID=2357
E: ID_MODEL=802.11n_NIC
E: ID_MODEL_ENC=802.11n\x20NIC
E: ID_MODEL_ID=010c
E: ID_REVISION=0000
E: ID_SERIAL=Realtek_802.11n_NIC_00E04C0001
E: ID_SERIAL_SHORT=00E04C0001
E: ID_TYPE=generic
E: ID_BUS=usb
E: ID_USB_INTERFACES=:ffffff:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=8188eu
E: ID_VENDOR_FROM_DATABASE=TP-Link
E: ID_MODEL_FROM_DATABASE=TL-WN722N v2
E: ID_PATH=pci-0000:00:10.0-usb-0:1:1.0
E: ID_PATH_TAG=pci-0000_00_10_0-usb-0_1_1_0
E: ID_NET_DRIVER=8188eu
E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link
E: ID_NET_NAME=wlp0s16f0u1
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/wlp0s16f0u1 /sys/subsystem/net/devices/wlp0s16f0u1
E: TAGS=:systemd:
P: /devices/pci0000:00/0000:00:03.2/0000:02:00.0/net/wlp2s0
L: 0
E: DEVPATH=/devices/pci0000:00/0000:00:03.2/0000:02:00.0/net/wlp2s0
E: DEVTYPE=wlan
E: INTERFACE=wlp2s0
E: IFINDEX=4
E: SUBSYSTEM=net
E: USEC_INITIALIZED=15318840
E: ID_NET_NAMING_SCHEME=v243
E: ID_NET_NAME_MAC=wlx1008b18b1643
E: ID_OUI_FROM_DATABASE=Hon Hai Precision Ind. Co.,Ltd.
E: ID_NET_NAME_PATH=wlp2s0
E: ID_BUS=pci
E: ID_VENDOR_ID=0x168c
E: ID_MODEL_ID=0x0036
E: ID_PCI_CLASS_FROM_DATABASE=Network controller
E: ID_PCI_SUBCLASS_FROM_DATABASE=Network controller
E: ID_VENDOR_FROM_DATABASE=Qualcomm Atheros
E: ID_MODEL_FROM_DATABASE=QCA9565 / AR9565 Wireless Network Adapter
E: ID_PATH=pci-0000:02:00.0
E: ID_PATH_TAG=pci-0000_02_00_0
E: ID_NET_DRIVER=ath9k
E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link
E: ID_NET_NAME=wlp2s0
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/wlp2s0 /sys/subsystem/net/devices/wlp2s0
E: TAGS=:systemd:Output from journalctl -f (when I unplug and plug back in):
-- Logs begin at Fri 2020-02-21 02:13:36 EST. --
Mar 06 16:59:39 archielap audit[3818]: USER_AUTH pid=3818 uid=1000 auid=1000 ses=3 msg='op=PAM:authentication grantors=pam_unix,pam_permit acct="aether" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 06 16:59:39 archielap audit[3818]: USER_ACCT pid=3818 uid=1000 auid=1000 ses=3 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="aether" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 06 16:59:39 archielap sudo[3818]: aether : TTY=pts/0 ; PWD=/usr/lib/udev/rules.d ; USER=root ; COMMAND=/usr/bin/journalctl -f
Mar 06 16:59:39 archielap kernel: audit: type=1100 audit(1583531979.141:179): pid=3818 uid=1000 auid=1000 ses=3 msg='op=PAM:authentication grantors=pam_unix,pam_permit acct="aether" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 06 16:59:39 archielap kernel: audit: type=1101 audit(1583531979.141:180): pid=3818 uid=1000 auid=1000 ses=3 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="aether" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 06 16:59:39 archielap kernel: audit: type=1110 audit(1583531979.141:181): pid=3818 uid=0 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 06 16:59:39 archielap audit[3818]: CRED_REFR pid=3818 uid=0 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 06 16:59:39 archielap sudo[3818]: pam_unix(sudo:session): session opened for user root by (uid=0)
Mar 06 16:59:39 archielap kernel: audit: type=1105 audit(1583531979.151:182): pid=3818 uid=0 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 06 16:59:39 archielap audit[3818]: USER_START pid=3818 uid=0 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 06 16:59:43 archielap kernel: usb 2-1: USB disconnect, device number 9
Mar 06 16:59:43 archielap NetworkManager[416]: <info> [1583531983.1620] device (wlp0s16f0u1): state change: disconnected -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Mar 06 16:59:43 archielap NetworkManager[416]: <info> [1583531983.1781] device (p2p-dev-wlp0s16f0u1): state change: disconnected -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Mar 06 16:59:43 archielap systemd[1]: Starting Load/Save RF Kill Switch Status...
Mar 06 16:59:43 archielap wpa_supplicant[462]: nl80211: deinit ifname=wlp0s16f0u1 disabled_11b_rates=0
Mar 06 16:59:43 archielap systemd[1]: Started Load/Save RF Kill Switch Status.
Mar 06 16:59:43 archielap audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 16:59:43 archielap kernel: audit: type=1130 audit(1583531983.200:183): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 16:59:43 archielap gnome-shell[903]: Removing a network device that was not added
Mar 06 16:59:43 archielap NetworkManager[416]: <info> [1583531983.2724] radio killswitch /sys/devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/ieee80211/phy8/rfkill12 disappeared
Mar 06 16:59:44 archielap dbus-daemon[415]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.1330' (uid=974 pid=3832 comm="/usr/lib/colord-sane ")
Mar 06 16:59:44 archielap dbus-daemon[415]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
Mar 06 16:59:45 archielap kernel: usb 2-1: new high-speed USB device number 10 using xhci_hcd
Mar 06 16:59:45 archielap kernel: usb 2-1: New USB device found, idVendor=2357, idProduct=010c, bcdDevice= 0.00
Mar 06 16:59:45 archielap kernel: usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 06 16:59:45 archielap kernel: usb 2-1: Product: 802.11n NIC
Mar 06 16:59:45 archielap kernel: usb 2-1: Manufacturer: Realtek
Mar 06 16:59:45 archielap kernel: usb 2-1: SerialNumber: 00E04C0001
Mar 06 16:59:45 archielap kernel: bFWReady == _FALSE call reset 8051...
Mar 06 16:59:45 archielap NetworkManager[416]: <info> [1583531985.5134] device (wlan0): driver supports Access Point (AP) mode
Mar 06 16:59:45 archielap NetworkManager[416]: <info> [1583531985.5145] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/23)
Mar 06 16:59:45 archielap mtp-probe[3837]: checking bus 2, device 10: "/sys/devices/pci0000:00/0000:00:10.0/usb2/2-1"
Mar 06 16:59:45 archielap mtp-probe[3837]: bus: 2, device: 10 was not an MTP device
Mar 06 16:59:45 archielap systemd-udevd[3828]: Using default interface naming scheme 'v243'.
Mar 06 16:59:45 archielap NetworkManager[416]: <info> [1583531985.5458] rfkill13: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:10.0/usb2/2-1/2-1:1.0/ieee80211/phy9/rfkill13) (driver 8188eu)
Mar 06 16:59:45 archielap systemd-udevd[3828]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Mar 06 16:59:45 archielap kernel: 8188eu 2-1:1.0 wlp0s16f0u1: renamed from wlan0
Mar 06 16:59:45 archielap NetworkManager[416]: <info> [1583531985.5729] device (wlan0): interface index 14 renamed iface from 'wlan0' to 'wlp0s16f0u1'
Mar 06 16:59:45 archielap NetworkManager[416]: <info> [1583531985.5930] device (wlp0s16f0u1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 06 16:59:45 archielap mtp-probe[3843]: checking bus 2, device 10: "/sys/devices/pci0000:00/0000:00:10.0/usb2/2-1"
Mar 06 16:59:45 archielap mtp-probe[3843]: bus: 2, device: 10 was not an MTP device
Mar 06 16:59:45 archielap systemd-udevd[3827]: Using default interface naming scheme 'v243'.
Mar 06 16:59:46 archielap kernel: ==> rtl8188e_iol_efuse_patch
Mar 06 16:59:46 archielap kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s16f0u1: link becomes ready
Mar 06 16:59:46 archielap NetworkManager[416]: <info> [1583531986.6881] device (wlp0s16f0u1): set-hw-addr: set MAC address to 76:F6:9D:CD:A0:CD (scanning)
Mar 06 16:59:46 archielap NetworkManager[416]: <info> [1583531986.7666] sup-iface[0x55f5d1d83cf0,wlp0s16f0u1]: supports 5 scan SSIDs
Mar 06 16:59:46 archielap NetworkManager[416]: <info> [1583531986.7686] device (wlp0s16f0u1): supplicant interface state: starting -> ready
Mar 06 16:59:46 archielap NetworkManager[416]: <info> [1583531986.7688] Wi-Fi P2P device controlled by interface wlp0s16f0u1 created
Mar 06 16:59:46 archielap NetworkManager[416]: <info> [1583531986.7696] manager: (p2p-dev-wlp0s16f0u1): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/Devices/24)
Mar 06 16:59:46 archielap NetworkManager[416]: <info> [1583531986.7707] device (p2p-dev-wlp0s16f0u1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 06 16:59:46 archielap NetworkManager[416]: <info> [1583531986.7742] device (p2p-dev-wlp0s16f0u1): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Mar 06 16:59:46 archielap NetworkManager[416]: <info> [1583531986.7757] device (wlp0s16f0u1): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Mar 06 16:59:46 archielap NetworkManager[416]: <warn> [1583531986.7905] sup-iface: failed to cancel p2p connect: P2P cancel failed
Mar 06 16:59:47 archielap dbus-daemon[415]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.1331' (uid=974 pid=3832 comm="/usr/lib/colord-sane ")
Mar 06 16:59:47 archielap dbus-daemon[415]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
Mar 06 16:59:50 archielap systemd[1]: systemd-rfkill.service: Succeeded.
Mar 06 16:59:50 archielap audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 06 16:59:50 archielap kernel: audit: type=1131 audit(1583531990.550:184): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'Output from udevadm --debug test /sys/class/net/*
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
DEVPATH=/devices/pci0000:00/0000:00:03.1/0000:01:00.1/net/enp1s0f1
INTERFACE=enp1s0f1
IFINDEX=2
ACTION=add
SUBSYSTEM=net
ID_NET_NAMING_SCHEME=v243
ID_NET_NAME_MAC=enxf0761c2f0c26
ID_OUI_FROM_DATABASE=COMPAL INFORMATION (KUNSHAN) CO., LTD.
ID_NET_NAME_PATH=enp1s0f1
ID_BUS=pci
ID_VENDOR_ID=0x10ec
ID_MODEL_ID=0x8168
ID_PCI_CLASS_FROM_DATABASE=Network controller
ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller
ID_VENDOR_FROM_DATABASE=Realtek Semiconductor Co., Ltd.
ID_MODEL_FROM_DATABASE=RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
ID_PATH=pci-0000:01:00.1
ID_PATH_TAG=pci-0000_01_00_1
ID_NET_DRIVER=r8169
ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link
TAGS=:systemd:
SYSTEMD_ALIAS=/sys/subsystem/net/devices/enp1s0f1
USEC_INITIALIZED=13842307
run: '/usr/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/enp1s0f1 --prefix=/net/ipv4/neigh/enp1s0f1 --prefix=/net/ipv6/conf/enp1s0f1 --prefix=/net/ipv6/neigh/enp1s0f1'Output from systemctl list-unit-files | grep enabled
org.cups.cupsd.path enabled
autovt@.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dbus-org.freedesktop.timesync1.service enabled
display-manager.service enabled
gdm.service enabled
getty@.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager-wait-online.service enabled
NetworkManager.service enabled
org.cups.cupsd.service enabled
sshd.service enabled
systemd-fsck-root.service enabled-runtime
systemd-remount-fs.service enabled-runtime
systemd-timesyncd.service enabled
org.cups.cupsd.socket enabled
remote-fs.target enabled Output from ip link:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether f0:76:1c:2f:0c:26 brd ff:ff:ff:ff:ff:ff
4: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
link/ether 10:08:b1:8b:16:43 brd ff:ff:ff:ff:ff:ff
10: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 100
link/none
14: wlp0s16f0u1: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state DORMANT mode DORMANT group default qlen 1000
link/ether 4a:8c:84:d8:20:ae brd ff:ff:ff:ff:ff:ffLast edited by kalix (2020-03-06 22:55:51)
Offline
Hi!
Looks like your renaming works, but you're using NetworkManager which renames it again:
Mar 06 16:59:45 archielap NetworkManager[416]: <info> [1583531985.5729] device (wlan0): interface index 14 renamed iface from 'wlan0' to 'wlp0s16f0u1'
Try to use a rule with a higher number, create a custom link file or disable renaming via kernel options. See PredictableNetworkInterfaceNames for more details.
Offline
I will try this, thank you for seeing that. I worked on this for hours and seem to have missed that detail. I will what you suggested.
Offline
Pages: 1