LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-01-2006, 01:54 PM   #1
lyar1031
Member
 
Registered: Jul 2004
Posts: 54

Rep: Reputation: 15
Network Drive


Here is my scenario! Before I post I would like to say thanks for all the help thus far.

I have 2 PCS both hooked up to a network.

PC1: Window XP
PC2: 3 partition system
partition1: Windows 2000
partition2: Red Hat 9.0
partition3: Shared Drive between Windows 2000 and Red Hat 9.0

I have created a folder on the Shared drive and made it accessible through the network. PC1 can access this folder through the network when PC 2 is booted with Windows 2000. However, when PC2 is booted with UNIX PC1 cannot access the same folder. How do I make a folder accessible throught the network in UNIX RH 9.0

Thanks
 
Old 02-01-2006, 02:17 PM   #2
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
You need to configure your Red Had Linux install to act as a samba (SMB) server. To do this you need to install the samba rpm and configure it to share the folder to the network.

to see if samba is installed, type:

$ rpm -qa samba

to install samba from your cdrom, type:

# rpm -ivh /mnt/cdrom/RedHat/RPMS/<name of samba rpm>.rpm

then you need to configure the workgroup name, the share and add a samba user that is also the user of the XP box.

# vi /etc/samba/smb.conf

change:

WORKGROUP=

and add a share at the bottom of the file:

[Share]

path = /path/to/share
read only = no

save the file.

now add a user to samba (the same user must have a Linux account)

# smbpasswd -a <user>

now start the samba server

# /etc/init.d/samba start

now you should be working ok. the only thing that may block the XP machine connecting is if you have a firewall running on the RH9 box.
 
Old 02-03-2006, 09:25 AM   #3
lyar1031
Member
 
Registered: Jul 2004
Posts: 54

Original Poster
Rep: Reputation: 15
I did all this and I still cannot log into my network drive from windows XP. Any other ideas. I disabled the firewall in Red hat as well!!

Thanks
 
Old 02-03-2006, 12:46 PM   #4
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
Can you access partition 3 through RH9? what filesystem is it using? ntfs? fat32?

Because if it is ntfs, you need to install a kernel module for RH9, otherwise samba cannot access/serve it. Don't worry though if the words 'kernel' and 'module' put you off, all is needed is installing an RPM.
 
Old 02-03-2006, 01:28 PM   #5
lyar1031
Member
 
Registered: Jul 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Yes, I can access the folder through RH9. The file system is Fat32 I believe. However, I do have this one problem!!

Recap 3 partitions:
p1: Windows 2000
p2: RH9
p3: Shared Drive

The shared directory is /home/Shared/Unix.

I can write to this from Windows 2000, but in RH9 when I am logged in other than root then I cannot write to the /home/Shared/Unix directory!!

I already modified the fstab file as well!

Thanks
 
  


Reply



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
Can I clone a drive over the network? BrianK Linux - General 3 04-06-2005 02:31 AM
network drive jcombs_31 Slackware 2 03-09-2005 01:44 PM
map network drive the_agent Linux - Networking 24 08-14-2004 03:34 PM
Network drive slumberjer Linux - Networking 3 09-03-2003 12:53 AM
Cannot Copy Files From Network FAT32/NTFS Drive to My Local Linux Drive michaelh Linux - Networking 3 10-29-2002 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration