Can See Samba Shares on Phone, but Cannot Mount
0
votes
0
answers
27
views
I can ping my phone's server:
lobsang@lobsang-Inspiron-3195:~$ ping 192.168.86.26
PING 192.168.86.26 (192.168.86.26) 56(84) bytes of data.
64 bytes from 192.168.86.26: icmp_seq=1 ttl=64 time=305 ms
64 bytes from 192.168.86.26: icmp_seq=2 ttl=64 time=90.4 ms
^C
--- 192.168.86.26 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 90.361/197.514/304.667/107.153 ms
I can see the shares:
lobsang@lobsang-Inspiron-3195:~$ sudo smbclient -p4445 -L //192.168.86.26
Password for [WORKGROUP\root]:
Sharename Type Comment
--------- ---- -------
MainStorage Disk
MemoryCard Disk
SMB1 disabled -- no workgroup available
There are permissions:
lobsang@lobsang-Inspiron-3195:~$ ls -al -R /media
/media:
total 16
drwxr-xr-x 4 root root 4096 Apr 27 13:20 .
drwxr-xr-x 23 root root 4096 Apr 27 15:03 ..
drwxrwx---+ 3 root root 4096 Apr 27 13:20 lobsang
drwxr-x---+ 2 root root 4096 Mar 26 08:39 root
/media/lobsang:
total 12
drwxrwx---+ 3 root root 4096 Apr 27 13:20 .
drwxr-xr-x 4 root root 4096 Apr 27 13:20 ..
drwxrwxrwx 5 lobsang root 4096 Apr 27 14:37 lobsang-samsung
/media/lobsang/lobsang-samsung:
total 20
drwxrwxrwx 5 lobsang root 4096 Apr 27 14:37 .
drwxrwx---+ 3 root root 4096 Apr 27 13:20 ..
drwxrwxrwx 2 lobsang root 4096 Apr 27 13:20 MemoryCard
(I know 777 is not preferable, will change when I get connection.)
But when I try to mount:
lobsang@lobsang-Inspiron-3195:~$ sudo mount -t cifs -v -o port=4445,user=admin //192.168.86.26/MemoryCard /media/lobsang/lobsang-samsung/MemoryCard/
Password for admin@//192.168.86.26/MemoryCard:
mount.cifs kernel mount options: ip=192.168.86.26,unc=\\192.168.86.26\MemoryCard,port=4445,user=admin,pass=********
I get:
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
Any ideas?
Asked by Lobsang Jamyang
(1 rep)
Apr 27, 2025, 07:17 PM