Go to advanced search

by Roken
Fri Jun 01, 2018 11:51 am
Forum: Advanced users
Topic: OwnCloud OnlyOffice
Replies: 2
Views: 883

OwnCloud OnlyOffice

I'm experimenting at the moment setting up a secure filesharing system for clients to comply with GDPR for work. My testbed is at home. I have a 3B+ with an attached 1TB USB drive. rootfs is on the drive and booting. ownCloud is installed with SSL working fine and dandy. I have ownCloud configured t...
by Roken
Fri Jun 01, 2018 6:27 am
Forum: Beginners
Topic: basic ? about NFS and Samba
Replies: 36
Views: 2695

Re: basic ? about NFS and Samba

For your info (and simply touching on a couple of your comments), /etc/fstab is nothing more than mount instructions, and of itself is not capable of trashing your system. It's likely that, during your experiments, something else has been happening. I can guarantee that it's not fstab causing your c...
by Roken
Thu May 31, 2018 11:52 pm
Forum: Beginners
Topic: Have lost SDC recgnition
Replies: 2
Views: 302

Re: Have lost SDC recgnition

I'm not sure what you are asking exactly, but if you mean that the SD frrom one is not recognised in the other, trhge first thing I would do is connect to a computer (Linux, or Linux live) and sudo fsck /dev/sdaXY
by Roken
Wed May 30, 2018 9:39 pm
Forum: General discussion
Topic: Long lasting operations
Replies: 7
Views: 984

Long lasting operations

I'm going to throw this in as a quick tip. If you set your Pi up headless, ssh in and set it going on just about any job that will take time, then you are at the mercy of the stability of two machines (the Pi, and the machine you are using for ssh). If either dies, for whatever reason, or if you jus...
by Roken
Tue May 29, 2018 9:32 pm
Forum: Beginners
Topic: basic ? about NFS and Samba
Replies: 36
Views: 2695

Re: basic ? about NFS and Samba

