Go to advanced search

by graysky
Mon Sep 02, 2019 11:01 am
Forum: Beginners
Topic: how to detect if pi has rebooted?
Replies: 10
Views: 660

Re: how to detect if pi has rebooted?

jj_0 wrote:
Mon Sep 02, 2019 10:50 am
Or run the script as a systemd service at startup.
graysky wrote:
Mon Sep 02, 2019 10:47 am
You could also optionally make a systemd timer and unit to run your script to avoid pulling down more dependencies (cron).
There's an echo in here :D
by graysky
Mon Sep 02, 2019 10:47 am
Forum: Beginners
Topic: how to detect if pi has rebooted?
Replies: 10
Views: 660

Re: how to detect if pi has rebooted?

How are you triggering the script to run? Why not use cron to run @reboot and at some regular interval? What distro are you using? Raspbian? Likely you're using systemd as your init system so google journalctl. You could also optionally make a systemd timer and unit to run your script to avoid pulli...
by graysky
Wed Aug 28, 2019 8:02 pm
Forum: General discussion
Topic: Recommendation for a quiet fan?
Replies: 11
Views: 5693

Re: Recommendation for a quiet fan?

One of my 4s has the fan that came with this case. More or less silent running on 3.3V.
by graysky
Mon Aug 26, 2019 7:50 pm
Forum: Raspberry Pi OS
Topic: why xz format not used for distribution of raspbian images
Replies: 34
Views: 2200

Re: why xz format not used for distribution of raspbian images

Just out of interest, anyone got numbers for the latest Raspbian as a zip and as xz? Meaning the compression differences? As an aside, if a format switch is considered, I would recommend zst which benefits from multi-threaded compression, and compression that will arrive at the same checksum regard...
by graysky
Sun Aug 25, 2019 5:28 pm
Forum: Networking and servers
Topic: Gigabit Switch for Pi 4
Replies: 14
Views: 3017

Re: Gigabit Switch for Pi 4

Cisco SG100-16 works.
by graysky
Sun Aug 18, 2019 7:27 pm
Forum: Troubleshooting
Topic: My raspberry pi "exploded"
Replies: 6
Views: 758

Re: My raspberry pi "exploded"

ProDigit wrote:
Sun Aug 18, 2019 7:10 pm
I just came here to see an exploded CPU.
But now I'm disappointed :(
Me too!

Image
by graysky
Sat Aug 17, 2019 11:51 am
Forum: Arch
Topic: Arch Linux ARM on Raspberry Pi 4
Replies: 36
Views: 35167

Re: Arch Linux ARM on Raspberry Pi 4

cjan wrote:
Sat Aug 17, 2019 11:05 am
now had new image its own, but still armv7h kernel.

Code: Select all

wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-4-latest.tar.gz
Yes, due to: https://github.com/raspberrypi/linux/is ... -522204095
by graysky
Sat Aug 17, 2019 11:38 am
Forum: General discussion
Topic: Change root in cmdline.txt
Replies: 14
Views: 3490

Re: Change root in cmdline.txt

Not in my experience. /boot/cmdline.txt and /etc/fstab on the new partition is all I've ever had to change. No, it's hardcoded: On Arch ARM: https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-raspberrypi4/config#L517 On Raspbian: https://github.com/raspberrypi/linux/blob/rpi-4.19.y/ar...
by graysky
Sat Aug 17, 2019 11:05 am
Forum: General discussion
Topic: Change root in cmdline.txt
Replies: 14
Views: 3490

Re: Change root in cmdline.txt

I think there is a kernel parameter you need to change as well.
by graysky
Thu Aug 15, 2019 6:54 pm
Forum: General discussion
Topic: Temperature conversion
Replies: 9
Views: 1222

Re: Temperature conversion

Don't think so natively but you can capture the temp in C and just convert to F.
by graysky
Thu Aug 15, 2019 6:32 pm
Forum: General discussion
Topic: Raspberry Pi 4 with cooling 5v/3v?
Replies: 6
Views: 5513

Re: Raspberry Pi 4 with cooling 5v/3v?

jfabernathy wrote:
Thu Aug 15, 2019 6:19 pm
Thanks for the information. So it looks like the fan connections to 5 or 3.3 is the same for RP4b and RP3b+?
I believe the pinout is identical: https://www.raspberrypi.org/documentation/usage/gpio/
by graysky
Thu Aug 15, 2019 5:01 pm
Forum: Beginners
Topic: What text colors mean in terminal window
Replies: 1
Views: 243

Re: What text colors mean in terminal window

They are there to help delineate different file types.

https://lmgtfy.com/?q=ls+color+meaning
by graysky
Thu Aug 15, 2019 4:35 pm
Forum: General discussion
Topic: Raspberry Pi 4 with cooling 5v/3v?
Replies: 6
Views: 5513

Re: Raspberry Pi 4 with cooling 5v/3v?

