-
Notifications
You must be signed in to change notification settings - Fork 2
Troubleshooting
Your ~/etc/wpa_supplicant/wpa_supplicant.conf
should look something like this:
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="your network name"
psk="your password"
}
However, there are times when the Pi has an IP but can't connect from host
If you can't ping the RPi from the host, then simply try the opposite: ping the host FROM the RPi!
There are various commands, over and above the humble ping
to probe the network:
- Linux hostname command
hostname -I
-I, --all-ip-addresses
sudo nano /etc/hostname
Display all network addresses of the host. This option enumerates all configured addresses on all network interfaces. The loopback interface and IPv6 link-local addresses are omitted. Contrary to option -i, this option does not depend on name resolution. Do not make any assumptions about the order of the output.
-
Linux ifconfig command
-
Other notes
https://wiki.archlinux.org/index.php/WPA_supplicant
https://wiki.netbsd.org/tutorials/how_to_use_wpa_supplicant/
https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
https://stackoverflow.com/questions/2499794/how-to-fix-a-locale-setting-warning-from-perl