muchotreeo258
Posts: 4
Joined: Thu Dec 26, 2013 6:25 pm

how do I set up the wifi

Fri Dec 27, 2013 7:11 pm

I tried going to the network manager and adding my connection, and it worked on my last install but because of over overscan issues I had to reinstall, and now it won't work.

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: how do I set up the wifi

Fri Dec 27, 2013 10:14 pm

What's in your /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf?

Here's mine (set-up with a fixed IP address)
/e*/n*/interfaces

Code: Select all

auto lo
auto wlan0
iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
#wireless-power off
iface wlan0 inet manual
address 192.168.1.7
gateway 192.168.1.1
netmask 255.255.255.0
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet static
address 192.168.1.7
gateway 192.168.1.1
netmask 255.255.255.0
and /e*/wpa_*/wpa_supplicant.conf

Code: Select all

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

network={
 ssid="REDACTEDSSID"
 scan_ssid=1
 psk="redactedpassword"
}
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
Lob0426
Posts: 2198
Joined: Fri Aug 05, 2011 4:30 pm
Location: Susanville CA.
Contact: Website

Re: how do I set up the wifi

Fri Dec 27, 2013 10:50 pm

Here is a simpler version that works for most people.
this is for WPA2

Code: Select all

cd /etc/network

Code: Select all

sudo nano interfaces

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp

wpa-ssid "your SSID"
wpa-psk "Your wifi password"
512MB version 2.0 as WordPress Server
Motorola Lapdock with Pi2B
Modded Rev 1.0 with pin headers at USB

http://rich1.dyndns.tv/
(RS)Allied ships old stock to reward its Customers for long wait!

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: how do I set up the wifi

Fri Dec 27, 2013 10:52 pm

Yours may be simpler but it's missing auto eth0 and auto wlan0 to get the interfaces started at boot up.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

MrEngman
Posts: 4032
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: how do I set up the wifi

Fri Dec 27, 2013 11:53 pm

DougieLawson wrote:Yours may be simpler but it's missing auto eth0 and auto wlan0 to get the interfaces started at boot up.
And neither has mine but both eth0 and wlan0 connect when I boot/reboot. And both connect when booting if they are both connected.

Code: Select all

login as: pi
pi@192.168.16.27's password:
Linux raspberrypi 3.10.25+ #616 PREEMPT Mon Dec 23 18:13:02 GMT 2013 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Dec 27 06:35:37 2013
pi@raspberrypi ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:19:f0:e0
          inet addr:192.168.16.27  Bcast:192.168.16.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:114 errors:0 dropped:0 overruns:0 frame:0
          TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12250 (11.9 KiB)  TX bytes:11407 (11.1 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr a0:f3:c1:25:7d:28
          inet addr:192.168.16.24  Bcast:192.168.16.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:57 errors:0 dropped:2 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7423 (7.2 KiB)  TX bytes:1028 (1.0 KiB)
And /etc/network/interfaces is currently

Code: Select all

pi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "network-name"
wpa-psk "network-password"

allow-hotplug wlan1
iface wlan1 inet dhcp
wpa-ssid "network-name"
wpa-psk "network-password"

#iface wlan0 inet manual
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp
pi@raspberrypi ~ $
And no auto eth0 or auto wlan0/wlan1 and it's been pretty much similar to that since I started using the Pi in Apr 2012. auto eth0 was required before debian wheezy appeared but was remove in the default /etc/network/interfaces included since.

You really don't need auto wlan0 if you have allow-hotpug wlan0 included as they both behave similarly.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

muchotreeo258
Posts: 4
Joined: Thu Dec 26, 2013 6:25 pm

Re: how do I set up the wifi

Sat Dec 28, 2013 1:28 am

I dont have a network folder

MrEngman
Posts: 4032
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: how do I set up the wifi

Sat Dec 28, 2013 1:47 am

muchotreeo258 wrote:I dont have a network folder
OK, what software image are you using? The above is typical for Raspbian. What are you using?


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

muchotreeo258
Posts: 4
Joined: Thu Dec 26, 2013 6:25 pm

Re: how do I set up the wifi

Sat Dec 28, 2013 2:07 am

pidora

MrEngman
Posts: 4032
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: how do I set up the wifi

Sat Dec 28, 2013 2:34 am

muchotreeo258 wrote:pidora
Ah. I've never tried Pidora so I have no idea how the wifi is set up on it. Will take a look and see how it is configured but it is way past my bed time now so I will have to do that in the morning.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

MrEngman
Posts: 4032
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: how do I set up the wifi

Sat Dec 28, 2013 5:50 pm

Hi muchotreeo258,

Well I tried Pidora and I certainly won't be using it again. How complicated, almost as bad as Windows 8 to get working

Anyway I got the wifi working without any problem other than trying to figure out how to configure Pidora.

Ended up setting it to boot into a graphical window, logged in as root and then the window appeared with the menu bar across the top. Selected the network icon on the top right hand side and selected my wifi, input the password and it connected.

Logging in as a different user and the menu bar was not there and I couldn't get the network manager running or at least I could not see it running.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: how do I set up the wifi

Tue Dec 31, 2013 2:10 am

muchotreeo258 wrote:I tried going to the network manager and adding my connection, and it worked on my last install but because of over overscan issues I had to reinstall, and now it won't work.

Make sure you are using the network connect button on the top bar between the time and user name.
At first I was trying to use the network config under settings in the applications menu and could not get anything to work. Once I found that network button I had WIFI working in seconds.

I also bagged Pidora for now. It's just not ready for prime time. Simple things just don't work without a lot of fussing. I even run Fedora 19 on a desktop so I am somewhat familiar with it.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Return to “Pidora / Fedora”