LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   First time installing SAMBA..HOW TO?? (https://www.linuxquestions.org/questions/linux-software-2/first-time-installing-samba-how-to-157964/)

fhameed 03-15-2004 10:18 AM

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

noeffred 03-15-2004 10:43 AM

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.

fhameed 03-15-2004 11:16 PM

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

wcitech 03-16-2004 12:15 AM

I would suggest using mandrake for that.

I've found that accessing/sharing SMB is a lot easier with mandrake.

noeffred 03-16-2004 03:35 AM

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.

fhameed 03-16-2004 08:39 AM

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


All times are GMT -5. The time now is 02:06 PM.