I appreciate all the help. I have learned some things but the
shorewall/dhcpd "problem" is vanishing before my eyes.

1. the dhcpd boot messages are a red herring. Yes dhcpd has changed
slightly, but I now see that the boot message order has changed - there
aren't missing messages, I just didn't look closely enough.

2. shorewall version is the same between rc1 and release

3. I did try blacklisting ipv6. BTW the documentation has a slight error,
it says to edit modules.conf which does not exist. (See
http://bering-uclibc.zetam.org/wiki/Bering-uClibc_5.x_-_User_Guide_-_IPv4_Networking)
 Maybe goes in /etc/modprobe.d/blacklist.conf? In any case, this is moot,
because ...

4. I had been doing a soft boot /sbin/reboot between all these experiments,
and indeed when I upgraded from rc1 to release I did a soft boot. I vaguely
recalled that in the past a hard boot solved problems with my Soekris
net6501. So I executed /sbin/halt and powered down for a few seconds then
powered up. Voila, the problem is gone, and the current leaf version now
works fine. Go figure! In the future I will always do a hard boot as my
first problem debugging step!

Thanks Eric and kp!

Tim

On Sat, Jun 4, 2016 at 10:29 AM, kp kirchdoerfer <
kap...@users.sourceforge.net> wrote:

> HI Timothy;
>
> Am Freitag, 3. Juni 2016, 18:58:09 schrieb Timothy Wegner:
> > I have a LEAF router  on a Soekris box.
> >
> > LEAF Bering-uClibc 5.2.6-rc1 works perfectly. But 5.2.6 does not.
> Shorewall
> > complains that it can't get an ip and won't start, and the boot messages
> > just before shorewall runs indicate that an ipv6 ip was obtained but not
> > ipv4.  After boot, the ip addr show command shows that an ipv4 ip was in
> > fact obtained (eventually). So strangely, if I just run webmin after boot
> > (which shows shorewall not started) and start shorewall all is well and
> > everything works.
> >
> > I would appreciate any suggestions of what might have changed between
> 5.2.6
> > rc1 and the 5.2.6 versions that might have caused the behavior change.
> The
> > exact same configdb.lrp is used in both cases. I updated by hand by just
> > copying everything except leaf.cfg, configdb.lrp, and ldlinux.sys. I used
> > the Bering-uClibc_5.2.6_x86_64_syslinux_serial115200.tar.gz version.
>
>
> For the complete changelog see:
>
>
> http://bering-uclibc.zetam.org/wiki/Bering-uClibc_5.2.x_-_Changelog#Changes_between_5.2.6-rc1_and_5.2.6
>
> Only the kernel update could be a cause, if at all.
>
> For more diagnostics you may try to change dhcpcd.conf
> - enable debug
> - disable switch to background
> - ENABLE a a timeout (e.g. 60), otherwise if something goes wrong, the boot
> process will stop here forever and it will be a pain to get it up and
> running
> again.
>
>
> kp
>
>
> > Thanks,
> >
> > Tim
> >
> > Below are two fragments of the boot messages, the first from rc1. As you
> > can see, in 5.2.6 rc1 dhcpcd reports a few lines more than 5.2.6 (see
> bold).
> >
> > 5.2.6 rc1:
> >
> > dhcpcd[11482]: eth0: adding address
> 2001:558:6022:13:e927:a4e3:a97e:5064/128
> > dhcpcd[11482]: eth0: renew in 172800 seconds, rebind in 276480 seconds
> > *dhcpcd[11482]: eth0: leased 98.201.221.124 for 299348 seconds*
> > *dhcpcd[11482]: eth0: adding route to 98.201.220.0/23
> > <http://98.201.220.0/23>*
> > *dhcpcd[11482]: eth0: adding default route via 98.201.220.1*
> > dhcpcd[11482]: forked to background, child pid 11523
> > done.
> > Starting software watchdog... done.
> > Starting caching dns forwarder: dnsmasq.
> > Starting ulogd: ulogd.
> > Starting "Shorewall firewall": Compiling using Shorewall 4.6.13.4...
> > Shorewall configuration compiled to /var/lib/.start
> > Starting Shorewall....
> > done.
> >
> >
> > 5.2.6:
> >
> > dhcpcd[11514]: eth0: adding address
> 2001:558:6022:13:c102:74f4:65a9:de80/128
> > dhcpcd[11514]: eth0: renew in 172800 seconds, rebind in 276480 seconds
> > dhcpcd[11514]: forked to background, child pid 11554
> > done.
> > Starting software watchdog... done.
> > Starting caching dns forwarder: dnsmasq.
> > Starting ulogd: ulogd.
> > Starting "Shorewall firewall":    *ERROR: Can't determine the IP address
> of
> > eth0*
> > Terminated
> >
> ----------------------------------------------------------------------------
> > -- What NetFlow Analyzer can do for you? Monitors network bandwidth and
> > traffic patterns at an interface-level. Reveals which users, apps, and
> > protocols are consuming the most bandwidth. Provides multi-vendor support
> > for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using
> > capacity planning reports.
> > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> > ------------------------------------------------------------------------
> > leaf-user mailing list: leaf-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/leaf-user
> > Support Request -- http://leaf-project.org/
>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ------------------------------------------------------------------------
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to