Go to advanced search

by graysky
Tue Sep 17, 2019 6:31 pm
Forum: General discussion
Topic: VPN
Replies: 6
Views: 102

Re: VPN

OpenVPN or Wireguard
by graysky
Tue Sep 17, 2019 11:36 am
Forum: General discussion
Topic: Upload a pic every minute
Replies: 12
Views: 193

Re: Upload a pic every minute

Do you need/want to save each pic or just overwrite? I am assuming your pi user has a passwordless key for ssh connections to your webhost and the correct permissions to read/write files on the webhost. You could create a simple script that takes the pic then sends to the webhost and then have a sys...
by graysky
Tue Sep 17, 2019 11:31 am
Forum: Troubleshooting
Topic: ovpn run problem
Replies: 2
Views: 54

Re: ovpn run problem

You have provided really nothing to go on beyond your experience. People need logs and output to diagnose. Distro and network setup would be helpful as well.
by graysky
Sun Sep 15, 2019 8:12 am
Forum: Beginners
Topic: [How can i run a bash script on boot with Pi 4B /4GB]
Replies: 3
Views: 99

Re: [How can i run a bash script on boot with Pi 4B /4GB]

You could write systemd service to execute it for you once the network is up rather than a sleep line... I assume your distro is using systemd.

For an example, see: https://github.com/graysky2/odroid-auto ... ge.service
by graysky
Sat Sep 14, 2019 9:27 pm
Forum: Beginners
Topic: How to auto ssh port forward on boot
Replies: 9
Views: 152

Re: How to auto ssh port forward on boot

Also, why are you doing this at all. I assume to circumvent the need to forward a port due to no access to the router in the building?
by graysky
Sat Sep 14, 2019 9:25 pm
Forum: Beginners
Topic: Best way to format a new drive.
Replies: 6
Views: 159

Re: Best way to format a new drive.

After having formated it says with sudo fdisk -l: /dev/sda1 2048 3906961407 3906959360 1,8T Microsoft basic data I assume you have not yet copied any data to the drive... you need to change the partition type from within fdisk (ext4 is type 'linux' or something similar as I recall). Without seeing ...
by graysky
Sat Sep 14, 2019 3:50 pm
Forum: General discussion
Topic: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?
Replies: 27
Views: 2327

Re: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?

On my x86_64 machine, simply running /usr/bin/lscpu lists out some info" % lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 39 bits physical, 48 bits virtual CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 2 Core(s) per socket: 4 Socket(s): 1 ...
by graysky
Sat Sep 14, 2019 3:31 pm
Forum: Beginners
Topic: How to auto ssh port forward on boot
Replies: 9
Views: 152

Re: How to auto ssh port forward on boot

You could write a script and have a systemd service execute it for you once the network is up rather than a sleep line... I assume your distro is using systemd.
by graysky
Sat Sep 14, 2019 11:43 am
Forum: General discussion
Topic: Xscreensaver alternative
Replies: 2
Views: 134

Re: Xscreensaver alternative

Xscreensaver is the standard. Open a terminal and type: xscreensaver-demo

What happens? If you see a crash, add the --debug option and post the output.
by graysky
Sat Sep 14, 2019 10:54 am
Forum: Beginners
Topic: Best way to format a new drive.
Replies: 6
Views: 159

Re: Best way to format a new drive.

Never use a Linux native port on Windows for something like formatting a disk. What is wrong with using the provided mkfs.ext4 command? Just TRIPLE check you are applying it to the correct partition. If you haven't yet partitioned, use fdisk or gdisk and observe the same warning. To help: https://wi...
by graysky
Wed Sep 04, 2019 1:23 pm
Forum: Troubleshooting
Topic: Best performance
Replies: 4
Views: 125

Re: Best performance

zappor wrote:
Wed Sep 04, 2019 1:14 pm
Try LibreELEC, they have Kodi setup with hardware decoding via ffmpeg-mmal
Arch ARM also provides the popcornmix forks, both of which includes MMAL decoding for RPi4 or RPi3 and below if you prefer.
by graysky
Wed Sep 04, 2019 12:40 pm
Forum: Beginners
Topic: Filezilla Server, Raspberry Pi 4
Replies: 4
Views: 156

Re: Filezilla Server, Raspberry Pi 4

You want to run an FTP server on your Pi? There should be tons of options out there. What distro? Search the package repositories for FTP servers and pick one that appeals to you. If you must have the one you named, and if it isn't provided as a package, look into how to compile it.
by graysky
Tue Sep 03, 2019 8:59 pm
Forum: Beginners
Topic: How can I get the latest version of MariaDB?
Replies: 19
Views: 444

Re: How can I get the latest version of MariaDB?

Which is why " you just need to update your existing distro " looks like unhelpful advice... I do not understand your thoughts... I haven't run Debian in a long time and I have forgotten Debian-way to update from one major release to the next major release. I believe the term was something like "up...
by graysky
Tue Sep 03, 2019 7:52 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 temperature
Replies: 529
Views: 131776

Re: Raspberry Pi 4 temperature

jamesh wrote:
Tue Sep 03, 2019 6:30 am
Just a quick one to say there is currently no soft throttle on the Pi4 for technical reasons.
Does that mean the RPi4 will not reduce clock speed or voltage based on temp? I read (perhaps incorrectly) that a temp of 80C causes a throttle in either CPU speed or voltage to CPU.
by graysky
Tue Sep 03, 2019 7:50 am
Forum: Beginners
Topic: How can I get the latest version of MariaDB?
Replies: 19
Views: 444

Re: How can I get the latest version of MariaDB?

Sounds like you just need to update your existing distro to get what you need. If you find that Raspbian does not provide the version you need, you can consider Arch ARM which usually ships packages following upstream releases with minimal delay. For example mariadb 10.4.7 is currently offered for a...
by graysky
Mon Sep 02, 2019 2:12 pm
Forum: Beginners
Topic: how to detect if pi has rebooted?
Replies: 9
Views: 248

Re: how to detect if pi has rebooted?

Can cron detect that a reboot has happened? Systemd sounds interesting. Either method can run your script at boot and optionally at some regular interval... there is no need to detect a reboot in this context. Google is your friend or the Arch Wiki. https://wiki.archlinux.org/index.php/Cron https:/...
by graysky
Mon Sep 02, 2019 11:01 am
Forum: Beginners
Topic: how to detect if pi has rebooted?
Replies: 9
Views: 248

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: 9
Views: 248

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: 473

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: Raspbian
Topic: why xz format not used for distribution of raspbian images
Replies: 34
Views: 1079

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: 924

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: 432

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: 11387

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: 1486

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...

Go to advanced search