Last active
August 4, 2017 20:28
-
-
Save hoto/e672aea2ae973d23bd19f24c1c1a438a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup IPs for two laptops | |
PC1 (master0 | |
IP - 192.168.1.2 | |
mask 255.255.255.0 | |
gw - 192.168.1.2 | |
PC2 (slave - live cd) | |
IP - 192.168.1.3 | |
mask 255.255.255.0 | |
gw - 192.168.1.3 | |
# Remove the default "cable" route so the "wireless" is default from both laptops | |
ip route | |
ip route del default | |
ip route | |
# Change pass for root on the live cd | |
su - | |
passwd root # root | |
service sshd start | |
ssh-keygen -R 192.168.1.3 | |
ssh-copy-id fedora | |
# Synch screenshot folder | |
while true; do rsync -avh fedora:/home/liveuser/Pictures/*.png ~/Desktop/live-screenshots/ && echo 'sleeping...' && sleep 5; done | |
while true; do rsync -avh fedora:/home/andrzej.rehmann/Pictures/*.png ~/Desktop/live-screenshots/ && echo 'sleeping...' && sleep 5; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment