Connect the Raspberry Pi to the NetGear G54/N150

About: My name is DJ and I previously made electronic whatsits, 3D-printed thingamabobs, and laser-cut kajiggers for the Instructables Design Studio; now I build and repair puzzles for Escape Industries.

This is a brief guide for configuring the Raspberry Pi to connect the internet with the NetGear G54/N150 WNA1000M. Supposedly the module should work out-of-the-box, however I found this to not be the case. After hours of searching, I was finally able to find all the necessary steps to get this little guy running. Hopefully this saves fellow Pi users the trouble of having to scour the internet!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Set Up

This Instructable is specifically for the the configuration of the Netgear Wi-Fi adapter. Before we can do any of this, we'll need to have a properly set up Raspberry Pi with an internet connection. There are many articles for configuring the Pi. I highly recommend Scottkildall's Ultimate Raspberry Pi Configuration Guide to get started. The following steps require Raspian or Wheezy to work properly.

Step 2: Install Drivers

Once you've established an internet connection, enter the following commands into the terminal:

wget - https://dl.dropboxusercontent.com/u/1663660/scripts/install-rtl8188cus.sh

sudo chown root:root install-rtl8188cus.sh

sudo chmod 755 install-rtl8188cus.sh

sudo ./install-rtl8188cus.sh

sudo apt-get update

sudo apt-get upgrade

sudo shutdown -h now

These will take a while to download. Enjoy a snack while the Pi fetches the packages to install. The Pi will ask you to confirm the downloads a few times. This will install the necessary driver for the Netgear Wi-Fi module. The script is from a very helpful gent named Paul. His blog post is here.

Step 3: Network Configuration

Plug in the Netgear adapter and boot the Pi back up.

Type in:

iwconfig

If you properly entered your network credentials, you should see the wlan connection details pop up. If not, then you may need to edit the /etc/network/interfaces file to double check your information and possibly change from wlan0 to wlan1. Save the updated file and reboot with:

sudo reboot

Enjoy your rock-solid Wi-Fi connection.

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    6 Discussions

    0
    None
    EricC5

    5 years ago on Introduction

    It is:

    sudo shutdown -h now

    and not

    sudo shutown -h now

    Also, doesn't seem to work on RPi B+. Just tried it and had no luck.

    4 replies
    0
    None
    Aleator777EricC5

    Reply 5 years ago on Introduction

    Nice catch, thanks. Hmm, I see no reason why it shouldn't since it's the same processor. How far were you able to get?

    0
    None
    EricC5Aleator777

    Reply 5 years ago on Introduction

    I haven't been able to go back to it to figure out why. I probably made a mistake. But I will get there soon to check. When I figure out why, I will come back and tell you. :)

    0
    None
    TweakDeaconEricC5

    Reply 4 years ago on Introduction

    I'm using B+ too and I just got it working. I followed everything in this guide and it wasn't working, so then I watched this video on Youtube and followed the instructions there as well. Here's the link:

    I'm connected now and it's working fine. Thanks for this guide!

    0
    None
    SnugNuts

    5 years ago on Introduction

    The Default Primary DNS is 8.8.8.8.8

    You added an extra 8 in there.