You are not logged in.

#1 2020-06-29 09:38:33

DCx86
Member
From: Uppsala
Registered: 2018-02-20
Posts: 47

[SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

I have been using internet via same usb wifi dongle (TL-WN722N) for few months now, but strangely one day it stopped working.
Not sure what is going on here. Any help would be much appreciated. Thanks!

$ wifi-menu
Invalid interface specification
Usage: wifi-menu [-h | --help] [-o | --obscure] [INTERFACE]

Interactively connect to a wireless network on INTERFACE using netctl.
If only one wireless interface is available, INTERFACE can be omitted.
...

The usb network adapter is visible:

$ lsusb
Bus 002 Device 003: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
...

The wifi interface is not visible:

$ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 80:ee:73:95:d0:49 brd ff:ff:ff:ff:ff:ff
3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 80:ee:73:95:d0:48 brd ff:ff:ff:ff:ff:ff

dmesg:

$ dmesg
[ 2384.924811] usb 2-1: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08
[ 2384.924818] usb 2-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 2384.924822] usb 2-1: Product: USB2.0 WLAN
[ 2384.924825] usb 2-1: Manufacturer: ATHEROS
[ 2384.924827] usb 2-1: SerialNumber: 12345

Last edited by DCx86 (2020-06-29 12:53:41)

Offline

#2 2020-06-29 09:41:32

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,111
Website

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

Please provide

# pacman -Q linux
# pacman -Q linux-firmware
# uname -r
# systemctl list-unit-files --state=static,enabled,transient

Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#3 2020-06-29 09:55:29

DCx86
Member
From: Uppsala
Registered: 2018-02-20
Posts: 47

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

pacman -Q linux:

linux 5.7.6.arch1-1

pacman -Q linux-firmware:

linux-firmware 20200519.8ba6fa6-1

uname -r:

5.7.4-arch1-1

systemctl list-unit-files --state=static,enabled,transient:

