Having difficulty mounting an Ubuntu network share in Slackware
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Having difficulty mounting an Ubuntu network share in Slackware
Hello everyone,
I have Slackware 12.1 on my workhorse laptop, and I have discovered that XFCE runs cooler and smoother than I was getting with KDE. However, XFCE does NOT have a gui for mounting network shares (I know, I am lazy for not learning this before). Anyway, I have Ubuntu Jaunty has my file server on my desktop, which is really the only thing it does. It shows up fine with KDE in Konqueror, so I know the connection if fine. I am going to have to mount the share with the command line.
This is what I have been trying:
Code:
mount -t smbfs -o username=bob //BOB-DESKTOP/home/bob /bob-desktop
and I am getting this error:
Code:
Password:
Anonymous login successful
7808: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed
Can anyone give a couple of clues how to resolve this?
It looks like you are trying to mount the actual location of the directory, rather than using the share name. A share name would be something like "//BOB-DESKTOP/bob", which would be mapped to "/home/bob" on the server side.
You can see a listing of the correct share names with the following command:
Hello, and thank you for replying. You are correct, smbclient -L shows the share to be BOB-DESKTOP. Still doesn't mount the share, though. I used this command:
Quote:
mount -t smbfs //BOB-DESKTOP /bob-desktop
This is the exact syntax suggested by man page. But, when run, it just gives me info on the command as though I am entering it completely out of whack. This info give me a lot of options, but doesn't indicate any other options are required,
Can you connect with smbclient? (Don't forget to escape the backslashes)
Code:
smbclient \\\\server\\sharename password
Thats how I used to connect, but this is going back a long time, syntax and methods are likely to have changed significantly, it was about 8 years or so ago
You are correct, smbclient -L shows the share to be BOB-DESKTOP.
It shows the share name as BOB-DESKTOP, or the server name? You need to have both a server name and a share name to mount an SMB share, all you have now is just the server name.
For example, if I run smbclient -L against my own Samba server:
Code:
tj@T-Bird:~$ smbclient -L //Mainframe
Domain=[MAIN] OS=[Unix] Server=[Samba 3.0.25a]
Sharename Type Comment
--------- ---- -------
Music Disk General Music
Video Disk TV Shows, Movies, and general videos
Software Disk Various computer software
ISOs Disk ISOs for games and operating systems
WebDev Disk Test Web Page
IPC$ IPC IPC Service (File Server)
Domain=[MAIN] OS=[Unix] Server=[Samba 3.0.25a]
Server Comment
--------- -------
MAINFRAME File Server
T-BIRD Slackware Linux
TRIFORCE
Workgroup Master
--------- -------
MAIN MAINFRAME
We see that "Music", "Video", "Software", etc, are shares on the server "Mainframe". Further, at the bottom we see that the servers on the network are "Mainframe", "T-Bird", and "Triforce".
So if I wanted to mount the "Music" share off of Mainframe, I would do something like:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.