RSS

How to Setup Asus USB N10 Wifi Adapter On Raspberry Pi

05 Oct

BEFORE WE BEGIN:

  • With Linux, there are a million ways to skin a cat.  The steps below is the one that worked for me.
  • I used Wheezy-Raspian (2012-09-18) image.  This version already has the necessary driver/module pre-installed.  You can confirm by issuing the following command: lsmod | grep r8712u  output should be something like this:  r8712u 165407 0
  • We will be editing 2 files to make it work (interfaces & wpa_supplicant.conf).
  • I used PuTTY to SSH to my Raspberry Pi to do my configurations, so that’s why it does not look like the LXTerminal ( all images below).

Step 1: 

From an SSH session or terminal on your Pi, issue the following command to your RaspberryPi to update it:

sudo apt-get update

Step 2:

Then issue the following command to edit the network interface file of the Wheezy-Raspian OS:

sudo nano /etc/network/interfaces

Then append the following configuration as seen in image below.

After appending the new configuration, press the following keys in this order to save configuration:

ctrl + x (at above screen)

Then, Y (at above screen)

Finally, enter key (at above screen)

Step 3:

Then issue the following command to edit wpa_supplicant.conf file:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Then appended the configuration (as seen on image below):

Repeat the step previously mentioned to save the configuration.  Reboot your Raspberry Pi to complete the step and then test out your newly configured WiFi.  USB WiFi dongle should be continuously blinking, this means configuration was setup successfully.  DONE!

For Your Information:

#If you are finding that your wifi dongle does not reconnect to your wifi network after your Raspberry Pi reboots  add:

auto wlan0

into the /etc/network/interfaces

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

More FYI:

ssid:   your wifi name

scan_ssid:  

  • set value to 1 if you are trying to connect to hidden network or if you have more than one wireless access point; each with different ssid (suggest you enter value of 1)
  • alternatively, set value of 0 will do the opposite of value 1 (for home networks that broadcasts ssid)

psk:   your wifi password

proto:   your choice of RSN or WPA. RSN is WP2 and WPA is WPA1. (most config is RSN)

key_mgmt:   your choice of WPA-PSK or WPA-EAP (pre-shared or enterprise respectively)

pairwise:   your choice of CCMP or TKIP ( WPA2 or WPA1 respectively)

auth_alg:   OPEN option is required for WPA and WPA2 (other option, SHARED & LEAP)

About these ads
 
11 Comments

Posted by on October 5, 2012 in Uncategorized

 

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

11 responses to “How to Setup Asus USB N10 Wifi Adapter On Raspberry Pi

  1. Steve

    April 3, 2014 at 2:47 pm

    How can i make wifi connect with the same ip address?

     
  2. Peer

    January 19, 2014 at 10:04 pm

    after adding the line
    auto wlan0
    into /etc/network/interfaces it worked fine.
    without I had no connection after reboot.

     
    • databoyZ

      January 20, 2014 at 4:17 am

      Thank you for the info Peer. I’ll post it for other visiters in case that have this issue.

       
  3. callum

    January 19, 2014 at 1:10 am

    on the interfaces are they 0 or O

     
    • databoyZ

      January 19, 2014 at 3:57 am

      auto lo <—letter o
      iface lo inet loopback
      allow-hotplug wlan0 <–zero
      iface eth0 inet dhcp

      allow-hotplug wlan0 <–zero
      iface wlan0 inet manual

       
  4. Ian

    January 10, 2014 at 5:26 pm

    THANK YOU! I spent ages trying to connect using the GUI tool. No joy. Followed your instructions and suddenly it just worked. The GUI wasn’t saving the PSK. Putting it in with a text editor did the trick.

     
  5. DF

    December 12, 2013 at 11:05 am

    thank you!

     
  6. Bill Embring

    December 12, 2013 at 6:52 am

    awesome! Thank you very much. Now all I need to find out is why my new wireless keyboard refuses to print double quotes?! Again thank you very much.
    Bill

     
  7. george moore

    May 5, 2013 at 7:54 pm

    DITTO!!!!!!! above. I searched many web sites with ?genius? information until I found this. Thank you.

     
  8. Gary Newell

    December 10, 2012 at 10:34 pm

    You are an absolute genius. I’ve been playing for hours trying to get mobile broadband working using wpa_supplicant. Reading your page made it work for me. Thankyou

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: