December 14, 2023, 19:12
interface [INTERFACE] static_routers=[ROUTER IP] static domain_name_servers=[DNS IP] static ip_address=[STATIC IP ADDRESS YOU WANT]/24
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether dc:a6:32:e7:a0:c9 brd ff:ff:ff:ff:ff:ff:ff:ff:ff inet 192.168.188.20/24 brd 192.168.188.255 scope global dynamic noprefixroute eth0 valid_lft 686574sec preferred_lft 578574sec inet6 2a04:4540:7211:f00:265d:4055:33af:260a/64 scope global dynamic mngtmpaddr noprefixroute valid_lft 6802sec preferred_lft 3202sec inet6 fe80::4410:72fb:63e1:d87a/64 scope link valid_lft forever preferred_lft foreverand eth0 is the interface. on the pc it is 2: enp12s0: therefore again ip a ^^
interface eth0 static_routers=192.168.1.254 static domain_name_servers=[DNS IP] static ip_address=192.168.1.10/24also is this right so far?
kameron@pi-4:~ $ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether d8:3a:dd:3c:4d:2f brd ff:ff:ff:ff:ff:ff inet 192.168.1.131/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0 valid_lft 55490sec preferred_lft 55490sec inet6 fe80::b43a:6454:5cf5:171f/64 scope link noprefixroute valid_lft forever preferred_lft forever 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1280 qdisc pfifo_fast state UP group default qlen 1000 link/ether d8:3a:dd:3c:4d:30 brd ff:ff:ff:ff:ff:ff inet 192.168.1.119/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0 valid_lft 55662sec preferred_lft 55662sec inet6 fe80::28e8:d009:bdae:5576/64 scope link noprefixroute valid_lft forever preferred_lft foreversorry i didnt dm you right away, i was talking to a few people
sudo service dhcpcd status
Unit dhcpcd.service could not be found.
docker restart <pihole Container>
interface eth0 static_routers=192.168.1.254 static domain_name_servers=192.168.1.254 inform ip_address=192.168.1.10/24because i think thats what worked last time. but when i press ctrl + x or ctrl + o it says "[ Error writing /etc/dhcpcd.conf: Permission denied ]" how do i fix that?