6. 固定IPの設定
• /etc/network/interfacesに設定を書く
– 上図: デフォルトの設定
(loとeh0のDHCP設定)
– 下図: 固定にする例
• dhcpの設定は#で
コメントアウトを
• 設定後はreboot
するのが素直
• したくない時は
Oct. 7, 2015 ロボットシステム学 6
pi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
pi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo
iface lo inet loopback
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.1$ sudo service networking restart
7. 無線LAN(WiFi)の設定
• 手順
– USBのWiFiアンテナを差す
– lsusb(1)でドライバが動いているか確認
Oct. 7, 2015 ロボットシステム学 7
pi@raspberrypi ~ $ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0411:01a2 BUFFALO INC. (formerly MelCo., Inc.) WLI-UC-GNM
Wireless LAN Adapter [Ralink RT8070]