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?![]()
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?![]()
Have you setup your shares in /etc/samba/smb.conf? Use the following format:Start the smb and nmb services with:Code:[shared] comment = Not necessary, but can be helpful path = /path/to/share browseable = yes read only = no valid users = savageDon't worry if it says failed when 'Stopping service...', it just means it wasn't running to start with.Code:service smb restart service nmb restart
You need to have 'smb' and 'nmb' set to start with the system, without nmb, Windows can't see Fedora shares:Make sure your firewall has ports 139 and 445 TCP open to accept input:Code:chkconfig --level 35 smb on chkconfig --level 35 nmb onCode:iptables -A INPUT -p tcp -i eth0 --dport 139 -j ACCEPT iptables -A INPUT -p tcp -i eth0 --dport 445 -j ACCEPT
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.
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.
Can anybody tell me why I can't see my attachments?
Can you post your smb.conf file so I can take a look?
How have you configured networking in vmware, did you choose bridged networking or NAT?
I chose NAT to access internet in vm.
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.
I've learned a lot from your words.I really appreciate it!![]()