네트워크 설정
출처: http://www.neil-black.co.uk/raspberry-pi-beginners-guide#.Uxxb-Pl_uzgsudo nano /etc/network/interfaces
This will bring up the network interface configuration file in the nano text editor. The word sudo simply runs this command with super user privileges.
You can save yourself a lot of time at the Linux command prompt by using Tab to auto complete.
You should see:
iface lo inet loopback iface eth0 inet dhcp
Change this to (your IP details maybe different depending what you got from ipconfig):
iface lo inet loopback iface eth0 inet static address 192.168.1.150 netmask 255.255.255.0 gateway 192.168.1.1
Use Ctrl X to exit. Hit Y when prompted to save.
Now restart the network interface to apply changes without a reboot:
sudo /etc/init.d/networking stop
Followed by (can you guess?):
sudo /etc/init.d/networking start
Now your Raspberry Pi will always have the same IP address. Try pinging it from the Windows command Prompt:
ping 192.168.1.150
패키지 업데이트
출처: http://raspberrypi.stackexchange.com/questions/4698/how-can-i-keep-my-raspbian-wheezy-up-to-dateapt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get clean
rpi-update
ldconfig
reboot
댓글 없음:
댓글 쓰기