Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
As far as I know, you will use Samba to mount the network drives on the Windows box.
You need Samba installed and set up, and shares enabled on the Windows box ofcourse.
To access the windows drive, log on as root on the Linux box, and use
smbmount //windows ip address/sharename /mnt/mountdir
so for me thats smbmount //192.168.0.2/c /mnt/windows
You can use the host name instead of the ip number if you have your resolv.conf set up, and create any directory in /mnt you like.
then ls /mnt/windows will list my c drive.
It's no different when telnetting into the Linux comp, although I have never used ssh, I guess it would be the same.
Im not sure if this is what you were asking, however there are some good Samba how to's out there to get you started
The Windows box using DHCP may be an issue. Others may have a way around this, but I found that I needed the IP address of the Windows box in order to mount it in Linux. Since the Winbox is using DHCP, this address may change. My solution was to buy a Linksys router (about $100 at Circuit City or Best Buy), have it use DHCP to get its own IP, but on the LAN side of the router I use static IPs.
If you have a static IP address for the Winbox, edit the Hosts file in /etc to add the winbox. Let's say that the windows machine is called Winbox, and the share you wish to access is called WinC.
Create a "mount point" directory. Typically this would be something like /mnt/winc.
Once Hosts is modified, you can mount with:
mount -t smbfs //Winbox/WinC /mnt/winc