Forum Home
Press F1
 
Thread ID: 43659 2004-03-22 12:21:00 Data transfer via USB from Knoppix - Recommended options? Chilling_Silence (9) Press F1
Post ID Timestamp Content User
224390 2004-03-22 12:21:00 Greetings,

Ive been thinking of this for a bit now...

Being in the PC-Repairs industry, you get PC's that wont boot every so often.
You then run into troubles when you're called out for on-site support and you cant throw their HDD into another PC.

Basically, as soon as Knoppix 3.4 is released (With a 2.6 kernel), I plan on remastering it so it'll be MAJORLY cut down, with F-Prot AV, and a few other things Im thinking of ATM.
Aside from that.. back on track now....
I want a good way to transfer via USB from Knoppix.
Will something like this:
www.qmb.co.nz
USB transfer cable suffice?

My main reason for this is that some PC's dont have a LAN card, but the vast majority of PC's I repair do. If they dont have a USB, THEN I'd opt to throw the HDD in another PC temporarily.

So what Im asking, What can I use to get Data from a PC running Knoppix? Would a USB > LAN adapator work?


Chill.
Chilling_Silence (9)
224391 2004-03-22 14:38:00 There is a driver called "usbnet" that is included in the 2.4 and 2.6 kernels.

The network is created in much the same way as standard ethernet. The first usbnet "adapter" in the system would be labelled usb0 followed by usb1 etc.

You allocate ip addresses using ifconfig, for instance:

ifconfig usb0 192.168.0.1

would assign the usb0 adapter the ip address 192.168.0.1 , if you have done this before using the standard network device (eth0) etc, then I'm sure you will have no problems.

Have a look here (www.linux-usb.org) for some further info
b1naryb0y (3)
224392 2004-03-22 22:35:00 Excellent!

So this is for the USB > LAN Adaptor I take it?!

Many thanks, this is just what Im after.... Now to order a USB > LAN Adaptor.... ;-)


Chill.
Chilling_Silence (9)
224393 2004-03-22 23:20:00 > Basically, as soon as Knoppix 3.4 is released (With a
> 2.6 kernel), I plan on remastering it so it'll be
> MAJORLY cut down, with F-Prot AV, and a few other
> things Im thinking of ATM.

I have often thought of doing something like that as well, but the prob is the almost daily virus updates... but could F-Prot pull its definitions from a floppy or USB drive? it would sure make the job much simpler.
ugh1 (4204)
224394 2004-03-22 23:57:00 I'd have to go hunting for it, but I was browsing the Knoppix.net Forum's and came across a script somebody had written which would download F-Prot from the web and extract it to /home/knoppix.

That way because its just been pulled from the web, it has the latest definitions.
I'd also want a copy of the file on the CD (Up-to-date as of the CD's creation) that way I can easily remove all the older Viruses that people still get, like the MS.Blaster worm if they dont have Internet Connectivity from the customers PC (Im thinking WinModem's mostly....).

You could easily modify the script to mount a USB Handy drive and grab the file from there if need be!

I plan on looking into this a little better tonight :-)


Chill.
Chilling_Silence (9)
224395 2004-03-23 00:09:00 Check out this here:
www.knoppix.net

Obviously you could replace the first part of the script with:

mkdir -p $HOME/software/
cd $HOME/software/
sudo mount /dev/sda1 /mnt/hd
cp /mnt/hd/fp-linux-sb.tar.gz ./
sudo umount /mnt/hd
tar xzf fp-linux-sb.tar.gz

Or in my case I'll modify the script and will have one for a Local install, and use the origional for a WWW install :-)

Im aiming to get the whole thing down to under 150MB :-) I dont see why not, Slackware-Live is!
Chilling_Silence (9)
224396 2004-03-23 00:24:00 How much data are you looking at transferring here? It could be possible to use a USB FlashDrive if you're looking at smallish amounts of data. If you're needing more than this you could look at a USB connected external caddy with a laptop hard disk drive inside it. -=JM=- (16)
224397 2004-03-23 00:32:00 That's a good idea.

Ive been thinking about an External HDD for my Laptop, but Im not too sure on what it involves.

Am I correct in assuming I buy the caddy/case for it (QMB have one for around $40 IIRC), and then purchase a normal HDD to put in it, or is there some underlying factor Ive missed?

Data ranges in amounts from 10 megs of emails to 10 gigs of documents, files, settings etc. which all has to go somewhere before a format...

And as a correction from my last post, the filename is:
fp-linux-ws.tar.gz


Chill.
Chilling_Silence (9)
1