Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. IP camera - how to find without IP

IP camera - how to find without IP

Scheduled Pinned Locked Moved C#
csharpcomhelptutorial
8 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lukeer
    wrote on last edited by
    #1

    Hello experts, since I know that cross-posting is evil, here is just a link to the problem description: Scan for IP cameras I'm re-posting it here because in the end, it will get integrated into an application that is completely written in C#. Therefore, I'd prefer doing the camera scan in C# as well.

    Ciao, luker

    Mircea PuiuM 1 Reply Last reply
    0
    • L lukeer

      Hello experts, since I know that cross-posting is evil, here is just a link to the problem description: Scan for IP cameras I'm re-posting it here because in the end, it will get integrated into an application that is completely written in C#. Therefore, I'd prefer doing the camera scan in C# as well.

      Ciao, luker

      Mircea PuiuM Offline
      Mircea PuiuM Offline
      Mircea Puiu
      wrote on last edited by
      #2

      And your question is....

      SkyWalker

      L L 2 Replies Last reply
      0
      • Mircea PuiuM Mircea Puiu

        And your question is....

        SkyWalker

        L Offline
        L Offline
        lukeer
        wrote on last edited by
        #3

        In order to set a camera's IP to match my network, I have to connect to that very camera. And here it comes: How can I connect to a camera whose IP I don't know?

        Ciao, luker

        L OriginalGriffO 2 Replies Last reply
        0
        • Mircea PuiuM Mircea Puiu

          And your question is....

          SkyWalker

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          absent? missing? lost in action? missed? :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

          Please use < PRE > tags for code snippets, it preserves indentation, and improves readability.

          1 Reply Last reply
          0
          • L lukeer

            In order to set a camera's IP to match my network, I have to connect to that very camera. And here it comes: How can I connect to a camera whose IP I don't know?

            Ciao, luker

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            I expect devices such as yours to have a factory default IP address. So if the device is new, read the documentation. And if it has been used before, restore the factory default. FWIW: my ADSL modem/router has the factory default IP address printed on the bottom. :)

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

            Please use < PRE > tags for code snippets, it preserves indentation, and improves readability.

            L 1 Reply Last reply
            0
            • L lukeer

              In order to set a camera's IP to match my network, I have to connect to that very camera. And here it comes: How can I connect to a camera whose IP I don't know?

              Ciao, luker

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #6

              To add to Luc's answer, if you don't know the IP address, find it. Have a look at the router it is connected to - most will display a list of all connected devices. Make a list of them, and then disconnect the camera. Refresh the list, and bingo! There are only a few default IP addresses for routers: 192.168.1.1, 192.168.0.1, and 192.168.0.254 are the common ones. Do note that unless told otherwise, routers do not have to assign static IP addresses - they can apply them dynamically so it may change from day to day. Normally, the install software for the camera would search for the device and report the IP address if needed.

              Did you know: That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              L 1 Reply Last reply
              0
              • L Luc Pattyn

                I expect devices such as yours to have a factory default IP address. So if the device is new, read the documentation. And if it has been used before, restore the factory default. FWIW: my ADSL modem/router has the factory default IP address printed on the bottom. :)

                Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                Please use < PRE > tags for code snippets, it preserves indentation, and improves readability.

                L Offline
                L Offline
                lukeer
                wrote on last edited by
                #7

                In general, factory defaults are a good way to achieve a well-defined system state. But in this case, to reset the camera to its defaults, the user needs a connection to that camera. In order to establish a connection, he needs to set the camera's IP address to some value that will work within his network. I know it's possible to do so because Stemmer Imaging's GigE Vision Configuration Manager does the job very well. Just a guess: Maybe it's about throwing some broadcast call at the network and listening on a specific UDP port for answers? Anyone familiar with GigE Vision / Gen_Cam? Ciao, luker_

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  To add to Luc's answer, if you don't know the IP address, find it. Have a look at the router it is connected to - most will display a list of all connected devices. Make a list of them, and then disconnect the camera. Refresh the list, and bingo! There are only a few default IP addresses for routers: 192.168.1.1, 192.168.0.1, and 192.168.0.254 are the common ones. Do note that unless told otherwise, routers do not have to assign static IP addresses - they can apply them dynamically so it may change from day to day. Normally, the install software for the camera would search for the device and report the IP address if needed.

                  Did you know: That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.

                  L Offline
                  L Offline
                  lukeer
                  wrote on last edited by
                  #8

                  If I understand you correctly, what you are describing is some sort of manual approach. But I need to code something that always works, or at least throws an error message telling the user why it doesnt work. Ciao, luker

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups