What is the equivalent to:iwlist wlan0 scanto see who (what computers and smartphones) are around me? Maybe putting the card into monitor mode before doing it.
Equivalent of iwlist to see who is around?
wifi
You can also install the tool fing and do a network discovery using this tool. It available as a RPM/DEB, that you can just install standalone. The makers of this tool also make FingBox, which is a mobile application for doing the same thing.Example$ sudo fing20:59:54 > Discovery profile: Default discovery profile20:59:54 > Discovery class:   data-link (data-link layer)20:59:54 > Discovery on:      192.168.1.0/2420:59:55 > Discovery round starting.20:59:55 > Host is up:   192.168.1.20           HW Address:   00:26:C7:85:A7:20 (Intel)           Hostname:     greeneggs.bubba.net......-------------------------------------------------------------------------------| State | Host                              | MAC Address       | Last change ||-----------------------------------------------------------------------------||  UP   | 192.168.1.1                       | 00:18:51:4X:XX:XX |             ||  UP   | 192.168.1.2                       | 00:25:22:1X:XX:XX |             ||  UP   | 192.168.1.3                       | 00:19:D1:EX:XX:XX |             ||  UP   | 192.168.1.4                       | 00:A0:CC:3X:XX:XX |             |...Don't let this tools simplicity fool you though. You can output the contents into csv files as well as html files:$ sudo fing -n 192.168.1.0/24 -o table,html,blah.htmlThen view it:$ elinks blah.html  To write out the results in CSV format:$ sudo fing -o log,text log,csv,my-network-log.csvTo discover a specific block of IPs you can explicityly tell fing what IP block to scan:$ sudo fing -n 192.168.1.0/24Scanning wireless AP'sTo see what IP's are on a given access point's (AP) network you have to actually be a participant on that network. You can however sit and passively listen to machines that are actively seeking out an access point. One tool that can assist with this endeavor is Kismet.excerpt from FAQWhat is KismetKismet is an 802.11 wireless network detector, sniffer, and intrusion detection system.  Kismet will work with any wireless card which supports raw monitoring mode, and can sniff 802.11b, 802.11a, 802.11g, and 802.11n traffic (devices and drivers permitting).Kismet also sports a plugin architecture allowing for additional non-802.11 protocols to be decoded.Kismet identifies networks by passively collecting packets and detecting networks, which allows it to detect (and given time, expose the names of) hidden networks and the presence of non-beaconing networks via data traffic.NetworkManager & scanning APsAs would make sense you can also scan for access points using NetworkManager. Actually it's doing this automatically when you use it to manage your network devices (specifically your WiFi device).You can query NetworkManager via the command line (nmcli) and find out what access points are available.$ nmcli -p dev wifi listExample$ nmcli -p dev wifi list==========================================================================================================================                                                      WiFi scan list==========================================================================================================================SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE--------------------------------------------------------------------------------------------------------------------------'dlink'                           XX:24:XX:DA:XX:44   Infrastructure   2462 MHz   54 MB/s    31       WEP        no'ASUS'                            XX:AE:XX:E9:XX:33   Infrastructure   2462 MHz   54 MB/s    32       --         no'none_of_your_business_3'         XX:46:XX:47:XX:22   Infrastructure   2437 MHz   54 MB/s    81       WPA WPA2   yes'none_of_your_business_1'         XX:22:XX:03:XX:11   Infrastructure   2437 MHz   54 MB/s    75       WPA WPA2   no'VR_Guest1'                       XX:46:XX:47:XX:00   Infrastructure   2437 MHz   54 MB/s    80       WPA WPA2   noReferencesfing users manualKismet Website