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

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.


--
Martin    | martin at
Gregorie  | gregorie dot org

--- 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™.