Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connecting Win2k computer to Gentoo server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dponch
n00b
n00b


Joined: 25 Nov 2003
Posts: 28
Location: somewhere in Belgium

PostPosted: Mon Jan 19, 2004 12:56 pm    Post subject: Connecting Win2k computer to Gentoo server Reply with quote

Hello,

I would like to access a gentoo server with a win2k machine. I will have several partitions (on gentoo) which will share the data's (for the windows). But I wonder which FS I have to use for better performance? Someone said I'd use reiserfs ... but is this will cause some troubles with windows? What's the good deal?

Thanks,
Dams
_________________
never give up 'til the bell rings ...
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Mon Jan 19, 2004 1:01 pm    Post subject: Reply with quote

If you're talking about partitions on the same machine then I think you're stuck with using e2fs. I think that's the only partition type that has support available in NT. You'll have to install drivers for it though (google and sf.net)

If you're talking about two different machines (which is not really clear from your post) then the FS you choose does not matter. You'll simply have to use samba to be able to make the win machine see the data on the gentoo one.
Back to top
View user's profile Send private message
dponch
n00b
n00b


Joined: 25 Nov 2003
Posts: 28
Location: somewhere in Belgium

PostPosted: Tue Jan 20, 2004 11:38 am    Post subject: Reply with quote

Yes I have two different machines.

The first one: Gentoo server which contains the partitions to share

The second one: Win2k Client which will connect to Gentoo and take data from the server

So in my case, it doesn't matter the FS on the Gentoo server? If I understand.
But how the win2k will be able to see the data if the server partitions are in ext2 or reiserfs? I don't understand this very well.

Thanks again

PS: Sorry if it wasn't clear enough, I'm not used to write in English :p
_________________
never give up 'til the bell rings ...
Back to top
View user's profile Send private message
Scotty49
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 86

PostPosted: Tue Jan 20, 2004 11:47 am    Post subject: Reply with quote

Hello!

When data is transmitted through the network, it is "transformed" to another file system, i. e. the samba file system, no matter, which file system is originally on the partition you want to share. In Win2k this is the standard networking file system, so you don't have to change anything on that PC. Using gentoo you should

Code:
emerge net-fs/samba


and configure it according to your needs. Then your Win2k box will be able to access the gentoo system via the normal network neighborhood and vice versa.

Hope this helps,

Scotty
Back to top
View user's profile Send private message
Mitzi
n00b
n00b


Joined: 16 Dec 2003
Posts: 45
Location: Cheshire, UK

PostPosted: Tue Jan 20, 2004 11:48 am    Post subject: Reply with quote

dponch wrote:
YSo in my case, it doesn't matter the FS on the Gentoo server? If I understand.
But how the win2k will be able to see the data if the server partitions are in ext2 or reiserfs? I don't understand this very well.


Use Samba on the Gentoo machine and the shares will appear in Network Neighboorhood as regular Windows shares - Windows wont know the difference! Samba hides the underlying file system.
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Tue Jan 20, 2004 11:48 am    Post subject: Reply with quote

Ok, you need to install samba on your gentoo server and connect to it through the network from your windows xp machine. What filesystem you have on your gentoo server is of no consequence (as far as the windows machine goes) since samba is doing the sharing of the data.

So:
Gentoo == samba <<===>> windows
EXT2 <-------'
XFS <--------'
reiser <-------'

Hope that makes it clear!
Back to top
View user's profile Send private message
jaska
Bodhisattva
Bodhisattva


Joined: 06 Jun 2003
Posts: 725
Location: Finland

PostPosted: Tue Jan 20, 2004 11:51 am    Post subject: Reply with quote

Since you have two computers it doesn't make any difference if you use ReiserFS, ext2, ext3, jfs, or xfs as your file system on the gentoo box. Just use Samba or NFS to share data, should work fine.
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Tue Jan 20, 2004 11:51 am    Post subject: Reply with quote

Ouch! My response was beaten by two in 1 minute. Such is the eagerness to help of the good gentooers!
Back to top
View user's profile Send private message
dponch
n00b
n00b


Joined: 25 Nov 2003
Posts: 28
Location: somewhere in Belgium

PostPosted: Tue Jan 20, 2004 12:48 pm    Post subject: Reply with quote

I didn't hope so much answers :o) Well now I know!!

So another question for win2k.
Do you know some good websites where I can find information about startup scripts?
I would like to mount shared directories at windows startup ...

Once again, thanks everybody
_________________
never give up 'til the bell rings ...
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Tue Jan 20, 2004 2:42 pm    Post subject: Reply with quote

In a command prompt in windows type net help and it will give you some help. I think you're looking for
Code:
NET USE [devicename | *] [\\computername\sharename
(from net help use).
So if you want drive E to be assigned to \\server\shareddir you create a script with
Code:
net use e: \\server\sharedir
Back to top
View user's profile Send private message
DopeGhoti
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2004
Posts: 100
Location: Vermont, US

PostPosted: Tue Jan 20, 2004 6:01 pm    Post subject: Reply with quote

And to make it automagic across reboots:
Code:
net use e: \\server\share /persistent:yes

_________________
A proud member of the No post left unanswered Club!
Back to top
View user's profile Send private message
compuboy86
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2003
Posts: 79

PostPosted: Wed Jan 21, 2004 4:39 am    Post subject: Reply with quote

To go back a question (sorry!) I recommend using FAT32 for the share partitions. Before flamming me, I prefer to use FAT32 for the sole reason that I may have to move my raid array into a windows computer, which would not work so well if the FS was reiserfs. In my experience, FAT32 is fine for a low to moderate use file server which supports writing to from both windows and linux.

However, if using the partition in Windows is not an issue....go with reiser, best journaling FS that I've tried. (JFS borked on me once...never again)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum