Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-28-2007, 06:53 PM
|
#1
|
Member
Registered: Jun 2007
Posts: 85
Rep:
|
mapping a windows network drive
hello all
i am wanting to map a winxp shared drive to my linux machine, to perform backup using kbackup over the network is this possable?
|
|
|
07-28-2007, 07:02 PM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
Yep, please read 'man mount' for the details and other options;
Code:
mount -t cifs /path/to/the/shared/drive /mnt/someplace -o username=someuser password=mypassword -rw
|
|
|
07-28-2007, 07:07 PM
|
#3
|
Member
Registered: Jun 2007
Posts: 85
Original Poster
Rep:
|
what do you mean by read 'man mount'
|
|
|
07-29-2007, 02:28 AM
|
#4
|
Member
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 274
Rep:
|
How do you specify a windows path in linux?
If its C:\test\mountme
What is the path in linux absolute path?
\c\test\mountme ????
THanks
|
|
|
07-29-2007, 06:09 AM
|
#5
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
From the virtual console or xterm session type: man mount
Code:
MOUNT(8) Linux Programmer's Manual MOUNT(8)
NAME
mount - mount a file system
SYNOPSIS
mount [-lhV]
mount -a [-fFnrsvw] [-t vfstype] [-O optlist]
mount [-fnrsvw] [-o options [,...]] device | dir
mount [-fnrsvw] [-t vfstype] [-o options] device dir
|
|
|
07-29-2007, 03:18 PM
|
#6
|
Member
Registered: Jun 2007
Posts: 85
Original Poster
Rep:
|
where do the smaba drives reside???
|
|
|
07-29-2007, 03:38 PM
|
#7
|
Member
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 274
Rep:
|
Well there is no samba "drive". Samba is a utility to mount drives over a network.
So where ever you mount the windows drive to, is where it resides.
|
|
|
07-29-2007, 10:02 PM
|
#8
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
maybe reviewing this thread will provide some additional insight;
http://www.linuxquestions.org/questi...d.php?t=573099
|
|
|
02-01-2011, 06:09 PM
|
#9
|
LQ Newbie
Registered: Feb 2011
Posts: 4
Rep:
|
I thought I would post something here to help others who may find it. I'm currently running a Windows-based network but have built a linux box running CentOS 5.5 ... I was having trouble mapping to a folder on a NAS I have on my network (Buffalo Terastation, specifically). After reading this thread and the one Lenard linked to I felt I might be able to make it work using the command line, but considering how polished the CentOS desktop seems to be I was almost sure there had to be something set up in the CentOS GUI to accommodate this. I played around with it for awhile and figured it out. Interestingly, the final clue that put it together for me came from the Terastation's manual - but the section that showed how to map a drive to an Apple, not a Windows box.
If you're running CentOS, at the top of your screen it should say Applications, Places, and System. Under Places is "Connect to Server". When I clicked on that it brought up a menu. I played with the different service type selections, I tried using the NAS's IP address, the server name, the shared folder name, and combinations of all the above. There is a choice there for Windows Share, if that's what you need. In my case I chose Custom Location and in the Location field I had to put "smb://192.168.1.100/Buffalo1" ... It was the Terastation manual that used "smb" at the front. I'd seen other examples using this menu that had "file" or "network", but neither of those had worked. In my case the folder being shared was named "Buffalo1" but of course you'd have to change that to whatever yours is named.
|
|
|
All times are GMT -5. The time now is 06:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|