View previous topic :: View next topic |
Author |
Message |
d4mo Guru
Joined: 27 Jun 2005 Posts: 430
|
Posted: Fri Jul 15, 2005 12:01 am Post subject: Best way to share files between XP Pro and Gentoo |
|
|
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 |
|
|
paddler n00b
Joined: 03 Apr 2005 Posts: 37 Location: glacial moraine
|
Posted: Fri Jul 15, 2005 12:11 am Post subject: Re: Best way to share files between XP Pro and Gentoo |
|
|
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 |
|
|
d4mo Guru
Joined: 27 Jun 2005 Posts: 430
|
Posted: Fri Jul 15, 2005 12:57 am Post subject: |
|
|
Is there a guide around somewhere on how to get samba to work? |
|
Back to top |
|
|
robdd Tux's lil' helper
Joined: 02 Jan 2005 Posts: 142 Location: Sydney Australia
|
Posted: Fri Jul 15, 2005 1:34 am Post subject: |
|
|
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 |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Fri Jul 15, 2005 4:46 am Post subject: |
|
|
If you use KDE it has a nice public file server which is a snap to use.
(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 |
|
|
d4mo Guru
Joined: 27 Jun 2005 Posts: 430
|
Posted: Fri Jul 15, 2005 5:49 am Post subject: |
|
|
I am using KDE
Is kpf similar to Windows File Sharing? |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Fri Jul 15, 2005 6:54 am Post subject: |
|
|
d4mo wrote: | I am using KDE
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 |
|
|
ronnie n00b
Joined: 21 Jul 2004 Posts: 66
|
Posted: Fri Jul 15, 2005 12:24 pm Post subject: |
|
|
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 |
|
|
Mgiese Veteran
Joined: 23 Mar 2005 Posts: 1630 Location: indiana
|
Posted: Fri Jul 15, 2005 8:50 pm Post subject: dunno whats |
|
|
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
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 |
|
|
Dr. Feltersnatch n00b
Joined: 03 Mar 2005 Posts: 5
|
Posted: Sat Jul 16, 2005 12:38 am Post subject: |
|
|
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 |
|
|
|