Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

toast@donotsta.reT

toast@donotsta.re

@toast@donotsta.re
About
Posts
5
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • i love alcohol
    toast@donotsta.reT toast@donotsta.re
    @Lilith what kinda wine 🤔
    so far I've only had one wine I ended up enjoying
    Uncategorized

  • i love alcohol
    toast@donotsta.reT toast@donotsta.re
    @Lilith what is lilith's favorite alcohol
    Uncategorized

  • That's a new one.
    toast@donotsta.reT toast@donotsta.re

    @domi @azonenberg@ioc.exchange hello from enx5847[censored]
    I was going to go into the deep end but turns out the same script used for "predictable inames" actually exports this information too, but never uses it in the default script
    looks like so to get this working:

    ACTION!="add", GOTO="net_name_slot_end"
    SUBSYSTEM!="net", GOTO="net_name_slot_end"
    NAME!="", GOTO="net_name_slot_end"
    
    IMPORT{cmdline}="net.ifnames"
    ENV{net.ifnames}=="0", GOTO="net_name_slot_end"
    
    NAME=="", ENV{ID_NET_NAME_MAC}!="", NAME="$env{ID_NET_NAME_MAC}"
    
    LABEL="net_name_slot_end"
    

    save as /etc/udev/rules.d/80-net-name-slot.rules
    the line starting with NAME=="" is the only important one realistically
    it does look like $attr{address} should also match but then you have to add the en/wl/etc prefix yourself (which could probably be done using KERNEL==… I might poke at that after my meeting)

    Uncategorized

  • That's a new one.
    toast@donotsta.reT toast@donotsta.re
    @domi @azonenberg hmm, you might be able to? cursory reading of udev(7) suggests ATTR{} is a thin layer over sysfs, and in sysfs you have device/address which contains the MAC…
    Uncategorized

  • That's a new one.
    toast@donotsta.reT toast@donotsta.re
    @domi @azonenberg I should write this udev rule :^) (actually can you? I'm not sure udev is mac-aware)
    Uncategorized
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups