Go to advanced search

by graysky
Sat Nov 09, 2019 12:41 pm
Forum: General discussion
Topic: How to disable the Pi3's WLAN & Bluetooth ?
Replies: 16
Views: 174800

Re: How to disable the Pi3's WLAN & Bluetooth ?

The only other thing I can think of is to disable the loading of the drivers for now: /etc/modprobe.d/raspi-blacklist.conf #wifi blacklist brcmfmac blacklist brcmutil #bt blacklist btbcm blacklist hci_uart With recent kernel version is seems bluetooth is still loading. After some exploring, I found...
by graysky
Tue Oct 01, 2019 11:17 am
Forum: General discussion
Topic: Web Browser w/ VNC acccess
Replies: 8
Views: 1276

Re: Web Browser w/ VNC acccess

Why use a webbrowser for VNC? Seems like a security risk... is your viewer compatible with tigervnc (open source)? Run tiger would be my advice... I don't know of any google product I would trust with my privacy :p
by graysky
Wed Sep 18, 2019 9:43 pm
Forum: General discussion
Topic: Security - Best Practices
Replies: 3
Views: 204

Re: Security - Best Practices

01grander wrote:
Wed Sep 18, 2019 7:56 pm
We are wanting to use these at an intake area, those will perform different functions but I need to start looking into best security practices since it will be "public" facing.
All bets are off if there is physical access to the machine.
by graysky
Wed Sep 18, 2019 7:47 pm
Forum: Raspbian
Topic: Raspberry Pi 4 HEVC
Replies: 7
Views: 642

Re: Raspberry Pi 4 HEVC

Kodi 19 should use ffmpeg+v4l2, until then, you can use popcornmix's leia_pi4 branch which patches ffmpeg and kodi to use MMAL which can decode HEVC. LibreLE uses this branch as does Arch ARM.
by graysky
Tue Sep 17, 2019 6:31 pm
Forum: General discussion
Topic: VPN
Replies: 6
Views: 263

Re: VPN

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

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

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

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

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

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

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

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

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

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

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

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

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: 564
Views: 180419

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

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

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

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

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

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

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

Re: Gigabit Switch for Pi 4

Cisco SG100-16 works.

Go to advanced search