Raspian - Debian
Basic vi commands:
i - insert text before cursor, until
I - insert text at beginning of current line, until
a - append text after cursor, until
:wq - quit vi, writing out modified file to file named in original invocation
http://www.lagmonster.org/docs/vi.html
----------------------------
$ sudo vi /etc/network/interfaces
----------------------------
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.16 (your Raspberry Pi static IP)
netmask 255.255.255.0
gateway 192.168.1.1
allow-hotplug wlan0
iface default inet dhcp
----------------------------
Restart network:
$ sudo /etc/init.d/networking restart
----------------------------
Reboot your Rasberry Pi:
$ sudo shutdown -r now
----------------------------
Nema komentara:
Objavi komentar