linux wlan0 网络禁用(错误 siocsifflags 操作不允许),如何启用它?

标签 linux

我是 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/

相关文章:

mysql - 从 shell 将多个 .sql 转储文件导入 mysql 数据库

linux - 无法在 Linux Mint 15 中找到库 liboleaut32

c++ - libstdc++ 在 ubuntu 64 位中崩溃

linux - “read”命令不在“while read line”循环中执行

linux - snmpd 未在 Ubuntu 服务器上监听端口 161

linux - Redis不读取配置文件

python - 使用代理解析主机名

c - 获取错误 :Too few arguments where i clearly have the correct number

python - 如何使用 python 访问爱思华宝服务器上的 "Documents"部分?

node.js - 无法安装 aerospike,在步骤 'node-gyp rebuild' 获取 aerospike 失败