LinuxQuestions.org
Visit Jeremy's Blog.
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 06-12-2006, 05:36 AM   #1
FLX
Member
 
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40

Rep: Reputation: 15
Mounting smb folder with Fedora Core 5?


Hello,

I run Fedora Core 5 (2.6.16-1.2080_FC5) and i try to mount a folder shared by a windows box on my network.
Alot of ppl sya i should go with mount -t cifs, but i get this:

[root@localhost mp3]# mount -t cifs //skybyte/E/Tunes /mp3/flx
mount error: could not find target server. TCP name skybyte/E/Tunes not found
No ip address specified and hostname not found

What can be the problem? could it be that it wont respond due to a different workgroup? how to setup the workgroup @ fedora?

Or do i have a other problem?

Thanks in advance.

Regards,

FLX
 
Old 06-12-2006, 10:10 AM   #2
MediMania
LQ Newbie
 
Registered: Oct 2004
Location: Morocco
Distribution: FC 4
Posts: 11

Rep: Reputation: 0
Why don't you try with the IP adress ?!?
 
Old 06-12-2006, 10:48 AM   #3
FLX
Member
 
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
i do this:

[root@localhost ~]# mount -t cifs //192.168.1.77/E/Tunes /mp3/flx
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)
[root@localhost ~]#


on the windows box i use the Guest account with as pass "treeform"

Last edited by FLX; 06-12-2006 at 10:56 AM.
 
Old 06-12-2006, 10:56 AM   #4
FLX
Member
 
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
this what happens with mount.cifs:

[root@localhost ~]# mount.cifs //192.168.1.77/E/Tunes /mp3/flx
Password: treeform
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)
[root@localhost ~]#
 
Old 06-12-2006, 10:12 PM   #5
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 773
Blog Entries: 6

Rep: Reputation: 75
mount -t smbfs //192.168.1.77/E/Tunes /mp3/flx

try this way
 
Old 06-13-2006, 05:31 AM   #6
FLX
Member
 
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
[root@localhost ~]# mount -t smbfs //192.168.1.77/E/Tunes /mp3/flx
mount: unknown filesystem type 'smbfs'

i think smbfs has been cancelled out of the last release
 
Old 06-13-2006, 07:16 AM   #7
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 773
Blog Entries: 6

Rep: Reputation: 75
use this way
Code:
# /sbin/mount.cifs //192.168.1.77/E/Tunes /mp3/flx -o user=<usernamae>,pass=<password>


work for my fc5 this way only

make more dificult actually

[root@net rou]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 8.6G 3.1G 5.1G 38% /
tmpfs 252M 0 252M 0% /dev/shm
/dev/hda2 64G 4.5G 56G 8% /export
//192.168.0.11/Rou 111G 101G 9.9G 92% /export/mnt/noc

Last edited by routers; 06-13-2006 at 07:23 AM.
 
Old 06-13-2006, 08:02 AM   #8
FLX
Member
 
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
made a change in ip address:
Code:
[root@localhost ~]# /sbin/mount.cifs //192.168.1.67/E/Tunes /mp3/flx -o user=Guest,pass=smb
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)
it can find the ip tho:
Code:
[root@localhost ~]# ping 192.168.1.67
PING 192.168.1.67 (192.168.1.67) 56(84) bytes of data.
64 bytes from 192.168.1.67: icmp_seq=1 ttl=64 time=0.147 ms
64 bytes from 192.168.1.67: icmp_seq=2 ttl=64 time=0.138 ms
64 bytes from 192.168.1.67: icmp_seq=3 ttl=64 time=0.119 ms
64 bytes from 192.168.1.67: icmp_seq=4 ttl=64 time=0.139 ms

--- 192.168.1.67 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.119/0.135/0.147/0.017 ms
also tried with ip arg:
Code:
[root@localhost ~]# /sbin/mount.cifs //192.168.67/E/Tunes /mp3/flx -o user=Guest,pass=smb,ip=192.168.1.67
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)
Regards,

FLX
 
Old 06-13-2006, 08:15 AM   #9
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 773
Blog Entries: 6

Rep: Reputation: 75
user=Guest,pass=smb <- dont use this

is that user Guest is the user in the server ?
use user which is u added in the server

look at /etc/passwd
 
Old 06-15-2006, 04:44 PM   #10
Armor
Member
 
Registered: Jul 2004
Location: MidWest
Distribution: CentOS 6 | Xunbuntu
Posts: 55

Rep: Reputation: 15
I have several questions on using CIFS.
1. Can it go in the /etc/fstab to bring Windows Shares on line at boot?
2. What does the syntax look like? I have seen several suggestions.
3. Does it work on FC5, Sun 5.10, and Gentoo SPARC 64?

I have had little success.
Thank You
 
Old 06-16-2006, 11:36 AM   #11
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 773
Blog Entries: 6

Rep: Reputation: 75
FLX , i have look arround this issue but i couldnt test it ( no windows in my office )

so i found this for you to test

Code:
mount -t cifs -o username=Guest //192.168.1.67/E/Tunes /mp3/flx
if ask the pass then u enter it

------------

Armor u are hijacking :P

btw do not set auto mount on network drive regardles windows or linux , do it by hand ( manual)
 
Old 06-22-2006, 08:03 AM   #12
Armor
Member
 
Registered: Jul 2004
Location: MidWest
Distribution: CentOS 6 | Xunbuntu
Posts: 55

Rep: Reputation: 15
------------

Armor u are hijacking :P

No, I thought I was asking similar questions.
It won't happen again. I usually get in trouble for posting an already asked question.
I give up.
 
Old 06-27-2006, 02:44 PM   #13
FLX
Member
 
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40

Original Poster
Rep: Reputation: 15
Still nothing routers:

Code:
login as: root
root@server's password:
Last login: Thu Jun 22 23:35:34 2006 from 192.168.1.73
[root@localhost ~]# mount -t cifs -o username=Guest //192.168.1.73/E/Tunes /mp3/flx
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)
[root@localhost ~]#
I mean come on, it cant be that hard?

Regards,

FLX
 
Old 06-28-2006, 12:12 AM   #14
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 773
Blog Entries: 6

Rep: Reputation: 75
yeahh here good news for u , i come up install winxp for test but sorry i dont know how to print screen in xp , also dont know how to use, to share this mp3 folder also take 10 min for me to figure out

i share mp3 folder in D: ( can see hand )

then i go to my fc5


[root@net rou]# /sbin/mount.cifs //192.168.0.20/mp3 /export/mnt/mp3
Password:

---- for password just hit enter button then this is what i get


[root@net rou]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 8924628 3846396 4617572 46% /
tmpfs 257824 0 257824 0% /dev/shm
/dev/hda2 66533092 13693772 49405028 22% /export
//192.168.0.20/mp3 20469984 4313600 16156384 22% /export/mnt/mp3
[root@net rou]# ls /export/mnt/mp3/
01-c.c_catch_-_backseat_of_your_cadillac_(new_dance_mix)-zzzz.mp3
[root@net rou]#

Last edited by routers; 06-28-2006 at 12:14 AM.
 
Old 08-22-2006, 11:22 PM   #15
arw300
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
My REpLY...

Myself... I'm moving back to RHL9, CIFS is pahoo and cannot recoginse 'named computers', plus it's security settings top it off as a pain in the Ar** (not allowing access as read/write for the user you set for windows)! GRrr... not liking MS myself, I find it hard that, my next project is written in ASP cos I cannie be bothered to setup my FED CORE box!!!!

-Al
 
  


Reply

Tags
fedora, mounting, name, network, smb, tcp


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
SMB Nautilus integration - sometimes behaves oddly (Fedora Core 2) paulecoyote Linux - Newbie 6 10-20-2006 11:08 AM
Fedora Core 4 - how to get file browser to open by double click on home folder nickleus Linux - General 2 01-24-2006 03:36 AM
fedora core 3 ntfs mounting rusty_slacker Linux - General 5 07-06-2005 06:23 PM
Fedora Core 1 SMB Printing Auth Problem rdjurovich Linux - Software 4 12-01-2004 08:57 AM
VSFTPD - Seting up virtual folder and users on Fedora Core 2 tosheeba Linux - Networking 2 10-18-2004 05:04 PM


All times are GMT -5. The time now is 05:20 PM.

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