Wifi disabled when running MATE?

Hi there,

the problem is probably well-known, but still I can’t get to solve it. Whenever I reboot my computer on MATE, the wifi is disabled, stating it has been deactivated through a hardware switch. Problem is, there’s no such switch on my machine, but rather a hotkey switch, and I don’t turn off the wifi anyways.

What would be the correct way to always re-enable wifi on boot?

So computers has BIOS options to control the default power up state of devices such as Bluetooth and Wif. Might be worth a look.

My Dell Inspiron Duo might run into this sometimes. Pushing the hot key will toggle it on/off, and the network applet isn’t the quickest at realising “ooh, I’m on again!” when toggled back on again.

Try disabling and re-enabling networking (by right-clicking the applet) after toggling, and check whether the hot keys require FN simultaneously pressed or not (usually set in the BIOS). Something is probably turning it off before MATE starts again.

If you are dual booting with Windows and ubutnuMATE(or any ubuntu) try booting into windows and making sure that the wifi is on and working in windows. Then reboot into ubuntuMATE. I’ve found that if it is off in windows it wont start in ubuntu. Dont know why but the way it works on my Acer Asipre.

It works in Windows, no problem there. However, the hotkey doesn’t seem to work in Ubuntu MATE. The BIOS is set up to always enable the wireless adapter, but doesn’t control the hotkey.

Any idea?

Have you researched the make/model of the wifi adapter? You may need to download a driver.

The correct way to re-enable wifi on boot is for it to just work. So you almost have to fix the underlying problem, and for that it is difficult without the specific info about your hardware. That said, as @lah7, can you enable wireless networking using the applet? (If so you could re-enable wifi at boot with $ sudo ifconfig wlan0 up
Just a matter of that command being run at startup. Assuming your connection is wlan0.

Depending on what you have, usb adapter or not, you can look at the relevant parts of the following commands to get your wifi adapter info:
$ lsusb
$ lspci

I doubt an adapter is needed. It worked fine in Ubuntu (vanilla) from 11.10 to 14.04, when I decided to switch to MATE. It also works without tweaking in Kali. In MATE, the applet can’t enable the adapter as it reports it as “disabled by hardware switch”.

$ 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0408:13ba Quanta Computer, Inc. 
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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

And

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)

I don’t know what the underlying problem is, would there be a way to know for sure?

Maybe your wifi is integrated. What is the make/model # of the machine?

About knowing for sure, not always, unfortunately.

The first thing I’d try is toggling that hotkey a couple of times, then reboot to see if it has any effect. If Fn or Alt or Ctrl is part of it ie something like something+F10, try it without “something” and vice versa. Play around with it and/or try some other key combinations. You could also try suspending the machine, then resuming, and trying to enable.

What do you see when you do this?
$ sudo -i
$ rfkill list all

this is what I got using sudo lshw -class network

*-network DESACTIVADO
descripción: Interfaz inalámbrica
producto: AR9485 Wireless Network Adapter
fabricante: Qualcomm Atheros
id físico: 0
información del bus: pci@0000:01:00.0
nombre lógico: wlp1s0
versión: 01
serie: 18:67:b0:86:a7:30
anchura: 64 bits
reloj: 33MHz
capacidades: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
configuración: broadcast=yes driver=ath9k driverversion=4.4.0-47-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
recursos: irq:16 memoria:f0600000-f067ffff memoria:f0680000-f068ffff
*-network
descripción: Ethernet interface
producto: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
fabricante: Realtek Semiconductor Co., Ltd.
id físico: 0
información del bus: pci@0000:02:00.0
nombre lógico: enp2s0
versión: 05
serie: 18:67:b0:40:13:e6
tamaño: 100Mbit/s
capacidad: 100Mbit/s
anchura: 64 bits
reloj: 33MHz
capacidades: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuración: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8105e-1.fw ip=172.20.1.193 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
recursos: irq:25 ioport:2000(size=256) memoria:f0500000-f0500fff memoria:f0400000-f0403fff

Wifi was working fine during installation, after download first updates, wifi is turned off , the question is How do I switch on the wifi antenna?

Using sudo ifconfig wlp1s0 up

this is the result:
SIOCSIFFLAGS: Operación imposible por estar la radiofrecuencia desactivada

I absolutely don’t want to re-install Windows, but MATE 16.04 LTS is making me get embarrassed, it is not logical to use only a wired network on a netbook.

Guys i have trying everything... command line...wifi is enabled in bios set up. Wi fi still dead...also the resolution in screen is different. When i test mate in live through usb stick it was perfect. After installation problems started.