Tyler935022
Posts: 1
Joined: Thu Jun 27, 2013 9:02 pm

Wifi Connection

Thu Jun 27, 2013 9:17 pm

I just got my Raspberry Pi Version B a few months ago and I bought a Ralink RT5370 wifi dongle. I'm new to Linux and messing around with terminal commands. I really just need someone to walk me through getting it setup so I can connect to my router via wifi.. If it helps any, the data security is WPA
Last edited by Tyler935022 on Fri Jun 28, 2013 8:56 am, edited 1 time in total.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Wifi Connection

Fri Jun 28, 2013 3:32 am

By default, Raspbian has in /etc/network/interfaces this line -

Code: Select all

wpa-roam /etc/wpa-supplicant/wpa-supplicant.conf
The contents of the file should look something like this

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="network-name"
        psk="network password"
}
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Jiggles
Posts: 9
Joined: Tue May 29, 2012 11:59 am
Location: Edinburgh, Scotland
Contact: Website

Re: Wifi Connection

Sat Jun 29, 2013 12:05 am

SirLagz wrote:By default, Raspbian has in /etc/network/interfaces this line -

Code: Select all

wpa-roam /etc/wpa-supplicant/wpa-supplicant.conf
The contents of the file should look something like this

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="network-name"
        psk="network password"
}
This has ended hours of pain and misery thank you very much! :D

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Wifi Connection

Sat Jun 29, 2013 6:56 pm

No Problems :)
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Return to “Networking and servers”