The file /etc/udev/rules.d/75-persistent-net-generator.rules contains a rule for ath* devices that runs persistent_net_generator_do. With wlanconfig the user specifies the device name. wlanconfig returns the specified device name, but udev renames it, so scripts subsequently fail. Other reports: http://www.aircrack-ng.org/doku.php?id=airmon-ng&DokuWiki=37069e1b377f07ac7ee0ace5c1a6f802 http://madwifi.org/ticket/972#comment:12 Solution appears to be to remove ath* from 75-persistent-net-generator.rules The problem may also exist in later udev versions, I haven't checked.
*** This bug has been marked as a duplicate of bug 173540 ***