Show BSSID of an access point?











up vote
12
down vote

favorite
6












I want to get the BSSID for a known SSID, how can I do that? Thanks :-)










share|improve this question






















  • Possible duplicate: askubuntu.com/questions/222549/get-mac-address-of-accesspoint
    – Andreas J.
    Oct 30 '14 at 4:02















up vote
12
down vote

favorite
6












I want to get the BSSID for a known SSID, how can I do that? Thanks :-)










share|improve this question






















  • Possible duplicate: askubuntu.com/questions/222549/get-mac-address-of-accesspoint
    – Andreas J.
    Oct 30 '14 at 4:02













up vote
12
down vote

favorite
6









up vote
12
down vote

favorite
6






6





I want to get the BSSID for a known SSID, how can I do that? Thanks :-)










share|improve this question













I want to get the BSSID for a known SSID, how can I do that? Thanks :-)







wireless






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 4 '11 at 17:12









stefan.at.wpf

2561310




2561310












  • Possible duplicate: askubuntu.com/questions/222549/get-mac-address-of-accesspoint
    – Andreas J.
    Oct 30 '14 at 4:02


















  • Possible duplicate: askubuntu.com/questions/222549/get-mac-address-of-accesspoint
    – Andreas J.
    Oct 30 '14 at 4:02
















Possible duplicate: askubuntu.com/questions/222549/get-mac-address-of-accesspoint
– Andreas J.
Oct 30 '14 at 4:02




Possible duplicate: askubuntu.com/questions/222549/get-mac-address-of-accesspoint
– Andreas J.
Oct 30 '14 at 4:02










5 Answers
5






active

oldest

votes

















up vote
12
down vote













If I'm not mistaken, it should be the Address shown when issuing



sudo iwlist scanning


E.g.:



wlan0     Scan completed :
Cell 01 - Address: 00:11:22:33:44:55
Channel:5
Frequency:2.432 GHz (Channel 5)
Quality=70/70 Signal level=-33 dBm
Encryption key:on
ESSID:"the_known_ssid"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
...





share|improve this answer

















  • 1




    small addition to htorque: sudo iwlist wlan0 scanning|grep Address will show only the adresses. My post will take more time so htorques' is better ;-)
    – Rinzwind
    May 4 '11 at 17:33


















up vote
4
down vote













You could also install wifi-radar which will give you a graphical list of all wireless networks your NIC is seeing. Use sudo apt-get install wifi-radar to install it.






share|improve this answer






























    up vote
    2
    down vote













    nm-tool | grep Wireless-Name where you gotta replace "Wireless-Name" for the wireless you are trying to connect to will give you all the info you need






    share|improve this answer




























      up vote
      1
      down vote













      aircrack-ng can do this.



      sudo airmon-ng start eth1 6 to use eth1 to monitor channel 6 (the channel is optional) and then you can use sudo airodump-ng eth1 to make it show you the BSSID.






      share|improve this answer




























        up vote
        0
        down vote













        If using network manager (the default in Ubuntu), you can use nmcli. It also has several options for the output format.



        In your case, where you know the SSID and want the BSSID :



        nmcli -f SSID,BSSID,ACTIVE dev wifi list | grep $wanted_ssid





        share|improve this answer





















          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f40068%2fshow-bssid-of-an-access-point%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          12
          down vote













          If I'm not mistaken, it should be the Address shown when issuing



          sudo iwlist scanning


          E.g.:



          wlan0     Scan completed :
          Cell 01 - Address: 00:11:22:33:44:55
          Channel:5
          Frequency:2.432 GHz (Channel 5)
          Quality=70/70 Signal level=-33 dBm
          Encryption key:on
          ESSID:"the_known_ssid"
          Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
          24 Mb/s; 36 Mb/s; 54 Mb/s
          Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
          Mode:Master
          ...





          share|improve this answer

















          • 1




            small addition to htorque: sudo iwlist wlan0 scanning|grep Address will show only the adresses. My post will take more time so htorques' is better ;-)
            – Rinzwind
            May 4 '11 at 17:33















          up vote
          12
          down vote













          If I'm not mistaken, it should be the Address shown when issuing



          sudo iwlist scanning


          E.g.:



          wlan0     Scan completed :
          Cell 01 - Address: 00:11:22:33:44:55
          Channel:5
          Frequency:2.432 GHz (Channel 5)
          Quality=70/70 Signal level=-33 dBm
          Encryption key:on
          ESSID:"the_known_ssid"
          Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
          24 Mb/s; 36 Mb/s; 54 Mb/s
          Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
          Mode:Master
          ...





          share|improve this answer

















          • 1




            small addition to htorque: sudo iwlist wlan0 scanning|grep Address will show only the adresses. My post will take more time so htorques' is better ;-)
            – Rinzwind
            May 4 '11 at 17:33













          up vote
          12
          down vote










          up vote
          12
          down vote









          If I'm not mistaken, it should be the Address shown when issuing



          sudo iwlist scanning


          E.g.:



          wlan0     Scan completed :
          Cell 01 - Address: 00:11:22:33:44:55
          Channel:5
          Frequency:2.432 GHz (Channel 5)
          Quality=70/70 Signal level=-33 dBm
          Encryption key:on
          ESSID:"the_known_ssid"
          Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
          24 Mb/s; 36 Mb/s; 54 Mb/s
          Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
          Mode:Master
          ...





          share|improve this answer












          If I'm not mistaken, it should be the Address shown when issuing



          sudo iwlist scanning


          E.g.:



          wlan0     Scan completed :
          Cell 01 - Address: 00:11:22:33:44:55
          Channel:5
          Frequency:2.432 GHz (Channel 5)
          Quality=70/70 Signal level=-33 dBm
          Encryption key:on
          ESSID:"the_known_ssid"
          Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
          24 Mb/s; 36 Mb/s; 54 Mb/s
          Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
          Mode:Master
          ...






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 4 '11 at 17:20









          htorque

          46.4k32171211




          46.4k32171211








          • 1




            small addition to htorque: sudo iwlist wlan0 scanning|grep Address will show only the adresses. My post will take more time so htorques' is better ;-)
            – Rinzwind
            May 4 '11 at 17:33














          • 1




            small addition to htorque: sudo iwlist wlan0 scanning|grep Address will show only the adresses. My post will take more time so htorques' is better ;-)
            – Rinzwind
            May 4 '11 at 17:33








          1




          1




          small addition to htorque: sudo iwlist wlan0 scanning|grep Address will show only the adresses. My post will take more time so htorques' is better ;-)
          – Rinzwind
          May 4 '11 at 17:33




          small addition to htorque: sudo iwlist wlan0 scanning|grep Address will show only the adresses. My post will take more time so htorques' is better ;-)
          – Rinzwind
          May 4 '11 at 17:33












          up vote
          4
          down vote













          You could also install wifi-radar which will give you a graphical list of all wireless networks your NIC is seeing. Use sudo apt-get install wifi-radar to install it.






          share|improve this answer



























            up vote
            4
            down vote













            You could also install wifi-radar which will give you a graphical list of all wireless networks your NIC is seeing. Use sudo apt-get install wifi-radar to install it.






            share|improve this answer

























              up vote
              4
              down vote










              up vote
              4
              down vote









              You could also install wifi-radar which will give you a graphical list of all wireless networks your NIC is seeing. Use sudo apt-get install wifi-radar to install it.






              share|improve this answer














              You could also install wifi-radar which will give you a graphical list of all wireless networks your NIC is seeing. Use sudo apt-get install wifi-radar to install it.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited May 4 '11 at 17:31









              htorque

              46.4k32171211




              46.4k32171211










              answered May 4 '11 at 17:30









              Michael James

              411




              411






















                  up vote
                  2
                  down vote













                  nm-tool | grep Wireless-Name where you gotta replace "Wireless-Name" for the wireless you are trying to connect to will give you all the info you need






                  share|improve this answer

























                    up vote
                    2
                    down vote













                    nm-tool | grep Wireless-Name where you gotta replace "Wireless-Name" for the wireless you are trying to connect to will give you all the info you need






                    share|improve this answer























                      up vote
                      2
                      down vote










                      up vote
                      2
                      down vote









                      nm-tool | grep Wireless-Name where you gotta replace "Wireless-Name" for the wireless you are trying to connect to will give you all the info you need






                      share|improve this answer












                      nm-tool | grep Wireless-Name where you gotta replace "Wireless-Name" for the wireless you are trying to connect to will give you all the info you need







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Mar 28 '12 at 18:18









                      Ulises

                      211




                      211






















                          up vote
                          1
                          down vote













                          aircrack-ng can do this.



                          sudo airmon-ng start eth1 6 to use eth1 to monitor channel 6 (the channel is optional) and then you can use sudo airodump-ng eth1 to make it show you the BSSID.






                          share|improve this answer

























                            up vote
                            1
                            down vote













                            aircrack-ng can do this.



                            sudo airmon-ng start eth1 6 to use eth1 to monitor channel 6 (the channel is optional) and then you can use sudo airodump-ng eth1 to make it show you the BSSID.






                            share|improve this answer























                              up vote
                              1
                              down vote










                              up vote
                              1
                              down vote









                              aircrack-ng can do this.



                              sudo airmon-ng start eth1 6 to use eth1 to monitor channel 6 (the channel is optional) and then you can use sudo airodump-ng eth1 to make it show you the BSSID.






                              share|improve this answer












                              aircrack-ng can do this.



                              sudo airmon-ng start eth1 6 to use eth1 to monitor channel 6 (the channel is optional) and then you can use sudo airodump-ng eth1 to make it show you the BSSID.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered May 4 '11 at 17:27









                              Rinzwind

                              201k26385517




                              201k26385517






















                                  up vote
                                  0
                                  down vote













                                  If using network manager (the default in Ubuntu), you can use nmcli. It also has several options for the output format.



                                  In your case, where you know the SSID and want the BSSID :



                                  nmcli -f SSID,BSSID,ACTIVE dev wifi list | grep $wanted_ssid





                                  share|improve this answer

























                                    up vote
                                    0
                                    down vote













                                    If using network manager (the default in Ubuntu), you can use nmcli. It also has several options for the output format.



                                    In your case, where you know the SSID and want the BSSID :



                                    nmcli -f SSID,BSSID,ACTIVE dev wifi list | grep $wanted_ssid





                                    share|improve this answer























                                      up vote
                                      0
                                      down vote










                                      up vote
                                      0
                                      down vote









                                      If using network manager (the default in Ubuntu), you can use nmcli. It also has several options for the output format.



                                      In your case, where you know the SSID and want the BSSID :



                                      nmcli -f SSID,BSSID,ACTIVE dev wifi list | grep $wanted_ssid





                                      share|improve this answer












                                      If using network manager (the default in Ubuntu), you can use nmcli. It also has several options for the output format.



                                      In your case, where you know the SSID and want the BSSID :



                                      nmcli -f SSID,BSSID,ACTIVE dev wifi list | grep $wanted_ssid






                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Nov 20 at 13:38









                                      mivk

                                      2,2732234




                                      2,2732234






























                                           

                                          draft saved


                                          draft discarded



















































                                           


                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f40068%2fshow-bssid-of-an-access-point%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          Category:香港粉麵

                                          List *all* the tuples!

                                          Channel [V]