Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to set static IP address in Raspbian

📅 2015-Jan-23 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ dns, raspbian, static ⬩ 📚 Archive

I assume that Raspbian has been assigned an IP address automatically by your home wireless router using DHCP. To set a static IP address for it:

interface eth0
static ip_address=192.168.0.99/24
static routers=192.168.0.1

Tried with: Raspbian 9