首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Wifi接口似乎会使自己瘫痪吗?

Wifi接口似乎会使自己瘫痪吗?
EN

Ask Ubuntu用户
提问于 2021-10-02 14:38:37
回答 1查看 187关注 0票数 0

当我今天启动我的笔记本电脑时,Wifi突然失灵了,我在过去的两个小时里一直在努力使它再次工作。我想我解决了一两个问题,但我并没有真正记录任何东西。我现在无法解决的问题是:我的Wifi接口似乎被禁用了,而我不能(总是?)启用它。但是即使当我能够启用它时,Wifi仍然不起作用。

这是我的lshw -C network输出:

代码语言:javascript
复制
WARNING: you should run this program as super-user.
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: enp1s0
       version: 0c
       serial: 30:65:ec:78:53:5c
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII
       resources: irq:18 ioport:3000(size=256) memory:c1200000-c1200fff memory:c1000000-c1003fff
  *-network DISABLED
       description: Wireless interface
       product: Wireless 7265
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 48
       serial: 5c:e0:c5:03:6c:ea
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.4.0-88-generic firmware=17.3216344376.0 latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:48 memory:c1100000-c1101fff
  *-network
       description: Ethernet interface
       physical id: 1
       bus info: usb@1:1.2
       logical name: usb0
       serial: ce:4f:d0:53:fc:10
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.231.76 link=yes multicast=yes
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

sudo rfkill list的输出:

代码语言:javascript
复制
0: acer-wireless: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
5: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

sudo systemctl status wpa_supplicant.service的输出:

代码语言:javascript
复制
● wpa_supplicant.service - WPA supplicant
     Loaded: loaded (/lib/systemd/system/wpa_supplicant.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-10-02 15:42:54 CEST; 5h 5min ago
   Main PID: 1242 (wpa_supplicant)
      Tasks: 1 (limit: 9378)
     Memory: 3.3M
     CGroup: /system.slice/wpa_supplicant.service
             └─1242 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant

Okt 02 15:42:54 Lithographie systemd[1]: Starting WPA supplicant...
Okt 02 15:42:54 Lithographie wpa_supplicant[1242]: Successfully initialized wpa_supplicant
Okt 02 15:42:54 Lithographie systemd[1]: Started WPA supplicant.

第一个是我不使用的以太网连接。第二个是我今天奇迹般地停止工作的无线连接。第三个是我的解决办法,通过我的手机连接。

modprobe -r iwlwifimodprobe iwlwifi起初不起作用,现在起作用了,但它并没有真正改变任何事情,当我尝试sudo ip link set wlp2s0 up时,有时它会将接口切换到enabled (有时不起作用),但是Wifi仍然不能工作。

我正在运行Ubuntu20.04LTS上的宏碁旅行伙伴P236-M-57R4。谢谢你提前帮忙!

编辑:不知道是否有任何连接,但我昨天遇到了一些问题,我的决定非常不明智的chown -r我的/usr/-文件夹与我的主要帐户。我想我解决了这些问题,但也许我没有?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2021-10-04 17:42:51

我想,chown命令是问题所在。使用sudo apt-get purge wpasupplicant获得它,用sudo apt-get install wpasupplicantsudo apt-get install network-manager重新安装(从缓存安装)。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1367029

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档