Same. Compiling the linux kernel on the Pi4 without cooling causes temps >80C. With cooling on either 3.3V or 5V, temps are under 55C and under the throttle point. 3.3V is definitely quieter than 5V. At least 1 vendor (pic is right off amazon) shows either: https://i.postimg.cc/mrt01byh/fick-85.jpg ...
by graysky
Thu Aug 15, 2019 4:19 pm
Forum: Troubleshooting
Topic: VPN installation
Replies: 3
Views: 294

Re: VPN installation

You are paying for a commercial VPN provider and you want the Pi to use it as well? Just install OpenVPN on the pi, copy your config over and run it. I don't know Raspbian, but on Arch (Arch ARM): https://wiki.archlinux.org/index.php/Op ... hird_party
by graysky
Thu Aug 15, 2019 11:39 am
Forum: Troubleshooting
Topic: Problem with my ovpn file
Replies: 3
Views: 234

Re: Problem with my ovpn file

Syntax is key. I wrote a scirpt that helps: https://github.com/graysky2/ovpngen
by graysky
Sun Aug 11, 2019 7:31 pm
Forum: General discussion
Topic: use pi as vpn server without port forwarding?
Replies: 2
Views: 286

Re: use pi as vpn server without port forwarding?

If you can connect over SSH just tunnel the traffic.

Code: Select all

ssh user@domain.com -L 5900:localhost:5900
by graysky
Sun Aug 11, 2019 11:08 am
Forum: Raspberry Pi OS
Topic: Virtualisation on Pi 4
Replies: 1
Views: 841

Re: Virtualisation on Pi 4

LXC works great. I have a 2 GB RPi4 running a lxc serving up openvpn, wireguard, and pihole each in their own lxc container. See: https://github.com/graysky2/lxc-service-snapshots
by graysky
Fri Aug 09, 2019 7:29 pm
Forum: General discussion
Topic: Need a RPi4 case that can be wall mounted
Replies: 10
Views: 1935

Re: Need a RPi4 case that can be wall mounted

Mandrewpi wrote:
Mon Aug 05, 2019 10:11 pm
I just use those Velcro Command strips, or zipties because everyone knows that zipties are the most professional option :D .
Twist ties, zip ties, it's all good :p
by graysky
Wed Aug 07, 2019 7:31 pm
Forum: Arch
Topic: Arch Linux ARM on Raspberry Pi 4
Replies: 36
Views: 35167

Re: Arch Linux ARM on Raspberry Pi 4

Gavinmc42 wrote:
Wed Aug 07, 2019 8:17 am
Is that 32 or 64bit?
It says rpi2, so I assume it is the old 32bit Pi2.
The image is technically armv7h and it runs just fine.
by graysky
Mon Aug 05, 2019 8:25 pm
Forum: General discussion
Topic: Need a RPi4 case that can be wall mounted
Replies: 10
Views: 1935

Re: Need a RPi4 case that can be wall mounted

...meanwhile I just used the twist ties that came with the HDMI video cable to make a crude picture hanger by just threaded them through two of the four screw-holes in the RPi4's fab. A 3rd one bridging them together twisted around a large staple I pounded into the subfloor where this thing hangs ab...
by graysky
Sun Aug 04, 2019 10:49 pm
Forum: General discussion
Topic: Need a RPi4 case that can be wall mounted
Replies: 10
Views: 1935

Re: Need a RPi4 case that can be wall mounted

Thanks for the replies. I used a drill bit as a crude dremel in the past but wanted something that is pre-built. I will look at the one you posted, wh7qq. Seems odd that the official case lacks them.
by graysky
Sun Aug 04, 2019 5:07 pm
Forum: General discussion
Topic: Need a RPi4 case that can be wall mounted
Replies: 10
Views: 1935

Need a RPi4 case that can be wall mounted

I am finding it difficult to find a case that has pre-fabbed cuts in the base of it to allow for a vertical or wall mount application. The official case looks like it just has feet. Anyone?
by graysky
Fri Aug 02, 2019 9:37 pm
Forum: Advanced users
Topic: Is the schedutil governor broken for RPi3/4?
Replies: 1
Views: 410

Is the schedutil governor broken for RPi3/4?

After enabling the schedutil governor, I noticed the CPU frequency on my RPi4 (and RPi3B+) does not deviate from the max even when the machine is idle (ie zero load). Example, Pi4 sitting idle for 1/2 hour: % cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor schedutil % uptime 17:36:13 up...
by graysky
Sat Jul 20, 2019 2:36 pm
Forum: Advanced users
Topic: RPi4 - Anyone able to get full resolution in any DE?
Replies: 1
Views: 289

Re: RPi4 - Anyone able to get full resolution in any DE?

I added the following lines to /boot/config.txt (following the example from Raspbian) and it worked upon a reboot.

Code: Select all

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

Go to advanced search