Thanks for the reply! I will post the result later tonight when I get by the printer.
Talking about the issues the Pi 4 has makes me want to try and step back a release to what I was running before I tried to update. Everything was running fine for at least 6 months or so with this same set up.
I got mostly black screens but at the end I got this:
IE: Unknown: 050400030000
IE: Unknown: 0706555320010B1E
IE: Unknown: 2A0104
IE: Unknown: 32040C121860
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 0B0500002E0000
IE: Unknown: 42020000
IE: Unknown: 2D1A3C081FFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1608000400000000000000000000000000000000000000
IE: Unknown: 7F080400080000000040
IE: Unknown: DD090010180200001C0000
IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
Cell 28 - Address: 00:AB:48:CE:2E:08
Channel:157
Frequency:5.785 GHz
Quality=43/70 Signal level=-67 dBm
Encryption key:off
ESSID:""
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000000000000
Extra: Last beacon: 50ms ago
IE: Unknown: 0000
IE: Unknown: 01088C129824B048606C
IE: Unknown: 03019D
IE: Unknown: 050400020000
IE: Unknown: 070C55532024081E640C1E95051E
IE: Unknown: 3B028000
IE: Unknown: 2D1AEF021BFFFF000000000000000000000100000000000000000000
IE: Unknown: 3D169D050400000000000000000000000000000000000000
IE: Unknown: 7F080400000200000040
IE: Unknown: BF0CB2398033FAFF0000FAFF0000
IE: Unknown: C005019B00FCFF
IE: Unknown: C304023C3C3C
IE: Unknown: DD1A00904C0408BF0CB2398033FAFF0000FAFF0000C005019B00FCFF
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: DD071422DB02000000
Then let's try "sudo iwlist wlan0 scan >iwlist.txt". Search the output for the SSID that you have in /boot/octopi-wpa-supplicant.txt. We don't need to see the whole output file unless you have questions about it.
For future reference, you could also type "screen -L" which will start a session. Type the commands you want to capture and when done, type "exit". The session's output is captured in the file screenlog.0. If there are multiple commands to capture, this is easier than adding >file.name (to the first) and >>file.name (to the rest) at the end of every command.
Hey guys! I have an issue with connecting my Raspberry Pi 4 to the network. My situation is as follows:
My RPI with Octoprint 0.17 was running fine for about half a year. No issues with it. I printed everything with it. Webcam works, SSH works, I even made some SMB shares to easily access my files.
Yesterday morning at around 3 AM, my pi suddenly lost connection to the network. I found this out from my network logs coming from my router/AP, nothing was printing at the time and my printer was turned off. Rebooting didn't work, even after leaving it off for an entire night.
Things I checked:
- Used my laptop USB C adapter for power. No low-power messages seen. I have tested with my PC USB port as well, then I do get low-power messages. All troubleshooting has been on my laptop power supply.
- Wifi signal strength is fine. Pi hasn't been moved, and other devices can connect fine at that location, I'm about 10m from the access point.
- I'm connecting to 5GHz network. Changing to a 2.4 GHz network (by adding a second network to wpa-supplicant including id_str parameter) doesn't change anything.
- I'm editing through the CLI on the pi itself (nano). (On the PC I use notepad++, but only used CLI for this issue)
- My router cannot see the device, so it is really not connected
- I cannot ping my router.
Ping 192.168.1.1
response is:connect: Network is unreachable
- Response of
sudo ifconfig wlan0
is: - Response of
sudo iwlist wlan0 scan
is: here: https://imgur.com/d1uhknV (I could only attach one image as I'm a new member on this forum). BlokmeisterWIFI_5GHz is the wifi that I should be connecting to, which is visible. - I have just redone a complete install of Octoprint 0.18 RC1 (used 0.17 before) and got the exact same results
I really don't understand what is going on here. Can someone help me?
Update:
I just tried a new SD card, and I still have the same issue. I then tried a raspberry pi 3, and there it does work. Switching back to the pi 4, same issue. This is weird, since I have also tried inserting the original SD card into the Pi 3, and that didn't solve it. Very weird. Can it have something to do with my hardware in that case?
Update 2:
I tried it again on the Pi 4, then moved back to the Pi 3, and it doesn't connect anymore. I'm completely confused now.
hello, I already have used rpi 3b+, so I just used it in this octoprint setup.
first, I quck booted used micro 16gb sdcard with SD card Formatter. and burned octopi 0.17.0 via etcher.
after that, editted octopi-wpa-supplicant.txt with notepad++. below is all of uncommented lines.
/////
network={
ssid="difinitely correct ssid"
psk="difinitely correct psk"
}
country=KR # Korea, Republic of
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
/////
after this, I plugged sd card in rpi. but, my Fing app(android) does not display octopi...
after this, for verify, I formatted sd card again, and set raspbian OS, checked wifi conection and ssh prompt acess both work.
I think I checked all of wifi setup and troubleshooting document.. cant figure out what is wrong. please help me..!!
Not actually a solution solution, but a bypass, and it may highlight something inherently wrong somewhere with the distribution that the dev team should look at and fix.
I have gone through several hours and nights of troubleshooting over the course of six months. My old 3B+ pi + touch display setup worked fine on wifi for two years. But octoprint was out of date, could not be updated, and so I was forced to start fresh.
Kind of nightmare scenario for a newbie, given some complexities in the setup, command line, had to retrace display instructions ...
Despite following every detail in terms of how to edit the config file for wifi (not UK, US, correct ID, correct PW) it would not go on the network. Hours and days of taking the pi box apart, screen on/off, sd card in, out, starting over, ... reading this forum, other install guides, watching videos, dealing with a mis-recognized US keyboard, ... forced to quit. Unable to print. Trying again a month later. Rinse repeat. Always down the same rabbit hole and stuck without network connectivity.
Finally I had enough and just strung a long ethernet cable. Boom. Instantly it is on the network. Up and running. I go the desktop environment installed.
Clicking around in there:
Time zone: UK
Country: UK
How? Why?
Despite me doing the setup many times, following all the guides ... edit config always US, correct ID, correct PW.
So, now it works on ethernet, great. Fixed my printer. Got the filament moving.
Fast forward. Trying without ethernet? Nothing.
But at least I have a desktop environment, display, keyboard and mouse.
I can see ethernet is unplugged. I get a wifi symbol. Wifi networks are available. Pick the one it should be on. Enter password. OK.
So imo there's a bug or flaw somewhere, and the available instructions (old & new) don't allow to properly and efficiently troubleshoot it, if one is not versed in cli, raspbian, etc.
I know that this is a mega thread, but I ran into a similar issue recently with an Asus RT-AC87U.
My pi connects to a guest network and I needed to allow "intranet access". without that turned ON, I was getting the same timeout issues as some people here.
Many routers configure the guest network in such a way that each system is prevented from talking to other systems in the guest network and more importantly, are prevented from talking to systems in the local network.
Not exactly what you want for a 3D printer.
After a lot of time spent, i figured out that if a password have a "*" at the end of it it'll simply never work, i'vre tried the wpa conf file generator and also adding from raspi-config both option aren't able to pass throught this special character, since i've never seen this issue in any forum i'll just say it. special character can be escaped using the wpa config file generator or any meant but the star ('*') won't be and will simply return a connection refused error, like if the credential are wrong
After hours of work trying to figure out why I would not be able to connect to my main network, I found out that because my super long password had been generated from a paraphrase it was being trunked all the time and was losing the last hexdecimal carater in the wpa-supplicant.conf. I resolved this by removing the quotation in my psk and using capital letter in my hexdecimal (not sure why but it worked). It ended up bing something like:
network={
ssid="testing"
#psk="testingPassword"
psk=131E1E221F6E06E3911A2D11FF2FAC9182665C004DE85300F9CAC208A6A80531
}
I used the information from this page trying to work it out on the desktop. Than reinstalled from scratch using the proper psk setting. Setting up a wireless LAN via the command line - Raspberry Pi Documentation
Hoping for some help, new Pi user, fairly new to printing, not new to tech...
Raspberry Pi 3 B+ running latest version of Octopi downloaded today. Used Etcher to burn to NEW Sandisk 128GB card. Used Notepad++ to edit the text to include SSID and PW of the same wifi I'm using to type this message. Verified case sensitivity issue and spaces as well.
Cannot shell into it using pi@octopi.local. Logged into my router and do not see a device listed on the network.
Logged into Pi using HDMI cable and mouse/keyboard. Ran ifconfig wlan0 and get bunch of gibberish nothing relating to my SSID. Run the sudo command to list the networks...that's where I'm stumped; the results are 13 cells and I can only see the last wifi network...and it's not mine.
How do I show them in a page by page view so I can ensure my info is correct?
I'm sure the signal is strong as it's 1' away. I'm using a 2.5a power supply from canakit, and I shouldn't have any interference. Pi is only powering a wired keyboard.
Thanks for any help.
To check that your ssid is listed, run iwlist wlan0 scan | grep ESSID
- that will cut out the rest of it, and only show lines with ESSID
in them.
iwconfig
shows what is currently connected/running.
Try using sudo raspi-config
to set the SSID and password.
The final thing, is try and set the time on the Pi. This is a new one I learnt, apparently it doesn't like connecting if the time is too far off. I can't remember now if this is done through raspi-config or otherwise, a quick google should get you somewhere.
Looking for help connecting to an open school network. Everything tested well on a home network.
Followed the troubleshooting on the FAQ page:
Power supply - didn't see an issue (using rasp power supply, not phone charger)
Wifi strength (pi) - can't test well, the extender was in the room though
Hidden? - didn't actually check this, but can be seen on a home network
Copy format error? - retyped name and NONE for network and password
Connected to a monitor/keyboard
Verified it can see the network and has been assigned an ip
Typed in the ip on separate computer on same network, no luck
Network signal level is 62 dBm
Will not answer when pinged
octoprint.log (29.3 KB)
ifconfig
wlan0: flags=416.3<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.92.0.126 netmask 255.255.0.0 broadcast 10.92.255.255
Hi. I recently had Octoprint running for over a month now. I decided to download some plugins to control LED lights. For whatever reason, I could not get past the starting screen after rebooting the pi. It wanted the password of the pi and when I typed it in it did not move past the starting screen.
I decided then to reflash the octopi with all the same settings, ie. network name, pw, and country. The only thing I changed was the resolution of my webcam (which I later changed back).
I've tried moving the pi closer to the network, checking my router interface to see if there are any new devices, and I have tried plugging it into the printer and webcam and keeping them disconnected. I have also tried changing my country, SSID.
I have no idea why this won't work, as all I did was reflash with the newest octopi stable download. Could it be the plugin that I installed, is there a way to delete them without using the interface?
Any help would be greatly appreciated. Thank you in advance.
Hi,
I want to share about my struggle with this issue and how I've managed to solve it.
I have 4 printers with Pi4 boards at my company that had no wifi issues until some weeks ago. First, randomly one of them wouldn't connect no matter what I tried. The next day it would magically connect without problems, so I thought it would be something related to my router. But suddenly, all the printers stopped connecting despite no chages on the router settings have been made. They would only connect through ethernet cable.
I took one the RPIs home and couldn't connect to my router either, so I downloaded the latest octopi image and flashed the sd card again, and this time it connected right away.
I took the RPI back to my company and again couldn't connect, so I knew it was something wrong with my network. The SSID had an underscore between words and after I removed it connected! But the other printers didn't so I started searching for any differences in config files, and here is what I've found:
In the /boot folder there was an extra file named "octopi-wpa-supplicant.txt.save" which I have no idea how it was created. Is that a kind of backup or something octopi does automatically?
In the /etc/wpa_supplicant/ there was the same ."save" file which I deleted too.
Regarding the "octopi_wpa_supplicant.conf" I saw that the permissions were "rw-r--r--" different from the newly flashed image which was "rwxrwxrwx"
So I changed the pemission with sudo chmod a=rwx, rebooted the board and connected to the wifi normally. Problem solved!
But I still don't know what could have changed the permissions and why it happened.
Cheers
New user with a 4B here. I can ping my pi, but FTP, HTTP, and HTTPS unreachable.
Desktop is W10.
PI of pi is 10.0.0.112 (assigned by router)
When the pi connects it says something like "you may now open a web browser..." and the place where it should show me the addresses is blank.
WPA/WPA2 secured
network={
ssid="OurNetwork"
psk="OurPasswd"
}
I inadvertently reset my router and then had to reentere all my settings again. Which made most of network devices go offline and never reconnect. After lots of trouble shooting and reconnecting things one at a time the octopi wouldn't relearn the network. Turns out I had to enable tkip manually in the router along with aes(default). As soon as I did that most everything automatically reconnected.
Thanks in advance!
I am running on a Raspberry Pi 2 B:
OctoPrint version : 1.5.2
OctoPi version : 0.18.0
Successfully flashed the OS using Etcher on a Mac. Can get an IP address from Ethernet, but will not connect over WiFi. Using a Belkin dongle, which dmesg | more
sees on boot:
[ 5.199032] usb 1-1.4: Product: Belkin USB Wireless Adaptor
[ 5.208096] usb 1-1.4: Manufacturer: Manufacturer Realtek
[ 5.217070] usb 1-1.4: SerialNumber: 00e04c000001
[ 5.328442] NET: Registered protocol family 10
[ 5.338444] Segment Routing with IPv6
I have octopi-wpa-supplicant
configured per the FAQ:
WPA/WPA2 secured
network={
ssid="Metroplex"
psk="PASSWORD"
}
country=US # United States
The pi seems to "see" my router when I run sudo iwlist wlan0 scan
:
Cell 09 - Address: 4C:8B:30:68:E8:0D
ESSID:"Metroplex"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.452 GHz (Channel 9)
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:wpa_ie=dd1c0050f20101000050f20202000050f2040050f20201000050f2020c00
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Extra:rsn_ie=30180100000fac020200000fac04000fac020100000fac020c00
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD800050F204104A0001101044000102103B0001031047001061426D22C5067E7FDC660E1ACC392A771021000842726F6164636F6D1023000842726F6164636F6D1024000631323334353610420004313233341054000800060050F20400011011000A42726F6164636F6D415010080002200C103C0001011049000600372A000120
Signal level=100/100
I'm stumped.
Thanks!
Micah
I have been having issues with upgrading network hardware and the octoprints not connecting to the new routers (even with the same ssid name and password (has an initial UPPER case letter (and other UPPER case letters at the end)) from my old tplink n router, and even with mesh routers, but suddenly after changing the INITIAL letter case of the SSID to lowercase ALL of my ocroprint pi's are connecting.
summary changed INITIAL char of SSID from upper case to lower case IN THE ROUTER, and now working, but INITIAL upper case SSID name (in router) not connecting
So I have my OctoPi working on a SSID. However, I want to change which SSID it is connecting to as a transition network setups(My old name is rather juvenile).
However, after using Nano (also tried Notepad++ on windows directly on the mSD) to change the SSID and password to the new network the Pi wont see or connect to it.
If, with making no change on the OctoPi, I turn back on the old SSID the Pi has no problems connecting.
The wpa-supplicant file is confirmed to be changed after a reboot but the Pi isn't connecting to any SSID but the old.
I am near tearing my hair out over this. Any advice?