Re: VNC server stops responding after a few days

2011-11-21 Thread Paul Dunn

On 16/11/2011 22:56, Christopher Woods (CustomMade) wrote:


Surely if a machine has a fixed static IP, it doesn't even enter into
discussion with the network's DHCP server to request a lease? Just the usual
broadcast traffic...


I'm not a networking or Windows expert, but this presumably depends on 
whether the client (XP?) actually has the VNC server's IP address in its 
hosts file (something like C:\WINDOWS\system32\drivers\etc\hosts). If it 
doesn't, then it will send a request to get the address from the DHCP 
server. If the client ends up using the IP address supplied by the 
server, then it will eventually expire. I've had exactly this problem on 
another X server (not VNC).


James: what's in your hosts file? And how does the client actually 
connect to the server? What's the VNC command line?


___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


RE: VNC server stops responding after a few days

2011-11-21 Thread Long, Phillip GOSS
Chris:

Again, I'm not a network guy, so YMMV.  My experience has been that 
the computer with the static IP address in the DHCP range of the 
router will run with no immediate problems, but the DHCP server 
will eventually revoke the lease (because nobody asks for it to be 
renewed), then assign it to another computer.  Duplicate IP 
addresses are never fun to debug!

Thx, Phil Long




-Original Message-
From: vnc-list-boun...@realvnc.com [mailto:vnc-list-bounces@realvnc.
com] On Behalf Of Christopher Woods (CustomMade)
Sent: Wednesday, November 16, 2011 5:56 PM
To: Long, Phillip GOSS; vnc-list@realvnc.com
Subject: RE: VNC server stops responding after a few days

 
 Is your static IP address in the range of the router's DHCP 
 addresses?  That won't work, because the computer, knowing 
 that it has a static IP, won't request a lease renewal, and 
 after some maximum amount of time, the DHCP server will try 
 to force one.  
 What will happen in this case depends greatly on the software 
 and OS the computer is running, and on the behavior of the 
 router.  I'm not a network guy, but I do know that unless 
 your router is more sophisticated than the average 
 small-office router, static IP addresses *MUST* be outside 
 any range of DHCP addresses of your router.

FWIW, I've experienced pretty much set-and-forget behaviour from soho /
half-decent routers where you can assign a static IP and they'll respect
the
assignation (or in the cleverer routers, you can fix a static lease). My
previous home Speedtouch TG585v7 could happily do this, as can the
D-Link at
work. (Tomato which I use at home on a WRT54GL these days just ...
Works.)

Surely if a machine has a fixed static IP, it doesn't even enter into
discussion with the network's DHCP server to request a lease? Just the
usual
broadcast traffic...
 


Goss ... Innovation for Business

NOTICE: This e-mail and any attachment(s) may contain confidential and 
proprietary information of Goss International Corporation and/or its 
subsidiaries and may be legally privileged. This e-mail is intended solely for 
the addressee. If you are not the addressee, dissemination, copying or other 
use of this e-mail or any of its content is strictly prohibited and may be 
unlawful. If you are not the intended recipient please inform the sender 
immediately and destroy the e-mail and any copies. All liability for viruses is 
excluded to the fullest extent permitted by law. Any views expressed in this 
message are those of the individual sender. No contract may be construed by 
this e-mail.


___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Re: VNC server stops responding after a few days

2011-11-21 Thread James Wheaton

The uncommented line in the hosts file is simply:
127.0.0.1   localhost

The default gateway is setup in the Windows IP properties (along with 
the other static settings) to be 192.168.0.254, which is our 
modem/router/DHCP server. The modem has an external static IP that we 
would be connecting to with VNC. I can connect to it on that address and 
the internal 192.168.0.99 ... The command line on the VNC Viewer 
shortcut is just the default vncviewer.exe with no options.


I just woke up one of the VNC servers/desktops that stopped working over 
the weekend. I opened the web browser and it took a bit to load; was it 
asking for an IP renewal? Maybe it's just the power saving options that 
are at fault:


Turn off harddicks:   1hr
Standby: 1hr
Hibernate: never

James Wheaton
FloSource, Inc.
Phone: 765.342.1360
Fax: 765.342.1361

Visit us on the web: www.flosource.com http://www.flosource.com

On 11/18/2011 5:41 AM, Paul Dunn wrote:

On 16/11/2011 22:56, Christopher Woods (CustomMade) wrote:


Surely if a machine has a fixed static IP, it doesn't even enter into
discussion with the network's DHCP server to request a lease? Just 
the usual

broadcast traffic...


I'm not a networking or Windows expert, but this presumably depends on 
whether the client (XP?) actually has the VNC server's IP address in 
its hosts file (something like C:\WINDOWS\system32\drivers\etc\hosts). 
If it doesn't, then it will send a request to get the address from the 
DHCP server. If the client ends up using the IP address supplied by 
the server, then it will eventually expire. I've had exactly this 
problem on another X server (not VNC).


James: what's in your hosts file? And how does the client actually 
connect to the server? What's the VNC command line?


___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list



___
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list