I configured "/etc/network/interfaces" config file as such :
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
and configured dhcpcd.conf by adding these lines at the end of file:
# Custom static IP address for eth0.
interface eth0
static ip_address=192.168.1.115/24
static routers=192.168.1.1
# Custom static IP address for wlan0.
interface wlan0
static ip_address=192.168.1.114/24
static routers=192.168.1.1
With these configurations , I see my ethernet and wifi interfaces get specified ips successfully. Wireless connection is done also. But when i open web browser and try to reach a webpage, It just doesnt happen.
ping 192.168.1.1
andnslookup www.google.com
? Paste on your question post./etc/dhcpcd.conf
as per its documentation, example in How do I set up networking/WiFi/Static IP with instructions for determining parameter values. Most of the other comments seem speculative. I still don't see why so many Pi users want to set static IP addresses - I did this when I setup my 1st network in 1980, but now let the computer do the work.