TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: MARTIN GREGORIE
from: ROBH
date: 2018-05-17 14:44:00
subject: Re: ftp causing invalid s

On 17/05/18 14:20, Martin Gregorie wrote:
> On Thu, 17 May 2018 13:45:04 +0100, RobH wrote:
>
>> On 17/05/18 10:16, Chris Green wrote:
>>> RobH  wrote:
>>>> On 15/05/18 09:55, Björn Lundin wrote:
>>>>> On 2018-05-15 10:39, RobH wrote:
>>>>>> ftp://NAS server ip address/mnt/folder/subfolder
>>>>>
>>>>> A NAS usually exports fileshare, and often via smb/cifs mount a
>>>>> fileshare to the NAS on the pi,
>>>>> and save the picture directly on the NAS - without ftp.
>>>>>
>>>>>
>>>>> eg #mount -t cifs -o username=USERNAME,password=PASSWD
>>>>> //192.168.1.88/shares /mnt/share
>>>>>
>>>>> (as root)
>>>>>
>>>>> I
>>>>> from
>>>>> https://askubuntu.com/questions/101029/how-do-i-mount-a-cifs-share
>>>>>
>>>>>
>>>>>
>>>> I have tried:
>>>>    sudo mount -t cifs -o username=USERNAME,password=PASSWD
>>>>    //192.168.1.88/shares /mnt/share
>>>>
>>>> and it returned:
>>>> mount: mount point /mnt/CCTV/PiZero does not exist
>>>>
>>>> I then changed it and added //192.168.0.22/CCTV /mnt/CCTV/PiZero in
>>>> the fstab file The line in fstab looks like this:
>>>> /192.168.0.22/CCTV /mnt/CCTV/Pizero, but till get the same error
>>>> message as above mount point does not exist.
>>>>
>>>> What have I missed.
>>>
>>> I think it means what it says.  /mnt/CCTV/PiZero doesn't exist, you
>>> need to create the directory where something is to be mounted.
>>>
>> I have just created  on the root folder of PiZero, and
>> when I run the mount command, it still says that it does not exist.
>>
>> I'm beat now!
>>
> Does the directory on the NAS box you're trying to access exist?
>
> Since none of the parameters for any 'mount' command you've shown us
> contain /mnt/CCTV/PiZero I think, to avoid confusion, you should show us:
>
> - the output of "ls /" when run on both the Pi zero and your NAS box
>
> - the exact 'mount' command that is failing and the error message (copy
>    and paste the command line, "$ mount....", and the error line.
>
> - an explanation of why you've added /mnt/CCTV/PiZero to /etc/fstab,
>    and which system you did that on.
>
> - what, if any, Linux reference guide you're using.
>
>    "Linux in a Nutshell" and
>    http://www.debian.org/doc/manuals/debian-reference/
>    are both good.
>
>

Yes the folder/directory/dataset does exist on my NAS box, and have been
downloading pictures and video to /CCTV for about 3 years now. Now I
want to dowonload video from my PiZero to /CCTV/PiZero on my NAS box

Pi Zero
ls /
.  bin dev home lost+found media opt root sbin sys usr
.. boot etc lib man       mnt   proc  run srv tmp var

NAS box
ls /
.cshrc          boot            entropy         mnt             sys

.profile        compat          etc             proc            tmp

.rnd            conf            lib             rescue          usr

COPYRIGHT       data            libexec         root            var

bin             dev             media           sbin


Why I added this  /mnt/CCTV/PiZero to /etc/fstab, was because running
the mount command kept say the said folder doesn't exist.

On my linux desktop I a similar line to the fstab file as I was using
emby media player:
192.168.0.22:/mnt/WinShare/Media/Music /mnt/WinShare/Media/Music nfs
auto, nofa$

And it works.

I am not using any reference guide, just from youtube and poster who
reply to me.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.