TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: ROBH
date: 2018-05-19 16:39:00
subject: Re: ftp causing invalid s

On 19/05/18 16:08, Björn Lundin wrote:
> On 2018-05-19 11:08, RobH wrote:
>> pi@raspberrypi:~ $ sudo mount -t cifs -o username=root,password=******
>> //NAS/CCTV/PiZero /mnt/CCTV/PiZero
>> mount error(115): Operation now in progress
>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>> pi@raspberrypi:~ $
>>
>> Here I used both password and username for my NAS box
>
> this seems close to what you want.
> BUT
> //NAS ? can you reach the nas from the PI via the nasme 'NAS'?
>
> try
> ping NAS
>
> if it comes back saying
> it does not recognize the name then try to swap NAS for its ip-address
>
>
> pi@raspberrypi:~ $ sudo mount -t cifs -o username=root,password=******
> //192.168.1.22/CCTV/PiZero /mnt/CCTV/PiZero
> ^^^^^^^^^^^^
>
> or whatever the ip of the nas is
>
>
The ip address here is not mine but some other somewhere.

pi@raspberrypi:~ $ ping NAS
PING NAS (92.242.132.24) 56(84) bytes of data.
64 bytes from unallocated.barefruit.co.uk (92.242.132.24): icmp_seq=4
ttl=247 time=26.1 ms
64 bytes from unallocated.barefruit.co.uk (92.242.132.24): icmp_seq=5
ttl=247 time=24.1 ms
64 bytes from unallocated.barefruit.co.uk (92.242.132.24): icmp_seq=6
ttl=247 time=17.4 ms
64 bytes from unallocated.barefruit.co.uk (92.242.132.24): icmp_seq=7
ttl=247 time=20.4 ms
64 bytes from unallocated.barefruit.co.uk (92.242.132.24): icmp_seq=8
ttl=247 time=21.2 ms
^C
--- NAS ping statistics ---
8 packets transmitted, 5 received, 37% packet loss, time 7133ms
rtt min/avg/max/mdev = 17.448/21.908/26.191/3.026 ms

This my NAS box and pinging the correct IP address
Actually the real name of my NAS box is FreeNAS, but using that did not
make difference to the above

pi@raspberrypi:~ $ ping 192.168.0.22
PING 192.168.0.22 (192.168.0.22) 56(84) bytes of data.
64 bytes from 192.168.0.22: icmp_seq=1 ttl=64 time=2.03 ms
64 bytes from 192.168.0.22: icmp_seq=2 ttl=64 time=1.02 ms
64 bytes from 192.168.0.22: icmp_seq=3 ttl=64 time=0.989 ms
64 bytes from 192.168.0.22: icmp_seq=4 ttl=64 time=0.960 ms
64 bytes from 192.168.0.22: icmp_seq=5 ttl=64 time=0.989 ms
64 bytes from 192.168.0.22: icmp_seq=6 ttl=64 time=1.04 ms
64 bytes from 192.168.0.22: icmp_seq=7 ttl=64 time=0.986 ms
64 bytes from 192.168.0.22: icmp_seq=8 ttl=64 time=0.992 ms
^C
--- 192.168.0.22 ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 7009ms
rtt min/avg/max/mdev = 0.960/1.127/2.031/0.345 ms
pi@raspberrypi:~ $

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