Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
oh shit...sorry! i forgot that you have to register to view OCAU...whoops...ok well a run down of whats happening...ive just installed Samba and when i go smbclient -L 192.168.0.200 i get this:
add interface ip=192.168.0.203 bcast=192.168.0.255 nmask=255.255.255.0
session request to 192.168.0.200 failed (Called name not present)
session request to 192 failed (Called name not present)
password:
hopefully those errors don't mean all that much?? anway, i enter the password and it displays the shares..
now onto trying to view the damn things!!
somebody mentioned this:
mount -t smbfs -o username=yourusername,password=yourpassword //ipaddress/sharename /mnt/whateverdirectoryyouwanttomntitat
when i go mount -t smbfs -o username=administrator,password=mahpassword //192.168.0.200/f$ /mnt/f it says this:
mount: mount point /mnt/f does not exist
so i went into /mnt and created the f folder then tried again and i get this error:
smbfs: mount_data version 1919251317 is not supported
mount: wrong fs type, bad option, bad superblock on //192.168.0.200/f$, or too many mounted file systems
then sombody suggested:
ps -ae|grep smbd && ps -ae|grep nmbd
which should return something like
643 ? 00:00:00 smbd
537 ? 00:00:00 nmbd
if it didn't return that, he said try this: /usr/local/samba/bin/smbd && /usr/local/samba/bin/nmbd
so i tried but mine returned
16249 ? 00:00:00 smbd
16251 ? 00:00:00 nmbd
so then it tried the /usr/local/samba/bin/smbd && /usr/local/samba/bin/nmbd and tried the ps -ae|grep smbd && ps -ae|grep nmbd cmd again..it returned the same numbers/msg...so i just tried mounting it again but it still didn't work
any idea's???
Edit: im running RedHat 7.1
Last edited by Grim Reaper; 04-26-2002 at 08:29 AM.
to use the the mount command with smbfs your kernel has to have support built in or a module loaded for smbfs.
What distro do you use?
Opps last line in your post.
Does RH7.1 ship with smbfs built into the default kernel?
Is the share f$ or is it F$ I looked on mine and the admin shares are all caps, Dont know if that matters.
mount -t smbfs -o username=<username> /192.168.1.***/C$ /test
Worked on my slack box(samba server) to connect to this win2k machine I'm typing on, that has no "shares" except for the admin shares. I rebuilt the kernel to include support for smbfs built in.
yeah somebody just said my kernel may not have support for smbfs in the thread at OCAU...what exactly is smbfs? just a samba program that allows viewing of shares??
is it possible to download the module needed for smbfs? oh wait...anythings possible with linux i hear
modprobe will try to install a module, but you won't get any feedback if it succeeds. Type lsmod to see if it worked; the module should show up in the resulting list.
ive done a search in the samba dir and /sbin dir but cannot find any files called mount.smb or mount.smbfs
i did a search on google for mount.smb and it didn't come up with a download location for these files...could somebody e-mail them to leighgardiner@hotmail.com please?
I've already emailed you the following, but I'll post it here as well just to let the entire world know how off-base I am about this:
Quote:
Sorry for the lack of clarity in my post- /sbin/mount.smb and /sbin/mount.smbfs are both symlinks to /usr/bin/smbmount;
if they don't exist you can just create them:
I had the same error:
kernel: smbfs: mount_data version 1919251317 is not supported
I am using suse 9.0 for AMD64 and had upgraded from the supplied
Samba 2.2.8 rpm to a compiled 3.0.2 tarball. I checked the original
rpms and found that there was a file /sbin/mount.smbfs which was
not in the 3.0.2 install. I softlinked this to smbmount and can mount
mount shares.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.