Raspberry Pi 4 is out

Hi all,

I'm using OctoPi now on a Pi 2b+ and want to upgrade for better performance (camera etc).
Since the Nightly build is out, I think the best decision would be to go for a Pi 4b. But which version would you advise, 1 - 2 or 4 GB?

I dunno. I absolutely wouldn't waste my time on the 1GB version of it since that's what the Raspberry 3B and 3B+ have. So that leaves 2GB and 4GB.

I'm sure the 2GB will be fine for most people.

Either—especially the 4GB—will allow you to do some interesting things like adding a RAM drive and caching often-used files here. Since I'm developing a 3D printer, I need all the gpu_mem I can get so I'm sharing the maximimum amount that Raspbian will allow for this.

TX for the reply @OutsourcedGuru, I think 4gb will be overkill for me. Also debating between 4b or 3b+ since the 4b seems to get (to?) hot.

Price for the 3b+ and 4b 1gb are the same.. 2gb is €10,- more

Both 3B+ and 4B support 5Ghz wi-fi zones. Each have one and two HDMI ports, respectively but note that the 4B now has micro-HDMI connectors which aren't easy to find cabling yet. The microSD connector on the 4B supports higher throughout so you can take advantage of Class 10 cards with it.

The 3B+ has the old-school micro-USB for power and the 4B has the newer Type-C style like those you might find on the latest Apple laptops.

The power adapter for the 4B should be one made for it which would be 3A now.

I'm recommending the C4Labs.com Zebra 4 fan case, assuming that you don't have a hat that's required.

1 Like

HI all, I'm new here. I'm sorry in advance if I'm wasting anyone's time. I have read through a number of posts and getting a bit confused.

I purchased a raspi 4B about a week ago. My intent is to use it to connect wirelessly to a LulzBot Mini 2. I've etched the standard OS image just to play around, connected via SSH, all works fine.

I'm now trying to setup a separate SD card with OctiPi image to support the 3D printer. I'm a bit confused with the conversation and the links provided.

On the OctoPrint.org - Download & Setup OctoPrint this is noted below the download button:

When I click on the "test builds here" link it takes me to a message in this thread that downloads 2019-06-20-octopi-buster-lite-0.17.0.img. But then later in the thread people are discussing nightly builds and how they are working. Other posts indicate there is some "informal" build being sent to people.

All that for one simple question: Is the 2019-06-20-octopi-buster-lite-0.17.0.img the latest image I should use for my RasPi 4B or is there another later one?

Thanks in advance,
Russ

Afaik 2019-06-20-octopi-buster-lite-0.17.0.img is the latest image.
Just update the os with sudo apt update && sudo apt -y upgrade and octoprint via the webinterface and you're up to date :wink:

1 Like

Thanks for the quick response, very helpful. Done, up and running.

1 Like

Hi all,
I have RPi4B now from a week or two and I'm playing with this current Octopi image. Setting the Octopi was almost without problems and everything was solved one way or another, but now I'm facing a bit strange issue.
Here is my setup:
octopi-buster-lite-0.17.0.img setup for Prusa I3 Mk3S with Enclosure plugin. (I update it daily)
As an addition I have an OpenVPN running so I can access the server from outside.

After booting the RPi everything works perfect: I can access the Octopi server from my internal network as well as through my phone (in 4G mode) by using the VPN.

The issue:
After some amount of time (2-3-5 hours) I no longer can connect to the Octopi server through my internal network, but with some continuous tries I'm able to connect to the VPN server and to connect through it to Octopi. Even when I can do that I still cannot connect directly through my internal network. There are even cases when my PC and phone a connected to the Wifi (so they are in the internal network) the PC can reach RPi, but the phone not.
The bottom line is that after 2-3-5 hours some variants for reaching the RPi might work (with significant amount of attempts) and others not.

I used this method to disable the power management of the Wifi adapter:


by its own and along with "sudo iwconfig wlan0 power off", but without effect on the issue.

I'm having the same configuration on RPi Zero W on which I don't have any issues - neither with Octopi nor with OpenVPN.

The connection of the wlan0 looks like that:
wlan0 IEEE 802.11 ESSID:"fhnt"
Mode:Managed Frequency:2.412 GHz Access Point: xxxxx
Bit Rate=150 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=61/70 Signal level=-49 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:51 Invalid misc:0 Missed beacon:0

Any ideas how to troubleshoot or solve this issue would be very appreciated.
Thank you.

It looks like it's sometimes having difficulty talking to the wifi router. You should run an ifconfig locally on the Pi to check the flags on the wlan0 adapter when it's acting up. You can put a display/keyboard/mouse on the Pi temporarily while troubleshooting.

