1 1
Boby

Armbian and DHCP

Recommended Posts

Hi guys!

 

I have some trouble with my Lime 2.

 

My original setup:

Armbian 5.38 +4.14.18-sunxi

software installed: Pihole V3.0 with dnsmasq dhcp enabled.

SD : a fresh Samsung Micro SDHC 32GB EVO

power-supply : a 5V power-supply adaptor

 

Current behaviour:

After [1~4] days the my board disapear of my network.

With dnsmasq dhcp server disabled, there are no problème.

 

My guess: their are some troubles between the dhcp and Armbian.

Indeed in tried to setup a isc-dhcp-server to remplace the Pihole dhcp without success. (Same behaviour)

 

You could see my search on Pihole forum here

 

After my vacation, i will test the olimex's image with pihole.

However this return to  Jessi and a 3.4 sunxi kernel, doesn't enjoy me.

 

 

Share this post


Link to post
Share on other sites

because the Lime2 seems to have 1GB of RAM you could try to increase the value for log2ram in /etc/default/log2ram

from 50M to 150M or 250M

# configuration values for the log2ram service
#
# enable the log2ram service?
ENABLED=true
#
# size of the tmpfs mount
SIZE=250M
#
# use rsync instead of cp -r
# requires rsync installed, may provide better performance
# due to copying only new and changed files
USE_RSYNC=true
#

At this time my  Banana Pi (original) has also 1GB of RAM and is working fine with the 250M over weeks without freezing:

ARMBIAN 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.18-sunxi

Linux bpi-a20 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l GNU/Linux

Share this post


Link to post
Share on other sites

Hmm - did you update your Pi-Hole these days?

I did it today and it updated to v4.0:

https://pi-hole.net/2018/08/06/pi-hole-v4-0-released-with-ftldns-improved-blocking-modes-regex-docker-and-more/

 

Quote

2018-08-06 BY TELEKRMOR

Pi-hole v4.0 Released With FTLDNS, Improved Blocking Modes, Regex, Docker, and More

We’re very pleased to release Pi-hole v4.0 today, which includes fixes, tweaks, and lots of new stuff, including FTLDNS (special thanks to our beta testers!)  In a sentence, FTLDNS is dnsmasq with Pi-hole’s special sauce baked in.

 

FTLDNS does everything dnsmasq does because it is dnsmasq–just our fork of it.  So all of your existing config files will still work with it.  We intentionally modified the original dnsmasq source code as little as possible so that we can easily integrate any upstream changes as they are released.

 

Share this post


Link to post
Share on other sites

Thanks @guidol. I'am going to test it.

 

4 hours ago, guidol said:

because the Lime2 seems to have 1GB of RAM you could try to increase the value for log2ram in /etc/default/log2ram

from 50M to 150M or 250M


# configuration values for the log2ram service
#
# enable the log2ram service?
ENABLED=true
#
# size of the tmpfs mount
SIZE=250M
#
# use rsync instead of cp -r
# requires rsync installed, may provide better performance
# due to copying only new and changed files
USE_RSYNC=true
#

At this time my  Banana Pi (original) has also 1GB of RAM and is working fine with the 250M over weeks without freezing:

ARMBIAN 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.18-sunxi

Linux bpi-a20 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l GNU/Linux

 

@Werner

I made the update few day ago without issue ;-)

However, my Lime2's behaviour hasn't changed.

 

 

 

Share this post


Link to post
Share on other sites
On 8/12/2018 at 11:09 PM, Boby said:

However, my Lime2's behaviour hasn't changed.

 

Try updating to nightly kernels (4.17.y) where also, u-boot is changed to 2018.05 ... this might help. If not it is possible that you will need to slightly downclock memory on your board. For that, you need to rebuild u-boot with new speed parameters. I hope you will not need to go that far.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1