Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Best way to share files between XP Pro and Gentoo
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
d4mo
Guru
Guru


Joined: 27 Jun 2005
Posts: 430

PostPosted: Fri Jul 15, 2005 12:01 am    Post subject: Best way to share files between XP Pro and Gentoo Reply with quote

So whats the best? It will mostly be to get files from my linux box to the windows computer. It will be on my home network. Linksys router/switch and whatnot.
Back to top
View user's profile Send private message
paddler
n00b
n00b


Joined: 03 Apr 2005
Posts: 37
Location: glacial moraine

PostPosted: Fri Jul 15, 2005 12:11 am    Post subject: Re: Best way to share files between XP Pro and Gentoo Reply with quote

d4mo wrote:
So whats the best? It will mostly be to get files from my linux box to the windows computer. It will be on my home network. Linksys router/switch and whatnot.


I share both ways. I use samba to share out my linux drives for Windows to mount. I also have my windows shares listed in my fstab (noauto) to mount windows directories for storing backups etc.
Back to top
View user's profile Send private message
d4mo
Guru
Guru


Joined: 27 Jun 2005
Posts: 430

PostPosted: Fri Jul 15, 2005 12:57 am    Post subject: Reply with quote

Is there a guide around somewhere on how to get samba to work?
Back to top
View user's profile Send private message
robdd
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2005
Posts: 142
Location: Sydney Australia

PostPosted: Fri Jul 15, 2005 1:34 am    Post subject: Reply with quote

The impatient person's quick recipe:

emerge samba

After successful install a 'qpkg -I -l samba' will list all the installed files - look for the man pages in case you need help with one of the commands.

You'll need to set up a user/password for at least one user on the samba server using smbpasswd.

You then need to configure at least one share on your server box - go to /etc/samba, and copy smb.conf.sample to smb.conf. Open smb.conf in an editor (it's full of comments to help you), and look near the end of the file for example shares, and copy one. From memory most of the other defaults will be fine - you may want to set 'security = user' if it's not there already, and 'hosts allow = 192.168.0. 127.' to just allow people on the 192.168.0 net to access the samba shares (or whatever you've got your local net set to).

Then start the samba server '/etc/init.d/samba start' - you should see smbd and nmbd start up.

Then on your XP client try to map your new share. You'll need to connect as the user/password you set up above using smbpasswd.

To make samba start up automatically each time you boot - 'rc-update add samba default'

It should be that easy - if I've forgotten a step just post where you got stuck and someone will help :)
_________________
Rob Diamond
Gentoo Hack, hack, hacker
Sydney, Australia
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Fri Jul 15, 2005 4:46 am    Post subject: Reply with quote

If you use KDE it has a nice public file server which is a snap to use.
Code:
emerge kpf

(If using split KDE ebuilds)

The properties dialog box for folders on KDE also allows easy configuring of sharing the folder with HFS and Samba.
Back to top
View user's profile Send private message
d4mo
Guru
Guru


Joined: 27 Jun 2005
Posts: 430

PostPosted: Fri Jul 15, 2005 5:49 am    Post subject: Reply with quote

I am using KDE :D

Is kpf similar to Windows File Sharing?
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Fri Jul 15, 2005 6:54 am    Post subject: Reply with quote

d4mo wrote:
I am using KDE :D

Is kpf similar to Windows File Sharing?

Setting the sharing options on the properties page for a folder, IS the same as Windows sharing.

kpf = KDE Public File server is more like Personal Web Server in Windows. (not restricted to web pages, will show files and folders also)

Right click on taskbar and add Applet to start. The nice thing about kpf is you can set how much bandwidth to allow and you can see in the taskbar the number of users connected and the throughput.
Back to top
View user's profile Send private message
ronnie
n00b
n00b


Joined: 21 Jul 2004
Posts: 66

PostPosted: Fri Jul 15, 2005 12:24 pm    Post subject: Reply with quote

The *easiest* way (IMO) would be to download WinSCP for windows and just drag/drop files. Just make sure sshd is running.
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1630
Location: indiana

PostPosted: Fri Jul 15, 2005 8:50 pm    Post subject: dunno whats Reply with quote

dunno whats the real question here .. just take putty for ssh connection... cuiiiiii

ps : or use apache, ftp or whatever instead
_________________
I do not have a Superman complex, for I am God not Superman :D

Ryzen9 7950x (powersave governor) ; Radeon 7900XTX ; kernel 6.11.3 ; XFCE


Last edited by Mgiese on Sat Aug 20, 2005 12:20 am; edited 1 time in total
Back to top
View user's profile Send private message
Dr. Feltersnatch
n00b
n00b


Joined: 03 Mar 2005
Posts: 5

PostPosted: Sat Jul 16, 2005 12:38 am    Post subject: Reply with quote

ronnie wrote:
The *easiest* way (IMO) would be to download WinSCP for windows and just drag/drop files. Just make sure sshd is running.


WinSCP is great when I am at work and need a file off my computer.
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