Skip to content

Easiest way to set static IP #52

Answered by BigBobbas
wappinghigh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, the best way is to set a dhcp reservation in your router. However you can set one on the device if you wish by adding the following under wifi: adding your own ip, gateway and subnet.

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  manual_ip:
    static_ip: 192.168.0.123
    gateway: 192.168.0.1
    subnet: 255.255.255.0

Cheers

Rob

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wappinghigh
Comment options

Answer selected by wappinghigh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants