Results 1 to 9 of 9

Thread: List SSIDs in terminal?

  1. #1
    Join Date
    Jul 2006
    Beans
    4,737

    List SSIDs in terminal?

    I know you can do sudo iwlist wlan0 scan and see everything, but it gives me a LOT of information for each AP in the area. Is there a way to simply list the SSIDs with significantly more basic info? When I googled around everybody seemed to suggest sudo iwlist wlan0 scan and they were happy with that. Like I said, just hoping for something a bit more basic. Thanks!
    HOW TO - Set up video surveillance with "Motion"

    Buying a Lenovo? Do your research first!
    Some Lenovos have a whitelisted BIOS which prevents you from changing the wifi card.

  2. #2
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,807

    Re: List SSIDs in terminal?

    Quote Originally Posted by Roasted View Post
    I know you can do sudo iwlist wlan0 scan and see everything, but it gives me a LOT of information for each AP in the area. Is there a way to simply list the SSIDs with significantly more basic info? When I googled around everybody seemed to suggest sudo iwlist wlan0 scan and they were happy with that. Like I said, just hoping for something a bit more basic. Thanks!
    Code:
    sudo iwlist wlan0 scan | grep ESSID
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  3. #3
    Join Date
    Jul 2006
    Beans
    4,737

    Re: List SSIDs in terminal?

    Quote Originally Posted by haqking View Post
    Code:
    sudo iwlist wlan0 scan | grep ESSID
    Nice! That's exactly what I wanted. Do you know if there's a way to kind of branch out a bit more to see a bit more info? I know that kind of goes against what I was initially asking but if there's a way to see more details (but not 70 lines of details) that'd be great... like the signal strength, encryption type, etc. If not, this is huge, as I can at least see the SSIDs without a ton of extra stuff.

    Appreciate it!
    HOW TO - Set up video surveillance with "Motion"

    Buying a Lenovo? Do your research first!
    Some Lenovos have a whitelisted BIOS which prevents you from changing the wifi card.

  4. #4
    Join Date
    Apr 2012
    Beans
    6,416

    Re: List SSIDs in terminal?

    if you have a recent version of network-manager, there's

    Code:
     nmcli dev wifi list

  5. #5
    Join Date
    Jul 2006
    Beans
    4,737

    Re: List SSIDs in terminal?

    Quote Originally Posted by steeldriver View Post
    if you have a recent version of network-manager, there's

    Code:
     nmcli dev wifi list
    Nailed it. That's perfect. Thanks fellas!
    HOW TO - Set up video surveillance with "Motion"

    Buying a Lenovo? Do your research first!
    Some Lenovos have a whitelisted BIOS which prevents you from changing the wifi card.

  6. #6
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,807

    Re: List SSIDs in terminal?

    Quote Originally Posted by Roasted View Post
    Nailed it. That's perfect. Thanks fellas!
    Welcome.

    remember to mark the thread as solved using thread tools.

    Cheers
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  7. #7
    Join Date
    Jul 2006
    Beans
    4,737

    Re: List SSIDs in terminal?

    One last question, does that:

    nmcli dev wifi list

    only work on 2.4ghz networks? I have 3 SSIDs at my house (router 2.4, router 5.0, and a 2.4 AP I added on the deck). I'm only seeing the router 2.4 and the 2.4 AP... not the 5.0 of my router...
    HOW TO - Set up video surveillance with "Motion"

    Buying a Lenovo? Do your research first!
    Some Lenovos have a whitelisted BIOS which prevents you from changing the wifi card.

  8. #8
    Join Date
    Apr 2012
    Beans
    6,416

    Re: List SSIDs in terminal?

    Hmm.. it finds both of mine:-

    Code:
    $ nmcli dev wifi list | grep NETGEAR
    'NETGEAR68-5G'                    20:4E:XX:XX:XX:XX   Infrastructure   5220 MHz   54 MB/s    87       WPA2       no
    'NETGEAR68'                       20:4E:XX:XX:XX:XX   Infrastructure   2427 MHz   54 MB/s    98       WPA2       yes
    Are you sure you're broadcasting the 5G SSID?

  9. #9
    Join Date
    Jul 2006
    Beans
    4,737

    Re: List SSIDs in terminal?

    Hm, it seems fine now. I was on my deck at the time. Perhaps I wasn't able to reach the 5.0 band out there? The regular GUI network manager had it listed though. I just turned my laptop back on (I'm inside now) and I see it. I also went back outside where I was and I saw it then too. No idea... but hey... all good now!
    HOW TO - Set up video surveillance with "Motion"

    Buying a Lenovo? Do your research first!
    Some Lenovos have a whitelisted BIOS which prevents you from changing the wifi card.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •