From e22eb2d21c15a0053178b88c8b9444d0d05e9af1 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 8 Dec 2009 14:48:22 -0800 Subject: Keep udev from borking wireless device names If second wlan device is created (for multiple ssid), then udev rules don't know how to handle it. For now, just accept what kernel gives us. --- sysconf/vyatta-net.rules | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sysconf') diff --git a/sysconf/vyatta-net.rules b/sysconf/vyatta-net.rules index a215c325..a94f5b2a 100644 --- a/sysconf/vyatta-net.rules +++ b/sysconf/vyatta-net.rules @@ -9,5 +9,12 @@ KERNEL=="eth*", DRIVERS=="?*",\ PROGRAM="vyatta_net_name %k $attr{address}", \ NAME="%c" +# This keeps udev persistent net rules from trying to do anything +# with multiple SSID's per device +# TODO: Add proper persistent network based on Vyatta config +# but right now there is insufficient info in sysfs to uniquely +# determine device name based on hardware information +KERNEL=="wlan*", DRIVERS=="?*", NAME="%k" + LABEL="vyatta_net_end" -- cgit v1.2.3