Sorry if I missed it, but where exactly is the shared drive plugged in? (A dedicated NFS server/Windows server etc?). This will have a bearing on how you mount it. For example, I have a 500Gb USB drive plugged into one Pi (for a Plex data drive) and one plugged into another Pi (as an ownCloud data d...
by Roken
Thu May 24, 2018 8:13 pm
Forum: Troubleshooting
Topic: NFS boot authentication failure
Replies: 5
Views: 314

Re: NFS boot authentication failure

OMG. It was an easy fix - I forgot no_root_squash on the server after I reinstalled. Then I hit a new problem on the retropie machine, after I eventually got it booting it would insist is couldn't find a controller. A week later, I tried sudo rpi-update. It never occurred to me that it was a firmwar...
by Roken
Mon May 21, 2018 9:14 pm
Forum: Raspbian
Topic: tty-clock
Replies: 2
Views: 420

Re: tty-clock

Hasn't helped. The date is still OK, but the time is a none starter
by Roken
Mon May 21, 2018 8:33 pm
Forum: Beginners
Topic: Mounting SMB/Plex
Replies: 14
Views: 1373

Re: Mounting SMB/Plex

Try adding "password=" to the mount line.

Also, make sure you are delimiting with tabs and not spaces. e.g.

//192.168.0.202/volume(sda1)<tab>/media/share1<tab>cifs<tab> _netdev,username=pi,guest,uid=pi,gid=pi,password=<tab>0<tab>0

Where all <tab> are the actual tab (i.e. don't copy and paste this)
by Roken
Mon May 21, 2018 8:21 pm
Forum: Troubleshooting
Topic: NFS boot authentication failure
Replies: 5
Views: 314

Re: NFS boot authentication failure

They are both USB, and I've checked the assignments. /dev/sda1 (with the rootfs directory) is still /dev/sda1. There are no power issues (powered from two USB power supplies connected to mains, on on the screen, and one on the Pi - on the server, though I am tempted to buy a powered hub). And, if I'...
by Roken
Mon May 21, 2018 7:49 pm
Forum: Troubleshooting
Topic: NFS boot authentication failure
Replies: 5
Views: 314

NFS boot authentication failure

After even answering a couple of topics with this issue, I now find myself stumped. I had boot working with /boot on the sdcard, and rootfs on an NFS drive (the server is another Pi). At weekend, I added a new drive to the server, and suddenly the system booting from NFS fails with Authentication fa...
by Roken
Sun May 20, 2018 2:24 pm
Forum: Raspbian
Topic: tty-clock
Replies: 2
Views: 420

tty-clock

I want a clock, without the whole UI, to display the time on a 5" screen connected directly to the. I've had to re-flash and rebuild my 3b+ (for reasons I won't go into). My previous build had a desktop - the latest doesn't. On my previous build I could do it, but now trying to minimise the installa...
by Roken
Thu May 17, 2018 7:38 pm
Forum: Linux Kernel
Topic: Boot hang after "random: crng init done"
Replies: 17
Views: 47084

Re: Boot hang after "random: crng init done"

I was getting this when experimenting with NFS boot - and it usually meant that the system couldn't find rootfs.

Check cmdline.txt
by Roken
Wed May 16, 2018 7:32 pm
Forum: General discussion
Topic: NAS
Replies: 8
Views: 1676

Re: NAS

fruitoftheloom wrote:
Wed May 16, 2018 12:01 pm
How would Clustering help ? Plex Media Server is not compiled for "distributed computing"
No, but you could cluster Pis with attached single drives for multiple NAS.
by Roken
Wed May 16, 2018 7:28 pm
Forum: Troubleshooting
Topic: Question about shutdown
Replies: 6
Views: 488

Re: Question about shutdown

Running Linux, the fact that the display is still alive suggests to me that shutdown is NOT complete.

As others have said, we need to see the script.
by Roken
Mon May 14, 2018 8:13 pm
Forum: Advanced users
Topic: rootfs directories on USB
Replies: 7
Views: 791

Re: rootfs directories on USB

I'm tempted just to repartition the connected drive. It will have to wait until weekend, though, since I'll have to reconfigure the NFS mounts on my other machines, and the NFS boot on the other Pi, as well as copying off/copying on of the rest of the data (and probably rebuilding plex and kodi data...
by Roken
Sun May 13, 2018 3:07 pm
Forum: Raspbian
Topic: root account is locked
Replies: 8
Views: 905

Re: root account is locked

try a manual install to the sdcard - prep the partitions first, and then rsync the directories and files over. That avoids the resizing issue.
by Roken
Sun May 13, 2018 2:45 pm
Forum: Raspbian
Topic: root account is locked
Replies: 8
Views: 905

Re: root account is locked

The only time I've seen "root account locked" is when the filesystem was corrupt. try an fsck on the FS and see if it helps.
by Roken
Sun May 13, 2018 2:32 pm
Forum: Graphics, sound and multimedia
Topic: dclock colours
Replies: 0
Views: 225

dclock colours

Documentation is lacking on this. Since I got the little 5" LCD, and the Pi is 24/7, I figured a clock would be nice. dclock does the job, but documentation is lacking, and it gets boring looking at the same colour all day, so I wrote a quick and dirty bash script to restart it every minute using a ...
by Roken
Sun May 13, 2018 8:17 am
Forum: Advanced users
Topic: rootfs directories on USB
Replies: 7
Views: 791

Re: rootfs directories on USB

I agree that doing it precisely the way I would like to is probably a non-starter. I may see if I can pick up a small micro sdcard (4Gb) and experiment with my plan of a minimal rootfs (perhaps just with /etc/fstab, /var, and /bin/mount) and see how I go on handing over / to a NFS directory as early...
by Roken
Sat May 12, 2018 6:51 am
Forum: Advanced users
Topic: rootfs directories on USB
Replies: 7
Views: 791

Re: rootfs directories on USB

Thanks for the reply. However, the thread linked to requires having the rootfs filesystem structure at the top level of the attached drive, which is something I specifically want to avoid. I want the rootfs filesystem in a directory on the drive. e.g. /dev/sda1 --->pi ---------->/bin ---------->/boo...
by Roken
Fri May 11, 2018 8:41 pm
Forum: Troubleshooting
Topic: Pi 3 crashing at the same time each day
Replies: 14
Views: 2141

Re: Pi 3 crashing at the same time each day

Do you have a weeping angel in your Pi, such that it won't fail if you are watching?
by Roken
Fri May 11, 2018 8:31 pm
Forum: Advanced users
Topic: rootfs directories on USB
Replies: 7
Views: 791

rootfs directories on USB

I kind of asked this (well, different question, but fundamentally the same problem) at the end of a, now solved, thread. I have a Pi with a USB HD connected. The Pi operates (amongst other things) as an NFS server. I'm a little but anal and like a nice, neat directory structure. I now have a separat...
by Roken
Thu May 10, 2018 9:59 pm
Forum: Beginners
Topic: Elecrow 5" right click
Replies: 0
Views: 168

Elecrow 5" right click

Wow - posting in beginners.... I've just purchased and set up an Elecrow 5" touch screen monitor. Now, this is very much a non-critical question, but I'd like an answer. How do I make right click work (long press, I understand). None of the posts I've found make a blind but of difference. Now, as it...
by Roken
Wed May 09, 2018 8:16 pm
Forum: Advanced users
Topic: [SOLVED] Shutdown - when shutting down
Replies: 10
Views: 1351

Re: Shutdown - when shutting down

It seems that ejolson provided a solution (inadvertently, probably) to the underlying issue in the original NFS Boot thread. An extra space to make rw a completely separate boot parameter appears to have solved several problems, including failed systemd startups and, crucially, the corrupted FS on t...
by Roken
Tue May 08, 2018 8:43 pm
Forum: Advanced users
Topic: [SOLVED] Shutdown - when shutting down
Replies: 10
Views: 1351

Re: Shutdown - when shutting down

Well, I only need to know whether a shutdown or restart was ordered - and not the specific method used to get there.

What concerns me is the ctrl-alt-del possibility, since I have no idea how that restarts the system.

Go to advanced search