On Tue, 2008-09-02 at 09:57 +0200, Lucian Muresan wrote:

> I found dhclient on gentoo, it's called "net-misc/dhcp-3.1.1" and 
> synce-hal really works with it. What I find a bit strange, that it did 
> not if I removed the dynamic configuration from the hal addon script and 
> let it use the fixed addresses.. 
> As a side note, dhcpcd-4* which is "out" by now, has evolved also into 
> support dhclient-alike syntax, and is much more lightweight (as the 
> author says in the History at http://roy.marples.name/dhcpcd so it might 
> be worth trying to make synce-hal work with both. Otherwise it would be 
> really enforcing a specific dependency... So if you don't mind the idea, 
> I'm ready to try and help in any way I can (also with my limited spare 
> time, as everyone) with trying and such, I'm also a c/c++ programmer, 
> only don't have python and dhcp knowledge... 
> Anyway, I'd also like to assist Iain with gentoo packaging, as he seems 
> to be very busy, but showed up on IRC yesterday...

There is a problem then i try use net-misc/dhcp-3.1.1 in Gentoo to obtain ip 
address :
# dhcpcd eth1
err, eth1: cannot request a link local address
err, eth1: cannot request a link local address
err, eth1: cannot request a link local address
...

The 169.254.0.0/16 set as local sublet in /etc/networks:
# /etc/networks
#
# This file describes a number of netname-to-adress
# mappings for the TCP/IP subsytem. It is mostly
# used at boot time, when no name servers are running.
#

loopback        127.0.0.0
link-local      169.254.0

So i think, the best way to use dhcp in synce-hal is add 
DEPEND="net-misc/dhcp" in ebuild.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to