# 檢測WIFI

## NoteBook的WIFI設備

### Wireless 7260 (Dual Band Wireless-N 7260)=>802.11an

```bash
iwlist [interface] scanning [essid NNN] [last]
              [interface] frequency
              [interface] channel
              [interface] bitrate
              [interface] rate
              [interface] encryption
              [interface] keys
              [interface] power
              [interface] txpower
              [interface] retry
              [interface] ap
              [interface] accesspoints
              [interface] peers
              [interface] event
              [interface] auth
              [interface] wpakeys
              [interface] genie
              [interface] modulation
```

```bash
watch -n 1 cat /proc/net/wireless
```

```bash
iwconfig wlp4s0 | grep -i --color signal
          Link Quality=70/70  Signal level=-20 dBm
```

nmcli -f "CHAN,BARS,SIGNAL,SSID" d wifi list ifname wlp4s0 | sort -n CHAN BARS SIGNAL SSID\
1 ▂▄ **44 GAQIOT**\
**3 ▂\_** 29 DLINK-3F\
4 ▂▄ **37 TN-Edu-4G-0077**\
**6 ▂▄▆█ 100 redmi**\
**6 ▂▄** 44 TN-Teacher\
6 ▂▄ **45 eduroam**\
**6 ▂▄** 47 TN-Center-iot\
11 ▂**\_ 24 TANetRoaming**\
**11 ▂▄** 40 TN-Center-iot\
11 ▂▄ **44 eduroam**\
**11 ▂▄** 44 TANetRoaming\
11 ▂▄ **44 TN-Teacher**\
**11 ▂▄** 45 TN-Teacher\
11 ▂▄▆█ 90 TN-Center-iot\
36 ▂ ***22 Siraya-PM25-5G***\
***36 ▂*** 29 TN-Computer-5G\
44 ▂▄▆ *80 TANetRoaming*\
*44 ▂▄▆█ 82 eduroam*\
*44 ▂▄▆█ 82 TN-Center*\
*44 ▂▄▆█ 82 TN-Center-iot*\
*44 ▂▄▆█ 82 TN-Teacher*\
*149 ▂▄ **32 .1.Free Wi-Fi***\
***149 ▂▄** 32 CHT Wi-Fi Auto*\
*149 ▂▄\_* 34 CHT Wi-Fi(HiNet) \
153 ▂▄▆█ 100 redmi\
153 ▂▄▆█ 100 TN-SLES-04\
153 ▂▄▆█ 100 TN-SLES-M\
157 ▂▄▆█ 100 eduroam-ec\
157 ▂▄▆█ 100 TANetRoaming-ec\
157 ▂▄▆█ 100 TN-Center-ec\
157 ▂▄▆█ 100 TN-Center-iot-ec \
157 ▂▄▆█ 100 TN-Teacher-ec

```bash
nmcli dev wifi
IN-USE  SSID              MODE   CHAN  RATE        SIGNAL  BARS  SECURITY         
        eduroam-ec        Infra  11    130 Mbit/s  100     ▂▄▆█  WPA2 802.1X      
        TN-Center-iot-ec  Infra  11    130 Mbit/s  100     ▂▄▆█  WPA2             
        TN-Teacher-ec     Infra  11    130 Mbit/s  100     ▂▄▆█  WPA2 802.1X      
*       redmi             Infra  153   270 Mbit/s  100     ▂▄▆█  WPA2             
        TN-SLES-M         Infra  153   270 Mbit/s  100     ▂▄▆█  WPA2             
        TN-SLES-04        Infra  153   270 Mbit/s  100     ▂▄▆█  WPA2             
        eduroam-ec        Infra  157   270 Mbit/s  100     ▂▄▆█  WPA2 802.1X      
        TN-Teacher-ec     Infra  157   270 Mbit/s  100     ▂▄▆█  WPA2 802.1X      
        TN-Center-iot-ec  Infra  157   270 Mbit/s  100     ▂▄▆█  WPA2             
        TN-Center-ec      Infra  157   270 Mbit/s  100     ▂▄▆█  WPA2 802.1X      
        TANetRoaming-ec   Infra  157   270 Mbit/s  100     ▂▄▆█  --               
        TANetRoaming      Infra  11    130 Mbit/s  92      ▂▄▆█  --               
        eduroam           Infra  11    130 Mbit/s  90      ▂▄▆█  WPA2 802.1X      
        TN-Teacher        Infra  11    130 Mbit/s  89      ▂▄▆█  WPA2 802.1X      
        TN-Center-iot     Infra  11    130 Mbit/s  89      ▂▄▆█  WPA2             
        redmi             Infra  1     117 Mbit/s  80      ▂▄▆_  WPA2             
        redmi             Infra  6     130 Mbit/s  79      ▂▄▆_  WPA2             
        eduroam           Infra  44    270 Mbit/s  79      ▂▄▆_  WPA2 802.1X      
        TN-Teacher        Infra  44    270 Mbit/s  79      ▂▄▆_  WPA2 802.1X      
        TN-Center-iot     Infra  44    270 Mbit/s  79      ▂▄▆_  WPA2             
        TN-Center         Infra  44    270 Mbit/s  79      ▂▄▆_  WPA2 802.1X      
        TANetRoaming      Infra  44    270 Mbit/s  79      ▂▄▆_  --               
        PM2.5_Setup_F8    Infra  1     65 Mbit/s   55      ▂▄__  WPA2             
        TN-Computer       Infra  2     195 Mbit/s  54      ▂▄__  WPA1 WPA2        
        TN-Edu-4G-0077    Infra  4     405 Mbit/s  54      ▂▄__  WPA1 WPA2        
        eduroam           Infra  6     130 Mbit/s  45      ▂▄__  WPA2 802.1X      
        TANetRoaming      Infra  6     130 Mbit/s  45      ▂▄__  --               
        TN-Center-iot     Infra  6     130 Mbit/s  44      ▂▄__  WPA2             
        TN-Center-iot     Infra  11    130 Mbit/s  40      ▂▄__  WPA2             
        eduroam           Infra  11    130 Mbit/s  40      ▂▄__  WPA2 802.1X      
        GAQIOT            Infra  1     130 Mbit/s  39      ▂▄__  WPA2             
        TN-Teacher        Infra  11    130 Mbit/s  39      ▂▄__  WPA2 802.1X      
        Siraya-PM25       Infra  2     195 Mbit/s  35      ▂▄__  WPA1 WPA2        
        DLINK-3F          Infra  3     130 Mbit/s  35      ▂▄__  WPA1 WPA2        
        TN-Teacher        Infra  11    130 Mbit/s  35      ▂▄__  WPA2 802.1X      
        TN-Center-iot     Infra  11    130 Mbit/s  35      ▂▄__  WPA2             
        eduroam           Infra  11    130 Mbit/s  32      ▂▄__  WPA2 802.1X      
        TN-Computer-5G    Infra  36    405 Mbit/s  29      ▂___  WPA1 WPA2 
```

```bash
nmcli -f GENERAL,WIFI-PROPERTIES dev show wlp4s0
GENERAL.DEVICE:                         wlp4s0
GENERAL.TYPE:                           wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                         Intel Corporation
GENERAL.PRODUCT:                        Wireless 7260 (Dual Band Wireless-N 7260)
GENERAL.DRIVER:                         iwlwifi
GENERAL.DRIVER-VERSION:                 5.3.0-24-generic
GENERAL.FIRMWARE-VERSION:               17.3216344376.0
GENERAL.HWADDR:                         AC:FD:CE:F7:7A:1A
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.IP4-CONNECTIVITY:               4 (full)
GENERAL.IP6-CONNECTIVITY:               3 (limited)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/net/wlp4s0
GENERAL.IP-IFACE:                       wlp4s0
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     redmi 1
GENERAL.CON-UUID:                       d467e855-668c-4d14-bd8a-1ad4a941b15b
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED:                        no (guessed)
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                   yes
WIFI-PROPERTIES.TKIP:                   yes
WIFI-PROPERTIES.CCMP:                   yes
WIFI-PROPERTIES.AP:                     yes
WIFI-PROPERTIES.ADHOC:                  yes
WIFI-PROPERTIES.2GHZ:                   yes
WIFI-PROPERTIES.5GHZ:                   yes
WIFI-PROPERTIES.MESH:                   no

```

```bash
iwconfig wlp4s0
wlp4s0    IEEE 802.11  ESSID:"redmi"  
          Mode:Managed  Frequency:5.765 GHz  Access Point: 22:EA:0B:BA:9C:33   
          Bit Rate=300 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=70/70  Signal level=-20 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:98   Missed beacon:0

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kawsing.gitbook.io/opensystem/andoid-shou-ji/untitled-4/shi-yong-nmcli-jian-ce-wifi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
