Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
What kind of Virtual Box networking are you using? The default is NAT; perhaps it would work better with "host interface"? I think that will also give your virtual xp a 192.168.1* address like everyone else.
Yup that was the problem. So then if you select NAT, it puts the virtual on another network? Same subnet? I could ping across networks, and the virtual had access to the internet with dns, but then why couldn't I mount the cifs?