[systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

Kay Sievers kay at vrfy.org
Sun Mar 15 10:36:01 PDT 2015


On Sun, Mar 15, 2015 at 4:07 PM, Thomas Richter <thor at math.tu-berlin.de> wrote:
> On 15.03.2015 15:38, Kay Sievers wrote:
>
>> grep ./sys/class/net/*/name_assign_type
>
> grep: /sys/class/net/eth0/name_assign_type: Invalid argument
> grep: /sys/class/net/lo/name_assign_type: Invalid argument
> grep: /sys/class/net/wifi0/name_assign_type: Invalid argument
> grep: /sys/class/net/wlan0/name_assign_type: Invalid argument
>
> Thus, apparently, nothing useful right now. This is run as root, and I
> currently fixed /etc/udev/rules.d/70-persistent-net.rules manually to get
> wifi0 and wlan0 as above.
>
> This is a Debian wheezy, with a custom 3.18.7 kernel. The original debian
> kernel is too old (yes, really!) for this old laptop as it did not support
> the i830 graphics reliably.

The kernel driver can tell userspace what kind of name it used to
create the device. Maybe the driver you use add that information.

Here is the relevant kernel side:
  http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=685343fc3ba61a1f6eef361b786601123db16c28

Kay


More information about the systemd-devel mailing list