Static IP to raspbian
Edit:
1 2 3 |
sudo nano /etc/dhcpcd.conf |
Add at the bottom:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
interface eth0 static ip_address=192.168.0.10/24 static routers=192.168.0.1 static domain_name_servers=8.8.8.8 interface wlan0 static ip_address=192.168.0.200/24 static routers=192.168.0.1 static domain_name_servers=8.8.8.8 |
eth0 declares ethernet and
wlan0 declares the wireless adapter.
(Visited 8 times, 1 visits today)