Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
06-12-2006, 04:36 AM
|
#1
|
|
Member
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40
Rep:
|
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
|
|
|
|
06-12-2006, 09:10 AM
|
#2
|
|
LQ Newbie
Registered: Oct 2004
Location: Morocco
Distribution: FC 4
Posts: 11
Rep:
|
Why don't you try with the IP adress ?!?
|
|
|
|
06-12-2006, 09:48 AM
|
#3
|
|
Member
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40
Original Poster
Rep:
|
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 09:56 AM.
|
|
|
|
06-12-2006, 09:56 AM
|
#4
|
|
Member
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40
Original Poster
Rep:
|
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 ~]#
|
|
|
|
06-12-2006, 09:12 PM
|
#5
|
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 741
Rep:
|
mount -t smbfs //192.168.1.77/E/Tunes /mp3/flx
try this way
|
|
|
|
06-13-2006, 04:31 AM
|
#6
|
|
Member
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40
Original Poster
Rep:
|
[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
|
|
|
|
06-13-2006, 06:16 AM
|
#7
|
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 741
Rep:
|
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 06:23 AM.
|
|
|
|
06-13-2006, 07:02 AM
|
#8
|
|
Member
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40
Original Poster
Rep:
|
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
|
|
|
|
06-13-2006, 07:15 AM
|
#9
|
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 741
Rep:
|
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
|
|
|
|
06-15-2006, 03:44 PM
|
#10
|
|
Member
Registered: Jul 2004
Location: MidWest
Distribution: CentOS 6 | PCFBSD
Posts: 55
Rep:
|
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
|
|
|
|
06-16-2006, 10:36 AM
|
#11
|
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 741
Rep:
|
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)
|
|
|
|
06-22-2006, 07:03 AM
|
#12
|
|
Member
Registered: Jul 2004
Location: MidWest
Distribution: CentOS 6 | PCFBSD
Posts: 55
Rep:
|
------------
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.
|
|
|
|
06-27-2006, 01:44 PM
|
#13
|
|
Member
Registered: Apr 2005
Distribution: Fedora Core 5, SuSE 10.1
Posts: 40
Original Poster
Rep:
|
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
|
|
|
|
06-27-2006, 11:12 PM
|
#14
|
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 741
Rep:
|
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-27-2006 at 11:14 PM.
|
|
|
|
08-22-2006, 10:22 PM
|
#15
|
|
LQ Newbie
Registered: Aug 2006
Posts: 2
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:28 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|