WiFi setup and troubleshooting

Makes sense to me. That way, we don;t have to edit it in two places if there is an update.

I'll give it a try. Hopefully I don't screw things up in the process.

Oops! I guess I can no longer edit that post (no little pencil icon showing up in the menu choices.)

Ah, probably time limited then. I've taken care of it, no problem!

edit yup, there was a time limit of 60 days. Since we have public edit diffs anyhow, I've now disabled that time limit. If this causes issues down the road we can always re-enable it.

Just wanted to drop a tip. Configuring WiFi country is outlined in when talking about editing the txt file in the boot folder, but is kind of glossed over when talking about configuring with keyboard+mouse+monitor. I've never had good luck getting my card reader to work with partitioned SD cards, so I always just plug a monitor in to my Pi's. This is my first board newer than a 3B, and I had no idea about having to configure wifi country. I was pulling my hair out trying to figure it out. While sudo raspi-config'ing, wifi country is in the localization options.

Actually, I'd forgotten to do the editing before booting on your RasPi of choice. Editing it after burning the .img file works.

Trying to edit them on a "live machine" doesn't. Something about editing the file to set a static IP fails to be written/read correctly.

for me it was a "duh" ....

I had this same problems as OP and many people who were in this thread. I fixed my problem by doing this:

  1. I logged into my modem (192.168.0.1 for me)
  2. I went to advanced -> DHCP Reservation List
  3. I found the ip address that my pi states when it starts up (by hooking up a monitor to my pi)
  4. I removed that ip address from the DHCP Reservation List by clicking remove next to that IP address
  5. I ran ----> sudo reboot now <------ on the pi to reboot it, when it rebooted, i could connect to it now

that worked for me, hope it does for someone else also

I am a new user of 3D printing and Raspberry Pi's. I set up OctoPi 0.17 on a new RPi 4 (4mb) at my home location. I have a very robust internet connection (1 Gbps) there and octopi was quickly recognized on my network and I was able to use it with my 3D printer and web cam with no trouble. I have since moved the printer to another location with a different network and modified the octopi-wpa-supplicant.txt with the new network data using Notepad 3. The pi booted up but the new network has not been able to see the pi (octopi). I tried moving the pi to different locations including right next to the router but the network still does not see it. I even connected the pi directly to the modem/router with ethernet - same results. I have used Angry IP Scanner and have accessed the router configuration files but the network does not see the pi. I have tried everything I know after reading the above posts. I even started fresh with a new micro SD card (good quality Samsung) and a new octopi image but I still cannot get my network to see the pi. I added the line for hidden SSID just for grins but no change. This new network is admittedly not as robust as the original one but it is stable and I can see and operate other devices on it (cameras, security system, etc). I use PuTTY so I do not know how to SSH into this pi without an IP address. I am wondering if I have a hardware problem? Is there something else I am missing?

UPDATE: I just tried to connect to this new network (see post above) with a different raspberry that has the standard Raspberry OS loaded on it. It did so with no problem. I can connect to the network and this pi is recognized as raspberry.local in the IP listing of Angry IP Scanner. So I am back to wondering what could be wrong with my pi that has octopi OS. Is this a hardware issue or am I doing something wrong in my octopi setup?

1 Like

I guess I'm still looking for help. I do not think I have a connectivity problem but the network does not see my pi when I am using Octopi as the OS. What could be wrong? Any help would be appreciated. Or am I asking in the wrong place?

I f you need help, you may open a new thread in the section Get Help - Networking. This is the FAQ section.
When opening the thread, please share as much information as required in the template as possible.

If you do start a topic in the Get Help - Networking section, please include the response you get to the commands listed near the end of the first post here:

ifconfig wlan0

and

sudo iwlist wlan0 scan

These will help folks zero in on the problem.

Just added in the part about a fresh wpa supplicant file, following several discussions on discord where I need one to reference so I know what it looks like!

1 Like

I tried and tried and even reinstalled Octopi, but couldn't get it to connect to my new wifi router.
Then it struck me, raspberry pi 3 doesn't support 5GHz wifi, only 2.4GHz. Then it worked.

2 Likes

Hey there,

i have a very bad Network Connection with my Octopi since a few days.
Retrieving speedtest.net configuration...
Testing from Deutsche Telekom AG (84.142.114.182)...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by AlphaCron (Apfelstädt) [70.29 km]: 909.662 ms
Testing download speed................................................................................
Download: 1.76 Mbit/s
Testing upload speed......................................................................................................
Upload: 1.71 Mbit/s

