You were absolutely correct about CR/LF. When I set the file to unix mode, it runs perfectly. Thank you so much. Script pings works from the command line, not tried it from command line yet.
Thank you too. I appreciate your help and ideas on this too.
#!/bin/sh
ping -c 1 192.168.143.12 >...
Foxsat-HDR~# ls -l /bin/sh
lrwxrwxrwx 1 root root 7 Feb 9 2014 /bin/sh -> busybox
Dash on the Pi is 130k, on the PC it's 123k. busybox on the Foxsat is 656k, but all 53 links in /bin point to busybox.
A bit harsh :cry:. I tried lots of hopeless things like changing the...
I'm a good buoy I am, honest guvna 🤥
I'll look at that site, thanks. I have to stop you at line 1 though as no such directory exists on the Foxsat so I removed it yesterday from the mount and unmount files just to get it to work. There is a sh link to nowhere in /bin. Script seems to default...
What's that about my funeral? Do you know something I don't :eek:
I have generated a key pair on the NAS and sent it to the Foxsat
ssh-copy-id -i ~/.ssh/id_rsa.pub Humax@ip.of.the.foxsat
That means I can SSH into the Foxsat with no password. SSH is encrypted so no sending of anything in the...
Ooooo! That is so bad it's almost good. I confess I have listened more than once and have already inflicted it on two others. Does that make me sadistic or masochistic? Maybe a little of both ;)
I ashamed to say I didn't got the 'Malcolm' reference, I really really should have. It was in the...
Calm down, calm down ... keep your wig on! ... Make the tea Terry :D (You'd have to be a certain age to get that .. PLUS I must add, I'm far too young 🤥:o_O:to get the Malcolm reference, sorry ;) )
I've nothing against polling. One of the many duties of my Raspberry Pi is to ping my VPS every...
Thanks @Black Hole for your further reply. From reading one of the links you posted last night, it appears that 'network-shares-automount' PINGS the remote mount IP from the Foxsat at regular intervals. When it gets a reply, it attempts a mount. If there is packet loss or host is unreachable...
I have been trying to mount my NAS via NASmount simply by switching the NAS on. I know it's a bit lazy.
I have worked out that I can mount my NAS from anywhere on my local network by going to the URL:
http://{Foxsat-IP}/plugin/NASMount/cgi-bin/DoSingleReMount.jim?MountNo=8'
and it will mount...
I was also unable to get the Foxsat to mount an external samba share... until today anyway. The error generated from NASmount (and the Foxsat command line) was the same as soreilly got when using NASmount :
mount: //192.168.0.12 is write-protected, mounting read-only
mount: Mounting...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.