mmraz/neatx

DHCP vs Static

GoogleCodeExporter opened this issue · 3 comments

What steps will reproduce the problem?
1. Assigning a static IP instead of DHCP in Ubuntu 10.04
2.
3.

What is the expected output? What do you see instead?
Authentication fails.

What version of the product are you using? On what operating system?
Ubuntu Desktop 10.04.  

Please provide any additional information below.
When assigning a static IP to in Ubuntu 10.04, I get the problems described  in 
issue #44 and, after applying the "solution" I suggested there, I end up with 
the problem in issue #47.  The fix I suggested in #44 may, in fact, be causing 
the problem in #47.

When letting DHCP assign the IP, the process works as expected without any 
modifications.  In other words, #44 and #47 do not apply when using a 
DHCP-assigned IP.

I have not, as of yet, found why there is a difference in functionality when 
using a static vs DHCP IP.

Original issue reported on code.google.com by nelsono...@gmail.com on 27 Jul 2010 at 6:19

I have just tried to re-create the problem to post details, but now I'm having 
trouble re-creating.  Could there be a problem if a session is disconnected but 
not terminated, the IP of the host changes, then an attempt is made to 
reconnect to the previous session?

Original comment by nelsono...@gmail.com on 27 Jul 2010 at 6:36

I just did a complete cycle of switching from static to dhcp and back again and 
could not get a failure (other than stale sessions that I had to remove).  It 
would be nice to re-create this problem.  I will keep trying.

Remote had static IP.  Connected successfully.
Disconnected but did not terminate session.
Changed remote to DHCP and rebooted remote.
Attempted reconnect.  Failed. (internal error)
Removed old session from /var/lib/neatx/sessions.
Connected successfully
Disconnected but did not terminate session.
Changed remote back to static and rebooted remote
Connection failed (internal error)
Removed old session from /var/lib/neatx/sessions.
Connected successfully

Original comment by nelsono...@gmail.com on 27 Jul 2010 at 6:49

[deleted comment]