UNIT FILE                                  STATE     VENDOR PRESET
proc-sys-fs-binfmt_misc.automount          static    disabled     
dev-hugepages.mount                        static    disabled     
dev-mqueue.mount                           static    disabled     
sys-fs-fuse-connections.mount              static    disabled     
sys-kernel-config.mount                    static    disabled     
sys-kernel-debug.mount                     static    disabled     
sys-kernel-tracing.mount                   static    disabled     
tmp.mount                                  static    disabled     
var-lib-machines.mount                     static    disabled     
systemd-ask-password-console.path          static    disabled     
systemd-ask-password-wall.path             static    disabled     
session-1.scope                            transient disabled     
alsa-restore.service                       static    disabled     
alsa-state.service                         static    disabled     
autovt@.service                            enabled   disabled     
colord.service                             static    disabled     
container-getty@.service                   static    disabled     
dbus-org.freedesktop.hostname1.service     static    disabled     
dbus-org.freedesktop.import1.service       static    disabled     
dbus-org.freedesktop.locale1.service       static    disabled     
dbus-org.freedesktop.login1.service        static    disabled     
dbus-org.freedesktop.machine1.service      static    disabled     
dbus-org.freedesktop.portable1.service     static    disabled     
dbus-org.freedesktop.timedate1.service     static    disabled     
dbus.service                               static    disabled     
dm-event.service                           static    disabled     
e2scrub@.service                           static    disabled     
e2scrub_all.service                        static    disabled     
e2scrub_fail@.service                      static    disabled     
emergency.service                          static    disabled     
fstrim.service                             static    disabled     
getty@.service                             enabled   enabled      
git-daemon@.service                        static    disabled     
initrd-cleanup.service                     static    disabled     
initrd-parse-etc.service                   static    disabled     
initrd-switch-root.service                 static    disabled     
initrd-udevadm-cleanup-db.service          static    disabled     
kmod-static-nodes.service                  static    disabled     
krb5-kpropd@.service                       static    disabled     
ldconfig.service                           static    disabled     
lvm2-lvmetad.service                       static    disabled     
lvm2-lvmpolld.service                      static    disabled     
lvm2-monitor.service                       static    disabled     
lvm2-pvscan@.service                       static    disabled     
man-db.service                             static    disabled     
mkinitcpio-generate-shutdown-ramfs.service static    disabled     
modprobe@.service                          static    disabled     
netctl@.service                            static    disabled     
paccache.service                           static    disabled     
polkit.service                             static    disabled     
quotaon.service                            static    disabled     
rescue.service                             static    disabled     
rlogin@.service                            static    disabled     
rsh@.service                               static    disabled     
rsyncd@.service                            static    disabled     
shadow.service                             static    disabled     
sshdgenkeys.service                        static    disabled     
system-update-cleanup.service              static    disabled     
systemd-ask-password-console.service       static    disabled     
systemd-ask-password-wall.service          static    disabled     
systemd-backlight@.service                 static    disabled     
systemd-binfmt.service                     static    disabled     
systemd-bless-boot.service                 static    disabled     
systemd-boot-system-token.service          static    disabled     
systemd-coredump@.service                  static    disabled     
systemd-exit.service                       static    disabled     
systemd-firstboot.service                  static    disabled     
systemd-fsck@.service                      static    disabled     
systemd-halt.service                       static    disabled     
systemd-hibernate-resume@.service          static    disabled     
systemd-hibernate.service                  static    disabled     
systemd-hostnamed.service                  static    disabled     
systemd-hwdb-update.service                static    disabled     
systemd-hybrid-sleep.service               static    disabled     
systemd-importd.service                    static    disabled     
systemd-initctl.service                    static    disabled     
systemd-journal-catalog-update.service     static    disabled     
systemd-journal-flush.service              static    disabled     
systemd-journald.service                   static    disabled     
systemd-journald@.service                  static    disabled     
systemd-kexec.service                      static    disabled     
systemd-localed.service                    static    disabled     
systemd-logind.service                     static    disabled     
systemd-machine-id-commit.service          static    disabled     
systemd-machined.service                   static    disabled     
systemd-modules-load.service               static    disabled     
systemd-portabled.service                  static    disabled     
systemd-poweroff.service                   static    disabled     
systemd-quotacheck.service                 static    disabled     
systemd-random-seed.service                static    disabled     
systemd-reboot.service                     static    disabled     
systemd-rfkill.service                     static    disabled     
systemd-suspend-then-hibernate.service     static    disabled     
systemd-suspend.service                    static    disabled     
systemd-sysctl.service                     static    disabled     
systemd-sysusers.service                   static    disabled     
systemd-timedated.service                  static    disabled     
systemd-tmpfiles-clean.service             static    disabled     
systemd-tmpfiles-setup-dev.service         static    disabled     
systemd-tmpfiles-setup.service             static    disabled     
systemd-udev-settle.service                static    disabled     
systemd-udev-trigger.service               static    disabled     
systemd-udevd.service                      static    disabled     
systemd-update-done.service                static    disabled     
systemd-update-utmp.service                static    disabled     
systemd-user-sessions.service              static    disabled     
systemd-vconsole-setup.service             static    disabled     
systemd-volatile-root.service              static    disabled     
telnet@.service                            static    disabled     
trezord.service                            enabled   disabled     
user-runtime-dir@.service                  static    disabled     
user@.service                              static    disabled     
machine.slice                              static    disabled     
system-systemd\x2dcryptsetup.slice         static    disabled     
user.slice                                 static    disabled     
dbus.socket                                static    disabled     
dm-event.socket                            static    disabled     
lvm2-lvmetad.socket                        static    disabled     
lvm2-lvmpolld.socket                       static    disabled     
syslog.socket                              static    disabled     
systemd-coredump.socket                    static    disabled     
systemd-initctl.socket                     static    disabled     
systemd-journald-audit.socket              static    disabled     
systemd-journald-dev-log.socket            static    disabled     
systemd-journald-varlink@.socket           static    disabled     
systemd-journald.socket                    static    disabled     
systemd-journald@.socket                   static    disabled     
systemd-rfkill.socket                      static    disabled     
systemd-udevd-control.socket               static    disabled     
systemd-udevd-kernel.socket                static    disabled     
basic.target                               static    disabled     
blockdev@.target                           static    disabled     
bluetooth.target                           static    disabled     
boot-complete.target                       static    disabled     
cryptsetup-pre.target                      static    disabled     
cryptsetup.target                          static    disabled     
default.target                             static    disabled     
emergency.target                           static    disabled     
final.target                               static    disabled     
getty-pre.target                           static    disabled     
getty.target                               static    disabled     
graphical.target                           static    disabled     
hibernate.target                           static    disabled     
hybrid-sleep.target                        static    disabled     
initrd-fs.target                           static    disabled     
initrd-root-device.target                  static    disabled     
initrd-root-fs.target                      static    disabled     
initrd-switch-root.target                  static    disabled     
initrd.target                              static    disabled     
local-fs-pre.target                        static    disabled     
local-fs.target                            static    disabled     
multi-user.target                          static    disabled     
network-online.target                      static    disabled     
network-pre.target                         static    disabled     
network.target                             static    disabled     
nss-lookup.target                          static    disabled     
nss-user-lookup.target                     static    disabled     
paths.target                               static    disabled     
printer.target                             static    disabled     
remote-fs-pre.target                       static    disabled     
remote-fs.target                           enabled   enabled      
rescue.target                              static    disabled     
rpcbind.target                             static    disabled     
runlevel1.target                           static    disabled     
runlevel2.target                           static    disabled     
runlevel3.target                           static    disabled     
runlevel4.target                           static    disabled     
runlevel5.target                           static    disabled     
shutdown.target                            static    disabled     
sigpwr.target                              static    disabled     
sleep.target                               static    disabled     
slices.target                              static    disabled     
smartcard.target                           static    disabled     
sockets.target                             static    disabled     
sound.target                               static    disabled     
suspend-then-hibernate.target              static    disabled     
suspend.target                             static    disabled     
swap.target                                static    disabled     
sysinit.target                             static    disabled     
system-update-pre.target                   static    disabled     
system-update.target                       static    disabled     
time-set.target                            static    disabled     
time-sync.target                           static    disabled     
timers.target                              static    disabled     
umount.target                              static    disabled     
shadow.timer                               static    disabled     
systemd-tmpfiles-clean.timer               static    disabled     

