I'm installing DietPi (Raspian) and have set it up for a static IP on WLAN0, using the dietpi-config interface.
STATIC IP: 192.168.1.5
NETMASK: 255.255.255.0
GATEWAY: 192.168.1.1
SSID: mySSID
PSK: myPRIVATEkey
The dietpi-config program shows that WLAN0 is connected, but I am not apparently even connected to my local network. I cannot even ping the above Gateway, 192.168.1.1.
/etc/network/interfaces
:
auto lo
face lo net loopback
face ethic net dhcp
allow-hotplug wlan0
face wlan0 net manual
address 192.168.1.95
net mask 255.255.255.0
gateway 192.168.1.1
wha-roam /etc/wpa_supplicant/wpa_supplicant.conf
/etc/wpa_supplicant/wpa_supplicant.conf
:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1
network={ ssid="actual_SSID" proto=RSN ... psk="the_real_one" }
Error is: Destination host is unreachable
I've looked at the outputs from the "ifconfig -a" and "netstat -nr" commands and I think they're right, but I'm not exactly sure what I should see.
How can I diagnose and fix this so the Pi will at least connect to the local LAN, and hopefully the Internet?