Chẩn đoán kết nối không dây

Check that the wireless adapter was recognized

Even though the wireless adapter is connected to the computer, it may not have been recognized as a network device by the computer. In this step, you will check whether the device was recognized properly.

  1. Mở cửa sổ dòng lệnh, nhập lshw -C network và nhấn Enter. Nếu nó in thông báo lỗi, bạn có thể cần cài đặt chương trình lshw lên máy.

  2. Đọc kết quả dòng lệnh và kiểm tra phần Wireless interface (Giao tiếp không dây). Nếu cạc không dây được nhận ra, kết quả sẽ trông giống thế này (nhưng không giống y chang):

    *-network
           description: Wireless interface
           product: PRO/Wireless 3945ABG [Golan] Network Connection
           vendor: Intel Corporation
  3. Nếu thiết bị không dây được liệt kê, tiếp tục sang trang trình điều khiển thiết bị.

    Nết thiết bị không dây không được liệt kê, những bước kế tiếp phụ thuộc vào loại phần cứng bạn dùng. Xem đoạn mô tả loại phần cứng không dây bạn dùng: PCI nội bộ, USB hoặc PCMCIA.

Bộ điều hợp không dây PCI (nội bộ)

Cạc PCI nội bộ phổ biến nhất, có thể gặp trên laptop sản xuất những năm gần đây. Để kiểm tra xem máy bạn có nhận ra bộ điều hợp PCI không dây không.

  1. Mở cửa sổ dòng lệnh, gõ lspci và nhấn Enter.

  2. Look through the list of devices that is shown and find any that are marked Network controller or Ethernet controller. Several devices may be marked in this way; the one corresponding to your wireless adapter might include words like wireless, WLAN, wifi or 802.11. Here is an example of what the entry might look like:

    Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection
  3. If you found your wireless adapter in the list, proceed to the Device Drivers step. If you didn’t find anything related to your wireless adapter, see the instructions below.

Bộ điều hợp USB không dây

Wireless adapters that plug into a USB port on your computer are less common. They can plug directly into a USB port, or may be connected by a USB cable. 3G/mobile broadband adapters look quite similar to wireless (Wi-Fi) adapters, so if you think you have a USB wireless adapter, double-check that it is not actually a 3G adapter. To check if your USB wireless adapter was recognized:

  1. Mở cửa sổ dòng lệnh, gõ lsusb và nhấn Enter.

  2. Look through the list of devices that is shown and find any that seem to refer to a wireless or network device. The one corresponding to your wireless adapter might include words like wireless, WLAN, wifi or 802.11. Here is an example of what the entry might look like:

    Bus 005 Device 009: ID 12d1:140b Huawei Technologies Co., Ltd. EC1260 Wireless Data Modem HSD USB Card
  3. If you found your wireless adapter in the list, proceed to the Device Drivers step. If you didn’t find anything related to your wireless adapter, see the instructions below.

Kiểm tra thiết bị PCMCIA

PCMCIA wireless adapters are typically rectangular cards which slot into the side of your laptop. They are more commonly found in older computers. To check if your PCMCIA adapter was recognized:

  1. Khởi động máy tính không gắn cạc không dây.

  2. Mở cửa sổ dòng lệnh, nhập lệnh sau và nhấn Enter:

    tail -f /var/log/messages

    This will display a list of messages related to your computer’s hardware, and will automatically update if anything to do with your hardware changes.

  3. Insert your wireless adapter into the PCMCIA slot and see what changes in the Terminal window. The changes should include some information about your wireless adapter. Look through them and see if you can identify it.

  4. To stop the command from running in the Terminal, press Ctrl+C. After you have done that, you can close the Terminal if you like.

  5. If you found any information about your wireless adapter, proceed to the Device Drivers step. If you didn’t find anything related to your wireless adapter, see the instructions below.

Wireless adapter was not recognized

If your wireless adapter was not recognized, it might not be working properly or the correct drivers may not be installed for it. How you check to see if there are any drivers you can install will depend on which Linux distribution you are using (like Ubuntu, Arch, Fedora or openSUSE).

To get specific help, look at the support options on your distribution’s website. These might include mailing lists and web chats where you can ask about your wireless adapter, for example.