Migration from Vero 4K to Vero 5

no nothing more happen in the first windows

and when i do a CTRL C i have :

automount_path_to_fifo: fifo name /var/run/autofs.fifo–
lookup_nss_read_map: reading map file /etc/auto.smb.shares
do_init: parse(sun): init gathered global options: (null)
mounted direct on /mnt/AVOIR with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/AVOIR
st_ready: st_ready(): state = 0 path /-
^Cdo_notify_state: signal 2
master_notify_state_change: sig 2 switching /- from 1 to 5
st_prepare_shutdown: state 1 path /-
expire_proc: exp_proc = 4098880560 path /-
expire_cleanup: got thid 4098880560 path /- stat 0
expire_cleanup: sigchld: exp 4098880560 finished, switching from 5 to 7
st_shutdown: state 5 path /-
umount_multi: path /mnt/AVOIR incl 0
umounted direct mount /mnt/AVOIR
automount_path_to_fifo: fifo name /var/run/autofs.fifo–
shut down path /-
autofs stopped
osmc@osmcvero5:~$

i had first launch a osmc@osmcvero5:~$ sudo service autofs stop
ok for u ?

Correct and then launch sudo automount -f -v -d
So that you see

do_mount_autofs_direct: mounted trigger /mnt/avoir
st_ready: st_ready(): state = 0 path /-

as the last entries on the screen. Then leave that window untouched and run ls -lah /mnt/avoir in the other window. Then the first window should show additional lines as I showed above.

i do it again, and same result when i launch the ls command on a second ssh screen nothing append to the first one, it write:

osmc@osmcvero5:~$ sudo service autofs stop
osmc@osmcvero5:~$ sudo automount -f -v -d
Starting automounter version 5.1.7, master map /etc/auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master file /etc/auto.master
do_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d
lookup_nss_read_master: reading master dir /etc/auto.master.d
lookup_read_master: lookup(dir): scandir: /etc/auto.master.d
lookup_read_master: lookup(file): read entry +auto.master
lookup_nss_read_master: reading master files auto.master
do_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
master_do_mount: mounting /-
automount_path_to_fifo: fifo name /var/run/autofs.fifo–
lookup_nss_read_map: reading map file /etc/auto.smb.shares
do_init: parse(sun): init gathered global options: (null)
mounted direct on /mnt/AVOIR with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/AVOIR
st_ready: st_ready(): state = 0 path /-

and this to the second screen :slight_smile:
osmc@osmcvero5:~$ ls -lah /mnt/avoir
ls: cannot access ‘/mnt/avoir’: No such file or directory
osmc@osmcvero5:~$

WAIT!!!
You wrote capital AVOIR!!!

So run ls -lah /mnt/AVOIR

yes i try both with the same result

i put it back in minuscule

Confusing, why would you change it.
It’s getting late here. So maybe someone else can help but surely there must be some kind of typo somewhere

I change and i have something on the first screen :

