9. 开机好后界面如下,打开console口进行配制:
10. 配制ip地址,我这里是静态ip,修改文件sudo vi /etc/network/interfaces(修改前最好备份下),我配制内容如下
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.141.247.134
netmask 255.255.254.0
gateway 10.141.246.1
修改好了以后,重启网卡:
pi@aborn ~ $ sudo /etc/init.d/networking restart
11. 配制软件源,这样就可以用sudo apt-get install 安装软件了,修改文件
pi@aborn ~ $ sudo vi /etc/apt/sources.list
添加国内清华的源,内容如下:
deb wheezy main contrib non-free rpi
deb-src wheezy main contrib non-free rpi
deb wheezy main contrib non-free rpi
然后sudo apt-get update一下