Go to advanced search

by Roken
Thu Jan 03, 2019 10:27 pm
Forum: Troubleshooting
Topic: Cannot find NAS drive in Plex app
Replies: 16
Views: 1403

Re: Cannot find NAS drive in Plex app

1: Why are you mounting the drive to /home? /home is required otherwise for local (i.e. user) config files Create a mount point in /mnt sudo mkdir /mnt/media Then change the owner sudo chown pi /mnt/media Then edit fstab to mount the drive at the new mount point sudo nano /etc/fstab Replace nano wit...
by Roken
Wed Jan 02, 2019 8:28 pm
Forum: General discussion
Topic: How long do you guys keep your sd cards?
Replies: 8
Views: 556

Re: How long do you guys keep your sd cards?

My SDCards are only used for boot. Everything else is on NAS drives, so I expect the SDCards to last longer than me.
by Roken
Mon Dec 24, 2018 6:35 pm
Forum: Off topic discussion
Topic: Entertaining - and Pi features
Replies: 0
Views: 865

Entertaining - and Pi features

I use Arch on my desktop, and so have shared this there. Pi also gets featured (more than Arch), but regardless, it's entertaining.

https://www.youtube.com/watch?v=xPbAXKMCDkY
by Roken
Wed Dec 19, 2018 8:25 pm
Forum: Advanced users
Topic: rsync use
Replies: 2
Views: 937

Re: rsync use

Code: Select all

sudo rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /src/dir dest/dir
by Roken
Tue Dec 18, 2018 7:48 pm
Forum: General discussion
Topic: how to solve Audio on RPi3
Replies: 1
Views: 166

Re: how to solve Audio on RPi3

