What is the problem?
I am unable to connect my new pi 3b to my AT&T WIFI Router
What did you already try to solve it?
I reinstalled and re etched the SD card to no avail. I verified that the Raspberry card can see the router using sudo iwlist wlan0 scan command. I also checked my router to see if it was recognizing the Raspberry card... It was not.
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware,
I installed the stretch lite .15.1 image that I downloaded from this site. I used ETCHER to format my micro SD and used ATOM to edit it.
the card blinks red then a few greens then mostly red with a very. infrequent green blink.
I edited the country code by commenting UK an uncommenting US, I made the following WPA edit (note that the ssid and psk have been modified for this forum.
The wifi edit is as follows:
## WPA/WPA2 secured
# ssid="put SSID here"
## WEP "secured"
## WEP can be cracked within minutes. If your network is still relying on this
## encryption scheme you should seriously consider to update your network ASAP.
# ssid="put SSID here"
# wep_key0="put password here"
# Uncomment the country your Pi is in to activate Wifi in RaspberryPi 3 B+ and above
# For full list see: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
#country=GB # United Kingdom
#country=CA # Canada
#country=DE # Germany
#country=FR # France
country=US # United States
I'm having the same issue. I even tried doing a headless install of just rasbian and got the same results. Once I installed Rasbian stretch with a GUI. the only way I was able to get on wifi was to set it up in the config wizard, but once I rebooted, I got the same results as you are.
What flavor of Raspberry do you have? I wonder if it is model specific? Another issue might be Chinese knockoffs of Raspberry. Mine was made in China, but i have run across references to them being mfg’ed in the UK.
Also, when I was troubleshooting, I ran ifconfig and it there was no IP for wlan0, but when I plugged in an Ethernet cable I was able to get an IP for eth0.
Once I get the wifi configed within the GUI, pulling up Terminal and running ifconfig will show an IP for wlan0 but doing the regular set up (editing the wpa-supplicant in notepad++) I get no IP for wlan0.
Just to be clear, you are editing /boot/octopi-wpa-supplicant.txt? The /boot partition is the only one visible if the SD card is mounted on the PC / Mac system where it was created with Etcher or the Mac equivalent.
Yep, was editing it while it was in my computer and mounted. Then ejected the card, put it into my Pi and it would not connect to wifi. Once I plugged in my eth cable, it was able to get an IP and do all of the updates but still would not show an IP for wlan0.
The only way I was able to get wlan0 to get an IP was to install a GUI version of rasbian and do the config though the set up wizard. I tried to install Octoprint on top of the latest stretch build but I couldn't figure out certain parts of the walkthrough....I'm a noob when it comes to linux stuff.
In response, yes. I was editing that file, and the screen shot in my post is of that portion of the file I edited. I have confirmed that my Raspberry can “see” my WIFI router (ATT Wireless) but dont know how to confirm that my raspberry is sending a handshake, or i there is another issue.
My OctoPi (0.14.0, Jessie) on a RPi3B is connected via WiFi and attached to my 3D printer. I have an RPi3B+ with OctoPi 0.15.1 connected to my WiFi (but no printer). Both were successful connecting to WiFi on initial boot.
Do you have a monitor connected to the RPi? If not, how did you manage to get the sudo iwlist wlan0 scan output? Did you check the output of dmesg for clues?
I had it connected to a monitor and a keyboard which is how i was able to look up the IP on eth0.
I never ran that other command (sudo iwlist wlan0) I'll try that tonight and see if it can tell me anything else I couldn't find otherwise.
Is there a easy to follow walkthrough on how to install Octoprint on top of raspbian (with the GUI)? I can get raspbian up no problem, but some of the commands in the walkthrough on github were confusing.
Maybe I'll try and spin through them again tonight and try with a fresh set of eyes!
To be clear, there are two of us with the same issue. For me, the boot partition was the only one visible. To answer a q that came up earlier, I had hooked the pi to a tv to see if it could see my router... Short answer is that it could see th3e router.
Today, after continuing to have problems we reflashed to octopi .13 We were able to log into another wifi network, but when I amended the txt file for the home router... No joy.
Yea sorry to jump on your thread here as well, but it seems like we are having identical problems!!! Since you started the post, I'll just sit back and let you take over answering the questions! Hopefully I'll gain something from it as well!
Everyone having problems in this thread should follow the instructions in the following thread.
Please note that the instructions are different depending on what version of OctoPi (a derivative of Raspbian-Lite, 0.14.0 = Jessie, 0.15.1 = Stretch) and what Raspberry Pi model (3B or 3B+). The RPi3B can run either Jessie or Stretch, the RPi3B+ must run Stretch (or later).
If you still have problems, make sure to provide the model of your Raspberry Pi, the version of OctoPi you installed, the OS and editor you used if you modified /boot/octopi-wpa-supplicant.txt before putting the SD card in the Raspberry Pi and if you tried (or can try) with an Ethernet cable connection.
I had my pi 3B working on my home network, then moved it to my work network and had similar trouble. It turned out that the 2.4GHz band was full of noise. I was able to get a signal by moving the pi within 2m of the router, but it was fairly glitchy even then. The only answer was to use eth0 for reliable results. The noise is likely from a neighbor with a cheap webcam that is constantly filling the whole spectrum with garbage. After I got in the network I had to do some configuring through haproxy to get my webcam going. You may also want to check those settings of things still aren't working out.
I've heard in several places now that people could not get connected to WiFi unless the moved the Country setting to come before their "network" section. Mine works just fine on a Pi 3B with the Country setting in the default location (near the end of the /boot/octopi-wpa-supplicant.txt file).
It's interesting to note that the older versions of OctoPi had the Country setting at the top of the /boot/octopi-wpa-supplicant.txt file (a lot of people never saw this in the older versions, since they used the octopi-network.txt file to set up their network).
Still, I'm not sure why it would matter. The settings in the octopi-wpa-supplicant.txt file are just linked to the wpa_supplicant.conf file in a directory on the other partition. The information is copied over on boot-up. I would not think the order it is listed in the /boot/ partition file would make a big difference. But then I'm no guru in how this actually happens.
If @foosel or @guysoft confirm that this could make a difference, I'll add a note to the WiFi troubleshooting guide.
One difference of the plus version of the Raspberry Pi 3B is that the main chip has a new metallic shield over it. In theory, the shield conducts heat better so that they could squeeze an additional 0.2GHz out of the top-end speed.
Next, the wifi chip was moved from the bottom of the board. The chip antenna is gone, now replaced with the PCB antenna design from the Raspberry Pi Zero W. They added 802.3az Energy Efficient Ethernet to the LAN device.
Analysis: Is it possible that the new plus version has shorter wi-fi range as a result of the many changes in this area?