Connecting my notebook to another PC via LAN


Forum: Networking
Topic: Connecting my notebook to another PC via LAN
started by: Grope

Posted by Grope on May 24 2006,11:01
Hi there

my notebook (Acer travelmate - Windows XP) crashed. I can't boot in Windows anymore, so I'm currently using DSL (from CD / I can't use an USB device to boot or my HD - it doesn't work).

I don't know how to connect my notebook to my girlfriends PC via LAN. My girlfriend is using Windows 2000, but I can run DSL via a virtual machine. I have no idea if I can connect a Windows PC to a Linux one.

All I want to do is transferring my data to my girlfriendc PC via LAN. I need to reinstall Windows XP, so all my data on HD would be lost. I want to save some files from my notebook HD on my girlfriends PC.

What do I need to do? Do I have to use an App? Is there a tutorial for this issue? Is there a way to rescue my data via ftp, etc... It would be easiest to load some files onto my webpage via ftp, right?

THANKS. Please excuse my bad English. I'm German.

Posted by dtf on May 24 2006,13:02
ftp is available to you from the desktop (not sure about the lastest DSL releases) or from the DSL menu.  Right click on your desk top and you can find it under Apps->Net->FTP.  If you are going through a firewall you need to make sure the ftp access is allowed.  There are other options for sharing files but if you are familar with ftp then that is a good place to start.
Posted by Grope on May 24 2006,13:18
so i just type in the ftp address and gon on from there? i'll try that again. thanks...
Posted by Grope on May 24 2006,14:24
sorry, but i don't know how to deal with the ftp tool.

i know my ftp address and my user name and password... but i don't know how to open a session... can anyone help me, please. i'm just trying to save some data from my notebook. it's kinda urgent. THANKS!

Posted by dtf on May 24 2006,14:51
Can you find the notebook document you want to save?

How big is it?

Do you have a usb pendrive and do you know how to mount the drive in DSL?

Posted by Grope on May 24 2006,14:55
Quote (dtf @ May 24 2006,10:51)
Can you find the notebook document you want to save?

How big is it?

Do you have a usb pendrive and do you know how to mount the drive in DSL?

i can find the files i need and i was able to upload them to yousendit... but i don't know how to start the ftp session

my usb is broke. i tried to save my data to usb several times, but it didn't work... i was formatting my USB pen a lot and now, it is broke... neither my pc, nor my notebook can open it... i accidently stepped on it this morning.. might have been me...  :D

my files are pretty large. about 10GB alltogehther

Posted by dtf on May 24 2006,15:03
I am not in front of my DSL computer at the moment and actually need to work
for a living :( so it will be hard for me duplicate you problem(s).  But I thought
you should just click the ftp icon or from the menu and enter the ip address.  So
I am not sure what your error is when trying to open a ftp session.

Posted by Grope on May 24 2006,15:10
Quote (dtf @ May 24 2006,11:03)
I am not in front of my DSL computer at the moment and actually need to work
for a living :( so it will be hard for me duplicate you problem(s).  But I thought
you should just click the ftp icon or from the menu and enter the ip address.  So
I am not sure what your error is when trying to open a ftp session.

well, that's what i thought. but entering the ftp address doesn't do anything.

PS: i'm only home because i took a day off to solve my computer problems... haha... THANKS anyway

Posted by Grope on May 24 2006,15:21
hey, all of the sudden, it works... i had to enter open and hit enter before typing in the ftp site

i logged into my ftp account... but what now.

is
"cp /mnt/hda1/NikonFotos people-ftp.freenet.de"
the correct way to move files?

i want to move the folder Nikon Fotos to the ftp server...

and how do I type in files like "NIKON Fotos"???
NIKONFotos or
NIKON_Fotos or
NIKON Fotos???

THANKS IN ADVANCE

Posted by dtf on May 24 2006,15:30
Are you sure you are not being blocked by a firewall on your router of your
windows pc?

Posted by Grope on May 24 2006,15:40
how can i tell? it seems to be working... i entered the user name and password and it worked out fine. i get a reply that says: you are now logged in... remote system is UNIX... binary blabla... whatever that means.

i just don"t know how to transfer files... i thought move or cp would be right. i think i'm logged in.

my windows XP is totall broke. many hll files are missing... it"s not working at all... so there's no firewall

Posted by tomv on May 24 2006,15:44
Assuming you are logged in in a DOS or unix prompt, accessing your dying machine from the other one, in a DOS type FTP session:

(don't type the stuff in parenthesis)
bin (sets binary mode, you will want this since source and target are both Windows.  Other type is 'asc' which changes text files from Unix to DOS format by converting end-of-line characters.)

hash (optional, shows ## as progress marks, lets you know transfer is not dead)

prompt (disables/enables prompting for each file - sometimes you want this, sometimes not)

cd [directory] (changes to a directory on server)

lcd [local directory] (changes local directory)

ls (shows files on server)

!dir (shows local files - ![any DOS command] works too)

get [filename] - (gets one file, exact name, case sensitive.  I think that you would just put double quotes around files with spaces in them, not totally sure)

mget [filename or wildcard] (gets multiple files.  This is what you want to do, probably.  Try "mget *" or "mget Contac*" to get your file named "Contact Info.doc".)
--------
You will still need to manually 'cd' to each directory you want to get files from.  Then '!mkdir [local_dir_name], then 'lcd [local_dir_name] to the new directory you just created, and 'mget *' to get all your files.  Repeat as needed for all your files.
So:

bin
hash
prompt
cd [source dir]
lcd [target dir]
mget *

(repeat from here as needed)
cd [source dir]
lcd [target dir]
mget *

(repeat for every directory you want to move)

HTH

Posted by Grope on May 24 2006,15:49
wow! thank you so much!!! you saved my day. i'll try to work with your tutorial later on. thanks again...
Posted by Grope on May 24 2006,16:17
so i can see all the files on my webspace now via "ls"... the connection is working...

can you tell me again how to send files onto my webpage?
i didn't get it.

do i have to type in something like
mget /mnt/hda1/"Dokumente und Einstellungen"/media/"NIKON Fotos"

and hit enter? because that doesn't work.

i really apprecaite your help... thanks!!!

Posted by dtf on May 24 2006,20:13
Grope - could you provide the error messages when something fails.  

I always quote the entire line when dealing with spaces like

mget "/mnt/hda1/Dokumente und Einstellungen/media/NIKON Fotos"

Posted by tomv on May 24 2006,22:14
The whole quotes thing could work - not sure
FTP is a strange beast, it's old, old unix stuff, has it's own quirky way of doing things

Try cd'ing to the directory, one dir at a time - should be easier that way.

cd "Documents and Settings"
(should get something like 'cwd command successful')
cd "user_name"
cd "My Documents"

ls
(should show 'Directory of \Documents and settings\user_name\My Documents' or something like that, then list the files)

oh, one more thing - you use 'get' and 'put', along with 'mget' and 'mput' to move files around.  Depends on if you are getting files from the remote machine or putting them there.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.