nmap seems to work at home but not in my office

Forum Forums General Software nmap seems to work at home but not in my office

Tagged: 

  • This topic has 2 replies, 2 voices, and was last updated Sep 11-6:11 am by kaye.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26849
    Member
    kaye

      Hello Friends!

      At home, I use nmap all the time to find out the ip address of my Epson Wifi printer (it changes ip address almost every time it is turned on).

      I execute “sudo nmap -sn 192.168.1.0/24” and I always get an output similar to this:

      Nmap scan report for 192.168.1.1
      Host is up (0.0020s latency).
      MAC Address: FC:8H:91:39:CF:1F (Shenzhen Gongjin Electronics) 
      etc.
      etc.
      etc.

      The ip address of the Epson Wifi printer would be among the list in that output.

      In our office however, I would only get this:

      Starting Nmap 7.60 ( https://nmap.org ) at 2019-09-07 21:47 PST
      Nmap done: 256 IP addresses (0 hosts up) scanned in 206.46 seconds

      That’s it. No other lines of output.

      The internet connection at home is fiber, office is DSL. If that matters.

      I also don’t know if it’s due to the cheap USB wifi adapter that I use in the office (cost about USD8.00).

      Thank you for your time!

      #26871
      Moderator
      caprea
        Helpful
        Up
        0
        ::

        arp-scan is another way to search for the ip-adress via terminal, might worth a try.

        sudo apt install arp-scan

        sudo arp-scan –localnet

        #26987
        Member
        kaye
          Helpful
          Up
          0
          ::

          Thank you caprea, arp-scan works great.
          I’ve also discovered what I did wrong. Turns out the address of the router is 192.168.XXX.XXX instead of the usual 192.168.X.X , so I just changed the nmap command accordingly, like so:
          sudo nmap -sn 192.168.XXX.0/24
          Thanks!!!

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.