Author: titmuss
Date: Mon Jan 21 05:22:24 2008
New Revision: 1536
URL: http://svn.slimdevices.com?rev=1536&root=Jive&view=rev
Log:
Bug: 6393
Description:
Partial fix. Allows jive to reconnect to the wireless network when jive is
using a self assigned ip address during
squeezebox setup. This fixes the problem seen by Steven, but not the problem
seen by Chris.
The remaining problem appears to be at the network layer, the udap and slim
discovery udp packets are not being routed
correctly.
Modified:
trunk/jive/src/pkg/jive/share/applets/SetupSqueezebox/SetupSqueezeboxApplet.lua
Modified:
trunk/jive/src/pkg/jive/share/applets/SetupSqueezebox/SetupSqueezeboxApplet.lua
URL:
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/applets/SetupSqueezebox/SetupSqueezeboxApplet.lua?rev=1536&root=Jive&r1=1535&r2=1536&view=diff
==============================================================================
---
trunk/jive/src/pkg/jive/share/applets/SetupSqueezebox/SetupSqueezeboxApplet.lua
(original)
+++
trunk/jive/src/pkg/jive/share/applets/SetupSqueezebox/SetupSqueezeboxApplet.lua
Mon Jan 21 05:22:24 2008
@@ -732,7 +732,7 @@
data.lan_gateway =
Udap.packNumber(_parseip(self.networkOption.gateway), 4)
data.primary_dns =
Udap.packNumber(_parseip(self.networkOption.dns), 4)
else
- data.lan_ip_mode = Udap.packNumber(1, 1) -- 1 dhcp
+ data.lan_ip_mode = Udap.packNumber(1, 1) -- 1 dhcp or auto ip
end
end
@@ -794,6 +794,11 @@
self.networkOption[option] = value
end
end
+ end
+
+ -- use audo-ip?
+ if self.networkMethod == 'dhcp' and string.match(status.ip_address,
"^169.254.") then
+ self.networkMethod = 'autoip'
end
log:info("network_id=", self.networkId)
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins