Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 5263  / 3 Years ago, sun, june 27, 2021, 8:10:44

I dont know much about ubuntu ,I want to mount a ubuntu share on one machine to other ubuntu.



 mount -t smbfs //windowsmachine/sharefolder /mnt/share -o username=user,password=pass


(smbfs or cifs)
This works for only to mount a windows share on ubuntu. But how to mount a ubuntu share on ubuntu.Please help me to solve my problem.



Thank you in advance


More From » xubuntu

 Answers
5

Well, the command you typed should work (except that you put two U in uusername) if you configured your Ubuntu share through Samba. It would not work if you used some other type of file sharing method, like NFS, but I believe the default method privileged by Ubuntu on the desktop is Samba.



Maybe your Ubuntu machine is not announcing its hostname on your network, and that is why you would not be able to access your shares list when typing //ubuntu_machine. You may want to try using your Ubuntu machine's IP address. Instead of using a machine name, you would type for example:



sudo mount.cifs //192.168.0.100/shareforlder /mnt/share -o username=USER,password=PASSWORD


where 192.168.0.100 would be your IP address -- you have to substitute it by your actual IP address.



Try this, and give us some feedback!


[#31705] Sunday, June 27, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atelti

Total Points: 194
Total Questions: 129
Total Answers: 110

Location: North Korea
Member since Tue, Jun 16, 2020
4 Years ago
atelti questions
Fri, Aug 26, 22, 02:44, 2 Years ago
Sat, Dec 10, 22, 21:37, 1 Year ago
Sat, Apr 9, 22, 13:57, 2 Years ago
;