More Networking Things

Our Raspbian specific networking stuff is here: http://raspberry-projects.com/pi/category/pi-operating-systems/raspbian/network-settings

IP Address


ip addr

Is A Specific Interface Connected


ip link show wlan0

WiFi

List discovered networks

sudo iwlist wlan0 scan
Is network connected

ifconfig wlan0

If the inet addr field has an address beside it, the RPi has connected to the network. 

Get connected network SSID

iwgetid wlan0 -r

Will return just the SSID, or blank if not connected.

USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.