PDA

View Full Version : file sharing


Horus_Kol
03-06-2006, 12:51 PM
okay - i now have one of my PC's setup with mandrake/KDE, and was just wodnering if there is a simple way of sharing files with a MS XP PC over the network - or do I have to resort to ftp?

i would have tested yesterday before asking, but couldn't find any spare patch leads to connect the linux box to the router...

nox-Hand
03-07-2006, 11:07 AM
okay - i now have one of my PC's setup with mandrake/KDE, and was just wodnering if there is a simple way of sharing files with a MS XP PC over the network - or do I have to resort to ftp?

i would have tested yesterday before asking, but couldn't find any spare patch leads to connect the linux box to the router...

I may have the sollution :)

I do not know how to connect TO a windows PC from Linux, but I DO know how to connect from XP to Linux. Use WinSCP (what I do).

It works over SSH, so you log in with your username/password, and then you can simply drag n drop files to and fro your XP/Linux PC; Norton Commander style. :P

Very simple, easy to use, all in all, very good. Best of all, it is free :D

Here is the link:
http://winscp.net/eng/download.php

Please note: You need SSH turned on on your Linux PC. To start this, enter a root terminal, and type:
# /etc/init.d/sshd start
And off you go. If you do not know your internal IP, run ifconfig as so:
# ifconfig

The info you need is highlighted in the following text. Note, I have copied this from an output found via Google. Your information may differ.
eth0 Link encap:Ethernet HWaddr 10:EE:0C:36:8E:C8
inet addr:192.168.11.22 Bcast:192.168.11.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41816612 errors:0 dropped:0 overruns:0 frame:0
TX packets:34407704 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2137695964 (2038.6 Mb) TX bytes:3394043916 (3236.8 Mb)
Interrupt:22 Base address:0x8c00
As you saw, the internal IP adress of your Linux PC is what is displayed after inet addr: your.IP.displayed.here.

I hope this helps :)

nox-Hand

Horus_Kol
03-07-2006, 12:11 PM
cheers Nox... that oughta do really - the XP box is still gonna be my primary anwyay...

nox-Hand
03-07-2006, 12:16 PM
No problemo :)

Anyway, your XP box would need to be on for you to access it in Linux, so it should not be that bad. You could allways add SSH to default startup, so you do not have to start it each time. I have done that :)
To do that, do this:
# rc-update add sshd default

nox-Hand

mikeyp
04-02-2006, 05:25 AM
Look at the program called Samba, http://www.samba.org. It will let you access your Linux box through My Network Places. Its pretty handy.

Samba is an Open Source/Free Software suite that has, since 1992, provided file and print services to all manner of SMB/CIFS clients, including the numerous versions of Microsoft Windows operating systems. Samba is freely available under the GNU General Public License.