LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-26-2002, 07:58 AM   #1
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Rep: Reputation: 30
Samba troubles...


ok well i think the easiest way for you to find out whats been tried to help this problem and what it exactly is is goto this link:

http://forums.overclockers.com.au/sh...5&pagenumber=1


hopefully you guys can come up with something *prays*
 
Old 04-26-2002, 08:12 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
sorry? we're meant to get an account on some australian forum website in order to be entitled to help you?? hmm, no thanks.
 
Old 04-26-2002, 08:27 AM   #3
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
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.
 
Old 04-26-2002, 08:33 AM   #4
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
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.

Last edited by hanzerik; 04-26-2002 at 08:47 AM.
 
Old 04-26-2002, 08:43 AM   #5
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
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
 
Old 04-26-2002, 08:55 AM   #6
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
smbfs is support for windows network filesystem. Like vfat is support for fat32 and fat partitions. You may allready have the module on your system.

modprobe smbfs
 
Old 04-26-2002, 09:01 AM   #7
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
i tried the cmd modprobe smbfs just then and nothing came up...it just returned to the shell...
 
Old 04-26-2002, 07:21 PM   #8
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
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.
 
Old 04-26-2002, 10:44 PM   #9
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
well i did lsmod and in the list it shows this:

smbfs size: 35696 used by: 0


 
Old 04-28-2002, 08:48 AM   #10
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
does anybody know the modules that it requires to run so i can download them??
 
Old 04-28-2002, 06:04 PM   #11
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
As lsmod shows you, smbfs is loaded already, so it's probably not a module issue.

Make sure that mount.smb and mount.smbfs both exist in /sbin. If they live somewhere else on your system, move them to /sbin.
 
Old 04-29-2002, 02:31 AM   #12
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Original Poster
Rep: Reputation: 30
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?

thanks
 
Old 04-30-2002, 02:55 AM   #13
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Grim Reaper,

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:

ln -s /usr/bin/smbmount /usr/mount.smb
ln -s /usr/bin/smbmount /usr/mount.smbfs

I'm not sure if this is the root of your problem, but the links in /sbin are apparently necessary for at least some versions of samba and/or smbfs.
 
Old 04-01-2004, 07:11 PM   #14
mdsull
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Samba mount problems

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubles with samba butler Linux - Software 5 11-30-2004 11:32 PM
Samba Troubles VorlonShadow Linux - Newbie 4 11-16-2004 03:41 PM
samba DC troubles alec77 Linux - Networking 2 07-22-2004 06:51 AM
Samba 3.0.2a troubles digitalgravy Linux - Networking 3 05-12-2004 05:27 PM
samba client troubles MThunter Linux - Networking 8 07-07-2003 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration