how to setup dhcp in lfs?
Hi,
i have done lfs installation, but when i boot, ip: command not found and logged in as root, no 'ifconfig' available, what do i do? -- PS: never mind. found the answer in blfs, i think. |
Hello,
simply check that your PATH variable contains /sbin else that iproute2 (and the package which contains ifconfig) were not correctly installed Oliv' |
Hi,
This gonna be long story, fun. ;) Well i had touched blfs over lfs, this is mistake, then i can't login into my lfs. Fortunately, i have a backup lfs image(lfsimage.gz.000, 788.7MB) through 'partimage' tool. so i rolled back. (it takes 50 minutes,so) now i have pure lfs partition again, i looked into my lfs, and iproute2. and i found it didn't compiled successfully, iproute2-2.6.10-050209.tar.gz iproute2-2.6.9/ -----------------------------------------------------> A iproute2-2.6.9_041019-remove_db-1.patch iproute2-2.6.9-041019.tar.gz iproute2-2.6.9-050209/ -----------------------------------------> B problem is "__constant_htons and ip/iptunnel.c" of B and "glibc free()" of A A and B both can't be compiled itself, and i found a solution. cd iproute2-2.6.9-050209/ mv ip/iptunnel.c ip/iptunnel.backup cp ../iproute2-2.6.9/ip/iptunnel.c ip/ patch -p1 < ../iproute2-2.6.9_041019-remove_db-1.patch ./configure make SBINDIR=/sbin make SBINDIR=/sbin install # now i kicked the problem away. -- PS: Thanks to Oliv', BTW, in iproute2, it is 'ifcfg' not 'ifconfig', right? |
Quote:
Quote:
|
All times are GMT -5. The time now is 07:26 AM. |