wlan0: ERROR while getting interface flags: No such device

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Hairyloon
Level 3
Level 3
Posts: 152
Joined: Thu Sep 22, 2011 8:15 am

wlan0: ERROR while getting interface flags: No such device

Post by Hairyloon »

I had troubles running Mint 18 so I decided to try 17: it seems to run significantly faster, but I have no Wifi.
I've installed the recommended drivers using the driver manager, which has always worked before, but I've got nothing.

'lshw -C network' gives me:
*-network UNCLAIMED
description: Network controller
product: BCM4322 802.11a/b/g/n Wireless LAN Controller
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:0c:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f69fc000-f69fffff
'rfkill list' gives nothing.
'ifconfig ' gives:
enp0s25 Link encap:Ethernet HWaddr 00:24:e8:d3:f9:0e
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fddc:d916:dfe2:bd00:224:e8ff:fed3:f90e/64 Scope:Global
inet6 addr: fe80::224:e8ff:fed3:f90e/64 Scope:Link
inet6 addr: fddc:d916:dfe2:bd00:f840:b760:faff:e512/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:246660 errors:0 dropped:0 overruns:0 frame:0
TX packets:158062 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:295998721 (295.9 MB) TX bytes:18274832 (18.2 MB)
Interrupt:22 Memory:f6ae0000-f6b00000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:3608 errors:0 dropped:0 overruns:0 frame:0
TX packets:3608 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:391105 (391.1 KB) TX bytes:391105 (391.1 KB)
I'm a bit stumped now...
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by JeremyB »

Post results for

Code: Select all

lspci -nnk | grep -iA2 net; dkms status
Hairyloon
Level 3
Level 3
Posts: 152
Joined: Thu Sep 22, 2011 8:15 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by Hairyloon »

~ $ lspci -nnk | grep -iA2 net; dkms status
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
Subsystem: Dell Device [1028:024d]
Kernel driver in use: e1000e
--
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)
Subsystem: Dell Wireless 1510 Wireless-N WLAN Mini-Card [1028:000d]
bcmwl, 6.30.223.248+bdcom: added
virtualbox-guest, 4.3.18, 3.13.0-37-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by JeremyB »

Code: Select all

sudo dkms install bcmwl/6.30.223.248+bdcom
If you get an error, post it, if no errors, reboot
Hairyloon
Level 3
Level 3
Posts: 152
Joined: Thu Sep 22, 2011 8:15 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by Hairyloon »

~ $ sudo dkms install bcmwl/6.30.223.248+bdcom
Error! echo
Your kernel headers for kernel 4.4.0-21-generic cannot be found at
/lib/modules/4.4.0-21-generic/build or /lib/modules/4.4.0-21-generic/source.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by JeremyB »

Code: Select all

sudo apt-get install linux-headers-4.4.0-21-generic build-essential
Once that completes, do

Code: Select all

sudo dkms install bcmwl/6.30.223.248+bdcom
Hairyloon
Level 3
Level 3
Posts: 152
Joined: Thu Sep 22, 2011 8:15 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by Hairyloon »

~ $ sudo dkms install bcmwl/6.30.223.248+bdcom
Module bcmwl/6.30.223.248+bdcom already installed on kernel 4.4.0-21-generic/x86_64
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by JeremyB »

That looks good, try a reboot
Hairyloon
Level 3
Level 3
Posts: 152
Joined: Thu Sep 22, 2011 8:15 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by Hairyloon »

JeremyB wrote:That looks good, try a reboot
Already have. No noticeable difference.
Perhaps it would be easier to wipe it and start anew? :?
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by JeremyB »

See the wireless script in my signature and post results
Hairyloon
Level 3
Level 3
Posts: 152
Joined: Thu Sep 22, 2011 8:15 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by Hairyloon »

Code: Select all

########## wireless info START ##########

Report from: 21 Oct 2017 20:24 BST +0100

Booted last: 21 Oct 2017 20:06 BST +0100

Script from: 25 Mar 2017 07:04 UTC +0000

##### release ###########################

Distributor ID:	LinuxMint
Description:	Linux Mint 17.1 Rebecca
Release:	17.1
Codename:	rebecca

##### kernel ############################

Linux 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

default

##### lspci #############################

00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
	Subsystem: Dell Device [1028:024d]
	Kernel driver in use: e1000e

0c:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)
	Subsystem: Dell Wireless 1510 Wireless-N WLAN Mini-Card [1028:000d]

##### lsusb #############################

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
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 005: ID 413c:8160 Dell Computer Corp. Wireless 365 Bluetooth
Bus 003 Device 004: ID 413c:8162 Dell Computer Corp. Integrated Touchpad [Synaptics]
Bus 003 Device 003: ID 413c:8161 Dell Computer Corp. Integrated Keyboard
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

##### PCMCIA card info ##################

##### rfkill ############################

##### lsmod #############################