Try a fresh install. On one of my Pis where audio is not required (meaning I've installed nothing extra for audio, on a headless setup) aplay -l returns **** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 7/7 Subdevice #0: subdev...
by Roken
Tue Dec 18, 2018 7:44 pm
Forum: Troubleshooting
Topic: Permission denied error even when using sudo.
Replies: 17
Views: 925

Re: Permission denied error even when using sudo.

Do you possibly have the immutable flag set?

Code: Select all

sudo chattr -i path/to/file
by Roken
Tue Dec 18, 2018 7:41 pm
Forum: Raspbian
Topic: How can I prevent root to expand at first boot?
Replies: 39
Views: 12249

Re: How can I prevent root to expand at first boot?

Has the OP question been answered? I see a lot of discussion about why you don't need to disable it, but what if there is one reason for disabling it that I consider valid? /rant It simply fails here, but a valid reason is if you are booting from a USB drive (with rootfs on that drive) and the rema...
by Roken
Wed Dec 12, 2018 6:00 am
Forum: General discussion
Topic: Not able to ssh without password even after adding ssh-key
Replies: 8
Views: 429

Re: Not able to ssh without password even after adding ssh-key

Try (and I'm going to assume you have vim, but you can substitute nano): vim .ssh/known_hosts Delete the entry for the failing ssh session. Save, and retry. A good idea in theory, but it doesn't work very often in practice because the hostnames are hashed. So, it is hard to tell which line to delet...
by Roken
Tue Dec 11, 2018 8:19 pm
Forum: General discussion
Topic: Not able to ssh without password even after adding ssh-key
Replies: 8
Views: 429

Re: Not able to ssh without password even after adding ssh-key

Try (and I'm going to assume you have vim, but you can substitute nano):

Code: Select all

vim .ssh/known_hosts
Delete the entry for the failing ssh session. Save, and retry.
by Roken
Wed Dec 05, 2018 9:30 pm
Forum: Troubleshooting
Topic: reboot don't work
Replies: 5
Views: 268

Re: reboot don't work

Are you booting to a desktop/UI (e.g. retro)? If so, have you tried rebooting with a monitor/display connected. I find my RetroPi failes to boot unless it has an active display.
by Roken
Mon Nov 26, 2018 8:11 pm
Forum: Beginners
Topic: correct backup command?
Replies: 9
Views: 978

Re: correct backup command?

I've always found

Code: Select all

sudo rsync -aAXv  .................
Has worked well in all situations for me (including backing up the OS. NB, backing up the OS requires several --exclude s
by Roken
Fri Nov 23, 2018 3:31 pm
Forum: Bare metal, Assembly language
Topic: Demoscene
Replies: 18
Views: 3718

Re: Demoscene

Back in the day, demo scene went hand in hand with the cracking crews. Seems a bit pointless on OS software.
by Roken
Wed Nov 21, 2018 11:08 am
Forum: Troubleshooting
Topic: Bash: No such file or directory
Replies: 8
Views: 1474

Re: Bash: No such file or directory

if you cd into /frame and type

Code: Select all

./startframe.sh
Does it work?
by Roken
Mon Nov 19, 2018 11:40 pm
Forum: Troubleshooting
Topic: Update broke boot
Replies: 10
Views: 1212

Re: Update broke boot

Well, a quick aside. It turns out Pi #3, being the one I had to move to the only working NAS drive, whilst it booted fine, failed to after an update. But, not the end of the world, it had owncloud on it, and I'd been meaning to switch to nextcloud anyway. So downloaded the latest raspian and started...
by Roken
Sun Nov 18, 2018 9:36 pm
Forum: Beginners
Topic: if/else statement to run gui or no gui?
Replies: 5
Views: 831

Re: if/else statement to run gui or no gui?

Then you would probably be better with the minimal install (without X), which can be entirely headless. Out of 4 Pis, I only have two that have a GUI, and one of them doesn't launch it unless I tell it to manually. The other is retroPi, which would be kinda useless without an Xserver.
by Roken
Sun Nov 18, 2018 8:31 pm
Forum: General discussion
Topic: changes on /etc/resolve.conf not getting saved upon reboot
Replies: 10
Views: 45677

Re: changes on /etc/resolve.conf not getting saved upon reboot

Easy answer. Setup /etc/resolv.conf how you want it.

Run

Code: Select all

sudo chattr +i /etc/resolv.conf
Then it will never be changed. If you need to edit it, change +i to -i
by Roken
Sun Nov 18, 2018 8:29 pm
Forum: Beginners
Topic: if/else statement to run gui or no gui?
Replies: 5
Views: 831

Re: if/else statement to run gui or no gui?

You are confusing yourself. You can have a full desktop running without being plugged in to a display, you just can't see it. If you always boot the same way, and you have a GUI when a monitor is connected, then you always have a GUI.
by Roken
Sun Nov 18, 2018 7:55 pm
Forum: Troubleshooting
Topic: Update broke boot
Replies: 10
Views: 1212

Re: Update broke boot

As much as I'd like to simply downgrade, I've invested too much time in setting up that one to have to go through it again. I'm pleased to report that, having taken the hub out of the equation, and just using one drive (two would be too much power draw), and copying the one rootfs off the other driv...
by Roken
Sun Nov 18, 2018 5:01 pm
Forum: Troubleshooting
Topic: Update broke boot
Replies: 10
Views: 1212

Re: Update broke boot

It says "Waiting", and eventually times out with a halt. Even with just one drive plugged into the hub (and I've confirmed there are no UUID or PARTUUID conflicts). I'm positive that something in the update prevents it seeing through the hub, now. EDIT: And it's not Linux per se. My Desktop is runni...
by Roken
Sun Nov 18, 2018 2:48 pm
Forum: Troubleshooting
Topic: Update broke boot
Replies: 10
Views: 1212

Re: Update broke boot

I do have rootwait - and have reverted to PARTUUID for the direct connection. It seems something has happened to prevent the hub being recognised. Currently cloning Pi4 (which was on the other HD plugged into it) to the one drive now. Once that's done, hopefully, I can get all four booting again.
by Roken
Sun Nov 18, 2018 10:20 am
Forum: Troubleshooting
Topic: Update broke boot
Replies: 10
Views: 1212

Re: Update broke boot

Except here it was working just fine until yesterday's update.
by Roken
Sun Nov 18, 2018 9:28 am
Forum: Troubleshooting
Topic: Update broke boot
Replies: 10
Views: 1212

Re: Update broke boot

I've made some progress. It seems that the Pi no longer likes the drives through the hub. Connecting the drive with rootfs directly gets me booted. Connecting the drives via the hub to my desktop shows no problems, so obviously the hub is working. Any ideas why the Pi would suddenly not like it. Thi...
by Roken
Sat Nov 17, 2018 2:08 pm
Forum: Troubleshooting
Topic: Update broke boot
Replies: 10
Views: 1212

Update broke boot

I just updated the OS on Pi No.1 This Pi has two USB HDs connected via a powered hub. rootfs for this Pi (and the other 3) is on one of the HDs. /boot is on SDCard for all 4. After the update, I rebooted, and bam, it can't find rootfs. I've plugged the drive into my desktop and fsck'd it, clean. Che...
by Roken
Fri Nov 09, 2018 11:05 pm
Forum: HATs and other add-ons
Topic: PoE HAT - USB Ports not working - over-current (FIXED - New Hardware Release)
Replies: 327
Views: 83503

Re: PoE HAT - USB Ports not working - over-current

Am I the only one that...a) did a quick Google search. b) found I could RMA, c) decided the V1 still suits my needs, and d) found an alternative where it doesn't? What's with all the aggression? This is an inexpensive addition to an inexpensive board, and only the early adopters will have been affec...
by Roken
Fri Nov 09, 2018 10:59 pm
Forum: Off topic discussion
Topic: "Nothing ever works"
Replies: 72
Views: 11142

Re: "Nothing ever works"

I honestly couldn't be bothered reading through the whole thread, but I can answer the original post. Nothing ever works, because "nothing" was never intended to work. Only "Something" can work.

Go to advanced search