Hi Everyone,
I am trying to set up a static IP address for my Raspberry Pi Zero. Following instructions online, I added the following to the end of /etc/dhcpcd.conf
interface usb0
static ip_address=192.168.42.42/24
static routers=192.168.42.1
static domain_name_servers=102.168.42.1
After rebooting the pi, I see the following from ifconfig:
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.42.42 netmask 255.255.255.0 broadcast 192.168.42.255
inet6 fe80::8f00:84d:1c7b:fe22 prefixlen 64 scopeid 0x20<link>
ether f6:8b:8a:8c:6e:b5 txqueuelen 1000 (Ethernet)
RX packets 490 bytes 76712 (74.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 583 bytes 57833 (56.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
However, when I try to ping this IP address, I just see Request timeout for icmp_seq...
Does anything stand out that I could be doing wrong?
Thanks in advance for the help!