Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/03/08 10:45
Read: times


 
#151801 - A suggestion
Responding to: ???'s previous message

For my home internet setup I have a adsl router. The adsl side of the router has a public ip address and the local side has it's own ip address. The router takes care of the address translation to and fro. In the instance where you have a number of devices, the problem comes to access them publically - this is because the router can map a port number to a local ip address, but if all our devices use the same port number ( but different ip addresses ) we can't map the port to a number of local addresses. So, we need some means of 'aggregating' the local devices and combining this into one port that can be mapped to the outside world. You might also want to have a web page that allows you to check the status and issue commands to the local devices. For this you need a computer that runs a program written by yourself that connects to, or is connected to by your local devices via a tcp or udp port. This program combines (or aggregates) the data to and fro to another single tcp or udp socket. This socket is mapped to the outside world by the router. Therefore outside devices will connect to the nominated port at your public ip address. Your public ip address is given to you by your ISP. Now, if you wanted a web page, you need a program that will connect to your magic combiner program, grap the data it wants, process it and form a web page that can be published by your webserver usually running on the same local computer that the magic combiner program is running on. For the local computer, you have a number of choices. For me, I'd use something like a Linksys NSLU2 box which runs Linux and write a magic combiner program. These boxes also have Samba and a webserver running on them out of the box, so that leaves you to write a webpage and the various scripts needed to publish your data. You could also look at a hacked WRT54GL wireless router, again, running Linux. Or just a dedicated PC running Windows and a magic combiner program written in VB or the language of your choice.

I can tell you it is a big learning curve - I'm in the middle of it at the moment. But you must understand the basic terms - you seem to fling around the terms willy nilly without really understanding what they refer to. You need to understand the difference between TCP and UDP sockets, the basics of routing and the basics of the web page. Take a logical approach and it all starts to make sense.

Once you've got the basics under you belt, then you need to look at security.

List of 60 messages in thread
TopicAuthorDate
Connecting ethernet kit to internet            01/01/70 00:00      
   Basics            01/01/70 00:00      
      making terminal as web server problem            01/01/70 00:00      
         Why can't you make every kit a website?            01/01/70 00:00      
   Online Reader ---plz help its urgent!!!!            01/01/70 00:00      
      Why not to use "urgent" in the topic.            01/01/70 00:00      
         Especially when there is no urgency!            01/01/70 00:00      
      Some more basics            01/01/70 00:00      
         how to access a embedded terminal via website?            01/01/70 00:00      
            Impossible to answer            01/01/70 00:00      
               I was just guessing            01/01/70 00:00      
                  He said...            01/01/70 00:00      
   Websites and HTTP            01/01/70 00:00      
      cost problem and web server            01/01/70 00:00      
         Slightly missing the point - Clients and Servers            01/01/70 00:00      
            Public & Private IP Addresses            01/01/70 00:00      
         Polling            01/01/70 00:00      
            Re:Polling            01/01/70 00:00      
               How to..            01/01/70 00:00      
                  Re: How to..            01/01/70 00:00      
                  A DS80C400 FAQ            01/01/70 00:00      
                     Client, not Server [edited]            01/01/70 00:00      
               Polling            01/01/70 00:00      
         A suggestion            01/01/70 00:00      
            So don't access them publically!            01/01/70 00:00      
            Security!            01/01/70 00:00      
   not able to get responce!!            01/01/70 00:00      
      Probably            01/01/70 00:00      
         link            01/01/70 00:00      
            Way beyond that?            01/01/70 00:00      
      Fiddler on the HTTP            01/01/70 00:00      
      Have you studied that Tutorial yet?            01/01/70 00:00      
      Diagnostics at the Server?            01/01/70 00:00      
   new problem??            01/01/70 00:00      
      Upload & Download            01/01/70 00:00      
         GET and POST            01/01/70 00:00      
            RE: GET and POST            01/01/70 00:00      
               GET vs POST            01/01/70 00:00      
                  Request-Response            01/01/70 00:00      
                     They could            01/01/70 00:00      
                        System            01/01/70 00:00      
                           I guess            01/01/70 00:00      
                              Server restrictions            01/01/70 00:00      
         Re: upload or download            01/01/70 00:00      
            Time to review the basics - again!            01/01/70 00:00      
               More detail            01/01/70 00:00      
            No can do            01/01/70 00:00      
               Illustration            01/01/70 00:00      
   what i was doing..            01/01/70 00:00      
      You're going in circles            01/01/70 00:00      
      IPv6            01/01/70 00:00      
         Not relevant            01/01/70 00:00      
      Urgent?            01/01/70 00:00      
         sorry for writing urgent!!            01/01/70 00:00      
            Real Time??            01/01/70 00:00      
               re:why real time?            01/01/70 00:00      
                  But does that really require real time?!            01/01/70 00:00      
            No            01/01/70 00:00      
   Internet is not real-time!            01/01/70 00:00      
      internet is no real            01/01/70 00:00      

Back to Subject List