Hi, after I installed realtek netbook driver, still I can't see ip is setup. I have to mannually setup ip by ifconfig eth0 10.239.XX.XX. It's said dhcclient does not work. Could somebody help to have a look at the problem? Thanks a lot! criping
I've reproduced the bug on Dongxiao's box the error is that /sbin/dhclient-script reports that it can't find ifconfig and route, with the following manual fix it passed and obtained IP correctly. s|\<ifconfig\>|/sbin/ifconfig| s|\<route\>|/sbin/route| It seems that /sbin/ isn't in the script search path. It can be added in the script directly, but should it be in the env? btw, why the bug is marked closed? I checked the source repo but didn't find some commit addressing it.
I will verify the bug status after I pull down the latest change this week when I have some time. criping
Accidently marked as fixed, this need to be fixed and verified
root cauesd, the problem is a bug in dhcp4 when dhclient/dhc6 invokes /sbin/dhclient-script, it clears all environment variables but set only CLIENT_PATH, in dhcp-3.1.3, it reads in Makefile.conf: CLIENT_PATH = '"PATH=/usr/ucb:/usr/bin:/usr/sbin:/bin:/sbin"' but in dhcp-4.1.1-P1, it looks in client/Makefile.am: $(COMPILE) -DCLIENT_PATH='"$(sbindir)"' since we only copy dhclient into /sbin/ after installation, at build time, sbindir is still /usr/sbin, so search of ifconfig and route fails; further more, it should rather be -DCLIENT_PATH='"PATH=..."' to work properly
fixed in 5fba534b15baa3778bbce2952ac7664bcda4e73c
verified on M2 image: http://yoctobuild01.jf.intel.com/milestone/20100731-1/netbook/x86_32/ Thanks& Regards, criping