Page 1 of 2
Cannot Connect to WiFi
Posted: Fri Jan 19, 2018 1:29 am
by therealzsheley
I currently have a RasPi 3 B running Raspbian Pixel. I am having problems connecting to the WiFi. I had a similar problem with my other RasPi 3 B and it was solved by reformatting my SD multiple times. I have tried this a few times to no avail. I have tried editing the wpa_supplicant.conf file as well as sudo raspi-conf. When I type ifconfig or iwlist scan scanning is not available and ifconfig is not recognized. Please help!
Thanks
-therealzsheley
Re: Cannot Connect to WiFi
Posted: Fri Jan 19, 2018 8:19 pm
by DougieLawson
Start with a fresh SDCard, a copy of Raspbian Stretch and Etcher. Use Etcher to write Stretch to your SDCard (no formatting needed).
Re: Cannot Connect to WiFi
Posted: Sat Jan 20, 2018 12:53 am
by therealzsheley
Is there anything I could do if I still wanted to use NOOBS? I have tried flashing images before and I run into problems alot.
Thanks for the help!
-therealzsheley
Re: Cannot Connect to WiFi
Posted: Sat Jan 20, 2018 9:04 am
by DougieLawson
What does NOOBS give you? Apart from wasting 1.3GB of space and giving you a way to lose everything you've done.
Re: Cannot Connect to WiFi
Posted: Sun Jan 21, 2018 6:47 pm
by therealzsheley
I guess your right. I'll try it the way you told me too, and let you know if it works!
-therealzsheley
Re: Cannot Connect to WiFi
Posted: Mon Jan 22, 2018 12:00 am
by therealzsheley
It didn't work I flashed Raspbian stretch on a fresh SD and it didnt work. I then tried all of the methods I mentioned before.