187 unit files listed.

Offline

#4 2020-06-29 10:07:35

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,111
Website

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

Reboot to the new kernel, so that the driver module can load.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#5 2020-06-29 10:28:57

DCx86
Member
From: Uppsala
Registered: 2018-02-20
Posts: 47

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

Thank you @schard for your help, unfortunately rebooting didn't fix it. sad

Offline

#6 2020-06-29 10:33:02

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,111
Website

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

What's the output of

# uname -r
# ip link show

now?


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#7 2020-06-29 11:06:22

DCx86
Member
From: Uppsala
Registered: 2018-02-20
Posts: 47

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

uname -r:

5.7.6-arch1-1

ip link show:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 80:ee:73:95:d0:49 brd ff:ff:ff:ff:ff:ff
3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 80:ee:73:95:d0:48 brd ff:ff:ff:ff:ff:ff

Offline

#8 2020-06-29 11:07:02

DCx86
Member
From: Uppsala
Registered: 2018-02-20
Posts: 47

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

Can it be a hardware problem with the dongle?

Offline

#9 2020-06-29 11:11:44

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,111
Website

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

That's not impossible, though I'd want to rule out a software error first.
What's the output of

# lsusb -v

with regards to the WiFi dongle?


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#10 2020-06-29 11:19:38

loqs
Member
Registered: 2014-03-06
Posts: 18,045

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

Offline

#11 2020-06-29 11:34:21

Awebb
Member
Registered: 2010-05-06
Posts: 6,602

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

They've fixed the protection fault, alright.

Offline

#12 2020-06-29 11:38:41

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,111
Website

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

It's not a bug, it's a feature.
@OP: Does a downgrade to a kernel version of 5.7.2 or lower solve this issue?

Last edited by schard (2020-06-29 11:39:23)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#13 2020-06-29 11:42:28

DCx86
Member
From: Uppsala
Registered: 2018-02-20
Posts: 47

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

lsusb -v:

Bus 002 Device 002: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  idVendor           0x0cf3 Qualcomm Atheros Communications
  idProduct          0x9271 AR9271 802.11n
  bcdDevice            1.08
  iManufacturer          16 
  iProduct               32 
  iSerial                48 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x003c
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           6
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 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     0x82  EP 2 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     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      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

Strangely when I tried to save the output into a file lsusb -b > output I get an error, but only when I try to save the output

Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing

Last edited by DCx86 (2020-06-29 11:46:17)

Offline

#14 2020-06-29 11:53:45

DCx86
Member
From: Uppsala
Registered: 2018-02-20
Posts: 47

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

schard wrote:

It's not a bug, it's a feature.
@OP: Does a downgrade to a kernel version of 5.7.2 or lower solve this issue?

I haven't done any downgrading before, I'll need to do some reading to see how its done. I'm a bit worries fiddling with the kernel cos I have little to no idea what I'm doing.

Any suggestions how to do a safe downgrade?

Offline

#15 2020-06-29 11:57:13

loqs
Member
Registered: 2014-03-06
Posts: 18,045

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

Offline

#16 2020-06-29 12:28:42

DCx86
Member
From: Uppsala
Registered: 2018-02-20
Posts: 47

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

Okay, I downgrade to kernel 5.7.2 and the wifi seems to be working now.

uname -r:

5.7.2-arch1-1

ip link show:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 80:ee:73:95:d0:49 brd ff:ff:ff:ff:ff:ff
3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 80:ee:73:95:d0:48 brd ff:ff:ff:ff:ff:ff
7: wlp0s20u1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether c0:4a:00:25:a5:1e brd ff:ff:ff:ff:ff:ff

But I think this was not supposed to be solution but more like troubleshoot. Right?

Offline

#17 2020-06-29 12:31:09

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,111
Website

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

It's an interim workaround until the Linux devs have fixed the bug, that @loqs linked to.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#18 2020-06-29 12:41:24

DCx86
Member
From: Uppsala
Registered: 2018-02-20
Posts: 47

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

Yes, I understand. Wish them best of luck with that. Must be a really difficult job linux developer but exiting none the less.

One more thing, for some reason the video resolution was affected after the downgrade. Not sure where to being to fix this, do I need to downgrade some other packages as well? Thanks for the help!

Offline

#19 2020-06-29 12:46:48

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,111
Website

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

Aftereffects of kernel downgrades are usually not a good sign.
I am unsure as to whether you should start a new topic on that or not.
What graphics card are you using with what driver?

# lspci -nnk

Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#20 2020-06-29 12:52:23

DCx86
Member
From: Uppsala
Registered: 2018-02-20
Posts: 47

Re: [SOLVED] Wifi-menu invalid interface specification via usb wifi dongle

I will start new topic. Thanks.

Last edited by DCx86 (2020-06-30 09:02:39)

Offline

Board footer

Powered by FluxBB