But also in my local network the WLAN speed is awful.
Don´t keep me wrong, my PC does not have any Speed issues. :slight_smile:

My Versions
OctoPrint version : 1.5.2
OctoPi version : 0.17.0

I also have turned off Power Management:off

Where could i go further with my analysis?

Could this because of a plugin i installed? But disabled?

Hey there,

figured out my issue
One of the following plugins was the trigger:
Dashboard
Spoolmanager
PrintJobHistory
And another plugin i cant remember :frowning:

These plugins were installed but disabled.
After I uninstalled them, the networktraffic was OK again. ¯_(ツ)_/¯

Jezus Christ. Having to install Octopi for a 4the time now following this guide. And i meen it's good but damn is this program unnecessarily complex and frustrating.
First, you get no characters when typing the password. So you type and type, never knowing the damn thing is in qwerty and you are on a azerty so it never log's in. Then when you finally figure that out and login with the command screen. You change the password. Fine, i change it... Reboots... Password incorrect... I changed it to just 111. i changed nothing else, how the f can it be incorrect?! Try to login to Octopi on the network? Nop, can't seem to find it anywhere. Did all the Wifi guides step for step. Tried finding the IP. Nothing. It used to run great before. But for some reason after a few weeks it did not show up anymore. So i thought. Ok it's the wifi that's busted after (pretty fast but ok). Next up, just a cable straight in to the PC. Praying i would find anything. Again, nop.

How, for the love of god, how can this be so difficult? With a direct cable in, it should be almost impossible not to find it. Just something to let it show up under a fixed name or anything. I'm not a programmer or anything. But like to think i know my way around a PC.

  • Running Windows 10
  • Raspberry Pi 3 model B
  • Wifi settings are good

Please don't curse in here.

That's usual with Linux based OS.

For this site (OctoPrint.org - Download & Setup OctoPrint) is in English, it is to assume that the OS is setup to English too.

If you are lost on your SSH password:

The LAN cable should go to your router.

1 Like

"The LAN cable should go to your router."
I can't the router is 2 rooms over and 1 story down. That is why it used to be connected to the wifi. Had no problems with it for nearly a year. Then suddenly, poof. No more wifi on the Pi. Nothing changed with the wifi, the Raspberry just wont connect anymore.

A LAN cable into the PC is the only way i can acces the Octoprint interface to maker sure it was installed correctly. And print strait from my PC. But the wifi let me download plugins etc. Now i can't do that anymore and there is a huge cable in the way. Name and pass of the wifi are all correct. So no idea why it wont detect it. Also not sure how it can be connected to my PC but not use it's internet with a LAN cable in it.

There are literally thousands of OctoPrint / OctoPi users successfully using a Raspberry Pi's wireless connection. Since only a few have come here asking for help, I believe it is fair to say it isn't difficult.

Instead of configuring and using WiFi, it is possible to connect a Raspberry Pi to a local area network using a wired (Ethernet) connection. OctoPi is configured to use DHCP on the wired connection and no additional configuration is necessary.

There are occasional problems with WiFi connections ranging from it doesn't work at all to intermittent failures. These problems can usually be solved by carefully documenting the problem (i.e. providing exact details) so that others can help provide a solution. "Wifi settings are good" is NOT an example of providing good documentation.

OctoPi is a re-packaging of the Raspberry Pi OS which is a Linux derivative. Some amount of experience / knowledge on using a Linux system in a Windows environment is desirable, but for most first-time OctoPrint users, the setup documentation contains enough detail to get them started and is not "unnecessarily complex".

You are obviously having problems, but you are not communicating with us in a manner that lends itself to helping you fix it.

My suggestion is to disconnect your RPi from your printer, carry it 2 rooms over and 1 story down and plug it in next to your router. Start reading this topic from the beginning especially the section "Other Diagnostic Commands". Open a brand new, Get Help, topic and provide ALL the details requested in the template (and try to keep your emotions out of it). We will then try to help you get things working again and once working close to the router, if it fails to work when moved back to the printer location, we will have a good idea why.

4 Likes

@b-morgan - spot on and exactly why I started the guide in the first place (and I appreciate the updates that others have made along the way). What is in there won't solve (or even diagnose) every problem, but it did cover the bulk of the problems folks were experiencing at the time it was written. I'm glad it still has some utility (I've not reviewed it with more recent versions of OctoPrint/OctoPi, but hopefully things have not changed enough to invalidate what is here.)

At some point, I suppose I should go back and delete the "OctoPi 0.14 or older" stuff. There have been enough new versions since then, that I'm guessing it no longer has any use. Unless folks think there is some point in keeping that here?