CentOS 7에서 D-link DWA-131 Wireless-N Nano USB 어댑터를 작동시키는 방법은 무엇입니까?

CentOS 7에서 D-link DWA-131 Wireless-N Nano USB 어댑터를 작동시키는 방법은 무엇입니까?

저는 CentOS 7을 사용하고 있습니다.D-link DWA-131 무선-N USB 나노하드웨어 개정E1 어댑터. 드라이버를 다운로드하여 컴파일했습니다.ftp://files.dlink.com.au/products/DWA-131/REV_E/Drivers/DWA-131_Linux_driver_v4.3.1.1.zip. 모듈을 설치하고 삽입한 후8192eu.ko내 장치는 다음과 같이 감지됩니다.USB 이더넷. 무선 네트워크에 연결할 수 있도록 무선 장치로 인식하려면 어떻게 해야 합니까?알파벳비밀번호가 있는12345678.

에 의한 결과uname -a~이다

Linux linux-centos 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

에 의한 결과ifconfig -a~이다

enp0s20u3: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 54:2a:a2:47:dd:f6  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
       inet 127.0.0.1  netmask 255.0.0.0
       inet6 ::1  prefixlen 128  scopeid 0x10<host>
       loop  txqueuelen 1  (Local Loopback)
       RX packets 7729  bytes 664831 (649.2 KiB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 7729  bytes 664831 (649.2 KiB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

p4p2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
       ether f8:ca:b8:06:55:c0  txqueuelen 1000  (Ethernet)
       RX packets 0  bytes 0 (0.0 B)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 0  bytes 0 (0.0 B)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:1c:39:9e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0-nic: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 52:54:00:1c:39:9e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.22  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::374e:5cb2:ec50:9c4d  prefixlen 64  scopeid 0x20<link>
        ether 78:0c:b8:36:8e:31  txqueuelen 1000  (Ethernet)
        RX packets 122333  bytes 155288565 (148.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 84226  bytes 10510089 (10.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  

enp0s20u3내 USB 장치입니다. 로딩할때만 뜨네요8192eu.ko사용하여모드프로브또는인스모드.

장치가 무선 대신 USB 이더넷으로 감지되었습니다.

Wi-Fi로 표시된 장치는 '내부 Wi-Fi'이지만 USB 장치는 USB 이더넷으로 감지됩니다.

답변1

나에게는 모듈을 다시 로드한 직후에만 작동합니다.

modprobe -r rtl8xxxu; sleep 2; modprobe rtl8xxxu

(사전 구성된 NetworkManager의 연결)

게다가 추가 옵션도 있습니다:

cat /etc/modprobe.d/rtl8xxxu.conf
options rtl8xxxu ht40_2g=1 dma_aggregation=1 rtw_power_mgnt=0 rtw_enusbss=0

관련 정보