LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-02-2006, 09:30 PM   #1
bdplays
LQ Newbie
 
Registered: Apr 2006
Location: Phoenix, AZ
Distribution: FC5
Posts: 8

Rep: Reputation: 0
"fc5" mount does not recognize "smbfs" file system?


In the past I have been successful at using mount to add my windows shares to my Linux directory structure with the following systax:

mount -t smbfs -o username=myusername,password=mypassword,ip=192.168.2.100,rw //windowsbox/share /linuxmount

As of FC5 I am getting the following error from the bash shell:

"mount: unknown filesystem type 'smbfs'"

Can anyone tell me what I am missing?
 
Old 04-02-2006, 09:48 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
The smbfs is no longer used, try using cifs instead.
 
Old 04-03-2006, 04:55 PM   #3
bdplays
LQ Newbie
 
Registered: Apr 2006
Location: Phoenix, AZ
Distribution: FC5
Posts: 8

Original Poster
Rep: Reputation: 0
That worked. Thank you.
 
Old 04-23-2006, 09:50 PM   #4
crazydrve
LQ Newbie
 
Registered: Oct 2003
Distribution: linux mandrake 9.1
Posts: 10

Rep: Reputation: 0
security issue

hey thanks for someone helping with this. this has been bugging me all week.

but my question is what kind of security risks are there?

i noticed the permissions just say "drwxrwxrwx" for all.

is there anyway to change it or what the best way to mount a windows ntfs drive from another computer.

any help is appreciated.

thank you
 
Old 05-01-2006, 03:58 PM   #5
Ajax4Hire
LQ Newbie
 
Registered: May 2004
Location: sol 3 (3rd planet from sun)
Distribution: Redhat 9.0
Posts: 8

Rep: Reputation: 0
Ok, smbfs going out, cifs to replace but..

Thanks for the good info, smbfs -> cifs
That also fixed my new FC5 machine

but..

I have script files built up to
mount -t smbfs ---and now I must change to
mount -t cifs ----but only on FC-5/2.6.15 and greater.

These scripts are common across several FC-n,RH9,etc.

I can manipulate the BASH script to hinge on FC5 but
should the real check be for greater than 2.6.15?

Something like
MOUNTWITH=smbfs
[ -z "`uname -r | grep \"^2.6.15\"`" ] && MOUNTWITH=cifs
mount -t ${MOUNTWITH} yada yada yada

I know the grep need to be more robust, I will harden later.
But with this basic scheme work or am I missing something?

Linux@Ajax4Hire.com
 
Old 05-01-2006, 07:37 PM   #6
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
That's not true. I used cifs on FC4.
 
Old 06-28-2006, 11:21 AM   #7
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
doesnt work for me for some reason
Code:
# mount -t cifs -o username=usrname,ip=192.168.0.5,rw //server-name/Music /local-dir
Password:
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
the address for the server ( //server-name/... ) i got from nautilus when i accessed the share so i know the location is right and the i.p add too. any ideas ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Common problems explained: "kernel panic - not syncing", "unable to mount..." sundialsvcs Linux - Newbie 2 03-01-2006 12:17 PM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM
Unable to Mount," Bogus File System Found" nav_Lin Linux - Newbie 1 04-16-2004 09:27 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
Mandrake 10 "mount smbfs" the win2000 folder from vmware error wuyeguo Mandriva 1 03-19-2004 06:20 PM


All times are GMT -5. The time now is 11:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration