{"id":33,"date":"2013-07-19T13:44:17","date_gmt":"2013-07-19T13:44:17","guid":{"rendered":"http:\/\/gencarelle.com\/blog\/?p=33"},"modified":"2013-07-22T12:25:01","modified_gmt":"2013-07-22T12:25:01","slug":"problems-with-rtl8188cus","status":"publish","type":"post","link":"https:\/\/gencarelle.com\/blog\/2013\/07\/19\/problems-with-rtl8188cus\/","title":{"rendered":"Problems with Realtek RTL8188CUS"},"content":{"rendered":"<p>The\u00a0Miniature WiFi module from Adafruit does not work with Ubuntu 13.04 on the BeagleBone Black. Wish I knew that before I purchased it. Would have saved me many hours of work. Strap in, this one is a bit ugly.<\/p>\n<p><a href=\"https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2013\/07\/814_MED.jpg\"><img loading=\"lazy\" class=\"size-medium wp-image-36 aligncenter\" alt=\"814_MED\" src=\"https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2013\/07\/814_MED-300x231.jpg\" width=\"300\" height=\"231\" srcset=\"https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2013\/07\/814_MED-300x231.jpg 300w, https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2013\/07\/814_MED-389x300.jpg 389w, https:\/\/gencarelle.com\/blog\/wp-content\/uploads\/2013\/07\/814_MED.jpg 400w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The instructions are for the ubuntu-13.04-armhf-minfs-3.8.12-bone17.img.xz image. If you use a different image it should still work. Just make sure you have the correct kernel headers installed.<\/p>\n<p>1. Grab the modified driver from here:<br \/>\nwget https:\/\/realtek-8188cus-wireless-drivers-3444749-ubuntu-1304.googlecode.com\/files\/rtl8192cu-tjp-dkms_1.6_all.deb<\/p>\n<p>2. Update the available package information<br \/>\napt-get update<\/p>\n<p>3. Grab the kernel headers and install<br \/>\nwget http:\/\/rcn-ee.net\/deb\/raring-armhf\/v3.8.12-bone17\/linux-headers-3.8.12-bone17_1.0raring_armhf.deb<br \/>\ndpkg -i linux-headers-3.8.12-bone17_1.0raring_armhf.deb<\/p>\n<p>5. install the dkms package and all its dependencies<br \/>\napt-get install dkms<\/p>\n<p>6. Install the rtl8192cu-tjp-dkms_1.6_all.deb package. Its going to fail, dont be concerned. We aren&#8217;t done yet!<br \/>\ndpkg -i rtl8192cu-tjp-dkms_1.6_all.deb<\/p>\n<p>7. Fix the missing arch type<br \/>\ncd \/usr\/src\/linux-headers-3.8.12-bone17\/arch\/<br \/>\nln -s arm armv7l<\/p>\n<p>8. Fix a problem with the timex.h header<br \/>\nvi \/usr\/src\/linux-headers-3.8.12-bone17\/arch\/armv7l\/include\/asm\/timex.h<\/p>\n<p>change line 18 from<\/p>\n<p>#include &lt;mach\/timex.h&gt;<\/p>\n<p>to<\/p>\n<p>#include &lt;\/usr\/src\/linux-headers-3.8.12-bone17\/arch\/arm\/include\/asm\/timex.h&gt;<\/p>\n<p>9. Run make to build the driver<\/p>\n<p>cd\u00a0\/usr\/src\/rtl8192cu-tjp-1.6<br \/>\nmake<\/p>\n<p>10. Copy the new module in to the kernel modules directory<br \/>\ncp 8192cu.ko \/lib\/modules\/3.8.12-bone17\/kernel\/drivers\/net\/wireless\/<\/p>\n<p>11. Update the module deps<br \/>\ndepmod<\/p>\n<p>12. Blacklist the native drivers.<br \/>\nvi \/etc\/modprobe.d\/blacklist.conf<\/p>\n<p>add this to the end:<\/p>\n<p># Blacklist native RealTek 8188CUs drivers<br \/>\nblacklist rtl8192cu<br \/>\nblacklist rtl8192c_common<br \/>\nblacklist rtlwifi<\/p>\n<p>13. reboot<\/p>\n<p>Its OK to now remove the driver source under\u00a0\/usr\/src\/rtl8192cu-tjp-1.6 if you need to free up some disk space.<\/p>\n<p>That&#8217;s it. Hopefully all the steps worked for you. If not leave me a message. Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The\u00a0Miniature WiFi module from Adafruit does not work with Ubuntu 13.04 on the BeagleBone Black. Wish I knew that before I purchased it. Would have saved me many hours of work. Strap in, this one is a bit ugly. The &hellip; <a href=\"https:\/\/gencarelle.com\/blog\/2013\/07\/19\/problems-with-rtl8188cus\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,2,4],"tags":[],"_links":{"self":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts\/33"}],"collection":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":7,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":40,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/posts\/33\/revisions\/40"}],"wp:attachment":[{"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gencarelle.com\/blog\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}