xfce的panel不顯示無線網路解決方案

2021-10-21 10:43:26 字數 1851 閱讀 5063

版本環境

元件版本

xfce

4.14.0

ubuntu

19.10

apt-get install wpasupplicant wireless-tools 

ifconfig得到:

enp4s0: flags=4099mtu 1500

ether 60:a4:4c:6d:ce:0a txqueuelen 1000 (ethernet)

rx packets 71149 bytes 81430076 (81.4 mb)

rx errors 96 dropped 0 overruns 0 frame 0

tx packets 65350 bytes 9452283 (9.4 mb)

tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0

device interrupt 19

lo: flags=73mtu 65536

inet 127.0.0.1 netmask 255.0.0.0

inet6 ::1 prefixlen 128 scopeid 0x10loop txqueuelen 1000 (local loopback)

rx packets 7076 bytes 595524 (595.5 kb)

rx errors 0 dropped 0 overruns 0 frame 0

tx packets 7076 bytes 595524 (595.5 kb)

tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp3s0: flags=4163mtu 1500

inet 192.168.1.11 netmask 255.255.255.0 broadcast 192.168.1.255

inet6 240e:388:1c1a:8300:39d0:8ebf:5d86:bb79 prefixlen 64 scopeid 0x0inet6 240e:388:1c1a:8300:c85f:66a:7203:6a7 prefixlen 64 scopeid 0x0inet6 fe80::3ab5:a0:45b7:f0ed prefixlen 64 scopeid 0x20ether 6c:71:d9:1f:f0:4b txqueuelen 1000 (ethernet)

rx packets 2894 bytes 1554450 (1.5 mb)

rx errors 0 dropped 0 overruns 0 frame 0

tx packets 3320 bytes 804126 (804.1 kb)

tx errors 0 dropped 0 overruns 0 carrier 0 collisions 0

根據上面的結果,發現無線網的名字是:

wlp3s0(每台電腦都可能是不一樣的結果)

我們嘗試啟動無線網路

ifconfig wlp3s0 up

xfce panel需要的是notification area才會顯示無線網路,就是下面這個東西,

如果你不在panel中增加這個,會導致即使有wifi也顯示不了

然後就可以連上wifi網了。

當然如果你的無線網絡卡比較特殊的話,那麼就可能需要事先安裝驅動才行。

reference:

[1]

Div border 不顯示的原因

div style border 10px border style solid height 100px width 200px margin auto color rgb 0,255,214 background color rgb 14,196,241 div 顯示如下 其中 border s...

QT在建構函式中寫的控制項不顯示(按鈕不顯示)問題

一 問題 有時間你會發現你在新建的工程中建構函式裡面編寫按鈕等控制項去初始化後執行發現視窗一片空白,什麼都不顯示,是什麼原因導致呢?二 可能出現的原因 1 你新建的工程師mainwindow子類工程,沒有設定父視窗。2 沒有將控制項的父視窗設定成自己定義的widget。eg includeqmain...

adb不顯示連線的裝置

如果是以前連線成功過,那麼就極有可能是埠衝突的問題。2 檢視埠號對應的程序pid 輸入命令 netstat ano 檢視對應的埠號的程序號 wandoujia daemon.exe 6540 console 1 4,276 k接下來問題就好解決了,在任務管理器kill掉wandoujia daemo...