LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-04-2009, 05:45 AM   #1
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 112

Rep: Reputation: 15
Accessing windows machines' hard drives on the netowrk via shell


We have a centos machine running in our facility. We primarily use windowsxp machines to do our work. The windows machines are adequately networked. We can access each other hard drives by providing proper credentials and stuff. And I am aware this 'networking' is also possible from a linux pc to a windows pc. There is a gui program which does that (can't recollect its name). I mostly connect to the linux machine via a remote shell via putty from a windows machine. So I do not have access to the gui. How can I network and access files in the drives of other windows machines from the shell?
 
Old 09-04-2009, 06:40 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
smbclient should do that for you. man smbclient.
 
Old 09-04-2009, 08:56 AM   #3
ledow
Member
 
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241

Rep: Reputation: 34
Or just CIFS mounts - mounting the remote drive as a CIFS filesystem with the proper credentials will make it just show up as any other filesystem. I find it scary that you work in a "facility" at which CentOS is the OS of choice and can't figure this out for yourself - not even realising the protocol involved here (SMB/CIFS).
 
Old 09-04-2009, 11:53 PM   #4
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 112

Original Poster
Rep: Reputation: 15
can anyone show me a sample...
 
Old 09-05-2009, 03:26 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
http://learnlinux.tsf.org.za/courses...n/ch08s02.html
 
Old 09-05-2009, 03:30 AM   #6
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Quote:
Originally Posted by deostroll View Post
can anyone show me a sample...
Hi,

Here's an example from my /etc/fstab (confidential info changed of course):
Code:
//fileserver/fileservice /home/fileserver_fileservice cifs rw,iocharset=utf8,codepage=cp850,username=domain/Administrator,password=mydomainadminpass    0 0
Kind regards,

Eric
 
Old 09-05-2009, 04:13 AM   #7
nkhambal
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 1
http://cri.ch/linux/docs/sk0001.html

Thanks,
 
  


Reply

Tags
access, centos, harddrive, network, shell, windows xp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to ping linux machines on my netowrk molbill Linux - Networking 6 09-13-2004 12:35 AM
Accessing Different Hard Drives in RH9 PhysixstringGuy Linux - Hardware 7 02-13-2004 03:53 PM
Accessing Windows Machines Problem Help!! Sabeer Linux - Networking 1 10-29-2003 10:13 AM
Accessing Windows Machines from Mandrake 9.1 tminus Mandriva 4 09-05-2003 11:00 AM
Accessing Hard drives jmrjohan Linux - Newbie 7 07-19-2003 07:46 AM


All times are GMT -5. The time now is 07:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration