I'm having trouble mounting smb share in linux...
I have mounted samba shares before with other winxp boxes in my network by using
mount -t cifs //computername/share /mnt/computername -o ip=192.168.1.x and it worked fine.
However, I setup Virtualbox on this Slackware 12.2 computer and have added a windows xp pro sp3 virtual. On this virtual, I setup a share, enabled file and printer sharing, made sure the windows firewall allowed file and printer sharing and rebooted.
Then I tried using the above mount command above, but it says
mount error 111 = Connection refused
So I know it's probably a firewall problem. The thing is, all of my computers are in the 192.168.1.* network. However, this windows xp pro sp3 virtual is in a different network 10.0.2.*. This windows virtual can ping a computer in the 192.168.1.* network and the slackware 12.2 host can ping the windows virtual. They are both internal IPs and are both on the same subnet 255.255.255.0. However, since they are different ip ranges, are they really on the same subnet? I mean they can ping each other so I'm assuming they are.
Anyhow, I'm thinking that the fact this windows box is a virtual running on a different ip range is what is complicating things.
When I run nmap on the windows virtual, ports 139,445 are closed. Why is this so, I when through setup home network wizard, and make sure the windows firewall had file and printer sharing checked. I also created a folder on the desktop and enabled sharing on it.
Any ideas?
Last edited by trist007; 03-23-2009 at 03:08 PM.
|