master_do_mount: mounting /-
automount_path_to_fifo: fifo name /var/run/autofs.fifo–
lookup_nss_read_map: reading map file /etc/auto.smb.shares
do_init: parse(sun): init gathered global options: (null)
mounted direct on /mnt/avoir with timeout 15, freq 4 seconds
do_mount_autofs_direct: mounted trigger /mnt/avoir
st_ready: st_ready(): state = 0 path /-
handle_packet: type = 5
handle_packet_missing_direct: token 63, name /mnt/avoir, request pid 16837
attempting to mount entry /mnt/avoir
lookup_mount: lookup(file): looking up /mnt/avoir
lookup_mount: lookup(file): /mnt/avoir → -fstype=cifs,username=bibi2,password=zz,iocharset=utf8,uid=osmc,gid=osmc ://192.168.xx/avoir
parse_mount: parse(sun): expanded entry: -fstype=cifs,username=bibi2,password=zz,iocharset=utf8,uid=osmc,gid=osmc ://192.168.1xx/avoir
parse_mount: parse(sun): gathered options: fstype=cifs,username=bibi2,password=zz,iocharset=utf8,uid=osmc,gid=osmc
parse_mount: parse(sun): dequote(“://192.168.xx/avoir”) → ://192.168.xx/avoir
parse_mount: parse(sun): core of entry: options=fstype=cifs,username=bibi2,password=zz,iocharset=utf8,uid=osmc,gid=osmc, loc=://192.168.1xx/avoir
sun_mount: parse(sun): mounting root /mnt/avoir, mountpoint /mnt/avoir, what //192.168.xx0/avoir, fstype cifs, options username=bibi2,password=zz,iocharset=utf8,uid=osmc,gid=osmc
do_mount: //192.168.xx/avoir /mnt/avoir type cifs options username=bibi2,password=zz,iocharset=utf8,uid=osmc,gid=osmc using module generic
mount_mount: mount(generic): calling mkdir_path /mnt/avoir
mount(generic): calling mount -t cifs -o username=bibi2,password=xxx,iocharset=utf8,uid=osmc,gid=osmc //192.168.xx/avoir /mnt/avoir

mount error: Server abruptly closed the connection.
This can happen if the server does not support the SMB version you are trying to use.
The default SMB version recently changed from SMB1 to SMB2.1 and above. Try mounting with vers=1.0.
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
mount(generic): failed to mount //192.168.xxx/avoir (type cifs) on /mnt/avoir
dev_ioctl_send_fail: token = 63
failed to mount /mnt/avoir

I think we are back to square one that there is some kind of network issue as I doubt that it’s a SMB version issue unless you manually changed the SMB version on your Windows machine.
Maybe open a 3rd ssh session and have a ping 192.168.xxx running in parallel.
BTW there is no safety gain or whatsoever by hiding your private IP addresses. These are private and therefore it doesn’t make a difference if the world knows if you use 192.168.1.1 or 192.168.100.123

Strange !! the OMSC and my PC are only at 3 meters and only separate by a switch… The iperf you told me to do was correct…
The ping on a 3 ssh session have always 0.900 ms response (same when ssh1 and ssh 2 are running with a " sudo automount -f -v -d" on ssh 1 and a “ls -lah /mnt/avoir” on ssh 2…

Any advice ?

kr

So, any idea ?

Well not easy as not clear what is wrong. And as I wrote your “security by obscurity” is not helping.

Let’s try another route

sudo apt install smbclient nmap
smbclient -L 192.168.x.y -U your_username
nmap --script smb-protocols 192.168.x.y

And post the output

ok thanks : i did it and i have :

osmc@osmcvero5:~$ osmc@osmcvero5:~$ smbclient -L 192.168.1.50 -U XXX
Enter WORKGROUP\XXX’s password:

    Sharename       Type      Comment
    ---------       ----      -------
    ADMIN$          Disk      Administration à distance
    AVOIR           Disk
    C$              Disk      Partage par défaut
    D$              Disk      Partage par défaut
    DevelopmentFiles Disk      SMB Share For DevelopmentFiles path
    E$              Disk      Partage par défaut
    F$              Disk      Partage par défaut
    IPC$            IPC       IPC distant
    print$          Disk      Pilotes d’imprimantes

SMB1 disabled – no workgroup available

osmc@osmcvero5:~$ nmap --script smb-protocols 192.168.1.50

Starting Nmap 7.80 ( https://nmap.org ) at 2025-04-17 16:41 CEST
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.96 seconds
osmc@osmcvero5:~$

This is really confusing. Do you have a firewall running on the Windows machine that might be blocking?
Normally you should see something like

Host is up (0.0023s latency).
Not shown: 993 closed tcp ports (conn-refused)
PORT     STATE SERVICE
22/tcp   open  ssh
80/tcp   open  http
111/tcp  open  rpcbind
139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds
2049/tcp open  nfs
5357/tcp open  wsdapi

Host script results:
| smb-protocols: 
|   dialects: 
|     2:0:2
|     2:1:0
|     3:0:0
|     3:0:2
|_    3:1:1

Nmap done: 1 IP address (1 host up) scanned in 0.34 seconds

Yesss! if i cut all the firewal (and the public one i have :

Starting Nmap 7.80 ( https://nmap.org ) at 2025-04-17 16:49 CEST
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.97 seconds
osmc@osmcvero5:~$ nmap --script smb-protocols 192.168.1.50
Starting Nmap 7.80 ( https://nmap.org ) at 2025-04-17 16:49 CEST
Nmap scan report for ordi-salon.home (192.168.1.50)
Host is up (0.69s latency).
Not shown: 994 closed ports
PORT STATE SERVICE
22/tcp open ssh
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds
1236/tcp open bvcontrol
5357/tcp open wsdapi

Host script results:
| smb-protocols:
| dialects:
| 2.02
| 2.10
| 3.00
| 3.02
|_ 3.11

Nmap done: 1 IP address (1 host up) scanned in 2.08 seconds

And is now autofs working?

no i have the same :

osmc@osmcvero5:~$ systemctl restart autofs
osmc@osmcvero5:~$ ls -lah /mnt/avoir
ls: cannot open directory ‘/mnt/avoir’: No such file or directory

Ok let’s try manual and with capital AVOIR. Just do:

mkdir /mnt/AVOIR
mount -t cifs -o username=your_username,password=your_password,iocharset=utf8,uid=osmc,gid=osmc //192.168.1.50/AVOIR /mnt/AVOIR
ls -lah /mnt/AVOIR

osmc@osmcvero5:~$ mount -t cifs -o username=xxx2,password=yyy,iocharset=utf8,uid=osmc,gid=osmc //192.168.1.50/AVOIR /mnt/AVOIR

Couldn’t chdir to /mnt/AVOIR: No such file or directory