wmi                    20480  0 

##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

enp0s25   Link encap:Ethernet  HWaddr <MAC 'enp0s25' [IF1]>  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fddc:d916:dfe2:bd00:<IP6 'enp0s25' [IF1]>/64 Scope:Global
          inet6 addr: fddc:d916:dfe2:bd00:b08a:2ee1:4de9:fd36/64 Scope:Global
          inet6 addr: fe80::<IP6 'enp0s25' [IF1]>/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:80264 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55156 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:95221464 (95.2 MB)  TX bytes:7070092 (7.0 MB)
          Interrupt:22 Memory:f6ae0000-f6b00000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1560 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1560 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:174473 (174.4 KB)  TX bytes:174473 (174.4 KB)

##### iwconfig ##########################

enp0s25   no wireless extensions.

lo        no wireless extensions.

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 enp0s25
192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 enp0s25

##### resolv.conf #######################

nameserver 127.0.1.1
search lan

##### network managers ##################

Installed:

	NetworkManager

Running:

root      1036     1  0 20:06 ?        00:00:00 NetworkManager

##### NetworkManager info ###############

NetworkManager Tool

State: connected (global)

- Device: enp0s25  [Wired connection 1] ----------------------------------------
  Type:              Wired
  Driver:            e1000e
  State:             connected
  Default:           yes
  HW Address:        <MAC 'enp0s25' [IF1]>

  Capabilities:
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         192.168.1.2
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.1

    DNS:             192.168.1.1

  IPv6 Settings:
    Address:         fddc:d916:dfe2:bd00:b08a:2ee1:4de9:fd36
    Prefix:          64
    Gateway:         ::

    Address:         fddc:d916:dfe2:bd00:<IP6 'enp0s25' [IF1]>
    Prefix:          64
    Gateway:         ::

    Address:         fe80::<IP6 'enp0s25' [IF1]>
    Prefix:          64
    Gateway:         ::

    DNS:             fe80::1

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/thisnetwork]] (600 root)
[connection] id=thisnetwork | type=802-11-wireless
[802-11-wireless] ssid=thisnetwork | mac-address=<MAC address>
[ipv4] method=auto
[ipv6] method=auto

##### iw reg get ########################

nl80211 not found.

##### iwlist channels ###################

enp0s25   no frequency information.

lo        no frequency information.

##### iwlist scan #######################

enp0s25   Interface doesn't support scanning.

lo        Interface doesn't support scanning.

##### module infos ######################

##### module parameters #################

##### /etc/modules ######################

lp
rtc

##### modprobe options ##################

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x8086:0x10f5 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'enp0s25' [IF1]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x14e4:0x432b (wl)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

##### dmesg #############################

[   21.554383] wl: module license 'MIXED/Proprietary' taints kernel.
[   21.560546] wl: module verification failed: signature and/or required key missing - tainting kernel
[   21.560694] wl: Unknown symbol wiphy_new_nm (err 0)
[   21.560706] wl: Unknown symbol wiphy_register (err 0)
[   21.560769] wl: Unknown symbol wiphy_unregister (err 0)
[   21.560790] wl: Unknown symbol __ieee80211_get_channel (err 0)
[   21.560812] wl: Unknown symbol ieee80211_channel_to_frequency (err 0)
[   21.560837] wl: Unknown symbol ieee80211_frequency_to_channel (err 0)
[   21.560847] wl: Unknown symbol wiphy_free (err 0)
[   29.336561] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[   32.112937] e1000e: enp0s25 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[   32.113049] e1000e 0000:00:19.0 enp0s25: 10/100 speed: disabling TSO
[   32.113082] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready

########## wireless info END ############
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by JeremyB »

Code: Select all

wget http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu2_amd64.deb
sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu2_amd64.deb
Reboot
Hairyloon
Level 3
Level 3
Posts: 152
Joined: Thu Sep 22, 2011 8:15 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by Hairyloon »

Before I reboot, I'll leave you with this:

wl:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.4.0-21-generic/updates/

depmod....

DKMS: install completed.
modprobe: ERROR: could not insert 'wl': Unknown symbol in module, or unknown parameter (see dmesg)
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.9) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-37-generic
Warning: No support for locale: en_GB.utf8
Hairyloon
Level 3
Level 3
Posts: 152
Joined: Thu Sep 22, 2011 8:15 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by Hairyloon »

Still nothing.
I fear I am taking too much of your time and energy so unless you have got your teeth into it and are enjoying the challenge, I'll go for the wipe and reinstall.

Either way, thank you very much for your help. How might I repay the favour?
Hairyloon
Level 3
Level 3
Posts: 152
Joined: Thu Sep 22, 2011 8:15 am

Re: wlan0: ERROR while getting interface flags: No such device

Post by Hairyloon »

Hairyloon wrote:I'll go for the wipe and reinstall...
OK, that worked. :)
Locked

Return to “Networking”