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

On 17/05/18 18:03, Björn Lundin wrote:
> On 2018-05-17 18:56, Björn Lundin wrote:
>> On 2018-05-17 18:50, RobH wrote:
>>> So I guess I'll have to read up on that, but why is NFS an unknown
>>> filesytem type, because I don't have any windows computers and my shares
>>> on the NAS box are all NFS shares.
>>
>> are you saying there are no cifs shares on the NAS?
>>
>> a way of finding out is to use smbclient
>> an exsample from my network
>>
>> bnl@sebjlun-deb64:~/back_during_race$ smbclient --list 192.168.1.20
>> WARNING: The "syslog" option is deprecated
>> Enter bnl's password:
>> Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.12-Debian]
>>
>>  Sharename       Type      Comment
>>  ---------       ----      -------
>>  print$          Disk      Printer Drivers
>>  IPC$            IPC       IPC Service (Samba 4.5.12-Debian)
>>  bnl             Disk      Home Directories
>> Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.12-Debian]
>>
>>  Server               Comment
>>  ---------            -------
>>  IBM2                 Samba 4.5.12-Debian
>>  TECHNICOLOR          DSL Gateway
>>
>>  Workgroup            Master
>>  ---------            -------
>>  WORKGROUP            TECHNICOLOR
>>
>
> so - for mounting the fileshar bnl that 192.168.1.20 publishes
> i do - on the pi (or in this can my linuxbox)
>
> bnl@sebjlun-deb64:~$ ls -la /mnt/nas
> totalt 8
> drwxrwxrwx 2 root root 4096 maj  7  2017 .
> drwxr-xr-x 4 root root 4096 maj  7  2017 ..
>
> my mountpoint exists.
> mount the nas now
>
> bnl@sebjlun-deb64:~$ sudo mount -t cifs -o username=bnl,password=SECRET
> //192.168.1.20/bnl /mnt/nas
>
> bang - done
>
> bnl@sebjlun-deb64:~$ ls -la /mnt/nas
> totalt 964
> drwxr-xr-x+ 23 bnl  bnl       0 maj 17 08:07 .
> drwxr-xr-x   4 root root   4096 maj  7  2017 ..
> -rwxrw-r--+  1 bnl  bnl    7917 jun 11  2017 .bash_aliases
> -rw-------+  1 bnl  bnl   44153 maj 17 08:07 .bash_history
> -rw-r--r--+  1 bnl  bnl     220 maj 13  2017 .bash_logout
> -rw-rw-r--+  1 bnl  bnl    4070 jun 11  2017 .bashrc
> drwxr-xr-x+  2 bnl  bnl       0 maj 13  2017 Bilder
> drwx------+ 11 bnl  bnl       0 jun 11  2017 .cache
> drwx------+ 14 bnl  bnl       0 jun 10  2017 .config
> drwx------+  5 bnl  bnl       0 jan  4 00:01 db
> drwx------+  3 bnl  bnl       0 maj 13  2017 .dbus
>
>
> these are files on the nas
>
>
>
>
>
>
>
>
>
>
>
>
>
>>
>>
>
>
This is my NAS box folders:

[root@freenas ~]# ls -la /mnt

total 172

drwxr-xr-x   5 root  wheel   256 Apr 17 12:19 .

drwxr-xr-x  19 root  wheel    26 Apr 17 12:19 ..

drwxrwxr-x+  4 root  nobody    5 May  1  2017 Backup_Data

drwxrwxr-x+  5 root  nobody   13 May  8 12:02 CCTV

drwxrwxr-x+  9 root  nobody   39 Jan 14 09:45 WinShare

-rw-r--r--   1 root  wheel     5 Aug 13  2017 md_size

As you can see CCTV is already mounted and showing. PiZero is a sub
dataset of CCTV on my NAS box

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