I tried to SSH into my Pi using PuTTY, but I got an error:
Network Error: Connection timed out
I have checked my router, noted that the device is indeed connected to the network, I was able to use the internet to search Google on the Raspbian OS (that required a dedicated monitor and keyboard and mouse which is troublesome). but what I want is to be able to SSH into the OS wirelessly.
I have managed to use port forwarding, and connected via SSH into the Pi through the router IP address, but once inside, I could not do anything that required wireless input, such as updating the RPi or cloning from GitHub etc, it just shows as errors.
sudo route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 303 0 0 wlan0
192.168.0.0 0.0.0.0 255.255.252.0 U 303 0 0 wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.101 netmask 255.255.252.0 broadcast 192.168.3.255
inet6 fe80::ba27:ebff:feb2:2c6c prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:b2:2c:6c txqueuelen 1000 (Ethernet)
RX packets 60 bytes 8148 (7.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 83 bytes 13665 (13.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ping google.com
ping: google.com: Temporary failure in name resolution