I have connected a usb storage (ntfs) to the wifi router and configured myuser mypassword from the router administration page.
I can see and mount the new usb drive from a window machine, through user and password.
Tried on Fedora 37
First, checked that
[giulio@fedora ~]$ smbclient -L -COMP -I 192.168.1.1 -U admin
Password for [SAMBA\admin]:
Sharename Type Comment
--------- ---- -------
(usb1_sda1)Konstanz Disk Konstanz
IPC$ IPC IPC Service (Gateway)
SMB1 disabled -- no workgroup available
But then
sudo mount -t cifs -o username=myuser,password=mypassword '\\192.168.1.1\(usb1_sda1)Konstanz' /mnt/wifi-usb
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
[giulio@fedora ~]$ journalctl -kS 17:30
Dec 26 17:31:11 fedora kernel: CIFS: Attempting to mount \\192.168.1.1\(usb1_sda1)Konstanz
Dec 26 17:31:11 fedora kernel: CIFS: VFS: cifs_mount failed w/return code = -22
What should I do?