therealzsheley
Posts: 9
Joined: Fri Jan 19, 2018 1:22 am

Cannot Connect to WiFi

Fri Jan 19, 2018 1:29 am

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! :x :cry:
Thanks
-therealzsheley

User avatar
DougieLawson
Posts: 31214
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Cannot Connect to WiFi

Fri Jan 19, 2018 8:19 pm

Start with a fresh SDCard, a copy of Raspbian Stretch and Etcher. Use Etcher to write Stretch to your SDCard (no formatting needed).
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

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

therealzsheley
Posts: 9
Joined: Fri Jan 19, 2018 1:22 am

Re: Cannot Connect to WiFi

Sat Jan 20, 2018 12:53 am

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

User avatar
DougieLawson
Posts: 31214
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Cannot Connect to WiFi

Sat Jan 20, 2018 9:04 am

What does NOOBS give you? Apart from wasting 1.3GB of space and giving you a way to lose everything you've done.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

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

therealzsheley
Posts: 9
Joined: Fri Jan 19, 2018 1:22 am

Re: Cannot Connect to WiFi

Sun Jan 21, 2018 6:47 pm

I guess your right. I'll try it the way you told me too, and let you know if it works! :)

-therealzsheley

therealzsheley
Posts: 9
Joined: Fri Jan 19, 2018 1:22 am

Re: Cannot Connect to WiFi

Mon Jan 22, 2018 12:00 am

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

jbudd
Posts: 388
Joined: Mon Dec 16, 2013 10:23 am

Re: Cannot Connect to WiFi

Mon Jan 22, 2018 12:44 am

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?

therealzsheley
Posts: 9
Joined: Fri Jan 19, 2018 1:22 am

Re: Cannot Connect to WiFi

Fri Jan 26, 2018 11:03 pm

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

SurferTim
Posts: 1374
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Cannot Connect to WiFi

Fri Jan 26, 2018 11:15 pm

Open a terminal, run these commands, and post the output.

Code: Select all

ifconfig
iwconfig

therealzsheley
Posts: 9
Joined: Fri Jan 19, 2018 1:22 am

Re: Cannot Connect to WiFi

Fri Jan 26, 2018 11:33 pm

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.

jbudd
Posts: 388
Joined: Mon Dec 16, 2013 10:23 am

Re: Cannot Connect to WiFi

Sat Jan 27, 2018 6:32 am

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.

mattmiller
Posts: 1710
Joined: Thu Feb 05, 2015 11:25 pm

Re: Cannot Connect to WiFi

Sat Jan 27, 2018 9:54 am

Can you post a pic of

Code: Select all

cat /proc/cpuinfo

therealzsheley
Posts: 9
Joined: Fri Jan 19, 2018 1:22 am

Re: Cannot Connect to WiFi

Sat Jan 27, 2018 9:33 pm

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

SJabuMasemola
Posts: 1
Joined: Sat Jan 27, 2018 9:46 pm

Re: Cannot Connect to WiFi

Sat Jan 27, 2018 9:53 pm

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

therealzsheley
Posts: 9
Joined: Fri Jan 19, 2018 1:22 am

Re: Cannot Connect to WiFi

Mon Jan 29, 2018 11:50 pm

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

User avatar
HawaiianPi
Posts: 1641
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Cannot Connect to WiFi

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?
My password is the last 8 digits of Pi.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 18544
Joined: Sat Jul 30, 2011 7:41 pm

Re: Cannot Connect to WiFi

Tue Jan 30, 2018 10:42 am

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.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

akaodin
Posts: 35
Joined: Wed Mar 18, 2015 3:13 pm

Re: Cannot Connect to WiFi

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.

akaodin
Posts: 35
Joined: Wed Mar 18, 2015 3:13 pm

Re: Cannot Connect to WiFi

Mon Feb 05, 2018 7:34 pm

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.

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

Re: Cannot Connect to WiFi

Mon Feb 05, 2018 7:39 pm

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.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

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

Return to “Troubleshooting”

Who is online

Users browsing this forum: No registered users and 23 guests