Skip to content

Instantly share code, notes, and snippets.

@qichunren
Created May 6, 2015 07:58
Show Gist options
  • Save qichunren/8676ca94ed64058d0277 to your computer and use it in GitHub Desktop.
Save qichunren/8676ca94ed64058d0277 to your computer and use it in GitHub Desktop.
temp set net configuration.
sudo ifconfig eth0 192.168.11.187 netmask 255.255.0.0
sudo route add default gw 192.168.8.5
add nameserver 192.168.8.5 to file /etc/resolv.conf
cd /media/xubuntu/WD2TB
sudo dd if=/dev/sda of=T420HDD-20150506.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment