FedoraForum.org - Fedora Support Forums and Community
Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2009
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How to share a folder in fedora

    I installed Fedora 10 in vmware and I've installed samba and vmtools.In windows vista's "network ",I can see nothing.But in Fedora,I can see the folders shared in windows.What's the problem with the sharing?

  2. #2
    Join Date
    Jun 2005
    Location
    Mission Control
    Posts
    1,227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you setup your shares in /etc/samba/smb.conf? Use the following format:
    Code:
    [shared]
    comment = Not necessary, but can be helpful
    path = /path/to/share
    browseable = yes
    read only = no
    valid users = savage
    Start the smb and nmb services with:
    Code:
    service smb restart
    service nmb restart
    Don't worry if it says failed when 'Stopping service...', it just means it wasn't running to start with.

    You need to have 'smb' and 'nmb' set to start with the system, without nmb, Windows can't see Fedora shares:
    Code:
    chkconfig --level 35 smb on
    chkconfig --level 35 nmb on
    Make sure your firewall has ports 139 and 445 TCP open to accept input:
    Code:
    iptables -A INPUT -p tcp -i eth0 --dport 139 -j ACCEPT
    iptables -A INPUT -p tcp -i eth0 --dport 445 -j ACCEPT

  3. #3
    Join Date
    Jan 2009
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    I've tried your way,and make a directory like /home/yzpdsg/share,but windows still can't see fedora's folder.When I typed 'service smb restart'and 'service nmb restart',nothing happens.Is it a problem?
    PS:Now fedora can see windows folder correctly.

  4. #4
    Join Date
    Jan 2009
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    I reboot fedroa and now windows can see an extra computer 'LOCALHOST'online,but it doesn't have the folder I want to share,but the shared folder from windows.Fedora can now see an extra computer but can't get access.What's the problem now?I've attached some pictures to express more clearly.
    Last edited by yzpdsg; 18th January 2009 at 02:57 AM.

  5. #5
    Join Date
    Jan 2009
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can anybody tell me why I can't see my attachments?

  6. #6
    Join Date
    Jun 2005
    Location
    Mission Control
    Posts
    1,227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you post your smb.conf file so I can take a look?

  7. #7
    Join Date
    Nov 2008
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How have you configured networking in vmware, did you choose bridged networking or NAT?

  8. #8
    Join Date
    Jan 2009
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I chose NAT to access internet in vm.

  9. #9
    Join Date
    Nov 2008
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can try to setup bridged networking. It is easy if you have a router and if it is configured as a dhcp server, or else (if it doesn't work as a dhcp server) you can assign your vm an static ip. Your virtual machine should be then reachable with that address.

    I have not used vmware server for a long time so I don't know if something changed, but I can tell you that virtualbox has easy to setup shared folder option and it works with NAT, and it is not required to install samba for that to work.
    Last edited by d3n0; 22nd January 2009 at 05:17 PM.

  10. #10
    Join Date
    Jan 2009
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've learned a lot from your words.I really appreciate it!

Similar Threads

  1. /usr/share folder gone
    By Falconus in forum Using Fedora
    Replies: 4
    Last Post: 17th September 2009, 10:09 PM
  2. How to share a folder between fedora and windows?
    By yzpdsg in forum Using Fedora
    Replies: 5
    Last Post: 17th January 2009, 07:39 AM
  3. Not able to access share folder in fedora 6 from my XP box
    By snooplinux in forum Servers & Networking
    Replies: 0
    Last Post: 8th March 2007, 01:19 AM
  4. Share folder mac an ms
    By ardainbox in forum Using Fedora
    Replies: 0
    Last Post: 1st March 2007, 11:11 AM
  5. Fedora 5 share folder
    By neptune in forum Servers & Networking
    Replies: 1
    Last Post: 26th September 2006, 01:47 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •