[LEDE-DEV] How to start?

David Lang david at lang.hm
Thu May 19 11:33:31 PDT 2016


On Thu, 19 May 2016, Gabriel F.C. Mazzocato wrote:

> Hi guys,
>
> I made my toolchain with the latest lede source.git, but I'm having
> trouble understanding the system as a whole. I tried to incorporate
> two iptables modules (synproxy & rp_filter), as well as update it to
> 1.6.0 (without NFTables), but it always brakes when building. Altering
> the makefile is the way, right?

actually, make menuconfig and altering the .config file is the way. This should 
pull in all the appropriate dependencies. If you edit the .config files 
manually, you need to check that all the dependencies are good yourself.

> I'm also in doubt regarding pivot/overlay_root, as it seems the system
> looses some performance (perhaps because of the usb interface speed?).
> But when I build minimal builds with the 4.4 kernel, the system keeps
> losing dns packages with dnsmasq and I can't make bind work.

using an external drive is a last resort for when you can't fit everything into 
the flash in your device (or you are using an external device that is faster 
than the flash)

> Another issue is the fact that the system has 3 different types of
> dhcp servers. udhcpd (busybox), odhcpd & odhcp6d and dnsmasq. Isn't
> that too much of a bloat?

no, if anything it's too limited a selection :-)

Debian offers:

# apt-cache search dhcp
dhcp-helper - A DHCP relay agent
dibbler-relay - portable DHCPv6 relay
dibbler-server - portable DHCPv6 server
dnsmasq - Small caching DNS proxy and DHCP/TFTP server
isc-dhcp-relay - ISC DHCP relay daemon
isc-dhcp-server - ISC DHCP server for automatic IP address assignment
isc-dhcp-server-ldap - DHCP server able to use LDAP as backend
mythbuntu-diskless-server-standalone - Mythbuntu-diskless server environment with DHCP server
opendrim-lmp-dhcp - OpenDRIM DHCP provider
python-pydhcplib - Python DHCP client/server library
strongswan-plugin-dhcp - strongSwan plugin for forwarding DHCP request to a server
tcos-tftp-dhcp - Metapackage to install TCOS with atftp and DHCP server
udhcpd - Provides the busybox DHCP server implementation
uec-provisioning-dhcpd - the UEC Provisioning DHCP server
wide-dhcpv6-relay - DHCPv6 relay for automatic IPv6 hosts configuration
wide-dhcpv6-server - DHCPv6 server for automatic IPv6 hosts configuration

What you are missing is that you select which one you want and compile it into 
your firmware image, or you compile them all as 'modules' and install whichever 
one you want later.

David Lang



More information about the Lede-dev mailing list