-therealzsheley
Re: Cannot Connect to WiFi
Posted: Mon Jan 22, 2018 12:44 am
by jbudd
Can you post exactly what you see when you try and run iwlist and ifconfig? (Maybe take a photo of the screen)
What does ls -l /sbin/ifconfig show you?
What does iwconfig show you?
Re: Cannot Connect to WiFi
Posted: Fri Jan 26, 2018 11:03 pm
by therealzsheley
its exact output is:
Code: Select all
pi@raspberrypi:~ $ ls -l /sbin/iconfig
ls: cannot access '/sbin/iconfig': No such file or directory
pi@raspberrypi:~ $ ls -l /sbin/iwconfig
-rwxr-xr-x 1 root root 22168 Oct 5 2016 /sbin/iwconfig
Re: Cannot Connect to WiFi
Posted: Fri Jan 26, 2018 11:15 pm
by SurferTim
Open a terminal, run these commands, and post the output.
Re: Cannot Connect to WiFi
Posted: Fri Jan 26, 2018 11:33 pm
by therealzsheley
It won't let me upload any pics so I've posted them
http://www.galaxyrocket.me/rpihelp/ its a big pic but i made the site really quick.
Re: Cannot Connect to WiFi
Posted: Sat Jan 27, 2018 6:32 am
by jbudd
You initially said "ifconfig is not recognized", yet your photo shows the output from ifconfig.
There are lots of posts in the forum about Raspbian apparently not seeing the on board wifi chip, no very consistent solution.
Some people fixed it by turning off wpa_supplicant and reverting to configuring wifi via /etc/network/interfaces.
Others seem to have a hardware fault and had to use a USB wifi adapter.
Re: Cannot Connect to WiFi
Posted: Sat Jan 27, 2018 9:54 am
by mattmiller
Re: Cannot Connect to WiFi
Posted: Sat Jan 27, 2018 9:33 pm
by therealzsheley
I was able to get internet! I tried flashing Raspbian and pasting in NOOBS. Raspbian had the same result as earlier and I was able to connect once again with NOOBS. Thanks for all the help!
-therealzsheley
Re: Cannot Connect to WiFi
Posted: Sat Jan 27, 2018 9:53 pm
by SJabuMasemola
Hi
I am experiencing a similar problem. I am running Raspbian Stretch 2018-08 version.
I can see my wlan0 module through ifconfig and iwconfig and from the screen I can see the available wifi networks but when I choose mine and use the password it doe not connect at all.
From the qouted reply I see you mentioning NOOBS. does that mean you left Raspbian to solve the problem?
therealzsheley wrote:
I was able to get internet! I tried flashing Raspbian and pasting in NOOBS. Raspbian had the same result as earlier and I was able to connect once again with NOOBS. Thanks for all the help!
-therealzsheley
Re: Cannot Connect to WiFi
Posted: Mon Jan 29, 2018 11:50 pm
by therealzsheley
So I originally started by using NOOBS and it was recommended that I try flashing Raspbian. I tried it to no avail. I reformatted my SD at least 3 times, and on the third time I could connect to my WiFi Dongle via sudo raspi-config. Try it out and let me know if it works!
-therealzsheley
Re: Cannot Connect to WiFi
Posted: Tue Jan 30, 2018 10:34 am
by HawaiianPi
SJabuMasemola wrote: ↑Sat Jan 27, 2018 9:53 pm
Hi
I am experiencing a similar problem. I am running Raspbian Stretch 2018-08 version.
Wow, a time traveler from the future! Perhaps that future version was written specifically for the Pi4? What does it say on the download page in your time period? And next time you're popping back to the past, can you bring me a Pi4, please?
SJabuMasemola wrote: ↑Sat Jan 27, 2018 9:53 pm
I can see my wlan0 module through ifconfig and iwconfig and from the screen I can see the available wifi networks but when I choose mine and use the password it doe not connect at all.
Are you using right-click or left-click to get to the WiFi key entry?
Re: Cannot Connect to WiFi
Posted: Tue Jan 30, 2018 10:42 am
by jamesh
HawaiianPi wrote: ↑Tue Jan 30, 2018 10:34 am
SJabuMasemola wrote: ↑Sat Jan 27, 2018 9:53 pm
Hi
I am experiencing a similar problem. I am running Raspbian Stretch 2018-08 version.
Wow, a time traveler from the future! Perhaps that future version was written specifically for the Pi4? What does it say on the download page in your time period? And next time you're popping back to the past, can you bring me a Pi4, please?
SJabuMasemola wrote: ↑Sat Jan 27, 2018 9:53 pm
I can see my wlan0 module through ifconfig and iwconfig and from the screen I can see the available wifi networks but when I choose mine and use the password it doe not connect at all.
Are you using right-click or left-click to get to the WiFi key entry?
Dial down the snark please.
Re: Cannot Connect to WiFi
Posted: Mon Feb 05, 2018 6:06 pm
by akaodin
I have tried both my Raspberry Pi Zero and Raspberry Pi 3 for over 2 weeks solid and I am STILL unable to connect wirelessly (wlan0). I am trying to connect to my home network which is WEP (I know it is insecure). I have no idea what to try next that I have not already tried.
I have tried using wpa_supplicant.conf and not using it (w/ interfaces).
My /etc/network/interfaces looks like:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
#auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid My-network-name
wpa-psk My-password
wireless-power off
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
When I do
ip link show wlan0
I get
<NO-CARRIER,BROADCAST,MULTICAST,UP>
which I think implies that I am unable to connect for some reason, possibly a bad password. I have tried using my network password and my wireless password (the one which allows users to connect to my network).
What am I doing wrong? Needless to say this is driving me insane. Any help would be greatly appreciated.
Re: Cannot Connect to WiFi
Posted: Mon Feb 05, 2018 7:34 pm
by akaodin
As an addendum. Since I cannot wifi w/ my Raspberry Pi Zero I will have to RMA it. Its keyboard also does not work (a common symptom) and since I cannot SSH w/ no network I have no way to communicate to it.
Re: Cannot Connect to WiFi
Posted: Mon Feb 05, 2018 7:39 pm
by MrEngman
akaodin wrote: ↑Mon Feb 05, 2018 6:06 pm
I have tried both my Raspberry Pi Zero and Raspberry Pi 3 for over 2 weeks solid and I am STILL unable to connect wirelessly (wlan0). I am trying to connect to my home network which is WEP (I know it is insecure). I have no idea what to try next that I have not already tried.
I have tried using wpa_supplicant.conf and not using it (w/ interfaces).
My /etc/network/interfaces looks like:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
#auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid My-network-name
wpa-psk My-password
wireless-power off
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
When I do
ip link show wlan0
I get
<NO-CARRIER,BROADCAST,MULTICAST,UP>
which I think implies that I am unable to connect for some reason, possibly a bad password. I have tried using my network password and my wireless password (the one which allows users to connect to my network).
What am I doing wrong? Needless to say this is driving me insane. Any help would be greatly appreciated.
This works for me
Put file /etc/network/interfaces back to it's default and add the following network setting to file /etc/wpa_supplicant/wpa_supplicant.conf
Code: Select all
network={
ssid="network-name"
key_mgmt=NONE
auth_alg=OPEN
wep_key0=WEP-hex-key
}
Note:- no quotation marks around the WEP-hex-key.
Re: Cannot Connect to WiFi
Posted: Wed Mar 21, 2018 9:00 pm
by therealzsheley
OK I have found the problem.... sort of. Its not a faulty pi or that I have NOOBs v. img, the problem lies in the microSD card.
Now the only question is... how do I fix it? should I invest in a new one?
Thanks
Re: Cannot Connect to WiFi
Posted: Wed Mar 21, 2018 9:09 pm
by therealzsheley
I take that back. It may be the hardware... errrrrrr
Re: Cannot Connect to WiFi
Posted: Wed Mar 21, 2018 9:49 pm
by DougieLawson
Try your SDCard in some other RPi.
Try the power supply from some other RPi.
Download plain Raspbian Stretch 2018-03-13 and
https://etcher.io, use Etcher to write Raspbian to a factory fresh SDCard.
When all those three tests fail you have bad hardware (exceedingly unlikely unless you've abused the GPIO pins).
Re: Cannot Connect to WiFi
Posted: Fri Mar 23, 2018 2:28 pm
by therealzsheley
I tried using different pis and it says that there is no internet on either one.. leading me to believe that its the SD that is faulty.
However, I then tried using a working card in both pis and it still does not work on the pi that had the problem originally.
Re: Cannot Connect to WiFi
Posted: Sat Mar 24, 2018 11:35 am
by DougieLawson
Try fresh Raspbian 2018-03-13 with a good pi and the suspect pi.