/bin/sh

/bin/sh

我已经在论坛上搜索了两天,但似乎没有一个答案对我有用。我有一台 Acer Extensa 5630,它有一个 Intel wifi 5100。即使我就在路由器旁边,我也检测不到无线网络。奇怪的是,当我用手机创建热点时,它会自动检测并连接到它。我想我确实安装了正确的驱动程序。

这是 ifconfig:

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1d:72:db:47:5f  
          inet addr:192.168.10.2  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:72ff:fedb:475f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8419 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8173 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5402459 (5.4 MB)  TX bytes:953135 (953.1 KB)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1377 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1377 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:193628 (193.6 KB)  TX bytes:193628 (193.6 KB)

wlan0     Link encap:Ethernet  HWaddr 00:21:5d:60:72:9a  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 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)

当我从我的 Android 设备扫描并检测热点时,它看起来是这样的:

wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 02:1A:11:FD:BB:AC
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=34/70  Signal level=-76 dBm  
                    Encryption key:on
                    ESSID:"AndroidAP"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000000021577ce
                    Extra: Last beacon: 40ms ago
                    IE: Unknown: 0009416E64726F69644150
                    IE: Unknown: 010482848B96
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: Unknown: 32080C1218243048606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2D1A2C0103FF00000000000000000000000000000000000000000000
                    IE: Unknown: 3D1606000000000000000000000000000000000000000000
                    IE: Unknown: DD180050F2020101810003A4000027A4000042435E0062322F00
                    IE: Unknown: BF0C20018031FCFFB201FCFFB201
                    IE: Unknown: C005000000FCFF

答案1

我遇到了同样的问题,您可以在终端中输入:

   rfkill list

它会显示是否存在软阻塞或硬阻塞,然后您可以在终端中输入:

   rfkill nosoftblock
   rfkill nohardblock

或者

   ifdown wlan0
   ifup wlan0

然后在终端输入:

   lspci

如果存在,您可以看到 wifi 名称,然后您可以在终端中输入:

   lsmod wlan0

将wifi设置为用户,然后在终端输入:

   lsusb -d wlan0

然后扫描wifi端口,在终端中输入:

   nmap -v -iR 10000 -Pn -p port

如果网络处于睡眠状态(如果仍然不起作用),那么您可以在 /etc/network 中创建一个名为 sleeping.d 的脚本

/bin/sh

   case bin/sh in
          ./bin/sh
          nmcli nm asleep=false 'network'
    end case

您可以从以下位置下载:http://app.box.com/s/5nj2uhby5Kqk13y3oh7wb

这样也许能很好地发挥作用。

相关内容