Page 1 of 1

Wifi Connection

Posted: Thu Jun 27, 2013 9:17 pm
by Tyler935022
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

Re: Wifi Connection

Posted: Fri Jun 28, 2013 3:32 am
by SirLagz
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"
}

Re: Wifi Connection

Posted: Sat Jun 29, 2013 12:05 am
by Jiggles
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

Re: Wifi Connection

Posted: Sat Jun 29, 2013 6:56 pm
by SirLagz
No Problems :)