Cobalt Qube 3 ...
Cobalt Qube 3 ...
Hej or Hallo,
I´m running a Cobalt Linux server wit the adress www.r129.info and local adress 192.168.0.1. On another computer (adress 192.168.0.3) am running Yawcam. I get the things working when I´m setting the browser local to "http://192.168.0.3:8081/local.html" or just "http://192.168.0.3:8081", but not if am pointing to "www.r129.info/8081". A´m using the advanced tab and have put in www.r129.info there.
What I´m doing wrong?
/Håkan
I´m running a Cobalt Linux server wit the adress www.r129.info and local adress 192.168.0.1. On another computer (adress 192.168.0.3) am running Yawcam. I get the things working when I´m setting the browser local to "http://192.168.0.3:8081/local.html" or just "http://192.168.0.3:8081", but not if am pointing to "www.r129.info/8081". A´m using the advanced tab and have put in www.r129.info there.
What I´m doing wrong?
/Håkan
I suppose that your linux server is connected to the Internet and that you share the internet connection via NAT (Network Address Translation). Is this correct?
In that case you have to open (sometimes called to map) the used ports from you server to the local machine where you run Yawcam. (The default ports for streaming is 8081 and 8021)
Exactly how this is done differs from system to system. Check the man page for the software you are using...
The other thing you have to do is to check the "Advanced" checkbox and fill in your public computer name i the "Force public ip" field. (just like you have done )
Hopefully you only have forgotten to open/map the ports...
/malun
In that case you have to open (sometimes called to map) the used ports from you server to the local machine where you run Yawcam. (The default ports for streaming is 8081 and 8021)
Exactly how this is done differs from system to system. Check the man page for the software you are using...
The other thing you have to do is to check the "Advanced" checkbox and fill in your public computer name i the "Force public ip" field. (just like you have done )
Hopefully you only have forgotten to open/map the ports...
/malun
Ehh.. My Linuxserver has 2 networkcards. The first card is connected to internet (ADSL). The second card is connected to a router (D-Links DI-804), and all my other computers is also connected to the router. All computers have fixed IP-adress.malun wrote:I suppose that your linux server is connected to the Internet and that you share the internet connection via NAT (Network Address Translation). Is this correct?
I redirect port 8081 in Linux servers firewall to my Yawcam machine. Should also 8021 be redirected?malun wrote:In that case you have to open (sometimes called to map) the used ports from you server to the local machine where you run Yawcam. (The default ports for streaming is 8081 and 8021)
Exactly how this is done differs from system to system. Check the man page for the software you are using...
Should I put in the IP from Internet (217.209.88.16) or the local adress (192.168.0.1) or the "www.r129.info" adress?malun wrote:The other thing you have to do is to check the "Advanced" checkbox and fill in your public computer name i the "Force public ip" field. (just like you have done ) Hopefully you only have forgotten to open/map the ports...
Yes it should. Both ports have to be redirected.Håkan wrote:I redirect port 8081 in Linux servers firewall to my Yawcam machine. Should also 8021 be redirected?
It will work with either your public ip (217.209.88.16) or your domain name (www.r129.info), but not with your local ip.Håkan wrote:Should I put in the IP from Internet (217.209.88.16) or the local adress (192.168.0.1) or the "www.r129.info" adress?
I'm not sure I understand the way you are using your router. Perhaps you have to redirect the ports in your router settings too. (check page 27 in your router's manual: http://213.216.192.242/techdocs/Manual_V.02.pdf)
By the way, Yawcam is using TCP. So that is what you have to redirect
/malun
I´m doing nothing with the router. I just have 1 cable from the Linux, so I have to use the router as a switch, because I have 3 other computers connected to the network. However. I changed the port redirection on the wrong place in the Linux For test I´m using telnet to my server, that I have redirected to my DI-804. That works fine. I´m now thesting the webcam, but i dont work yet. I test more during the evning....malun wrote:]I'm not sure I understand the way you are using your router. Perhaps you have to redirect the ports in your router settings too.
/malun
Thanx for your help...
Nopp! I changed the roter to a clean BIG switch (DFE-916x) just in case. The problem seems to be that ...
I redirect port 23 to my computer (computer 3) in the Linux setup.
I run the Telnet server in computer 3.
I telnet from computer 2 direct to computer 3 - Works fine!
I telnet to Linux and I have a connecteon but it is up, down, up, down... som maybe I can´t send anything back?!
I also tested to plug in my router to the switch, and did a redirect to that one. I telnet to my Linux and have a login on the router. Works fine.
Hmm, I´ts something I don´t understand here, but the problem is NOT with the Yawcam.
/Håkan
I redirect port 23 to my computer (computer 3) in the Linux setup.
I run the Telnet server in computer 3.
I telnet from computer 2 direct to computer 3 - Works fine!
I telnet to Linux and I have a connecteon but it is up, down, up, down... som maybe I can´t send anything back?!
I also tested to plug in my router to the switch, and did a redirect to that one. I telnet to my Linux and have a login on the router. Works fine.
Hmm, I´ts something I don´t understand here, but the problem is NOT with the Yawcam.
/Håkan
I have the following setup:
internet -> server -> switch -> local computers
I run FreeBSD on my server and shares the internet connection via NAT (ipnat) to my local computers. I redirect the the ports 8081 and 8021 to my local computer where I run Yawcam (192.168.0.2).
In my settings file for ipnat (/etc/ipnat.conf) I have the following lines:
(Where ep0 is my external network interface.)
Let's say my server has a domain i.e www.domain.com
In the settings for the stream function in Yawcam I have checked the "Advanced" checkbox and filled in www.domain.com in the "Force public ip" field.
Locally I can watch the video stream on http://192.168.0.2:8081/local.html
But It doesn't work when I'm trying from a local computer to access http://www.domain.com:8081/local.html or http://www.domain.com:8081/
On the other hand it works just fine for my frieds to watch on the url: http://www.domain.com:8081/
What did I want to say with all this? Well... Ask a fried to test if he/she is able to see you
/malun
internet -> server -> switch -> local computers
I run FreeBSD on my server and shares the internet connection via NAT (ipnat) to my local computers. I redirect the the ports 8081 and 8021 to my local computer where I run Yawcam (192.168.0.2).
In my settings file for ipnat (/etc/ipnat.conf) I have the following lines:
Code: Select all
rdr ep0 0/0 port 8021 -> 192.168.0.2 port 8021 tcp
rdr ep0 0/0 port 8081 -> 192.168.0.2 port 8081 tcp
Let's say my server has a domain i.e www.domain.com
In the settings for the stream function in Yawcam I have checked the "Advanced" checkbox and filled in www.domain.com in the "Force public ip" field.
Locally I can watch the video stream on http://192.168.0.2:8081/local.html
But It doesn't work when I'm trying from a local computer to access http://www.domain.com:8081/local.html or http://www.domain.com:8081/
On the other hand it works just fine for my frieds to watch on the url: http://www.domain.com:8081/
What did I want to say with all this? Well... Ask a fried to test if he/she is able to see you
/malun
Aha!malun wrote:What did I want to say with all this? Well... Ask a fried to test if he/she is able to see you /malun
Are you my friend? In that case is the adress is www.r129.info:8081
If I try the url: http://www.r129.info:8081/foobar.html i get a error 404 (from Yawcam).
When I try http://www.r129.info:8081/local.html I the applet shows up, but gives an error message. (This should happen because I'm not sitting at your local network ) So far so good.
But, when I try http://www.r129.info:8081/ or http://www.r129.info:8081/index.html all I get is a blank page!
I tried with telnet:
Note that the Content-Length is 0! Very strange...
Please check that you have the files template.html index.html and local.html in your stream directory where you installed Yawcam. (i.e. c:\program files\yawcam\stream ) Also check that the content of the files seems to be ok.
If they are not, try to reinstall Yawcam.
I really can't understand why I only get a blank page...
/malun
When I try http://www.r129.info:8081/local.html I the applet shows up, but gives an error message. (This should happen because I'm not sitting at your local network ) So far so good.
But, when I try http://www.r129.info:8081/ or http://www.r129.info:8081/index.html all I get is a blank page!
I tried with telnet:
Code: Select all
$ telnet
telnet> open www.r129.info 8081
Trying 217.209.88.16...
Connected to www.r129.info.
Escape character is '^]'.
GET /index.html
HTTP/1.1 200 OK
Server: yawcam/0.1
Content-Length:0
Mime-Type: text/html
Content-Type: text/html
Connection closed by foreign host.
Please check that you have the files template.html index.html and local.html in your stream directory where you installed Yawcam. (i.e. c:\program files\yawcam\stream ) Also check that the content of the files seems to be ok.
If they are not, try to reinstall Yawcam.
I really can't understand why I only get a blank page...
/malun
I may have alter something in the local file Okidooki, the original file is back now.malun wrote:Please check that you have the files template.html index.html and local.html in your stream directory where you installed Yawcam. (i.e. c:\program files\yawcam\stream ) Also check that the content of the files seems to be ok.
If they are not, try to reinstall Yawcam.
I really can't understand why I only get a blank page...
/malun
Still no change...
Make a copy of local.html and name it local2.html
Edit local2.html to look like this:
The only line I have changed is:
Do this, an I'll try again...
Btw, Feel free to modify template.html, but not until you get it to work with the original one
/malun
Make a copy of local.html and name it local2.html
Edit local2.html to look like this:
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Yawcam</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div align="center">
<p><strong><font size="5" face="Verdana, Arial, Helvetica, sans-serif"></font></strong> </p>
<p>
<APPLET CODE=YawApplet.class WIDTH="320" HEIGHT="240">
<param name="Host" value="217.209.88.16">
<param name="Port" value="8021">
</APPLET>
</p>
<p><a href="http://www.yawcam.com"> <font face="Verdana, Arial, Helvetica, sans-serif">www.yawcam.com</font></a></p>
</div>
</body>
</html>
The only line I have changed is:
Code: Select all
<param name="Host" value="217.209.88.16">
Do this, an I'll try again...
Btw, Feel free to modify template.html, but not until you get it to work with the original one
/malun
Your settings looks fine
Now I can see your cam:
But I can't figure out why it doesn't work with index.html
Actually the html code in index.html should look like the code in local2.html right now, does it?
I think you should decrease the image quality! You can't see so big difference between 100% and 50%, but the data sent over internet will be much less. So if you increase the image quality viewer will get more frames per second.
/malun
Now I can see your cam:
But I can't figure out why it doesn't work with index.html
Actually the html code in index.html should look like the code in local2.html right now, does it?
I think you should decrease the image quality! You can't see so big difference between 100% and 50%, but the data sent over internet will be much less. So if you increase the image quality viewer will get more frames per second.
/malun