-
Need help transferring my files
I am having some serious problems with a hard drive of mine. Windows on the drive became corrupt so I turned to knoppix to be able to access my data. Luckily, under Knoppix I can see and access all my files but now I must figure out a way to transfer them to another computer to back them up before my hard drive fails completely and so that I can format the drive and start over again. I am not familiar with linux or knoppix at all so I do not know how to install any programs or do much at all. There are other computers that are on the same network as this computer that run windows and I am trying to figure out a way to communicate with them. If someone could explain to me how to transfer all my data to another computer on the network and save it I would GREATLY appreciate it. Thx
-
Senior Member
registered user
eeeh, ok. try this link. i have discussed similar things there. hope it helps.
i frequently use sftp between two computers using knoppix, it works well and i have used knoppix and an external CDburner for the task of backup more times than i can remember (i use cdrecord, not the easiest for a beginner).
EDIT the actual link might help i guess. links actually as there is two of them.
http://www.knoppix.net/forum/viewtopic.php?t=8739
http://www.knoppix.net/forum/viewtopic.php?t=8740
-
Ah well, see the problem is that I dont have a router. Also, I have no idea how to run sftp or any of these other programs people seem to be talking about. I really do apologize for being such a newb at this but I'm desperate for help from anyone who can walk me through this. I can't lose this data
The way I'm networked with a bunch of other computers is through the college connection that I am on btw.
-
Senior Member
registered user
ok as for router, it is not necesary, jst a network cable would do (a crosover one, not a straight one) and just run knoppix on both computers. on one you start sshd and log in from the other.
if you already have a hub, switch... and a working network, no problem there then.
sshd alows the programs sftp and scp to log on to the computer running it and transfer files to/from it (it also alows ssh for remote administration).
to get sshd going you can run my scripts., one on each computer (sudo scriptname):
run first this on one.
Code:
ssh-keygen -t rsa -f /etc/ssh/ssh_host_key; ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key; ssh-keygen -t rsa -f /etc/ssh/ssh_host_dsa_key; ifconfig eth0 192.168.0.102 sshd; passwd knoppix
now the scipt below on the other.
Code:
ifconfig eth0 192.168.0.103; sftp knoppix@192.168.0.102
to get them to run copy them to two text files and make them executable, that is chmod +x /search/path/filename (i have them both on a floppy).
just give the password and you can do cd (to change directory), put to put a file from your computer on to the other), get, eeeh well this s not that hard i guess...and thenthe first script helps generating the crypto keys, configure your networkcard, starts sshd and asks for a new password for the user knoppix.
the second script configures your networkcard, logs in to the first computer and you will be asked a few easy questions (in the style: do you realy want to conect to this computer?).
hope this helps. if you want more info just ask.
-
ah, thank you so much my friend, you are my hero. I unfortunately have just gotten around to trying to do this. Fortunately, I'm doing it at home now where I have two computers networked through a router so it should make things simpler. I just one have one final question.
You mentioned:
" that is chmod +x /search/path/filename (i have them both on a floppy)."
I did not understand what you meant by this. Other than that I'm set. Thanks a lot.
-
Senior Member
registered user
thats the command to make the scrip executable (change whats needed) and then a statement saying (I think) he has the scripts on a floppy.
-
ok, how do I run that command to make the txt files executable.
I tried going into xterm and typing in
chmod +x file:/home/knoppix/textfile.txt
but I get an error saying it failed to get the attributes of the file: no such file or directory.
Also, since i'm doing this on a home network now, will I need to determine the correct IP for the scripts? Since there are multiple computers on this network how will the script know which computer I'm trying to work with?
-
Senior Member
registered user
type the command in a termanal window.
-
alright, nevermind I got all that figured out.
I ran the first script on the computer with my information. It asked me for a passphrase. I typed knoppix in though the cursor doesnt move or anything. I hit enter and typed it again. Then I got a message saying.
open /etc/ssh/ssh_host_key failed: permission denied
saving the key failed: /etc/ssh/ssh_host_key
generating public/private rsak key pair
What do I do now? :/
Similar Threads
-
By kjjaeger in forum Hardware & Booting
Replies: 1
Last Post: 09-01-2005, 07:37 PM
-
By mattrock1988 in forum General Support
Replies: 2
Last Post: 07-01-2005, 03:40 PM
-
By panzerjager88 in forum Networking
Replies: 4
Last Post: 04-16-2005, 01:35 PM
-
By bigjnsa in forum Customising & Remastering
Replies: 2
Last Post: 09-10-2004, 04:07 PM
-
By Baraboo in forum General Support
Replies: 4
Last Post: 07-07-2004, 09:46 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric
$139.99
Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W
$399.00
HP ProLiant BL460c G9(Gen9) 2x 10 CORE E5-2660v3 2.6GHz 128GB RAM No SSD
$222.00
DELL PowerEdge M630 Blade 2x E5-2690v4 2.6GHz =28 Cores 64GB H330 2x10Gb X520
$264.00
HP Proliant BL460C Gen8 Blade Server 2x 8C E5-2690 192GB Ram
$58.52
Dell PowerEdge 1955 Blade Server 2x Intel Xeon 2.33GHz 4GB / 72gb hdd x 2 omy759
$39.99
Dell PowerEdge FX2S FC830 Blade Server Chassis Enclosure 2*2000W PSU NO BLADES
$299.99
Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS
$90.99
Cisco B200 M3 2x E5-2697 V6 @ 2.70GHz Blade Server 2x HDD Blanks 256GB Ram
$360.00
Dell PowerEdge M620 Blade Server
$39.99