Hello list, sorry for the hard to read previous post ... I've been using leaf firewall for years now. I'm using standard pentium IV motherboards with 2 nics, boot from a USB key and this is my leaf.cfg packages:
# List of packages to load LRP="root license local bbnameif dhcpcd keyboard shorwall dnsmasq dropbear mhttpd bbntpd heyu wakelan webconf " cat /etc/issue: Linux 4.1.19-i686 #1 SMP Mon Apr 4 17:02:26 CEST 2016 LEAF Bering-uClibc 5.2.5 Rev 1 uClibc 0.9.33.2 \n \l Trying out BUC 5.2.5, I get this strange result, dnsmasq is not starting, as you can see in this daemon.log: Sep 18 15:28:14 firewall dhcpcd[11737]: version 6.7.1 starting Sep 18 15:28:14 firewall dhcpcd[11737]: forked to background, child pid 11740 Sep 18 15:28:14 firewall dnsmasq[11765]: directory /etc/dhcpc/resolv.conf for resolv-file is missing, cannot poll Sep 18 15:28:14 firewall dnsmasq[11765]: FAILED to start up Sep 18 15:28:15 firewall dhcpcd[11740]: eth0: soliciting a DHCP lease Sep 18 15:28:15 firewall dhcpcd[11740]: eth0: offered 96.23.216.111 from 10.23.113.85 Sep 18 15:28:15 firewall mini_httpd[12150]: bind 0.0.0.0 - Address already in use Sep 18 15:28:15 firewall mini_httpd[12151]: started as root without requesting chroot(), warning only Sep 18 15:28:15 firewall mini_httpd[12151]: mini_httpd/1.19 19dec2003 starting on firewall, port 80 Sep 18 15:28:15 firewall heyu_relay: relay setting up- Sep 18 15:28:18 firewall init: starting pid 12186, tty '/dev/tty1': '/sbin/getty 38400 tty1' Sep 18 15:28:18 firewall init: starting pid 12187, tty '/dev/tty2': '/sbin/getty 38400 tty2' Sep 18 15:28:19 firewall dhcpcd[11740]: eth0: leased 96.23.216.111 for 3600 seconds Sep 18 15:28:19 firewall dhcpcd[11740]: eth0: adding route to 96.23.216.0/24 Sep 18 15:28:19 firewall dhcpcd[11740]: eth0: adding default route via 96.23.216.1 But if I start dnsmasq manually (15:29:53), then everything works fine... Sep 18 15:28:14 firewall dhcpcd[11737]: version 6.7.1 starting Sep 18 15:28:14 firewall dhcpcd[11737]: forked to background, child pid 11740 Sep 18 15:28:14 firewall dnsmasq[11765]: directory /etc/dhcpc/resolv.conf for resolv-file is missing, cannot poll Sep 18 15:28:14 firewall dnsmasq[11765]: FAILED to start up Sep 18 15:28:15 firewall dhcpcd[11740]: eth0: soliciting a DHCP lease Sep 18 15:28:15 firewall dhcpcd[11740]: eth0: offered 96.23.216.111 from 10.23.113.85 Sep 18 15:28:15 firewall mini_httpd[12150]: bind 0.0.0.0 - Address already in use Sep 18 15:28:15 firewall mini_httpd[12151]: started as root without requesting chroot(), warning only Sep 18 15:28:15 firewall mini_httpd[12151]: mini_httpd/1.19 19dec2003 starting on firewall, port 80 Sep 18 15:28:15 firewall heyu_relay: relay setting up- Sep 18 15:28:18 firewall init: starting pid 12186, tty '/dev/tty1': '/sbin/getty 38400 tty1' Sep 18 15:28:18 firewall init: starting pid 12187, tty '/dev/tty2': '/sbin/getty 38400 tty2' Sep 18 15:28:19 firewall dhcpcd[11740]: eth0: leased 96.23.216.111 for 3600 seconds Sep 18 15:28:19 firewall dhcpcd[11740]: eth0: adding route to 96.23.216.0/24 Sep 18 15:28:19 firewall dhcpcd[11740]: eth0: adding default route via 96.23.216.1 Sep 18 15:29:53 firewall dnsmasq[12369]: started, version 2.75 cachesize 150 Sep 18 15:29:53 firewall dnsmasq[12369]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify Sep 18 15:29:53 firewall dnsmasq-dhcp[12369]: DHCP, IP range 192.168.1.100 -- 192.168.1.199, lease time 12h Sep 18 15:29:53 firewall dnsmasq[12369]: using local addresses only for domain private.network Sep 18 15:29:53 firewall dnsmasq[12369]: reading /etc/dhcpc/resolv.conf Sep 18 15:29:53 firewall dnsmasq[12369]: using local addresses only for domain private.network Sep 18 15:29:53 firewall dnsmasq[12369]: using nameserver 23.233.128.16#53 Sep 18 15:29:53 firewall dnsmasq[12369]: using nameserver 24.225.128.17#53 Sep 18 15:29:53 firewall dnsmasq[12369]: using nameserver 24.202.72.13#53 Sep 18 15:29:53 firewall dnsmasq[12369]: read /etc/hosts - 8 addresses Sep 18 15:29:57 firewall dnsmasq-dhcp[12369]: DHCPDISCOVER(eth1) a4:77:33:ea:6e:7e Sep 18 15:29:57 firewall dnsmasq-dhcp[12369]: DHCPOFFER(eth1) 192.168.1.120 a4:77:33:ea:6e:7e Sep 18 15:29:57 firewall dnsmasq-dhcp[12369]: DHCPREQUEST(eth1) 192.168.1.120 a4:77:33:ea:6e:7e Sep 18 15:29:57 firewall dnsmasq-dhcp[12369]: DHCPACK(eth1) 192.168.1.120 a4:77:33:ea:6e:7e Chromecast After some readings of the mailing lists, I tried replacing BUC 5.2.5. dhcpcd.lrp with an older version from BUC 5.1.7, and this time it works fine... daemon.log: Sep 18 13:59:57 firewall dhcpcd[11727]: version 5.2.11 starting Sep 18 13:59:57 firewall dhcpcd[11727]: forked to background, child pid 11728 Sep 18 13:59:57 firewall dhcpcd[11728]: eth0: broadcasting for a lease Sep 18 13:59:57 firewall dnsmasq[11763]: started, version 2.75 cachesize 150 Sep 18 13:59:57 firewall dnsmasq[11763]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify Sep 18 13:59:57 firewall dnsmasq-dhcp[11763]: DHCP, IP range 192.168.1.100 -- 192.168.1.199, lease time 12h Sep 18 13:59:57 firewall dnsmasq[11763]: using local addresses only for domain private.network Sep 18 13:59:57 firewall dnsmasq[11763]: no servers found in /etc/dhcpc/resolv.conf, will retry Sep 18 13:59:57 firewall dnsmasq[11763]: read /etc/hosts - 8 addresses Sep 18 13:59:57 firewall dhcpcd[11728]: eth0: offered 184.161.156.111 from 10.23.113.85 Sep 18 13:59:57 firewall dhcpcd[11728]: eth0: acknowledged 184.161.156.111 from 10.23.113.85 Sep 18 13:59:57 firewall dhcpcd[11728]: eth0: checking for 184.161.156.111 Sep 18 13:59:58 firewall mini_httpd[12148]: bind 0.0.0.0 - Address already in use Sep 18 13:59:58 firewall mini_httpd[12149]: started as root without requesting chroot(), warning only Sep 18 13:59:58 firewall mini_httpd[12149]: mini_httpd/1.19 19dec2003 starting on firewall, port 80 Sep 18 13:59:58 firewall heyu_relay: relay setting up- Sep 18 14:00:01 firewall dhcpcd[11728]: eth0: leased 184.161.156.111 for 3600 seconds Sep 18 14:00:01 firewall dnsmasq[11763]: reading /etc/dhcpc/resolv.conf Sep 18 14:00:01 firewall dnsmasq[11763]: using local addresses only for domain private.network Sep 18 14:00:01 firewall dnsmasq[11763]: using nameserver 23.233.128.16#53 Sep 18 14:00:01 firewall dnsmasq[11763]: using nameserver 24.225.128.17#53 Sep 18 14:00:01 firewall dnsmasq[11763]: using nameserver 24.202.72.13#53 Sep 18 14:00:01 firewall init: starting pid 12202, tty '/dev/tty1': '/sbin/getty 38400 tty1' Sep 18 14:00:01 firewall init: starting pid 12203, tty '/dev/tty2': '/sbin/getty 38400 tty2' Sep 18 14:00:05 firewall dnsmasq-dhcp[11763]: DHCPDISCOVER(eth1) a4:77:33:ea:6e:7e Sep 18 14:00:05 firewall dnsmasq-dhcp[11763]: DHCPOFFER(eth1) 192.168.1.120 a4:77:33:ea:6e:7e Sep 18 14:00:05 firewall dnsmasq-dhcp[11763]: DHCPREQUEST(eth1) 192.168.1.120 a4:77:33:ea:6e:7e Sep 18 14:00:05 firewall dnsmasq-dhcp[11763]: DHCPACK(eth1) 192.168.1.120 a4:77:33:ea:6e:7e Chromecast Sep 18 14:30:01 firewall dhcpcd[11728]: eth0: renewing lease of 184.161.156.111 Sep 18 14:30:01 firewall dhcpcd[11728]: eth0: acknowledged 184.161.156.111 from 10.23.113.85 Sep 18 14:30:01 firewall dhcpcd[11728]: eth0: leased 184.161.156.111 for 86400 seconds Sep 18 14:30:01 firewall dnsmasq[11763]: reading /etc/dhcpc/resolv.conf Sep 18 14:30:01 firewall dnsmasq[11763]: using local addresses only for domain private.network Sep 18 14:30:01 firewall dnsmasq[11763]: using nameserver 23.233.128.16#53 Sep 18 14:30:01 firewall dnsmasq[11763]: using nameserver 24.225.128.17#53 Sep 18 14:30:01 firewall dnsmasq[11763]: using nameserver 24.202.72.13#53 So my humble conclusion, dhcpcd.lrp is broken in 5.2.* for my type of rig, don't you agree ? :-) I can also use the original BUC 5.2.5 dhcpcd.lrp but I have to add in /etc/default/local.start: sleep 5 dnsmasq and it works again ! facinating :-( !!! jrb. ------------------------------------------------------------------------------ ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/