LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-22-2004, 01:00 AM   #1
novkhan
Member
 
Registered: Jan 2004
Posts: 59

Rep: Reputation: 15
File sharing between RH9 and 2000


Goodday!

I have 2 PCs.
1 is a Redhat 9 ,
1 is a Window 2000.

i noe sharing files is possible between this 2 using Samba.
I tried googling but the steps but they are not detail enough!

Does anyone noe of any link , which is more detail!
Or is there anyone kind enough to drop me a Step by step thread!


Thankyou!
 
Old 04-22-2004, 01:16 AM   #2
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
First of all u need to make sure ur two pcs can talk to each other. In other word they need to be on the same workgroup. On windows if you go to network neighbourhood can u see ur RedHat pc?

Assuming u can, and assuming u have install samba on RH9, samba config files are all in /etc/samba/ directory. Here there should be smb.conf file. To make ur RH machine part of the same workgroup, edit the line below on smb.conf

workgroup = what_ever_the_workgroup_name_here

Next is creating a samba user. To do this u need a file call smbpasswd and initially on RH this file is not available. So u change directory to /etc/samba/ and do 'touch smbpasswd' and then create a user by executing the following command

'smbpasswd -a username'

Here u'll be asked to enter the password twice. Once all that is done, just restart samba.

'/etc/init.d/smb restart'

and if u go back to the windows machine, u should be able to access the RH samba.

Think i didn't forget anything :-) anyways give it a go, let us know if it doesn't work.

Good luck
D

'touch smbpasswd'

Note this file needs to be in /etc/samba/. U also need to make
 
Old 04-25-2004, 02:44 AM   #3
novkhan
Member
 
Registered: Jan 2004
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by dimi
First of all u need to make sure ur two pcs can talk to each other. In other word they need to be on the same workgroup. On windows if you go to network neighbourhood can u see ur RedHat pc?

Assuming u can, and assuming u have install samba on RH9, samba config files are all in /etc/samba/ directory. Here there should be smb.conf file. To make ur RH machine part of the same workgroup, edit the line below on smb.conf

workgroup = what_ever_the_workgroup_name_here

Next is creating a samba user. To do this u need a file call smbpasswd and initially on RH this file is not available. So u change directory to /etc/samba/ and do 'touch smbpasswd' and then create a user by executing the following command

'smbpasswd -a username'

Here u'll be asked to enter the password twice. Once all that is done, just restart samba.

'/etc/init.d/smb restart'

and if u go back to the windows machine, u should be able to access the RH samba.

Think i didn't forget anything :-) anyways give it a go, let us know if it doesn't work.

Good luck
D

'touch smbpasswd'
Note this file needs to be in /etc/samba/. U also need to make
Thanks.
My WIN2000 can access the RH9 shares now.

But there is one more problem.
I tried to put my Root folder from RH9 to share .
I used my win 2000 to access the folder ,
i get a message " \\Localhost\root is not accessible. The netwoek name cannot be found"

But the strange is that i can access RH9 CDROM folder from WINDOWS!

i wonder if my Samba setting is set right!
But my CDROM settings from Samba is exactly the same as ROOT settings.
The Samba settings is displayed below.

Base Options:
path: /root

Security Options:
guest account :nobody
read only:Yes
guest ok: No

Browse Options
Browseble :Yes

Miscellaneous Options
Available: Yes
 
  


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
RH9 <=> FC4 NFS file sharing mkatorgi Linux - Networking 2 08-30-2005 04:59 PM
edonkey 2000/file sharing Chuck23 Linux - Software 2 08-23-2004 07:54 PM
Win Xp and RH9 File Sharing steve_d555 Linux - Wireless Networking 13 04-14-2004 08:15 PM
Internet Connection Sharing through Windows 2000 Pro atheist Red Hat 7 10-18-2003 08:25 PM
Internet sharing with 2000 and Mandrake thepeoplesgreek Linux - Networking 2 09-10-2003 03:49 PM

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

All times are GMT -5. The time now is 02:36 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