networking wireless showing as ethernet

Issues related to configuring your network
Post Reply
linuxlooms
Posts: 4
Joined: 2018/03/06 17:33:52

networking wireless showing as ethernet

Post by linuxlooms » 2018/03/06 18:39:44

I am attempting to get the EW7811UTC installed on my centos 7.4. It is a usb device. When I downloaded and installed the necessary files, the device shows up as a usb ethernet device rather than a usb wireless device.
The 3rd device below.

nmcli device status
DEVICE TYPE STATE CONNECTION
virbr0 bridge connected virbr0
enp1s0 ethernet connected eth0
enp0s26f7u5 ethernet disconnected --

nmcli connection show
shows it as 802.3 and it should be 802.11

Any guidance or pointer to manuals on how to understand/fix this?

linuxlooms
Posts: 4
Joined: 2018/03/06 17:33:52

Re: networking wireless showing as ethernet

Post by linuxlooms » 2018/03/07 15:01:37

here are a few more details
I initially tried the instructions that came with the product:http://www.edimax.com/images/Image/QIG/ ... ish%29.pdf

I then tried:

git clone https://github.com/gnab/rtl8812au.git
cd ~/rtl8812au
make
sudo make install
sudo modprobe 8812au

which is basically the same instructions as the quick start guide.
The end result was the same in both cases; the device shows up as hardwired ethernet rather than wireless. This doesn't allow me to enter the SSID and password for my local network. The git repo does say kernel >=3.10 which is centos 7.4.

I have ordered an EW7811UN and from my research this should be better, but I would still like to figure out the UTC version

Thanks in advance for you ideas

linuxlooms
Posts: 4
Joined: 2018/03/06 17:33:52

Re: networking wireless showing as ethernet

Post by linuxlooms » 2018/03/07 18:07:46

>lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 03f0:0324 Hewlett-Packard SK-2885 keyboard
Bus 008 Device 002: ID 046d:c06a Logitech, Inc. USB Optical Mouse
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 7392:a812 Edimax Technology Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

hunter86_bg
Posts: 1448
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: networking wireless showing as ethernet

Post by hunter86_bg » 2018/03/08 11:09:46

Is it a USB 3/4G dongle or a usb wifi device?

linuxlooms
Posts: 4
Joined: 2018/03/06 17:33:52

Re: networking wireless showing as ethernet

Post by linuxlooms » 2018/03/08 20:03:38

it is a usb 2.0 wifi dongle

why are there 10K reads for this post all of the sudden, bots?

It is working and I want to document for others and get some input from the experts.

git clone https://github.com/gnab/rtl8812au.git
# much of the following is in the README.md file in the git repo
cd ~/rtl8812au
make
sudo insmod 8812au.ko # this just loads temporarily

The git repo has a runwpa script. I had to change wlan0 to the long name that centos7.4 created: enp0s26f7u6
create the conf file for my network:
$ wpa_passphrase wirelssNetName wirelessPassord >wpa1.conf
source runwpa # as SU
I found it helpful to turn the connection off and on again in the network manager
It still looks like a wired network in the network manager, but it works.
assuming it works, load it permanently
$ sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
$ sudo depmod

Back to the original question for my post: How do I make it show up as wireless so the NetworkManager can add connections properly with passwords?

It looks like networkManager is half-baked solution and https://wiki.centos.org/HowTos/Laptops/WpaSupplicant may be better; your comments?
Can someone post a ifcfg-wlan file that I can edit for my purposes?

When I use dkms to post the files in the kernel, I get messages about a weak driver. Suggestions?

hunter86_bg
Posts: 1448
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: networking wireless showing as ethernet

Post by hunter86_bg » 2018/03/10 12:18:14

By the way , what is the output of your device from

Code: Select all

nmcli device 
?
It's really strange that it's detected as ethernet. I will ask a friend to check what status has his usb wifi dongle.

User avatar
TrevorH
Forum Moderator
Posts: 24083
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: networking wireless showing as ethernet

Post by TrevorH » 2018/03/10 12:26:12

This seems to be a common problem with self-compiled kernel modules for wireless cards - they report themselves as wired ethernet. So far, no-one has come up with an explanation as to why...
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply