Hi Frederic, On ma, 2014-12-01 at 15:51 +0100, [email protected] wrote: > Hello all, > > I'd like to predefine the name on one of my network interface using udev > rule but get an error as usb0 is already in use probably by connmand.
Why do you think it is connmand? Connman just gets rtnl events when interface name is changed (usually by systemd-udevd) and tries to avoid using the interface name because the name can change (interface index is used instead in the code). > Any advice how to make it work ? > > Here the extract on udevadm test /sys/class/net/usb0 > ... > NAME 'usb_s5' /usr/lib/udev/rules.d/80-net-name-slot.rules:16 > RUN '/usr/lib/systemd/systemd-sysctl > --prefix=/proc/sys/net/ipv4/conf/$name > --prefix=/proc/sys/net/ipv4/neigh/$name > --prefix=/proc/sys/net/ipv6/conf/$name > --prefix=/proc/sys/net/ipv6/neigh/$name' > /usr/lib/udev/rules.d/99-systemd.rules:52 > changing net interface name from 'usb0' to 'usb_s5' > error changing net interface name usb0 to usb_s5: Device or resource busy > ... > > fred Cheers, Jukka _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
