someone like you 2

新しい方

LAN 接続

RaspberryPi で ウェブ上の The Pi Store を見たところ
やっと RaspberryPi が インターネットにつながりました

・ /etc/network/interfaces ファイルを 書き換える *1

auto lo

iface lo inet loopback
iface eth0 inet static

address *.*.*.* *2
netmask *.*.*.*
gateway *.*.*.*

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp


・ nano テキストエディタを使用 *3

・ Ctrl + O → Enter → Ctrl + X

・ ネットワークサービスを 再起動
 sudo /etc/init.d/networking restart

*1: cf. RaspberryPi 実用入門 P.41 宅内のルーターが DHCP サーバーの機能をもっているときは この設定は 不要です

*2: * には RaspberryPi に割りあてるIP アドレスが入る

*3: cf. sudo nano /etc/network/interfaces