1. Run Command
- nano /etc/network/interfaces
2. Example Fix IP
- auto eth0
- allow-hotplug eth0
- #iface eth0 inet manual
- iface eth0 inet static
- #your static IP
- address 192.168.0.3
- #your gateway IP
- gateway 192.168.0.2
- netmask 255.255.255.0
- #your network address "family"
- network 192.168.0.2
- broadcast 192.168.0.255
3. Restart Service
- /etc/init.d/networking restart
http://elinux.org/RPi_Setting_up_a_static_IP_in_Debian
No comments:
Post a Comment