|
Edited by jacer at 2015-10-11 23:53
- root@OrangePI:~# iwconfig
- gre0 no wireless extensions.
- lo no wireless extensions.
- tunl0 no wireless extensions.
- wlan1 IEEE 802.11abgn ESSID:"Cobra"
- Mode:Managed Frequency:2.412 GHz Access Point: xx:xx:xx:xx:xx:xx
- Bit Rate=150 Mb/s Tx-Power=12 dBm
- Retry long limit:7 RTS thr:off Fragment thr:off
- Encryption key:off
- Power Management:on
- Link Quality=65/70 Signal level=-45 dBm
- Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
- Tx excessive retries:0 Invalid misc:0 Missed beacon:0
- sit0 no wireless extensions.
- eth0 no wireless extensions.
- <font color="#ff0000">rename7 IEEE 802.11abgn ESSID:off/any </font>
- Mode:Managed Access Point: Not-Associated Tx-Power=12 dBm
- Retry long limit:7 RTS thr:off Fragment thr:off
- Encryption key:off
Copy code- 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="<font color="#ff0000">wlan0</font>"
- # USB device 0x:0x (rtl8188eu)
- SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:x0:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="<font color="#ff0000">wlan1</font>"
Copy code rename7 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:263 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan1 Link encap:Ethernet HWaddr 02:e0:4c:1f:a3:7d
inet addr:192.168.99.103 Bcast:192.168.99.255 Mask:255.255.255.0
inet6 addr: xx:xx:xx:xx:xx:xx/64 Scope ink
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3664 errors:0 dropped:57 overruns:0 frame:0
TX packets:4564 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:613523 (613.5 KB) TX bytes:1130794 (1.1 MB)
|
|