Raspberry Pi 4 released

i have much lower speeds 5% of your mentioned speeds :frowning_face:

Has anyone figured out how to get the PoE hat fan running on this build?

Figured it out. Install kmod-hwmon-rpi-poe-fan

1 Like

I am using that one: https://www.amazon.ca/gp/product/B00MYTSN18/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1
Just install the driver: kmod-usb-net-asix-ax88179

1 Like

If you use a usb powered hard drive and a usb to ethernet adapter you might need a usb powered hub also.

From what I've tested the Pi4 doesn't have enough power on the ports to stably power both.

Had a few kernel panics and loss of internet a few hours into testing with both stock Realtek r8152 driver and the updated version.

1 Like

Hi everyone,

I tried to find information on how to install squashfs image onto the sd card, how do you do?

I'm currently using the ext4 and wishing to switch to squashfs =)

Thanks.

EDIT: Is using dd like I do with ext4 images correct?

EDIT2: It's seems using dd is working after extracting img file =)

Did you manage to control the fan ? Mine is running continuosly. I have kmod-hwmon-rpi-poe-fan installed.

Yes, my fan cycles on and off. I didn't do anything special - I just installed the kernel module.

I am using Wulfy23's community build described in this thread: Rpi4 < $(community_build)

1 Like

fwiw: community build does not alter config.txt so a stock release with that kmod should yield identical results... ( the build does include userland tho' but I doubt that would have an effect )

wonder what;

dtc -I fs -O dts /proc/device-tree | grep -C5 poe

says? (re: trip points) ( edit: sys is probably a better place to poke around )

If this helps
cd /sys/devices/virtual/thermal/thermal_zone0
grep -H [0-9] trip*

Gives this:

trip_point_0_hyst:5000
trip_point_0_temp:55000
trip_point_1_hyst:2000
trip_point_1_temp:50000
trip_point_2_hyst:2000
trip_point_2_temp:45000
trip_point_3_hyst:2000
trip_point_3_temp:40000

1 Like

If it's anything like previous Pis, the 5v USB rail is directly tied to Vin, so it's not the Pi4 that is the problem, it is your power supply.

(However, past a certain limit you might need to power the Pi from the GPIO header instead of the USB input.)

2 Likes

I do have the official 5v 3A power supply which I thought should be fine.

is there any tool in openwrt for pi4 to monitor adsl/vdsl modem stats using telenet?

whats the difference between suqashfs and ext4 i think i installed openwrt using ext4. Is there any benefit?

I installed openwrt on microsd and everything worked fine but when I try to install it on external ssd nothing works. What is the procedure to make openwrt work on external drive?

vcgencmd bootloader_version
 Mon Aug 24 11:47:50 2020 daemon.err nlbwmon[2539]: Unable to dump conntrack: No buffer space available
 Mon Aug 24 12:10:34 2020 daemon.err uhttpd[2457]: luci: accepted login on / for root from 192.168.1.118
 Mon Aug 24 12:11:25 2020 daemon.warn dnsmasq[4166]: possible DNS-rebind attack detected: canaryeastasia1.eastasia.cloudapp.azure.com

Please tell me what are these errors? what is this DNS rebind attack detected Please help me what should i do now? I just logged in via ssh from CMD

Hello I need to know what packages i need to download to use USB drive as FTP server and also use smb to access files from it inside windows. And how to setup password for it

Here is what I did to get an RPi 3B to work. Just to be on the safe side, I installed modules/drivers for seven commonly used USB ethernet adapter chipsets, including some gigabit chipsets. Mostly because I saved the image to use for friends, so it works out that I can share this procedure and support pretty much any USB to ethernet adapter. Also I kept running into a problem where the logs were flooded with messages about not being able to set the CPU clock speed. This would wear out the flash, and it made it nearly impossible to find anything in the logs, so I set the min and max clock speeds to 600mhz, and also set that in the config.txt.
I'm currently on a 50mbps internet connection and I setup OpenWRT on this Pi as a VPN client. I can fully max out my connection and the CPU rarely breaks 1% usage, even though its under-clocked to 600mhz. I have yet to test this on a faster connection. Theoretically you should be able to max out VPN throughput to wire speeds without having the CPU as a bottleneck, even at 600mhz. Also the CPU on an RPi4 is going to get more done at a given clock speed. Under-clocking also reduces the power consumption.

This is done with OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.057.55219-13dd17f

Also I use a TrendNET TU3-ETG USB3 to gigabit adapter, it is common to find them for less than $20 US. Its not made in China, and the chipset is made in Taiwan... because from a moral perspective China seems to be doing their best to make Nazi Germany look like saints.

Here is the short version of what I did, connect a screen and keyboard to get this done. Also you'll want to use the onboard NIC for your LAN in case something happens to the USB device.

After you login...

uci set network.lan.ipaddr=192.168.168.xx
uci set network.lan.gateway=192.168.168.1
uci set network.lan.dns=192.168.168.1
service network restart

#DO NOT uci commit as this just makes a mess to clean up... restarting the network services uses the above values, restarting the PI reverts to a functional router.

Once you have it talking to your LAN...

opkg update
opkg install nano kmod-usb-core kmod-nls-base kmod-usb-net kmod-usb-net-cdc-ether kmod-usb-net-rndis kmod-usb-ohci kmod-usb-uhci kmod-usb2 usb-modeswitch kmod-usb-net-asix-ax88179 openvpn-openssl luci-app-openvpn
opkg install kmod-usb-net-mcs7830 kmod-usb-net-pegasus kmod-usb-net-rtl8150 kmod-usb-net-kaweth kmod-usb-net-rtl8152 kmod-usb-net-sr9700

reboot

From the web interface, add the following line to the startup in openwrt:
echo 600000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq


Added the following lines to config.txt using an SD card reader on my PC:

#As a router, 600mhz X4 cores should be plenty. Also trying to get rid of errors setting CPU freq.
arm_freq=600
arm_freq_min=600

Cheers!

Also I forgot to mention that I'm using one of those metal cases that acts as a heatsink, its very durable. Running the pi at 600 mhz means it doesn't generate much heat LOL.

They make them for the Pi4 now, Vilros has them.

Although with that case it would probably be fine to put this in some overheated place in the summer and not have any problems.