You are not logged in.
I recently picked up and ANEWISH AC600 usb wireless adapter. It uses the Realtek rtl8812 chipset. The Linux Drivers that came with it wouldn't compile, but there are drivers for it in AUR. I was able to install those and the device shows up in ip link and in network manager.
However, ip link set adapter up doesn't set the adapter up, though the command doesn't produce any error. The device is not visible in iw dev (I think I read that dkms drivers may not show up there. Anyone have any ideas?
Here's the ip link ouput after running set up
3: enp0s29u1u2: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether 00:13:ef:d0:04:21 brd ff:ff:ff:ff:ff:ff
dmesg shows
[ 1995.748395] RTL871X: indicate disassoc
[ 1995.850327] IPv6: ADDRCONF(NETDEV_UP): enp0s29u1u2: link is not ready
journalctl shows
Mar 01 04:10:14 destructor NetworkManager[347]: <info> [1488341414.1357] device (enp0s29u1u2): supplicant interface state: inactive -> disabled
Mar 01 04:10:14 destructor kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s29u1u2: link is not ready
And I am running kernel 4.9.11-1-ARCH
Here's the hardware details on the device:
Bus 004 Device 003: ID 0bda:0811 Realtek Semiconductor Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0x0811
bcdDevice 2.00
iManufacturer 1 Realtek
iProduct 2 802.11ac WLAN Adapter
iSerial 3 00e04c000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 60
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 6
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 802.11ac WLAN Adapter
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x09 EP 9 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 12
bNumDeviceCaps 1
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
HIRD Link Power Management (LPM) Supported
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self PoweredLast edited by jmorgan (2017-03-01 23:31:34)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
Your symptoms and log messages do look a bit peculiar but I do think you're on the right track.
The lsusb -v output that you posted previously shows that the Vendor ID of the chipset in your device is '0bda', and the Device ID is '0811'. WikiDevi has an exact match for that vendor:device ID combination on this page but it's an older 802,11n device (these databases and wikis don't always get updated too often). The closest match I can find is this product: Edimax_EW-7811USC, which I expect your device looked like before it was drowned in Amazon/ANEWISH branding.
The wikidev page also suggests your device has a Realtek RTL8811AU chipset rather than the RTL8812AU, This should be fine though because this chipset can be used with the RTL8812AU driver and will support both 802.11n and 802.11ac protocols if you have a dual band access point.
The next thing I noticed is that the AUR package that I assume you used was last updated a few months before the most recent commit was made to the github repo and well before the 4.9.11-1-ARCH kernel was available so my suggestion would be to remove the driver you built and instead work through the instructions here: GitHub, to see if you achieve better results.
Finally, I have experienced difficulties with USB wireless adapters if they are physically plugged in at boot time. udev seems to treat them slightly differently if they're attached during boot than it does if they're hot-plugged once the box has started. I did turn on udev debug logging at one stage and started to look at it; if I remember correctly udev ran different rules at boot time that it did when trying to attach it whenhot-plugged. This led to the hardware state not being set correctly on boot which would cause network manager to try and take the NIC down if it was started with ip link set <NIC> up or something similar. It was a while ago though so I'm a bit hazy. If plugging the device in after boot doesn't help you can always disable networkmanager or create some /etc/netctl/<wireless> config to prevent networkmanager from controlling the interface. At any rate I've always (anecdotally) found things to be a bit more stable if you manage the wireless NIC from the command line rather than using network-manager-gnome or whatever as a front end for wpa_supplicant etc.
Hope this helps.
Last edited by scoindy (2017-03-04 06:42:08)
Offline
enp0s29u1u2 doesn't sound like a wireless device..
post the output of `lsmod`, `rfkill list all` and `lsusb.py -ucei`
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline