Re: [lfs-support] DHCPCD not starting when booting up

2014-02-21 Thread William Harrington
On Feb 20, 2014, at 11:29 AM, Oshadha Gunawardena wrote: root:/etc# ps -e|grep log 1949 ?00:00:00 rsyslogd I hope you aren't using cross-lfs with lfs bootscripts. We install rsyslog with CLFS. Sincerely, William Harrington --

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-21 Thread Merell L. Matlock, Jr.
On 02/21/14 09:35, William Harrington wrote: On Feb 20, 2014, at 11:29 AM, Oshadha Gunawardena wrote: root:/etc# ps -e|grep log 1949 ?00:00:00 rsyslogd I hope you aren't using cross-lfs with lfs bootscripts. We install rsyslog with CLFS. Sincerely, William Harrington I spent

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-21 Thread Oshadha Gunawardena
On Fri, Feb 21, 2014 at 8:47 PM, Merell L. Matlock, Jr. mlmatl...@gmail.com wrote: On 02/21/14 09:35, William Harrington wrote: On Feb 20, 2014, at 11:29 AM, Oshadha Gunawardena wrote: root:/etc# ps -e|grep log 1949 ?00:00:00 rsyslogd I hope you aren't using cross-lfs with lfs

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Oshadha Gunawardena
@Bruce, I did exactly as you have mentioned and it seems that only the scripts are in */etc/rc.d/rcS.d/* will get executed root:/# ls -l /etc/rc.d/rcS.d/ total 0 lrwxrwxrwx 1 root root 21 Feb 17 10:36 S00mountvirtfs - ../init.d/mountvirtfs lrwxrwxrwx 1 root root 17 Feb 17 10:36 S05modules -

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Bruce Dubbs
Oshadha Gunawardena wrote: @Bruce, I did exactly as you have mentioned and it seems that only the scripts are in */etc/rc.d/rcS.d/* will get executed root:/# ls -l /etc/rc.d/rcS.d/ total 0 lrwxrwxrwx 1 root root 21 Feb 17 10:36 S00mountvirtfs - ../init.d/mountvirtfs lrwxrwxrwx 1 root root

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Oshadha Gunawardena
Yes id does included id:3:initdefault: root:/# cat /etc/inittab # Begin /etc/inittab id:3:initdefault: si::sysinit:/etc/rc.d/init.d/rc S l0:0:wait:/etc/rc.d/init.d/rc 0 l1:S1:wait:/etc/rc.d/init.d/rc 1 l2:2:wait:/etc/rc.d/init.d/rc 2 l3:3:wait:/etc/rc.d/init.d/rc 3 l4:4:wait:/etc/rc.d/init.d/rc 4

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Bruce Dubbs
Oshadha Gunawardena wrote: Yes id does included id:3:initdefault: root:/# cat /etc/inittab # Begin /etc/inittab id:3:initdefault: si::sysinit:/etc/rc.d/init.d/rc S l0:0:wait:/etc/rc.d/init.d/rc 0 l1:S1:wait:/etc/rc.d/init.d/rc 1 l2:2:wait:/etc/rc.d/init.d/rc 2

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Oshadha Gunawardena
Please stop top posting or you will get ignored. Also, trim the posts to what is needed. Are you saying that 'ps -e|grep log' does not give syslogd and klogd? Lets also review the files in /etc/sysconfig/ and the contents of /etc/sysconfig/ifconfig* and the links in /sys/class/net/

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Pierre Labastie
Le 20/02/2014 18:04, Oshadha Gunawardena a écrit : root:/# cat /etc/inittab # Begin /etc/inittab id:3:initdefault: si::sysinit:/etc/rc.d/init.d/rc S l0:0:wait:/etc/rc.d/init.d/rc 0 l1:S1:wait:/etc/rc.d/init.d/rc 1 l2:2:wait:/etc/rc.d/init.d/rc 2 l3:3:wait:/etc/rc.d/init.d/rc 3

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-20 Thread Bruce Dubbs
Oshadha Gunawardena wrote: root:/etc# ps -e|grep log 1949 ?00:00:00 rsyslogd That's not a part of LFS. What deviations from the book have you made? You should have both syslogd and klogd. root:~# ls -l /etc/sysconfig/ total 32 -rw-r--r-- 1 root root 186 Feb 17 10:56 clock

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-19 Thread Pierre Labastie
Le 19/02/2014 04:38, Oshadha Gunawardena a écrit : @Bruce It's strange I checked the address and it's correct. Furthermore all the other files are seems to be in place. But then why the dhcpcd isn't starting automatically? I'm thinking of writing a start-up script to solve this issue.

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-19 Thread Oshadha Gunawardena
@Pierre, I checked the /etc/rc.d/init.d/network script it seems OK. And the run levels are 3, 4, 5 (as per the script). Also I checked in /etc/rc.d/rc.3 /etc/rc.d/rc.4 /etc/rc.d/rc.5 And there are symlinks to the network script. It seems like the network script it self isn't get executed. Is

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-19 Thread Bruce Dubbs
Oshadha Gunawardena wrote: @Pierre, I checked the /etc/rc.d/init.d/network script it seems OK. And the run levels are 3, 4, 5 (as per the script). Also I checked in /etc/rc.d/rc.3 /etc/rc.d/rc.4 /etc/rc.d/rc.5 And there are symlinks to the network script. It seems like the network script

[lfs-support] DHCPCD not starting when booting up

2014-02-18 Thread Oshadha Gunawardena
Hi again all, I have completed my LFS build. And I wanted to install dhcpcd. So as in the BLFS I have followed every step and it seems everything went well *make install-service-dhcpcd* install -d -m 755 /lib/services install -m 754 blfs/services/dhcpcd /lib/services *cat

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-18 Thread Pierre Labastie
Le 18/02/2014 16:26, Oshadha Gunawardena a écrit : Hi again all, I have completed my LFS build. And I wanted to install dhcpcd. So as in the BLFS I have followed every step and it seems everything went well *make install-service-dhcpcd* install -d -m 755 /lib/services install -m 754

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-18 Thread Fernando de Oliveira
Em 18-02-2014 12:49, Pierre Labastie escreveu: Le 18/02/2014 16:26, Oshadha Gunawardena a écrit : Hi again all, I have completed my LFS build. And I wanted to install dhcpcd. So as in the BLFS I have followed every step and it seems everything went well *make install-service-dhcpcd*

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-18 Thread Oshadha Gunawardena
I double checked there's no other file starting with the name ifconfig. And yes it does starts with --- ifup eth0 --- On Tue, Feb 18, 2014 at 10:00 PM, Fernando de Oliveira fam...@yahoo.com.brwrote: Em 18-02-2014 12:49, Pierre Labastie escreveu: Le 18/02/2014 16:26, Oshadha Gunawardena a

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-18 Thread Bruce Dubbs
Fernando de Oliveira wrote: Em 18-02-2014 12:49, Pierre Labastie escreveu: Le 18/02/2014 16:26, Oshadha Gunawardena a écrit : Hi again all, I have completed my LFS build. And I wanted to install dhcpcd. So as in the BLFS I have followed every step and it seems everything went well *make

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-18 Thread Fernando de Oliveira
Em 18-02-2014 13:55, Bruce Dubbs escreveu: Fernando de Oliveira wrote: Em 18-02-2014 12:49, Pierre Labastie escreveu: Le 18/02/2014 16:26, Oshadha Gunawardena a écrit : Hi again all, I have completed my LFS build. And I wanted to install dhcpcd. So as in the BLFS I have followed every step

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-18 Thread Oshadha Gunawardena
@Bruce, When I checked there was already a rule, but I'm not sure if the address and other constants are correct or not # This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-18 Thread Bruce Dubbs
Oshadha Gunawardena wrote: @Bruce, When I checked there was already a rule, but I'm not sure if the address and other constants are correct or not You can check the address with `ip link show` or `ifconfig -a`. # This file was automatically generated by the /lib/udev/write_net_rules #

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-18 Thread Oshadha Gunawardena
@Bruce It's strange I checked the address and it's correct. Furthermore all the other files are seems to be in place. But then why the dhcpcd isn't starting automatically? I'm thinking of writing a start-up script to solve this issue. Thanks, Oshadha On Tue, Feb 18, 2014 at 11:53 PM, Bruce

Re: [lfs-support] DHCPCD not starting when booting up

2014-02-18 Thread Bruce Dubbs
Oshadha Gunawardena wrote: @Bruce It's strange I checked the address and it's correct. Furthermore all the other files are seems to be in place. But then why the dhcpcd isn't starting automatically? I'm thinking of writing a start-up script to solve this issue. They are not terribly long