{"id":8076,"date":"2018-08-22T12:41:33","date_gmt":"2018-08-22T12:41:33","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=8076"},"modified":"2021-01-13T13:59:19","modified_gmt":"2021-01-13T13:59:19","slug":"no-wifi-adapter-found-hp-laptops-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2018\/08\/no-wifi-adapter-found-hp-laptops-ubuntu-18-04\/","title":{"rendered":"Fix &#8216;No WiFi Adapter Found&#8217; for HP Laptops with Ubuntu 18.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/hp-icon245.png\" alt=\"HP Linux Imaging and Printing\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-6278\" \/><\/p>\n<p>This tutorial is a quick fix for HP laptops that wireless does not work on Ubuntu 18.04 Gnome desktop.<\/p>\n<p>On my cheap laptop <b>HP 246 G6<\/b> I found that the wireless network does not work out-of-box after installed Ubuntu 18.04. No wifi option in system tray menu, and System Settings says &#8216;<b>No Wifi adapter found<\/b>&#8216;.<\/p>\n<p>This happens on many HP devices including HP 15-bs000, 15-bs100, 15g-br000, 15q-bu000, and Pavilion 15-br000, HP 280 G3, 290 G1, and more. And the <b>reason is Ubuntu does not support RTL8723de wifi driver<\/b>.<\/p>\n<div class=\"arconix-box arconix-box-red\"><i class='fa fa-2x pull-left fa-exclamation-triangle'><\/i><div class=\"arconix-box-content\"><b>UPDATE Jan-2021, IMPORTANT NOTE:<\/b><\/p>\n<p><b>1. Ubuntu 18.04.5<\/b> comes with <b>Linux Kernel 5.4<\/b> which makes rtl8723de device work out-of-the-box.<\/p>\n<p>If kernel doesn&#8217;t update to v5.4.0, run command:<\/p>\n<pre style=\"border:none\">sudo apt install linux-generic-hwe-18.04<\/pre>\n<p>2. For other RealTek WiFi drivers, e.g., rtl8188fu, rtl8192fu, rtl8723ds, rtl8723du, and more. <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2021\/01\/install-rtl8188eu-rtl8723ds-drivers-ppa-ubuntu-20-04\/\">See this how to guide<\/a>.<br \/>\n<\/div><\/div>\n<p>Here&#8217;s what I did to fix no wifi adapter issue in Ubuntu 18.04: <\/p>\n<p><b>1.<\/b> Reboot and go to BIOS to make sure wireless network are enabled. And plug laptop into a wired connection.<\/p>\n<p><b>2.<\/b> Open terminal either via <b>Ctrl+Alt+T<\/b> shortcut key or by searching for &#8216;terminal&#8217; from software launcher.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/launch-terminal-450x252.jpg\" alt=\"\" width=\"450\" height=\"252\" class=\"aligncenter size-medium wp-image-7926\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/launch-terminal-450x252.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/launch-terminal.jpg 458w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p><b>3.1<\/b> You may first install the building tools first via command:<\/p>\n<pre style=\"border:none;\">sudo apt-get install linux-headers-$(uname -r) build-essential git<\/pre>\n<p><b>3.2<\/b> Run command to get the <a href=\"https:\/\/github.com\/lwfinger\/rtw88\" target=\"_blank\" rel=\"noopener\"> Realtek rtlwifi codes<\/a> that includes rtl8192ce, rtl8192cu, rtl8192se, rtl8192de, rtl8188ee, rtl8192ee, rtl8723ae, rtl8723be, and rtl8821ae.:<\/p>\n<pre style=\"border:none;\">git clone https:\/\/github.com\/lwfinger\/rtw88.git<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/grab-rtl88.png\" alt=\"\" width=\"560\" height=\"148\" class=\"aligncenter size-full wp-image-32650\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/grab-rtl88.png 560w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/grab-rtl88-450x119.png 450w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p><b>4.<\/b> In this terminal window, install the drivers via command:<\/p>\n<pre style=\"border:none;\">cd rtw88\/ && make && sudo make install<\/pre>\n<p><i>Type your password (no asterisk feedback) when it prompts and hit Enter.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/make-rtw88.png\" alt=\"\" width=\"560\" height=\"340\" class=\"aligncenter size-full wp-image-32651\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/make-rtw88.png 560w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/make-rtw88-450x273.png 450w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p><b>5.<\/b> If the installation success, run 2 commands load the new driver:<\/p>\n<pre style=\"border:none;\">sudo modprobe -r rtl8723de\r\n\r\nsudo modprobe rtl8723de<\/pre>\n<p>Wireless network starts working in my case:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/wifi-enabled.jpg\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/wifi-enabled-600x334.jpg\" alt=\"\" width=\"600\" height=\"334\" class=\"aligncenter size-large wp-image-8080\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/wifi-enabled-600x334.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/wifi-enabled-450x251.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/wifi-enabled-768x428.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/wifi-enabled.jpg 1228w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>6.<\/b> If that does not work, you may remove and blacklist the broadcom drivers and restart:<\/p>\n<pre style=\"border:none;\">sudo apt purge bcmwl-kernel-source\r\n\r\nsudo sed -i '\/blacklist bcma\/ d' \/etc\/modprobe.d\/blacklist.conf\r\n\r\nsudo sed -i '\/blacklist brcmsmac\/ d' \/etc\/modprobe.d\/blacklist.conf<\/pre>\n<p><b>In addition<\/b>, (thanks to <a href=\"https:\/\/ubuntuforums.org\/showthread.php?t=2392454\" target=\"_blank\" rel=\"noopener\">jeremy31<\/a>) if you notice <b>weak signal<\/b> try command:<\/p>\n<pre style=\"border:none;\">sudo modprobe -r rtl8723de && sleep 5 && sudo modprobe rtl8723de ant_sel=1<\/pre>\n<p>and see if it is better, if not run:<\/p>\n<pre style=\"border:none;\">sudo modprobe -r rtl8723de && sleep 5 && sudo modprobe rtl8723de ant_sel=2<\/pre>\n<p>(<b>REQUIRED<\/b>) Or write the rule into configuration. REPLACE <b>X<\/b> with whatever setting (1, 2, or 3) worked best.<\/p>\n<pre style=\"border:none;\">echo \"options rtl8723de ant_sel=<b>X<\/b>\" | sudo tee \/etc\/modprobe.d\/rtl8723de.conf<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/load-rtlwifi-onstartup-600x111.png\" alt=\"\" width=\"600\" height=\"111\" class=\"aligncenter size-large wp-image-8791\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/load-rtlwifi-onstartup-600x111.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/load-rtlwifi-onstartup-450x83.png 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/08\/load-rtlwifi-onstartup.png 748w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial is a quick fix for HP laptops that wireless does not work on Ubuntu 18.04 Gnome desktop. On my cheap laptop HP 246 G6 I found that the wireless network does not work out-of-box after installed Ubuntu 18.04. No wifi option in system tray menu, and System Settings says &#8216;No Wifi adapter found&#8216;. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1225,1569,1570],"class_list":["post-8076","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-hp","tag-no-wifi-adapter","tag-rtl8723de-driver"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=8076"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8076\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=8076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=8076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=8076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}