Networking :: connecting two computers



DHCP won't work, you don't have a DHCP server that can hand out IP-addresses to the computers.

You will have to set an IP-addres on each computer.

Menu / Setup / Net Setup / netcardconfig

Sorry, the command is "ip addr list" to show also the ip's. The different part was the MAC address of the other net card...

Ping: it sends a query packet where you tell it to, and if it reaches the destination, destination will respond and you will see how many milliseconds it took to ping back and forth... It is used to test network connections and speed. Usage:
"ping 192.168.0.2" where 192... is the ip address of the other comp. Stop it with control-c.

If you got lines like
"respond from host 192.... bytes=32 time 223ms TTL=128.." then your connection works.

Then to file sharing techniques...

The most common method in Linux world is NFS (network filesystem)
It lets you do anything you can do in a local directory.. Unfortunately, DSL cannot act as a NFS server by default. This would be the best way, but you would have to get nfsd from somewhere.

Then there's nbd, alias network block device. For it you need both client and server programs..

Samba. The one M$ uses. It is not as flexible, but DSL can do both server and client by default..

Ftp. DSL can also be a ftp server and client by default.


Before starting Any servers, make sure the machine ISN'T connected to internet! That would be very bad.....

Thanks curaga and freddy,
Nice to learn the acronymns.

Will let you know how I do.

Edit 4/16/07:
Still no luck. Will wait until the DSL book is available.
In the interim I will pick up a usb stick to transfer files.

Many thanks for the assistance.


original here.