[SOLVED] rusty linux user needs help getting wireless to work on Ubuntu 16
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
rusty linux user needs help getting wireless to work on Ubuntu 16
Don't know where to start. No wireless on my laptop after a fresh install along side Windows. Wired connection fine. Windows wireless fine. Thanks for any help.
Plenty of (recent) hits - most Ubuntu/Debian or derivatives. But they seem to blame upstream. Several solutions from disabling power management to pulling a new driver and compiling from source.
Personally I would try the easy ones first before going to the compile - each new kernel will require a rebuild of the module. But if you must, you must.
FWIW, due to past issues like this (appalling support from the manufacturers) I avoid both Realtek and Broadcom when buying new kit. The Intel support of wifi has been good for years.
it says clearly UNCLAIMED there for your realtek wifi.
usually requires some minor command-fu to
a) install the right driver
b) install the right firmware
c) sometimes both.
search for "ubuntu RTL8821AE" you should get answers.
let us know how it goes, more help is available.
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: yes
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Hi...
Thanks for posting the results. Here is at least one of the problems, if not the problem. Your wireless adapter is turned off at the computer (or hardware level.) It appears that your laptop brand and model (Lenovo-ideapad-Y700-15ACZ) doesn't have a physical switch to enable or disable the adapter, from what I see here and here. First, check the BIOS/UEFI to make sure it's enabled there and if so, see if the button combination mentioned in the articles linked to above enables the adapter, by any chance. I did find this patch, however, I don't think it's been included with Ubuntu 16.04's stock kernel. If the button combination doesn't work, you can contact Canonical to see if it's been added to any subsequent kernels or versions of Ubuntu or conduct some research to find out how the patch might be added to your current kernel.
If you're able to unblock the adapter, verify the status by running this command in the terminal...
Code:
rfkill list
All the entries should read "no." If so and your wireless still doesn't work after that, please run another diagnostic again and post the results. Thanks!
Regards...
Last edited by ardvark71; 03-19-2017 at 12:23 PM.
Reason: Correction.
Nope. No function keys or buttons found to turn on wireless. I used to see an options for check marking wireless in the dropdown list
in upper right corner (the two up and down arrows) - now that's not there.
Code:
jay@jay-Lenovo-ideapad-Y700-15ACZ:~$ cat /home/jay/wireless-info.txt
########## wireless info START ##########
Report from: 19 Mar 2017 12:51 EDT -0400
Booted last: 19 Mar 2017 00:00 EDT -0400
Script from: 08 Jul 2016 02:16 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety
##### kernel ############################
Linux 4.8.0-41-generic #44-Ubuntu SMP Fri Mar 3 15:27:17 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
##### desktop ###########################
Ubuntu
##### lspci #############################
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:3832]
Kernel driver in use: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]
Subsystem: Lenovo RTL8821AE 802.11ac PCIe Wireless Network Adapter [17aa:a814]
Kernel modules: rtl8821ae
##### lsusb #############################
Bus 001 Device 004: ID 0bda:0821 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 174f:14e8 Syntek
Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 0e8d:1887 MediaTek Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
##### lsmod #############################
mac80211 757760 0
cfg80211 581632 1 mac80211
wmi 16384 0
##### interfaces ########################
auto lo
iface lo inet loopback
##### ifconfig ##########################
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.40 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 2601:151:4501:4a28:a911:b829:25ab:4f1 prefixlen 64 scopeid 0x0<global>
inet6 2601:151:4501:4a28::7b4d prefixlen 128 scopeid 0x0<global>
inet6 2601:151:4501:4a28:dd7f:f619:4385:cd35 prefixlen 64 scopeid 0x0<global>
inet6 fe80::2174:2655:e1c8:3d9b prefixlen 64 scopeid 0x20<link>
ether <MAC address> txqueuelen 1000 (Ethernet)
RX packets 190792 bytes 241549955 (241.5 MB)
RX errors 0 dropped 9 overruns 0 frame 0
TX packets 84853 bytes 9592102 (9.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 74715 bytes 5393365 (5.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 74715 bytes 5393365 (5.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
##### iwconfig ##########################
enp1s0 no wireless extensions.
lo no wireless extensions.
##### route #############################
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.1 0.0.0.0 UG 100 0 0 enp1s0
10.0.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp1s0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enp1s0
##### resolv.conf #######################
nameserver 127.0.1.1
search hsd1.md.comcast.net
##### network managers ##################
Installed:
NetworkManager
Running:
root 753 1 0 11:48 ? 00:00:06 /usr/sbin/NetworkManager --no-daemon
##### NetworkManager info ###############
GENERAL.DEVICE: enp1s0
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:
GENERAL.HWADDR: <MAC address>
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:02.2/0000:01:00.0/net/enp1s0
GENERAL.IP-IFACE: enp1s0
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-UUID: a7f50972-d1c7-3bec-88a8-0c01016ff8d3
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 1000 Mb/s
CAPABILITIES.IS-SOFTWARE: no
WIRED-PROPERTIES.CARRIER: on
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{0}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: a7f50972-d1c7-3bec-88a8-0c01016ff8d3 | Wired connection 1
IP4.ADDRESS[1]: 10.0.0.40/24
IP4.GATEWAY: 10.0.0.1
IP4.ROUTE[1]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 75.75.75.75
IP4.DNS[2]: 75.75.76.76
IP4.DOMAIN[1]: hsd1.md.comcast.net
DHCP4.OPTION[1]: requested_subnet_mask = 1
DHCP4.OPTION[2]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[3]: subnet_mask = 255.255.255.0
DHCP4.OPTION[4]: domain_name_servers = 75.75.75.75 75.75.76.76
DHCP4.OPTION[5]: ip_address = 10.0.0.40
DHCP4.OPTION[6]: requested_static_routes = 1
DHCP4.OPTION[7]: dhcp_server_identifier = 10.0.0.1
DHCP4.OPTION[8]: requested_time_offset = 1
DHCP4.OPTION[9]: broadcast_address = 10.0.0.255
DHCP4.OPTION[10]: requested_interface_mtu = 1
DHCP4.OPTION[11]: dhcp_rebinding_time = 529200
DHCP4.OPTION[12]: requested_domain_name_servers = 1
DHCP4.OPTION[13]: dhcp_message_type = 5
DHCP4.OPTION[14]: requested_broadcast_address = 1
DHCP4.OPTION[15]: routers = 10.0.0.1
DHCP4.OPTION[16]: dhcp_renewal_time = 302400
DHCP4.OPTION[17]: requested_domain_name = 1
DHCP4.OPTION[18]: domain_name = hsd1.md.comcast.net
DHCP4.OPTION[19]: requested_routers = 1
DHCP4.OPTION[20]: expiry = 1490546845
DHCP4.OPTION[21]: host_name = jay-Lenovo-ideapad-Y700-15ACZ
DHCP4.OPTION[22]: requested_netbios_scope = 1
DHCP4.OPTION[23]: requested_wpad = 1
DHCP4.OPTION[24]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]: requested_netbios_name_servers = 1
DHCP4.OPTION[26]: network_number = 10.0.0.0
DHCP4.OPTION[27]: requested_domain_search = 1
DHCP4.OPTION[28]: next_server = 10.0.0.1
DHCP4.OPTION[29]: requested_ntp_servers = 1
DHCP4.OPTION[30]: requested_host_name = 1
DHCP4.OPTION[31]: dhcp_lease_time = 604800
IP6.ADDRESS[1]: 2601:151:4501:4a28::7b4d/128
IP6.ADDRESS[2]: 2601:151:4501:4a28:dd7f:f619:4385:cd35/64
IP6.ADDRESS[3]: 2601:151:4501:4a28:a911:b829:25ab:4f1/64
IP6.ADDRESS[4]: fe80::2174:2655:e1c8:3d9b/64
IP6.GATEWAY: fe80::250:f1ff:fe80:0
IP6.DNS[1]: 2001:558:feed::1
IP6.DNS[2]: 2001:558:feed::2
DHCP6.OPTION[1]: dhcp6_client_id = 0:4:e7:cf:6f:ab:55:45:21:7d:cc:89:1d:3b:3a:41:d1:a7
DHCP6.OPTION[2]: requested_dhcp6_name_servers = 1
DHCP6.OPTION[3]: rebind = 483840
DHCP6.OPTION[4]: max_life = 604800
DHCP6.OPTION[5]: preferred_life = 604800
DHCP6.OPTION[6]: requested_dhcp6_domain_search = 1
DHCP6.OPTION[7]: requested_dhcp6_client_id = 1
DHCP6.OPTION[8]: life_starts = 1489813917
DHCP6.OPTION[9]: dhcp6_status_code = success Assigned an address.
DHCP6.OPTION[10]: ip6_address = 2601:151:4501:4a28::7b4d
DHCP6.OPTION[11]: ip6_prefixlen = 64
DHCP6.OPTION[12]: renew = 302400
DHCP6.OPTION[13]: starts = 1489813917
DHCP6.OPTION[14]: iaid = 9d:60:ee:7a
DHCP6.OPTION[15]: dhcp6_server_id = 0:1:0:1:20:5d:1c:d3:0:50:f1:80:0:0
##### NetworkManager.state ##############
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
##### NetworkManager.conf ###############
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
##### NetworkManager profiles ###########
##### iw reg get ########################
Region: America/New_York (based on set time zone)
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
(5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
(5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
##### iwlist channels ###################
enp1s0 no frequency information.
lo no frequency information.
##### iwlist scan #######################
enp1s0 Interface doesn't support scanning.
lo Interface doesn't support scanning.
##### module infos ######################
[mac80211]
filename: /lib/modules/4.8.0-41-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: 9AF49B72127065FCF655D6A
depends: cfg80211
intree: Y
vermagic: 4.8.0-41-generic SMP mod_unload modversions
parm: minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)
[cfg80211]
filename: /lib/modules/4.8.0-41-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 46F63B461AA5E38D042F531
depends:
intree: Y
vermagic: 4.8.0-41-generic SMP mod_unload modversions
parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
##### module parameters #################
[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500
[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
##### /etc/modules ######################
##### modprobe options ##################
[/etc/modprobe.d/8192cu-disable-power-management.conf]
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/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-native-rtl8192.conf]
install rtl8192cu /bin/false
install rtl8192c_common /bin/false
install rtlwifi /bin/false
install rtl8xxxu /bin/false
[/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/idepad.conf]
blacklist ideapad_laptop
[/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 ##########################
grep: /etc/rc.local: No such file or directory
##### pm-utils ##########################
##### udev rules ########################
##### dmesg #############################
########## wireless info END ############
Dude I gave up and installed openSuse - not that it solved anything (Aardvark got me thinking I'd have better luck w/ openS). I'm struggling with Yast and Network Manager now to get that dang card recognized. We'll see. Thanks so far for the help. Will keep you posted on my progress w/ openSuse.
Did try that about five times.
Now I may have increased the difficulty as openSuse seems less popular and hence there will be less support.
Just so I know, this problem seems to be one of getting the correct drivers working right? Are the drivers written by the vendor? If so there's probably no incentive for them to produce one. Maybe they're written/programmed by the Linux community in which case it's either very hard to do or I just cannot find them. Am I warm?
Did try that about five times.
Now I may have increased the difficulty as openSuse seems less popular and hence there will be less support.
Just so I know, this problem seems to be one of getting the correct drivers working right? Are the drivers written by the vendor? If so there's probably no incentive for them to produce one. Maybe they're written/programmed by the Linux community in which case it's either very hard to do or I just cannot find them. Am I warm?
The best that I can tell you is that the driver had to be built and compiled for a Linux system.
Do you mean that you tried to install the driver five times?
It's the wifi device it seems. Not well supported in some cases. Drops a lot for some folks. Then you have to mess with power settings.
A few months ago someone made a patched driver to help fix the dropout issue.
Might be easier to get a small usb wifi adapter to make it work. Many are supported out of the box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.