Difference between revisions of "Raspbian: Setup Network"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 6: | Line 6: | ||
iface eth0 inet static | iface eth0 inet static | ||
− | address 192.168. | + | address 192.168.1.10 |
− | broadcast 192.168. | + | broadcast 192.168.1.255 |
netmask 255.255.255.0 | netmask 255.255.255.0 | ||
− | gateway 192.168. | + | gateway 192.168.1.1 |
atau | atau | ||
iface eth0 inet dhcp | iface eth0 inet dhcp |
Revision as of 15:23, 10 October 2018
Edit
vi /etc/network/interfaces
Isi dengan, misalnya,
iface eth0 inet static address 192.168.1.10 broadcast 192.168.1.255 netmask 255.255.255.0 gateway 192.168.1.1
atau
iface eth0 inet dhcp