I wanted to talk about one problem with Pi ,namely with internet connection. The problem is that raspberry wants to connect to internet only through Ethernet ignoring WiFi connection which is turned on and set in /etc/resolv.conf , /etc/interfaces , /etc/dhcpcd/, wpa-config and so on...
The trick is this Pi has been acting strange since the beginning: it wouldn't let to find it in IP scanners .So I had to connect it to laptop in a hard way by getting HDMI cable and display ,setting a static IP to Pi so that there will be no problem for working through laptop. But now I see the drawback of this method. Below is provided the code excerpt indicating the problem. 126.96.36.199 is the custom IP address that I chose.
P.S. SSH is active,Firewall does not affect the issue, power management is turned off through iwconfig.
Thank you for answers in advance.
[email protected]:~ $ ping -c 1 google.com
PING google.com (188.8.131.52) 56(84) bytes of data.
From 184.108.40.206 (220.127.116.11) icmp_seq=1 Destination Host Unreachable
--- google.com ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
[email protected]:~ $