It sounds like you're connecting to the 2.4Ghz wifi zone. Note that the Pi4B also can support 5Ghz, for what it's worth. I don't think it's wifi adapter power management; I don't think the Raspberry Pi Foundation would be stupid enough to fall back to that problem again.

You didn't indicate what kind of PC you have (Windows/macOS, etc). You didn't indicate if OpenVPN is also running on the Pi4B.

You might check your DHCP lease length on your router's admin page. It's possible that it's short-leasing to some ridiculous level. You'd think it wouldn't be this, though.

If you workstation is Windows it's possible that for this one it's related to the arp cache and its absence of the Bonjour name resolution service.

Unfortunately I don't have proper cable for connecting a monitor to the RPi.

Yes, my network is 2.4GHz. The router is quite old now (D-Link DIR-605L), but I didn't have any issues with the RPi Zero W. The RPi4 just replaces the RPi Zero W. No position or anything else changed.

My PC is running WIndows 10, and the OpenVPN running is on the RPi.

DHCP lease time is set at 1440 minutes.

As I said, my PC is with Windows, but I'm having same problems with my phone (Android 9, with JuiceSSH).

Now I put a range extender close to the RPi, connected the RPi to it and will share results in a couple of hours.
(EDIT: the issue is persistent. It's not affected at all from the range of the WiFi)

1440 / 60 = 1 day so it is entirely possible that the lease is running out during all this. Why not just dedicate an IP address to this Pi and not have to deal with the worry?

Neither Windows nor Android runs Bonjour by default. It might require some trickery to get this to behave.

Personally, I've had my own wifi quality go bad over time and it had zero to do with my own equipment; over that period of time my apartment neighbors had installed competing wifi zones (about 30 within reach). So sometimes it's just the landscape, so-to-speak. I had to install a pair of Orbi routers (from Netgear) and that sorted things out for me.

Try an Ethernet cable for a bit.

The RPi has a dedicated IP. I did that in the very beginning. It's assigned to the MAC address in the router.
If I assume I that the problem is with the router and the landscape, I don't have explanation why this doesn't happen to the RPi Zero W which was previously installed there.

Today I tried with clean install of Raspbian. And it's the same.

Will check how it's with a cable.

have you tried updated the Raspbian underneath the octoprint, I did a new build today and got a pre-release version of buster which really didn't like the wireless on the pi4

I ended up using a cable to get it sorted, then revert to wireless

I had to
put the SD card in a pi3b to fix it
apt -y update
that got an initial update but all sorts of things broke
sudo dpkg --configure -a
to fix a number of packages
then run the update again and I needed another command to fix that (apt-get --fix I think it was, it told you the command needed in the error)
then it finally ran the sudo apt-get update and the sudo apt-get dist-upgrade
then I could finally get the wireless to configure (remember pi3b can only see 2.4ghz wireless, pi4 can see both 2.4 and 5ghz wireless)
now the card is back in the pi4 4gb and running fine, far quicker and smoother running octopi

1 Like

one other thing I noticed was with my ANET A8 with the factory firmware (yes I am aware of the lack of thermal runaway protection) if I plugged the USB cable to the printer into the blue USB 3 ports on the Pi4 it failed to boot until I moved the USB to one of the USB 2 ports

@bluecar1

Raspberry pi4 problem (solved)

1 Like

thanks

I thought it may be power related, as the USB 3 ports can provide more power then the USB 2 ports

and mine has the USB C power issue (1 instead of 2 resistors in the detection circuit) so wouldn't surprise me if there weren't a few more USB bugs with the USB 3 ports

but plugging into the USB 2 ports works fine :slight_smile: so is an easy fix instead of having to tape a fiddly bit inside a USB plug

my octoprint wifi works great no issue at all, but i put official 7 inch raspberry touch screen on RPi4 4gb. I want boot to desktop to load the browser but seen cant work at all.

i already install plugin "TouchUI" still cant work.

i try this command still cant work at all

  1. sudo /home/pi/scripts/install-desktop
  2. sudo raspi-config -> Boot Options -> automatically boot to GUI as pi user
  3. sudo apt-get install lightdm

here is the image of scripts........

Uhm no that aren't your images. maybe the last one ist but the others are from the user @Clbyrd77.
What is your deal !?

Are you sure your pi can reach the internet?
and the fix missing command is sudo apt-get install --fix-missing in your case

yes, it connected to wifi.

I tested one of the files that your pi can't reach and it works for me.

Just to be sure your pi can reach it too and there is another problem try this

wget http://raspbian.raspberrypi.org/raspbian/pool/main/i/initramfs-tools/initramfs-tools_0.130_all.deb