{"id":8865,"date":"2019-04-19T15:44:59","date_gmt":"2019-04-19T15:44:59","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=8865"},"modified":"2024-04-22T09:59:07","modified_gmt":"2024-04-22T09:59:07","slug":"nstall-rtl8723de-wifi-driver-ubuntu-19-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2019\/04\/nstall-rtl8723de-wifi-driver-ubuntu-19-04\/","title":{"rendered":"How to Install RTL8723DE Wifi Driver in Ubuntu 19.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6278\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/09\/hp-icon245.png\" alt=\"HP Linux Imaging and Printing\" width=\"245\" height=\"250\" \/><\/p>\n<p>This tutorial is a rewritten of the previous &#8216;<a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2018\/08\/no-wifi-adapter-found-hp-laptops-ubuntu-18-04\/\" target=\"_blank\" rel=\"noopener\">Fix \u2018No WiFi Adapter Found\u2019 for HP Laptops with Ubuntu 18.04<\/a>&#8216;, since wireless will stop working after installed or upgraded to a new Linux Kernel.<\/p>\n<p>Following steps will install the newest Realtek rtlwifi codes including <b>rtl8192ce<\/b>, <b>rtl8192cu<\/b>, <b>rtl8192se<\/b>, <b>rtl8192de<\/b>, <b>rtl8188ee<\/b>, <b>rtl8192ee<\/b>, <b>rtl8723ae<\/b>, <b>rtl8723be<\/b>, <b>rtl8821ae<\/b>, <b>rtl8822be<\/b> and <b>rtl8723de<\/b> in Ubuntu with <b>DKMS<\/b> (Dynamic Kernel Module Support) support. So it will work in each kernel on your system.<\/p>\n<p><b>UPDATE: Ubuntu now supports RTL8723DE out-of-the-box! For other RealTek wifi drivers, try <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2021\/01\/install-rtl8188eu-rtl8723ds-drivers-ppa-ubuntu-20-04\/\">this tutorial<\/a> instead.<\/b><\/p>\n<p><b>1.<\/b> Connect your laptop to a wired network, and then open terminal from application menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-7926\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/07\/launch-terminal-450x252.jpg\" alt=\"\" width=\"450\" height=\"252\" 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>2.<\/b> Run command to install some required tools:<\/p>\n<pre style=\"border: none;\">sudo apt install git build-essential dkms<\/pre>\n<p><i>Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8866\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/install-dkms-600x117.jpg\" alt=\"\" width=\"600\" height=\"117\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/install-dkms-600x117.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/install-dkms-450x87.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/install-dkms.jpg 736w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>3.<\/b> Now grab the rtlwifi_new codes via command:<\/p>\n<pre style=\"border: none;\">git clone -b extended https:\/\/github.com\/lwfinger\/rtlwifi_new.git<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8867\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/git-rtlwifi-new-600x162.jpg\" alt=\"\" width=\"600\" height=\"162\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/git-rtlwifi-new-600x162.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/git-rtlwifi-new-450x122.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/git-rtlwifi-new.jpg 762w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>4.<\/b> Add the source to the tree for builds with DKMS support.<\/p>\n<pre style=\"border: none;\">sudo dkms add .\/rtlwifi_new<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8868\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/dkms-add-600x195.jpg\" alt=\"\" width=\"600\" height=\"195\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/dkms-add-600x195.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/dkms-add-450x146.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/dkms-add.jpg 755w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>5.<\/b> Finally install the drivers via command:<\/p>\n<pre style=\"border: none;\">sudo dkms install rtlwifi-new\/0.6<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8869\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/dkms-install-rtlwifi-600x197.jpg\" alt=\"\" width=\"600\" height=\"197\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/dkms-install-rtlwifi-600x197.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/dkms-install-rtlwifi-450x147.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/dkms-install-rtlwifi-768x252.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/dkms-install-rtlwifi.jpg 772w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>6.<\/b> If everything works OK, Wifi should work immediately (it works in my case in Ubuntu 19.04).<\/p>\n<p>If not, try commands to load the new installed module (rtl8723de in the case):<\/p>\n<pre style=\"border: none;\">sudo modprobe -r rtl8723de &amp;&amp; sudo modprobe rtl8723de<\/pre>\n<p><b>7.<\/b> And Wifi works after reboot without doing any configuration, at least in my case in Ubuntu 19.04.<\/p>\n<p>If not, try command to write it into configuration file (replace <b>3<\/b> to <b>1<\/b>, <b>2<\/b> or <b>4<\/b> if signal is weak).<\/p>\n<pre style=\"border: none;\">echo \"options rtl8723de ant_sel=<b>3<\/b>\" | sudo tee \/etc\/modprobe.d\/rtl8723de.conf<\/pre>\n<p><b>In addition<\/b>, if you happened to update your system with newest Kernel packages without reboot. You need to reinstall the kernel packages to get the module work after reboot.<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial is a rewritten of the previous &#8216;Fix \u2018No WiFi Adapter Found\u2019 for HP Laptops with Ubuntu 18.04&#8216;, since wireless will stop working after installed or upgraded to a new Linux Kernel. Following steps will install the newest Realtek rtlwifi codes including rtl8192ce, rtl8192cu, rtl8192se, rtl8192de, rtl8188ee, rtl8192ee, rtl8723ae, rtl8723be, rtl8821ae, rtl8822be and rtl8723de [&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":[1570,1695,1824,1825],"class_list":["post-8865","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-rtl8723de-driver","tag-wifi-not-found-ubuntu-19-04","tag-wifi-not-found-ubuntu-19-10","tag-wifi-ubuntu-19-10"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8865","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=8865"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/8865\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=8865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=8865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=8865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}