Quick Start Guide
taskit GmbH
6. Copying files or applications
With the ethernet interface it is possible to start applications or to copy files from a PC very fast
(copying big files over the serial interface using kermit will take a long period of time).
First connect the crosswired ethernet cable with and an available ethernet slot on the computer to
which you want to create a connection.
6.1. Sharing a directory
To get access to remote files you need to share a directory. Therefore you need to install an NFS
server on the PC you want to connect. On Debian Linux this is done by entering the following line:
apt-get install nfs-common nfs-user-server
Then create the directory you want to share:
mkdir /develop
After that tell the NFS server to share that directory by editing the file
/etc/exports
.
Insert the following line:
/develop (ro,insecure,all_squash)
To export the directory to a single host insert the following line instead:
/develop 192.168.4.2 (ro)
At last you have to allow hosts to connect to the PC. To do that your have to edit the file
/etc/hosts.allow and insert 192.168.4.2 (or 192.168.4 for a range of clients).
Changes to the configuration file should be followed by a restart of the NFS server in order to make
them active.
/etc/init.d/nfs-user-server restart
6.2. Setting up the ethernet connection
To use the ethernet connection you have to assign an IP-address to the network device. If the
network device is already configured (by default done by DHCP), you can skip this step.
First read out the IP-address and network mask of the PC you want to connect to by entering
ifconfig eth0
(if you want to use a second installed ethernet card type
ifconfig eth1
) if the PC is
running Linux. If the PC is running Windows start the command shell and type
ipconfig
to see the
IP-address for this device.
Then configure the ethernet interface to use a different IP-address but same subnetmask as the
remote PC. For example if the IP-address of the PC is 192.168.4.1 then type:
ifconfig eth0
192.168.4.2
.
Page 14 of 15
Version 1.14