Difference between revisions of "Raspbian: Setup Network"

From OnnoWiki
Jump to navigation Jump to search
Line 9: Line 9:
 
  broadcast 192.168.0.255
 
  broadcast 192.168.0.255
 
  netmask 255.255.255.0
 
  netmask 255.255.255.0
  gateway 192.168.0.222
+
  gateway 192.168.0.223
  
 
atau
 
atau
  
 
  iface eth0 inet dhcp
 
  iface eth0 inet dhcp

Revision as of 14:50, 16 January 2015

Edit

vi /etc/network/interfaces

Isi dengan, misalnya,

iface eth0 inet static
address 192.168.0.3
broadcast 192.168.0.255
netmask 255.255.255.0
gateway 192.168.0.223

atau

iface eth0 inet dhcp