{"id":351,"date":"2014-06-24T12:34:47","date_gmt":"2014-06-24T12:34:47","guid":{"rendered":"https:\/\/digitalchild.info\/?p=351"},"modified":"2014-06-24T12:34:47","modified_gmt":"2014-06-24T12:34:47","slug":"raspberry-pi-asus-n10-wireless","status":"publish","type":"post","link":"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/","title":{"rendered":"Raspberry Pi + Asus N10 wireless"},"content":{"rendered":"

I’ve finally got some time to do some work on my time-lapse project when I hit a brick wall straight off the bat. My $15 tiny wireless adaptor from Asus wasn’t working so I did some digging to try to work out what was going on.\u00a0I first tried to use the GUI WiFi Config and it was able to detect the wireless AP but I was unable to connect. I did some digging and worked out what I needed to do to get it working.<\/p>\n

I’m using the official Raspbian<\/a> image from the raspberry pi website. The good folks over at Element14 have a page that outlines their wireless adaptor testing<\/a> and list the N10 as a working adaptor\u00a0with the right kernel module loaded.<\/p>\n

It uses a Realtek RTL8188u chipset with the r8712u kernel module that is available in staging on wheezy.<\/p>\n

This is what you have to do to get the Raspberry Pi + Asus N10 wireless adaptor working. I have the wireless adaptor plugged into a powered USB hub along with a Dell keyboard and mouse.<\/p>\n

Load the module for your current terminal session<\/p>\n

\n\nsudo mod_probe r8712u\n\n<\/pre>\n

Check that the module is loaded<\/p>\n

\n\nsudo lsmod\n\nModule\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Size\u00a0 Used by\nr8712u\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 168753\u00a0 0\nsnd_bcm2835\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 16165\u00a0 0\nsnd_soc_bcm2708_i2s \u00a0 \u00a0 5474\u00a0 0\nregmap_mmio \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 2806\u00a0 1 snd_soc_bcm2708_i2s\n.....\n<\/pre>\n

This should output a bunch of other stuff but I’ve cut if off. If you see the r8712u in the list, then its loaded. If it does, you’re all good. If not make sure that you’re using the correct version of Raspbian.<\/p>\n

Next you will want this to load on every boot so the easiest way to do that is to add it to the modules for boot.<\/p>\n

\n\necho "r8712u" | sudo tee -a \/etc\/modules\n\n<\/pre>\n

Next I had to remove the wpa_supplicant configuration that was in my network interfaces file after the GUI WiFi\u00a0config\u00a0failed.<\/p>\n

Your \/etc\/network\/interfaces<\/strong> file should look like this. Use sudo vi<\/strong> to open the file and edit as required.<\/p>\n

\nauto lo\niface lo inet loopback\niface eth0 inet dhcp\n\nallow-hotplug wlan0\nauto wlan0\niface wlan0 inet dhcp\nwpa-ssid\u00a0YourSSID\nwpa-psk\u00a0YourPassword\n<\/pre>\n

Next you’ll need to take the interface down and back up again<\/p>\n

\nsudo ifdown wlan0; sudo ifup wlan0;\n<\/pre>\n

Once this has completed you’ll be\u00a0connected to your wireless network and it will output the IP for you once the DHCP lease is active. It should look something like the following.<\/p>\n

\nListening on LPF\/wlan0\/bc:ee:7b:e4:e2:41\nSending on \u00a0 LPF\/wlan0\/bc:ee:7b:e4:e2:41\nSending on \u00a0 Socket\/fallback\nDHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5\nDHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7\nDHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12\nDHCPREQUEST on wlan0 to 255.255.255.255 port 67\nDHCPOFFER from 192.168.1.1\nDHCPACK from 192.168.1.1\nbound to 192.168.1.113 -- renewal in 40150 seconds.\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

I’ve finally got some time to do some work on my time-lapse project when I hit a brick wall straight off the bat. My $15 tiny wireless adaptor from Asus wasn’t working so I did some digging to try to work out what was going on.\u00a0I first tried to use …<\/p>\n

Raspberry Pi + Asus N10 wireless<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[5],"tags":[18,113,159,160,197,216,221],"yoast_head":"\nRaspberry Pi + Asus N10 wireless - Random Adult<\/title>\n<meta name=\"description\" content=\"To get the Raspberry Pi + Asus N10 wireless configured I did the following on Raspbian Wheezy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Raspberry Pi + Asus N10 wireless\" \/>\n<meta property=\"og:description\" content=\"To get the Raspberry Pi + Asus N10 wireless configured I did the following on Raspbian Wheezy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/\" \/>\n<meta property=\"og:site_name\" content=\"Random Adult\" \/>\n<meta property=\"article:published_time\" content=\"2014-06-24T12:34:47+00:00\" \/>\n<meta name=\"author\" content=\"digitalchild\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dcwhatwhat\" \/>\n<meta name=\"twitter:site\" content=\"@dcwhatwhat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"digitalchild\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/\"},\"author\":{\"name\":\"digitalchild\",\"@id\":\"https:\/\/randomadult.local\/#\/schema\/person\/b0b954202434291ace51b4e7a0a81c04\"},\"headline\":\"Raspberry Pi + Asus N10 wireless\",\"datePublished\":\"2014-06-24T12:34:47+00:00\",\"dateModified\":\"2014-06-24T12:34:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/\"},\"wordCount\":494,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/randomadult.local\/#organization\"},\"keywords\":[\"asus\",\"linux\",\"raspberry pi\",\"raspbian\",\"time lapse\",\"wheezy\",\"wireless\"],\"articleSection\":[\"Geek\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/\",\"url\":\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/\",\"name\":\"Raspberry Pi + Asus N10 wireless - Random Adult\",\"isPartOf\":{\"@id\":\"https:\/\/randomadult.local\/#website\"},\"datePublished\":\"2014-06-24T12:34:47+00:00\",\"dateModified\":\"2014-06-24T12:34:47+00:00\",\"description\":\"To get the Raspberry Pi + Asus N10 wireless configured I did the following on Raspbian Wheezy.\",\"breadcrumb\":{\"@id\":\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/randomadult.local\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Raspberry Pi + Asus N10 wireless\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/randomadult.local\/#website\",\"url\":\"https:\/\/randomadult.local\/\",\"name\":\"Random Adult\",\"description\":\"Ramblings of a random adult\",\"publisher\":{\"@id\":\"https:\/\/randomadult.local\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/randomadult.local\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/randomadult.local\/#organization\",\"name\":\"Random Adult\",\"url\":\"https:\/\/randomadult.local\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/randomadult.local\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/randomadult.local\/wp-content\/uploads\/2020\/01\/logo.png\",\"contentUrl\":\"https:\/\/randomadult.local\/wp-content\/uploads\/2020\/01\/logo.png\",\"width\":320,\"height\":134,\"caption\":\"Random Adult\"},\"image\":{\"@id\":\"https:\/\/randomadult.local\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/twitter.com\/dcwhatwhat\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/randomadult.local\/#\/schema\/person\/b0b954202434291ace51b4e7a0a81c04\",\"name\":\"digitalchild\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/randomadult.local\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e0331079f6730910bc7760cb8f781237?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e0331079f6730910bc7760cb8f781237?s=96&d=mm&r=g\",\"caption\":\"digitalchild\"},\"url\":\"https:\/\/randomadult.local\/author\/digitalchild\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Raspberry Pi + Asus N10 wireless - Random Adult","description":"To get the Raspberry Pi + Asus N10 wireless configured I did the following on Raspbian Wheezy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/","og_locale":"en_US","og_type":"article","og_title":"Raspberry Pi + Asus N10 wireless","og_description":"To get the Raspberry Pi + Asus N10 wireless configured I did the following on Raspbian Wheezy.","og_url":"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/","og_site_name":"Random Adult","article_published_time":"2014-06-24T12:34:47+00:00","author":"digitalchild","twitter_card":"summary_large_image","twitter_creator":"@dcwhatwhat","twitter_site":"@dcwhatwhat","twitter_misc":{"Written by":"digitalchild","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/#article","isPartOf":{"@id":"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/"},"author":{"name":"digitalchild","@id":"https:\/\/randomadult.local\/#\/schema\/person\/b0b954202434291ace51b4e7a0a81c04"},"headline":"Raspberry Pi + Asus N10 wireless","datePublished":"2014-06-24T12:34:47+00:00","dateModified":"2014-06-24T12:34:47+00:00","mainEntityOfPage":{"@id":"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/"},"wordCount":494,"commentCount":0,"publisher":{"@id":"https:\/\/randomadult.local\/#organization"},"keywords":["asus","linux","raspberry pi","raspbian","time lapse","wheezy","wireless"],"articleSection":["Geek"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/","url":"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/","name":"Raspberry Pi + Asus N10 wireless - Random Adult","isPartOf":{"@id":"https:\/\/randomadult.local\/#website"},"datePublished":"2014-06-24T12:34:47+00:00","dateModified":"2014-06-24T12:34:47+00:00","description":"To get the Raspberry Pi + Asus N10 wireless configured I did the following on Raspbian Wheezy.","breadcrumb":{"@id":"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/randomadult.local\/raspberry-pi-asus-n10-wireless\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/randomadult.local\/"},{"@type":"ListItem","position":2,"name":"Raspberry Pi + Asus N10 wireless"}]},{"@type":"WebSite","@id":"https:\/\/randomadult.local\/#website","url":"https:\/\/randomadult.local\/","name":"Random Adult","description":"Ramblings of a random adult","publisher":{"@id":"https:\/\/randomadult.local\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/randomadult.local\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/randomadult.local\/#organization","name":"Random Adult","url":"https:\/\/randomadult.local\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/randomadult.local\/#\/schema\/logo\/image\/","url":"https:\/\/randomadult.local\/wp-content\/uploads\/2020\/01\/logo.png","contentUrl":"https:\/\/randomadult.local\/wp-content\/uploads\/2020\/01\/logo.png","width":320,"height":134,"caption":"Random Adult"},"image":{"@id":"https:\/\/randomadult.local\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/twitter.com\/dcwhatwhat"]},{"@type":"Person","@id":"https:\/\/randomadult.local\/#\/schema\/person\/b0b954202434291ace51b4e7a0a81c04","name":"digitalchild","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/randomadult.local\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e0331079f6730910bc7760cb8f781237?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e0331079f6730910bc7760cb8f781237?s=96&d=mm&r=g","caption":"digitalchild"},"url":"https:\/\/randomadult.local\/author\/digitalchild\/"}]}},"_links":{"self":[{"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/posts\/351"}],"collection":[{"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/comments?post=351"}],"version-history":[{"count":0,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/posts\/351\/revisions"}],"wp:attachment":[{"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/media?parent=351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/categories?post=351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomadult.local\/wp-json\/wp\/v2\/tags?post=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}