LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Reply
 
Search this Thread
Old 05-07-2005, 10:34 PM   #1
vishalsethia
LQ Newbie
 
Registered: May 2005
Location: Athens,OH
Distribution: Fedora 3 (2.6.11)
Posts: 5

Rep: Reputation: 0
Accessing Networked machines


hi,

I wanted to know how do we access 2 machines which are in the same network.
I mean i have a Windows machine with some drives as shared and i wanna access those drives from my Linux box.
I have Fedora 3 (2.6.11) installed.


Vishal
 
Old 05-08-2005, 12:27 AM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
Turn on the Samba service on your linux box. Once started, you can then refer to the pathname using

smb://<server_name>/path/to/share

At least you can do this using Konqueror. I'm sure there is something similar in Nautilus.

You can also mount specific directories locally, too, using the '-t smbfs' option with the mount command.
 
Old 05-08-2005, 12:28 AM   #3
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
You would use Samba to share files between linux and windows systems.

See Chapter 15 (Samba) of the RHEL4 System Administrators Guide (http://www.redhat.com/docs/manuals/e.../ch-samba.html) for a simplified overview and see Chapter 14 (Samba) of the RHEL4 Reference Guide (http://www.redhat.com/docs/manuals/e.../ch-samba.html) for more details.
 
Old 05-08-2005, 11:06 AM   #4
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
...and please fill "Location: " and "Distribution: " fields in your profile.
 
Old 05-08-2005, 11:19 AM   #5
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
Re: Accessing Networked machines

Quote:
Originally posted by vishalsethia
hi,

I wanted to know how do we access 2 machines which are in the same network.
I mean i have a Windows machine with some drives as shared and i wanna access those drives from my Linux box.
I have Fedora 3 (2.6.11) installed.


Vishal
to access them from your linux box you can use smbmnt //IP/share_name /mount/point

if the user name is the same you will only be prompted for a password, if not you will have to look into the options for adding the username=option.

you can also add a line to your fstab to make the mount automatic and happen on boot. i use the smbmount on my linux boxes all the time to gain access to my windows shares, but then i have the shares on the same user name on all the boxes. this is NOT the most secure way to do things, but for a home user i do not care. for a network that needs more security i use fstab with a .password file for security.

enjoy.
 
Old 05-08-2005, 10:58 PM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
Just marking this thread to help me find it later ... Thanks
 
Old 05-08-2005, 11:18 PM   #7
vishalsethia
LQ Newbie
 
Registered: May 2005
Location: Athens,OH
Distribution: Fedora 3 (2.6.11)
Posts: 5

Original Poster
Rep: Reputation: 0
I was first trying to use nfs to share between two Linux Boxes and it worked well one way. I mean if i tried mounting my frnds hard drive, it worked well, but when he tried to mount my harddrive, it failed. We both followed the same steps and i dont knwo the possible reason for that getting falied.

When my frnd tried to mount my harddrive, the error message it gave was
:The network might be possible down


Any help wud be greatly appreciated. Would try using the Samba server once my Windoze machine is up
 
Old 05-08-2005, 11:31 PM   #8
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
did u try the smbmount option mentioned in the above posts

if yes post the O/P that u got along with the command???

regards
 
Old 05-08-2005, 11:33 PM   #9
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
Quote:
Originally posted by rickh
Just marking this thread to help me find it later ... Thanks
maybe u won't be knowing this, i too found out this later
that if u want to follow a thread then u need not post a dumumy post so that u can track that later on instead u can subscribe to that thead by the subscribe option at the end of this page

regards
 
Old 05-08-2005, 11:35 PM   #10
vishalsethia
LQ Newbie
 
Registered: May 2005
Location: Athens,OH
Distribution: Fedora 3 (2.6.11)
Posts: 5

Original Poster
Rep: Reputation: 0
i think smbmount wud be used if i need to mount a drive from a windoze machine, but i used NFS to mount a drive from Linux box with Fedora 3

But i did not use smbmount. I just used mount 192.168.2.125/home/shareddrive /mnt/drive_d
 
Old 05-08-2005, 11:45 PM   #11
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
try

mount -t smbfs '// 192.168.2.125/home/shareddrive' /mnt/drive_d

regards
 
Old 05-11-2005, 07:15 PM   #12
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Quote:
Originally posted by rickh
Just marking this thread to help me find it later ... Thanks
There's a "subscribe to this thread" link at the bottom of the page (when you're logged in). It took me a while to notice it too.
 
Old 05-11-2005, 10:16 PM   #13
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
Quote:
Originally posted by gd2shoe
There's a "subscribe to this thread" link at the bottom of the page (when you're logged in). It took me a while to notice it too.
hey i just mentioned the same thing in a coupe of posts above
 
Old 05-24-2005, 11:53 PM   #14
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Didn't mean to step on your toes. I didn't see it or I wouldn't have said it.

Take care!
 
Old 05-25-2005, 01:57 AM   #15
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hey
no problem !!
 
  


Reply


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
Accessing other machines on same router moonmoth Linux - Networking 9 07-22-2005 02:44 PM
Accessing CUPS from another networked computer--HELP alxdotnet Linux - Software 0 04-15-2004 06:56 AM
remote file access (non-networked machines) mikescar Linux - Newbie 3 02-03-2004 06:01 PM
Accessing Networked Windows Files Ken Ju-On Linux - Newbie 2 07-19-2003 06:03 AM
Accessing Networked NTFS Volumes Ken Ju-On Linux - Newbie 1 06-28-2003 10:08 AM


All times are GMT -5. The time now is 07:43 PM.

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