Wireless dongle
Wireless dongle
It seems that the default kernel 3.10 of Centos 7 is unable to detect a wireless usb dongle. I have a Dlink DWA-123 [1] which is fine with ubuntu (kernel 4.10). But centos doesn't detect that.
[1] http://www.dlinkla.com/dwa-123
[1] http://www.dlinkla.com/dwa-123
Re: Wireless dongle
Post the output from the lsusb command
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Wireless dongle
Please see the output
Code: Select all
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 2001:3310 D-Link Corp.
Bus 005 Device 005: ID 0b38:0003 Gear Head Keyboard
Bus 005 Device 004: ID 09da:c10a A4Tech Co., Ltd.
Bus 005 Device 002: ID 8054:0001
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Re: Wireless dongle
I followed a similar thread [1] and did the following steps:
1- Install elrepo kernel-4.15
2- modprobe rt2800usb
3- While running "tail -f /var/log/message", I see the following output
The blue led of the adapter is still off. That should be blinking.
Any idea? It seems that the device is still undetected.
[1] viewtopic.php?t=7283
1- Install elrepo kernel-4.15
2- modprobe rt2800usb
Code: Select all
$ lsmod | grep rt2800
rt2800usb 32768 0
rt2x00usb 20480 1 rt2800usb
rt2800lib 102400 1 rt2800usb
rt2x00lib 53248 3 rt2800lib,rt2800usb,rt2x00usb
mac80211 753664 3 rt2800lib,rt2x00lib,rt2x00usb
Code: Select all
Mar 15 19:01:34 orca kernel: usb 5-3: new high-speed USB device number 7 using xhci_hcd
Mar 15 19:01:34 orca kernel: usb 5-3: New USB device found, idVendor=2001, idProduct=3310
Mar 15 19:01:34 orca kernel: usb 5-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 15 19:01:34 orca kernel: usb 5-3: Product: DWA-123 11n Adapter
Mar 15 19:01:34 orca kernel: usb 5-3: Manufacturer: Realtek#015
Mar 15 19:01:34 orca kernel: usb 5-3: SerialNumber: 1062EB309C34
Mar 15 19:01:34 orca kernel: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
Mar 15 19:01:34 orca NetworkManager[946]: <warn> [1521127894.5750] (wlan0) failed to initialize Wi-Fi driver for ifindex 6
Mar 15 19:01:34 orca NetworkManager[946]: <warn> [1521127894.5751] manager: wlan0: factory failed to create device: Device factory NMWifiFactory failed to create device wlan0
Mar 15 19:01:34 orca mtp-probe: checking bus 5, device 7: "/sys/devices/pci0000:00/0000:00:07.1/0000:24:00.3/usb5/5-3"
Mar 15 19:01:34 orca mtp-probe: bus: 5, device: 7 was not an MTP device
Mar 15 19:01:35 orca kernel: r8188eu 5-3:1.0 wlp36s0f3u3: renamed from wlan0
Mar 15 19:01:35 orca journal: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:07.1/0000:24:00.3/usb5/5-3/5-3:1.0
Mar 15 19:01:35 orca journal: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:07.1/0000:24:00.3/usb5/5-3
Mar 15 19:01:38 orca ModemManager[894]: <info> Couldn't check support for device at '/sys/devices/pci0000:00/0000:00:07.1/0000:24:00.3/usb5/5-3': not supported by any plugin
Any idea? It seems that the device is still undetected.
[1] viewtopic.php?t=7283
Re: Wireless dongle
The output from lsusb shows the device ID pairing is [2001:3310]. This device is supposed to be supported by the r8188eu kernel driver which is included in ELRepo's kernel-ml 4.15. Try 'modprobe r8188eu' to load it.
[EDIT] Or you can use kernel-lt (currently at 4.4.x) which may be a better choice.
[EDIT] Or you can use kernel-lt (currently at 4.4.x) which may be a better choice.
CentOS Forum FAQ
Re: Wireless dongle
I tired that but still doesn't work.
Since the computer has no internet connection, I manually installed the following rpms
Then I rebooted the machine to load the new kernel. As you can see there is no 8188 module
By running tail -f /var/log/messages in another terminal, I plugged the usb dongle and here is the output
Also, please see the lsmod output. Still there is no 8188eu
Since the computer has no internet connection, I manually installed the following rpms
Code: Select all
kernel-ml-4.15.1-1.el7.elrepo.x86_64.rpm
kernel-ml-devel-4.15.1-1.el7.elrepo.x86_64.rpm
Code: Select all
[mahmood@orca ~]$ uname -a
Linux orca 4.15.1-1.el7.elrepo.x86_64 #1 SMP Sat Feb 3 22:01:16 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
[mahmood@orca ~]$ lsmod | grep 8188
[mahmood@orca ~]$
Code: Select all
Mar 16 12:27:45 orca kernel: usb 5-3: new high-speed USB device number 6 using xhci_hcd
Mar 16 12:27:45 orca kernel: usb 5-3: New USB device found, idVendor=2001, idProduct=3310
Mar 16 12:27:45 orca kernel: usb 5-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 16 12:27:45 orca kernel: usb 5-3: Product: DWA-123 11n Adapter
Mar 16 12:27:45 orca kernel: usb 5-3: Manufacturer: Realtek#015
Mar 16 12:27:45 orca kernel: usb 5-3: SerialNumber: 1062EB309C34
Mar 16 12:27:45 orca mtp-probe: checking bus 5, device 6: "/sys/devices/pci0000:00/0000:00:07.1/0000:24:00.3/usb5/5-3"
Mar 16 12:27:45 orca mtp-probe: bus: 5, device: 6 was not an MTP device
Mar 16 12:27:46 orca journal: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:07.1/0000:24:00.3/usb5/5-3
Mar 16 12:27:57 orca journal: No devices in use, exit
Code: Select all
[mahmood@orca ~]$ lsmod
Module Size Used by
fuse 102400 3
xt_CHECKSUM 16384 1
ipt_MASQUERADE 16384 3
nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
tun 36864 1
ip6t_rpfilter 16384 1
ipt_REJECT 16384 4
nf_reject_ipv4 16384 1 ipt_REJECT
ip6t_REJECT 16384 2
nf_reject_ipv6 16384 1 ip6t_REJECT
xt_conntrack 16384 12
ip_set 40960 0
nfnetlink 16384 1 ip_set
ebtable_nat 16384 1
ebtable_broute 16384 1
ip6table_nat 16384 1
nf_conntrack_ipv6 20480 7
nf_defrag_ipv6 36864 1 nf_conntrack_ipv6
nf_nat_ipv6 16384 1 ip6table_nat
ip6table_mangle 16384 1
ip6table_security 16384 1
ip6table_raw 16384 1
iptable_nat 16384 1
nf_conntrack_ipv4 16384 10
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 32768 3 nf_nat_ipv6,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack 135168 8 nf_conntrack_ipv6,nf_conntrack_ipv4,ipt_MASQUERADE,nf_nat_ipv6,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
libcrc32c 16384 2 nf_conntrack,nf_nat
iptable_mangle 16384 1
iptable_security 16384 1
iptable_raw 16384 1
ebtable_filter 16384 1
ebtables 32768 3 ebtable_filter,ebtable_nat,ebtable_broute
ip6table_filter 16384 1
ip6_tables 28672 5 ip6table_mangle,ip6table_filter,ip6table_security,ip6table_raw,ip6table_nat
iptable_filter 16384 1
vfat 20480 2
fat 65536 1 vfat
dm_mirror 24576 0
dm_region_hash 20480 1 dm_mirror
dm_log 20480 2 dm_mirror,dm_region_hash
dm_mod 118784 2 dm_mirror,dm_log
dax 69632 1 dm_mod
snd_hda_codec_hdmi 49152 1
edac_mce_amd 28672 0
kvm 593920 0
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
pcbc 16384 0
snd_hda_codec_realtek 94208 1
snd_hda_codec_generic 69632 1 snd_hda_codec_realtek
ppdev 20480 0
snd_hda_intel 40960 6
joydev 20480 0
snd_hda_codec 126976 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
input_leds 16384 0
aesni_intel 188416 0
crypto_simd 16384 1 aesni_intel
snd_hda_core 81920 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
glue_helper 16384 1 aesni_intel
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
snd_hwdep 16384 1 snd_hda_codec
snd_seq 65536 0
snd_seq_device 16384 1 snd_seq
snd_pcm 94208 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
sp5100_tco 16384 0
snd_timer 32768 2 snd_seq,snd_pcm
snd 77824 22 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
wmi_bmof 16384 0
parport_pc 28672 0
pcspkr 16384 0
i2c_piix4 24576 0
k10temp 16384 0
soundcore 16384 1 snd
ccp 69632 0
sg 40960 0
parport 49152 2 parport_pc,ppdev
gpio_amdpt 16384 0
shpchp 36864 0
gpio_generic 20480 1 gpio_amdpt
pinctrl_amd 24576 0
acpi_cpufreq 20480 0
nfsd 315392 1
auth_rpcgss 61440 1 nfsd
nfs_acl 16384 1 nfsd
lockd 94208 1 nfsd
grace 16384 2 nfsd,lockd
sunrpc 339968 7 auth_rpcgss,nfsd,nfs_acl,lockd
ip_tables 24576 5 iptable_mangle,iptable_filter,iptable_raw,iptable_nat,iptable_security
ext4 614400 4
mbcache 16384 1 ext4
jbd2 102400 1 ext4
sd_mod 49152 6
uas 24576 0
usb_storage 69632 2 uas
nouveau 1695744 12
crc32c_intel 24576 1
video 40960 1 nouveau
mxm_wmi 16384 1 nouveau
i2c_algo_bit 16384 1 nouveau
drm_kms_helper 163840 1 nouveau
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
ttm 102400 1 nouveau
drm 393216 7 nouveau,ttm,drm_kms_helper
ahci 36864 3
libahci 32768 1 ahci
r8169 81920 0
mii 16384 1 r8169
libata 241664 2 ahci,libahci
wmi 24576 3 wmi_bmof,mxm_wmi,nouveau
[mahmood@orca ~]$
Re: Wireless dongle
And if it didn't, what's in /var/log/messages afterwards.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Wireless dongle
With the very latest elrepo kernel 4.15.10 which has been released 2 days ago, I did the procedure again.
1- Unplug the dongle and boot centos
2- Plug the dongle and check if the module has been loaded -> yes
The /var/log/messages also shows that the kernel module has been loaded
I think the problem is with the network manager which is not able to setup a wireless connection. According to a blog [1], I have to run wpa_supplicant. However, for me, it returns an error which is not clear what is the problem exactly.
[1] http://soft29.info/blog/entry/centos-7-usb-wifi-8188eu
1- Unplug the dongle and boot centos
2- Plug the dongle and check if the module has been loaded -> yes
Code: Select all
Bus 005 Device 006: ID 2001:3310 D-Link Corp.
[mahmood@orca ~]$ grep -i 2001 /lib/modules/$(uname -r)/modules.alias | grep -i 3310
alias usb:v2001p3310d*dc*dsc*dp*ic*isc*ip*in* r8188eu
[mahmood@orca ~]$ uname -r
4.15.10-1.el7.elrepo.x86_64
[mahmood@orca ~]$ lsmod | head
Module Size Used by
r8188eu 421888 0
cfg80211 618496 1 r8188eu
rfkill 28672 1 cfg80211
fuse 102400 3
xt_CHECKSUM 16384 1
ipt_MASQUERADE 16384 3
nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
tun 36864 1
ip6t_rpfilter 16384 1
Code: Select all
Mar 17 12:49:18 orca kernel: usb 5-3: new high-speed USB device number 6 using xhci_hcd
Mar 17 12:49:18 orca kernel: usb 5-3: New USB device found, idVendor=2001, idProduct=3310
Mar 17 12:49:18 orca kernel: usb 5-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 17 12:49:18 orca kernel: usb 5-3: Product: DWA-123 11n Adapter
Mar 17 12:49:18 orca kernel: usb 5-3: Manufacturer: Realtek#015
Mar 17 12:49:18 orca kernel: usb 5-3: SerialNumber: 1062EB309C34
Mar 17 12:49:18 orca mtp-probe: checking bus 5, device 6: "/sys/devices/pci0000:00/0000:00:07.1/0000:24:00.3/usb5/5-3"
Mar 17 12:49:18 orca mtp-probe: bus: 5, device: 6 was not an MTP device
Mar 17 12:49:19 orca kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database
Mar 17 12:49:19 orca kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Mar 17 12:49:19 orca kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Mar 17 12:49:19 orca kernel: cfg80211: failed to load regulatory.db
Mar 17 12:49:19 orca kernel: r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
Mar 17 12:49:19 orca kernel: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
Mar 17 12:49:19 orca kernel: usbcore: registered new interface driver r8188eu
Mar 17 12:49:19 orca NetworkManager[932]: <warn> [1521278359.4820] (wlan0) failed to initialize Wi-Fi driver for ifindex 5
Mar 17 12:49:19 orca NetworkManager[932]: <warn> [1521278359.4822] manager: wlan0: factory failed to create device: Device factory NMWifiFactory failed to create device wlan0
Mar 17 12:49:19 orca journal: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:07.1/0000:24:00.3/usb5/5-3
Mar 17 12:49:19 orca kernel: r8188eu 5-3:1.0 wlp36s0f3u3: renamed from wlan0
Mar 17 12:49:19 orca journal: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:07.1/0000:24:00.3/usb5/5-3/5-3:1.0
Mar 17 12:49:22 orca ModemManager[874]: <info> Couldn't check support for device at '/sys/devices/pci0000:00/0000:00:07.1/0000:24:00.3/usb5/5-3': not supported by any plugin
Code: Select all
[mahmood@orca ~]$ ifconfig -a | grep -A 5 wl
wlp36s0f3u3: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 10:62:eb:30:9c:34 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
[mahmood@orca ~]$ sudo wpa_supplicant -i wlp36s0f3u3 -c /etc/wpa_supplicant/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlp36s0f3u3 disabled_11b_rates=0
wlp36s0f3u3: Failed to initialize driver interface
[mahmood@orca ~]$
Re: Wireless dongle
If you can't fix it one way or another there is still an alternative: WIFI-dongles with RTL8192cu work fine even with the original CentOS 3.10 kernel out of the box and cost no more than 10 EUR/USD.
Easy configurarion: Settings -> Network -> Wi-Fi
Easy configurarion: Settings -> Network -> Wi-Fi