|
Edited by loboris at 2015-10-12 11:41
I have only one line in /etc/udev/rules.d/70-persistent-net.rules
(the lines with # are comments)
orangepi@OrangePI:~$ cat /etc/udev/rules.d/70-persistent-net.rules
- # This file was automatically generated by the /lib/udev/write_net_rules
- # program, run by the persistent-net-generator.rules rules file.
- #
- # You can modify it, as long as you keep each rule on a single
- # line, and change only the value of the NAME= key.
- # Unknown net device (/devices/platform/sunxi-mmc.1/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan0) (rtl8189es)
- SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
Copy code Replace "xx:xx:xx:xx:xx:xx" with your MAC address.
|
|