使用命令行连接 wifi
发布日期:2021-05-10 10:35:02 浏览次数:20 分类:精选文章

本文共 2584 字,大约阅读时间需要 8 分钟。

=head = ��������������������� Wi-Fi

= ���������������������

������������������������������������������������������������������Wi-Fi���

= 1. RF-kill������������ = = = ��������������������� = = = = SIOCSIFFLAGS: Operation not possible due to RF-kill = =

= ��������������������� = = = = [longyu@debian:16:03:24] shell $ sudo rfkill list all = 0: phy0: Wireless LAN = Soft blocked: yes = Hard blocked: no = 1: asus-wlan: Wireless LAN = Soft blocked: yes = Hard blocked: no = 2: asus-bluetooth: Bluetooth = Soft blocked: yes = Hard blocked: no =

= ���������������������������������������������������������������������������������

= ��������������� = 1. ������Wi-Fi������ = = sudo rfkill unblock wifi = = 2. ������������������ = = sudo rfkill list = = 3. ������������ = = reboot = = 4. ������������������������ = = sudo rfkill list = = 5. ������������������ = = sudo lshw -class network =

= ��������������������������������������� = = *-network = description: Wireless interface = product: BCM43142 802.11b/g/n = vendor: Broadcom Corporation = physical id: 0 = bus info: pci@0000:03:00.0 = logical name: wlan0 = version: 01 = serial: 30:10:b3:c9:82:f1 = width: 64 bits = clock: 33MHz = = capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless = configuration: broadcast=yes driver=wl0 driverversion=6.30.223.248 (r487574) ip=192.168.2.168 latency=0 multicast=yes wireless=IEEE 802.11abg = resources: irq:19 memory:f7800000-f7807fff =

= ���������������������������������������������������������������������������������������������������������

=connect to open hotspot in command line = 1. ������������������ = = sudo iwlist wlan0 scanning = = 2. ������������������ = = iwconfig wlan0 essid SSID = = 3. ������IP������ = = dhclient wlan0 =

= ���������������������������������������������������������WPA-PSK���

= manual������WPA-PSK = 1. ������WPA PSK������ = = wpa_passphrase SSID passphrase = = 2. ������������������ = = nano /etc/wpa_supplicant.conf = = ��������������� = =[network] = ssid="longyu" = scan_ssid=1 = key_mgmt=WPA-PSK = psk=79c2be1deb5d5010dc00c183babf19a3a896fa1310bebaad2e8aee5e010f7f2f = =[/network] = ```

= ������wpa_supplicant������������ = = sudo wpa_supplicant -i wlan0 -c file = = = wlan0: Trying to associate with 02:1a:11:f1:cb:c5 (SSID='longyu' freq=2437 MHz) = = = wlan0: Associated with 02:1a:11:f1:cb:c5 = = = ...������������������������ =

= ������������������

= ���������������������������������������������������������������������������������������������������������������������������������������������������������������

= = ������������

上一篇:bad interpreter
下一篇:删除文件名含有特殊字符的文件

发表评论

最新留言

能坚持,总会有不一样的收获!
[***.219.124.196]2025年04月26日 11时40分50秒