willekeurige foto

News Nieuwtjes

Johan en Jolijn gaan trouwen

op een geheime locatie

Onderstaand is nieuws van een andere organisatie.

RSS Source

    Using Tomsrtbt and a parallel link cable

    You can use the mini-Linux distribution made by Tom Oehser. To quote from the FAQ :

    "[1) tomsrtbt is "The most Linux on one floppy disk" for: rescue recovery panic & emergencies tools to keep in your shirt pockets whenever you can't use a hard drive]"

    You can get it at Tomsrtbt download page http://www.toms.net/rb/

    I used tomsrtbt1.7.93, which is based on the Linux kernel 2.0.36. In /etc/inittab you'll have to uncomment

    c5:5:respawn:/usr/bin/nc -l -p 514 -e /usr/bin/rshd

    or you'll have to start it by hand at each copy and at both machines : /usr/bin/rshd

    In the following example we assume that

    • machine called SOURCE gets IP-address

    • machine called TARGET gets IP-address

    • in the file /.rhosts and are listed as trusted hosts. This is necessary to run for the remote shell (rsh commands) we will be using.>

    Login at both machines. (User root with password = xxxx). To start, load the module that drives the communications for the parallel-port. loaded

    insmod plip

    Depending on your hardware settings and your BIOS, you will receive a message similar to

    NET3 PLIP version x.y
    plip1: Parallel port at 0x378, using assigned IRQ 7

    Note that plip1 could also show up as plip0.

    Next we configure the "network".

    ifconfig plip1

    Set up the network routing

    route add -net plip1

    Use plip0 if the plip-module showed you that it was using plip0 instead plip1.

    Now you have a running TCP/IP network, really ! You should be able to do



    For further details concerning the PLIP-interface, I highly recommend reading the PLIP-Howto.

    All this and more is done when you run my scripts setup-source on the SOURCE machine setup-target on the TARGET machine These small scripts are included at the end of this document.

    If your source data resides on a NTFS volume (Windows NT/ Win2000?), load the module ntfs.o before mounting it :

    insmod ntfs

    Mount the partition from your harddisk where your data resides :

    Example 1. Mounting the source partition

    mkdir /mnt/source

    mount /dev/hda1 /mnt/source

    If your want the long filenames on a FAT32 volume (vfat), you'll have to specify the vfat-type, so please use :

    mount -t vfat /dev/hda1 /mnt/source

    If your data is not on the first partition of your first harddisk, change /dev/hda1 to whatever appropriate. If you don't know the partitions, you can list them with

    Example 2. Listing your harddisk partitions

    fdisk -l /dev/hda

    This lists your partitions on your first IDE disk (use /dev/hdb for your second IDE disk etc..)

    Next you should be able to copy files and directories by doing

    copy /mnt/source/mydirtocopy /mnt/target

    or copy a file with copy /mnt/source/mydirtocopy/myfile /mnt/target

    You could even do this on the target machine :

    copy /mnt/target/mydirtocopy /mnt/source


    Note : writing on NTFS volumes is NOT supported because of proprietary reasons.