LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2004, 11:18 AM   #1
fhameed
Member
 
Registered: Oct 2003
Location: Pakistan
Posts: 59

Rep: Reputation: 15
First time installing SAMBA..HOW TO??


Hello Everyone

SENARIO

I've 2 HD :One HD is running win Xp
2nd HD is running REDHAT 9

Both connected in a way where HD having the linux OS is master and HD having win xp is slave.

PROBLEM

I want 2 access and share the win xp drive via linux PLUS i would like to access other client PC running win xp on my office network.

REQUEST

Please fill me with details and provide me with all the help that i can get..


Thanks

Fahad
 
Old 03-15-2004, 11:43 AM   #2
noeffred
Member
 
Registered: Mar 2004
Location: Austria
Distribution: Ubuntu 6.0.6, CentOS, Fedora, Debian
Posts: 47

Rep: Reputation: 15
Is your WindowsXP setup running off NTFS? if so: recompile the kernel to get support for NTFS, RedHat doesn't come with NTFS support.

Once you've got NTFS running, mount the partition and create a Samba share. Creating the share is pretty straightforward, check out the manpage of smb.conf ("man smb.conf") which will fill you in on the details.


Where's your Office machine (physically)? more info needed.
 
Old 03-16-2004, 12:16 AM   #3
fhameed
Member
 
Registered: Oct 2003
Location: Pakistan
Posts: 59

Original Poster
Rep: Reputation: 15
SAMBA installation

Hello

Thanks for looking into my posting.

My winxp is a total NTFS system.So i guess i'll have to recompile my kernel.

My office machine is located in my office obviously.The server is sitting beside it.

Other than that i'm located in Pakistan.

What other info do u require??

Thanks

Fahad
 
Old 03-16-2004, 01:15 AM   #4
wcitech
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Rep: Reputation: 0
I would suggest using mandrake for that.

I've found that accessing/sharing SMB is a lot easier with mandrake.
 
Old 03-16-2004, 04:35 AM   #5
noeffred
Member
 
Registered: Mar 2004
Location: Austria
Distribution: Ubuntu 6.0.6, CentOS, Fedora, Debian
Posts: 47

Rep: Reputation: 15
there's no need to change the distribution. The program "redhat-config-samba" is more than good enough for this purpose.

You'll have to recompile the kernel to get ntfs support though, nothing special. Check the Kernel HOWTO for more Info on configuring the Kernel (redhat keeps its .config Files in /usr/src/linux-2.4/configs. Copy the right one out of this directory to "/usr/src/linux-2.4/.config" then go to /usr/src/linux-2.4 and use "make xconfig")
Please be advised: It is said to be pretty unsafe to enable read and write access to NTFS volumes (reading is fine - writing probably not). So be warned that you _might_ f*ck up your NTFS partition when writing on it.

Going on to the office PC:
I couldn't have expressed myself worse, sorry. What I meant was: Is the office PC somehow available via Internet or dial-up? If it's available via Internet, you'll need some sort of VPN tunnel. Maybe a simple terminal connection, secured by SSH, is enough, depends on what you need to do and the network at your office.
 
Old 03-16-2004, 09:39 AM   #6
fhameed
Member
 
Registered: Oct 2003
Location: Pakistan
Posts: 59

Original Poster
Rep: Reputation: 15
SAMBA installation

Hii there

Well i'm doing the kernel recompiliation part.

I think i should backup the kernel source code and then move ahead.

I've a 2.4.x kernel

I should be the appropriate steps before kernel recompilation(how 2 backup and stuff).

I'm also going through the postings on my thread as well.

I'm also reading the kernel howtos.

I'll use all the help i can use.


By the way i use a dsl connection on my server for my internet.Rest of the pcs come share the internet.


Cheers

Fahad
 
  


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
Can't log into SAMBA at first time xstefanox Linux - Networking 2 01-16-2006 05:41 AM
Samba time issue olegarr Linux - Networking 1 09-15-2003 05:45 PM
Time stamp in Samba is 11 hours behind time stamp in Linux Linh Linux - General 3 09-04-2003 01:44 PM
Starting Samba at boot time. Unknown_User Linux - Software 3 04-26-2003 04:30 AM
nother prob (This time with Samba) sandy Linux - Networking 0 04-14-2003 06:25 PM


All times are GMT -5. The time now is 09:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration