Difference between revisions of "Talk:XXX: Load Hivetool on the Pi"
(Created page with " From https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=124423 And at the bottom of /etc/dhcpcd.conf define your static IP setup. Of course the actual values have to...") |
m (Paul moved page Talk:Load Hivetool on the Pi to Talk:XXX: Load Hivetool on the Pi without leaving a redirect) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | '''CHANGE:''' 6. Set the Ethernet parameters and DNS servers | ||
+ | |||
+ | '''FROM:''' | ||
+ | |||
+ | <strike> | ||
+ | To set a static IP if needed for port forwarding through the firewall. | ||
+ | #set static ip for port forwarding | ||
+ | #:sudo vi /etc/network/interfaces: | ||
+ | #:iface eth0 inet dhcp | ||
+ | #:iface eth0 inet static | ||
+ | #: address 192.168.254.31 | ||
+ | #: netmask 255.255.255.0 | ||
+ | #: gateway 192.168.254.254 | ||
+ | #Set the dns Servers | ||
+ | #:/etc/network/interfaces | ||
+ | #:/etc/dhcp/dhclient.conf | ||
+ | </strike> | ||
+ | |||
+ | '''TO:''' | ||
+ | #At the bottom of /etc/dhcpcd.conf define your static IP setup. Of course the actual values have to match your network setup | ||
+ | interface eth0 | ||
+ | static ip_address=192.168.254.31/24 | ||
+ | static routers=192.168.254.254 | ||
+ | static domain_name_servers=192.168.254.254 8.8.8.8 | ||
− | |||
From https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=124423 | From https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=124423 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 03:38, 9 March 2016
CHANGE: 6. Set the Ethernet parameters and DNS servers
FROM:
To set a static IP if needed for port forwarding through the firewall.
- set static ip for port forwarding
- sudo vi /etc/network/interfaces:
- iface eth0 inet dhcp
- iface eth0 inet static
- address 192.168.254.31
- netmask 255.255.255.0
- gateway 192.168.254.254
- Set the dns Servers
- /etc/network/interfaces
- /etc/dhcp/dhclient.conf
TO:
- At the bottom of /etc/dhcpcd.conf define your static IP setup. Of course the actual values have to match your network setup
interface eth0 static ip_address=192.168.254.31/24 static routers=192.168.254.254 static domain_name_servers=192.168.254.254 8.8.8.8
From https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=124423