Now that you know how to find the interface names, you can use them to replace eth0 in my examples.
On Mon, Jun 18, 2018 at 8:14 AM, Russell Senior <[email protected]> wrote: > > > > The description says, in part: > > "Supported by Linux kernel 3.0 and later as a high-speed virtual network > interface, no special file transfer support." > > That implies the cable should provide a network interface to both sides. > > What happens when you plug it in? Look in dmesg (near the bottom right > after you plug it in) and you should see something that implies a network > interface has been created. > > Then, since it is a a direct network connection, and neither end is > running a DHCP server, you will need to give both sides a static or manual > network configuration. > > On host A, at shell prompt, you can run the command: > > ip addr add 192.168.66.1/24 dev eth0 > > and on host B: > > ip addr add 192.168.66.2/24 dev eth0 > > note that you will need to replace "eth0" with whatever interface name you > find in dmesg. It might well have a different name, and the names might be > different on the two hosts. You will need to do that every time you plug > in the cable, or figure out how your distribution can do this for you when > you plug in the cable. > > From a shell on host A, you can then run a command: > > scp <filename-i-want-to-send> 192.168.66.2: > > and the file will land with the same name on in your home directory on > host B. That assumes your usernames are the same on both computers. More > generally: > > scp <path-to-file-you-want-to-send> 192.168.66.2:<path-to- > filename-where-you-want-it-to-land-on-host-B> > > "scp" is the secure copy command. You can also use the command "rsync" to > move larger swaths of files. See manpages for scp and rsync for full > details. > > > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
