RHEL7 无线配置不可用

RHEL7 无线配置不可用

我正在尝试在 RHEL7 NUC 上使用无线 USB 密钥。适配器显示在“ifconfig”中:

eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.21  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::baae:edff:fe7d:ce5a  prefixlen 64  scopeid 0x20<link>
        ether b8:ae:ed:7d:ce:5a  txqueuelen 1000  (Ethernet)
...

enp0s20f0u3: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet6 fe80::214:d1ff:fed8:cc0f  prefixlen 64  scopeid 0x20<link>
        ether 00:14:d1:d8:cc:0f  txqueuelen 1000  (Ethernet)
...

但是 NetworkManager 中没有可用的无线配置选项,所以我无法选择 SSID/wpa2 密码等等。

我发现了一个讨论类似问题的帖子对于 centos。按照那里的建议,似乎我没有为无线适配器加载内核模块:

# lspci -nn | grep -i net

00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection I219-V [8086:1570] (rev 21)
01:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)

# grep -i 8086 /lib/modules/*/modules.alias | grep -i 24f3 | tee -a q
alias pci:v00008086d000024F3sv*sd00000010bc*sc*i* iwlwifi

# grep -i 8086 /lib/modules/*/modules.alias | grep -i 1570
alias pci:v00008086d00001570sv*sd*bc*sc*i* e1000e

# lsmod | grep wifi
# (NOTHING)

# modprobe iwlwifi
# lsmod | grep wifi
iwlwifi               112501  0 
cfg80211              514740  1 iwlwifi

但是,按照该线程中的建议重新启动 NetworkManager 后:

# service network stop
# service wpa_supplicant stop
# chkconfig --level 12345 network off
# chkconfig --level 12345 wpa_supplicant off
# chkconfig --level 2345 NetworkManager on
# service NetworkManager restart

NetworkManager 中仍然没有显示无线配置选项。我确实安装了 NetworkManager-wifi 包:

# rpm -qa | grep NetworkM
NetworkManager-config-server-1.0.0-16.git20150121.b4ea599c.el7_1.x86_64
NetworkManager-libreswan-0.9.8.0-5.el7.x86_64
NetworkManager-libnm-1.0.0-16.git20150121.b4ea599c.el7_1.x86_64
NetworkManager-glib-1.0.0-16.git20150121.b4ea599c.el7_1.x86_64
NetworkManager-wifi-1.0.0-16.git20150121.b4ea599c.el7_1.x86_64
NetworkManager-team-1.0.0-16.git20150121.b4ea599c.el7_1.x86_64
NetworkManager-openvpn-0.9.8.2-4.el7.1.x86_64
NetworkManager-openvpn-gnome-0.9.8.2-4.el7.1.x86_64
NetworkManager-tui-1.0.0-16.git20150121.b4ea599c.el7_1.x86_64
NetworkManager-1.0.0-16.git20150121.b4ea599c.el7_1.x86_60

我还需要做什么才能使 wifi 适配器可供 NetworkManager 使用。或者,也许更简单,如何在命令行上配置无线适配器?

答案1

相关内容