1. Create new file
/etc/udev/rules.d/10-network-device.rules
with following line
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="xx:xx:xx:xx:xx:xx", NAME="wlanX"
Replacing xx:xx:xx:xx:xx:xx with your device's lowercase mac address (found with ip link) and wlanX with whatever name you choose.
2.Test
iwconfig
wlan0 IEEE 802.11 Mode:Master Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
rndis0 no wireless extensions.
lo no wireless extensions.
l4tbr0 no wireless extensions.
wlan9 unassociated ESSID:"" Nickname:"<WIFI@REALTEK>"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/100 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
dummy0 no wireless extensions.
usb0 no wireless extensions.
eth0 no wireless extensions.
沒有留言:
張貼留言