我是 Linux 新手,正在回溯,我刚刚配置了我的 USB 网络适配器 tp link 725 n 作为 wlan2。 命令(lshw)显示 wlan2 的网络已禁用,我尝试了几个 rfkill 命令,但它们没有显示任何输出。
命令“ifconfig wlan2 up”给出的输出为“siocsifflags 操作不允许”。
root@bt:~# lshw -c
Hardware Lister (lshw) - B.02.14
usage: lshw [-format] [-options ...]
lshw -version
-version print program version (B.02.14)
format can be
-html output hardware tree as HTML
-xml output hardware tree as XML
-short output hardware paths
-businfo output bus information
options can be
-class CLASS only show a certain class of hardware
-C CLASS same as '-class CLASS'
-c CLASS same as '-class CLASS'
-disable TEST disable a test (like pci, isapnp, cpuid, etc. )
-enable TEST enable a test (like pci, isapnp, cpuid, etc. )
-quiet don't display status
-sanitize sanitize output (remove sensitive information like serial numbers, etc.)
-numeric output numeric IDs (for PCI, USB, etc.)
最佳答案
执行 ifconfig 命令时您似乎不是 root...
关于linux wlan0 网络禁用(错误 siocsifflags 操作不允许),如何启用它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38435070/