Hi. Thank you for everyone's help. I have done what I needed. I am going to provide my own step-by-step guide and hope the next person can benefit.
1) When both of your computers are still connected to the Internet, install openssh-server by typing in the Terminal:
Code:
sudo apt-get install openssh-server
2) Plug your Ethernet cable to both computers to link them physically.
3) Do the following on BOTH computers:
Click on the NetworkManager icon (the one that indicates you are connected to the Internet), you want to disconnect the Wireless connection*.
Then you click Network Connections and a small window will appear. Select the Wired connection under Ethernet. Click on the Edit button. Another window will appear. Select the IPv4 Settings tab. Choose Manual in the Method dropdown. Under Addresses, click the Add button. For computer 1, enter 192.168.1.1 in Address and 255.255.255.0 in Netmask. Then Save. For computer 2, enter 192.168.1.2 in Address and 255.255.255.0 in Netmask. Then Save.
*I am not sure whether disconnecting the wireless connection is necessary. But I did it.
4) In the Terminal, test things about by pinging each other. On computer 2, you type:
Then you will should see:
Code:
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.473 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.474 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.779 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.589 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.423 ms
You can stop this by hitting Ctrl and C together.
Similarly, you can ping computer 2 from computer 1.
5) Now you are ready to transfer files by typing this in the Terminal
Code:
scp /home/aaron/Downloads/introcast0703.pdf ann@192.168.1.1:/home/ann/Downloads
In my command, aaron is the user in computer2. ann is the user in computer1. This is sending a pdf file from Aaron's computer2 to Ann's computer1. When you enter this command, you will be asked if you want to continue connecting. You type yes and hit enter.
Then you will be asked for Ann's user password on computer2. You enter that password.
This is all.
Bookmarks