1.network configuration
1.1 static ip
sudo vi /etc/network/interfaces
auto eth0 iface eth0 inet static address 192.168.1.136 netmask 255.255.255.0 gateway 192.168.1.1 nameserver 8.8.8.8
最后不要忘了重启网络:
sudo /etc/init.d/networking restart
1.2. static arp
sudo arp -s 192.168.1.1 00:25:9e:82:47:3a
(notice:you can also fix this configuration on your windows by opening cmd as Administrator, and run "arp -s 192.168.1.1 00-25-9e-82-47-3a")
2. 安装gcc
1 sudo apt-get install build-essential 2 sudo apt-get install gcc