Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
"Connection timed out" error (Point 2 of my question). I don't know why this is happening. Connecting the Ethernet seems to be conflicting with the Wi-Fi connection.
@hcheung As per this link. I added these lines to the end of dhcpcd.conf file: interface eth0, static ip_address=192.168.137.170, static routers=192.168.0.1, static domain_name_servers=192.168.0.1