Commit Graph

665 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 4dafdbcc17 systemd: Make the log persistent for the IDU
Similar to the T-ODU we would like to keep a persistent log.
This commit is completely untested, rushed and not the final
one (/etc/default/volatiles/00_core most likely needs patching
and we want to limit the size of the log as well).

Related: SYS#659
2015-05-13 09:31:50 +02:00
Harald Welte abe0c65892 idu /etc/network/interfaces: Major update
* add interface for connection to Inmarsat
* remove 'br0' and work directly with 'eth2' instead, to avoid bridges
  in vlans of bridges
* bridge the video LAN also into the backbone (for later break-out)
2015-05-12 22:29:49 +02:00
Holger Hans Peter Freyther d97e87f46b dbus: Catch up with yocto-master
dbus is now using version 1.8.16 instead of the old version.
Our patch does not depend on a specific version of dbus, so
let us use a wildcard.
2015-05-11 16:31:37 +02:00
Harald Welte d35fbc4f82 [idu] dnsmasq: Add DHCP range for video subnet 2015-05-10 11:22:49 +02:00
Jan Luebbe 5304e22ff4 busybox: create /etc/default before using it
This fixes an error during do_install for busybox when building on dora.
2015-05-06 11:23:48 +02:00
Harald Welte 35a13a17ee conntrack-tools: Dont have HTML as init script, but actual script 2015-05-05 15:32:44 +02:00
Holger Hans Peter Freyther 1a61dfc20a linux-sysmocom: Really base on 3.10.76 for our kernel is used for the BTS, BSC and IDU. Let's
really use 3.10.76 (from 3.10.50 just rebased and not tested
on the device yet). This should fix the Yocto-Master build
2015-05-04 21:15:28 +02:00
Daniel Willmann 933d151e84 Merge branch 'hheinold/ntp'
Ticket: SYS#1180
2015-05-04 20:05:53 +02:00
Henning Heinold ef2c9b84d3 busybox: add package for udhcpc which can set the ntp server provided by the dhcpc-server
* the oe udhcpc calls /usr/share/udhcpc/default.script which
  calls run-parts -a "$1" /etc/udhcpc.d, so we can install
  our script as 60ntp

* using /etc/default/udhcpc-ntp to have the possibility
  to disable it on the target, its enabled per default

Related: SYS#1180
2015-05-04 20:03:57 +02:00
Henning Heinold f0278f35a9 dnsmasq: provide the ntp server running on the idu to the dhcp clients
Fixes: SYS#1180
2015-05-04 20:03:05 +02:00
Holger Hans Peter Freyther 4d76f00233 linux-sysmocom: Remove the branch from the SRC_URI
9610e792ffde7fb2599d19ca6d2a03230f2043c6 can not be found
in the linux-3.10.76 branch. Just avoid this branch game.

ERROR: Fetcher failure: Unable to find revision 9610e792ffde7fb2599d19ca6d2a03230f2043c6 in branch linux-3.10.76 even from upstream
ERROR: Function failed: Fetcher failure for URL: 'git://;protocol=git;branch=linux-3.10.76'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/sysmobts_v2-poky-linux-gnueabi/linux-sysmocom/3.10.76+gitAUTOINC+9610e792ff-r43/temp/log.do_fetch.16350
NOTE: recipe linux-sysmocom-3.10.76+gitAUTOINC+9610e792ff-r43: task do_fetch: Failed
ERROR: Task 126 (/home/builder/jenkins/workspace/Yocto-Master/label/OE/meta-sysmocom-bsp/recipes-bsp/linux/, do_fetch) failed with exit code '1
2015-05-03 23:15:40 +02:00
Harald Welte 809e9cd999 ulogd: Disable building pgsql/mysql output plugins
As ulogd's configure script doesn't support this out of the box, we need
to patch it for this.
2015-05-03 11:37:57 +02:00
Holger Hans Peter Freyther 8753fbf081 yocto-master: We shouldn't need to patch pkgconfig anymore
pkg.m4 has been packaged in the main package for a long
while. We certainly don't need this in master anymore.

ERROR: No recipes available for:
2015-05-02 21:24:53 +02:00
Harald Welte 3324575ef5 nfacct: RDEPENDS should be ${PN} specific 2015-05-02 19:21:31 +02:00
Harald Welte 6938804c99 nfacct: Add RDEPENDS to kernel modules
nfacct in userspace doesn't work without its kernel counterparts..
2015-05-02 17:33:40 +02:00
Harald Welte 7c6170178d ulogd: Add RDEPENS to respective kernel modules
some sub-packages of ulogd don't make sense without the corresponding
kernel modules
2015-05-02 17:31:34 +02:00
Harald Welte 62856a3a9b [idu/bsc] bump PR of 2015-05-02 14:18:56 +02:00
Harald Welte 8b9a9895ec [bsc/idu]: keep netfilter/ipsec as modules
It seems like the kernel/package/upgrade/... proceess doesn't deal well
with the fact that some options used to be modules, which are now
built-in.  Let's keep it as modules for the time being.
2015-05-02 14:15:35 +02:00
Harald Welte 1e38dac840 update sysmobts/sysmocom-bsc/sysmocom-idu from 3.10.50 to 3.10.76 2015-05-02 12:28:33 +02:00
Harald Welte f6410166f8 bsc/apu/idu: enable more netfilter / networking features
this enables conntrack events, ipset, ebtables, tc
scheduler/classifiers/ematches and much more.

it also disables the ATM code for which I don't think we have any use
2015-05-02 12:23:23 +02:00
Harald Welte 98a3705d93 ulogd: Import init script (from
the ulogd-1.x script should simply work for ulogd-2.x
2015-05-02 11:45:46 +02:00
Harald Welte b3923ebb69 conntrack-tools: update from 1.4.0 to 1.4.2 2015-05-02 09:29:48 +02:00
Harald Welte 35af0578bf update libnetfilter-conntrack from 1.0.2 to 1.0.4
... as there's no specific reason to use a 2012 old release.
2015-05-02 09:25:44 +02:00
Harald Welte ef40d4a5fd add libnetfilter-queue from meta-openembedded.git 2015-05-02 09:17:00 +02:00
Harald Welte 9c3c430ea2 add libnetfilter-cthelper and move all libnetfilter-* to one directory 2015-05-02 09:15:20 +02:00
Harald Welte fb51ce8a2e import libnetfilter-cttimeout from meta-openembedded.git
this is required by conntrack-tools.
2015-05-02 09:10:26 +02:00
Harald Welte 66b18ff049 ulogd: split out some plugins in sub-packages
some plugins have external dependencies (jansson for JSON, ...) and we
dont want to pull those dependencies for all users.
2015-05-01 23:29:18 +02:00
Harald Welte 59e8120312 add jansson recipe (from meta-openembedded.git)
jansson is required for the ulogd JSON output plugin.
2015-05-01 23:08:31 +02:00
Harald Welte d22aad22df proper name for ulogd recipe (fixes build) 2015-05-01 23:07:34 +02:00
Harald Welte 4c6162968f ulogd2: Don't intherit update-rc.d as we don't have an init script yet 2015-05-01 19:59:39 +02:00
Harald Welte 51a7495f21 [sysmocom-bsc] linux: Enable more netfilter matches/targets 2015-05-01 19:52:36 +02:00
Harald Welte a3b942cdd9 conntrack-tools: we don't have autotools-brokensep 2015-05-01 19:46:50 +02:00
Harald Welte c2ef6813b8 first attempt at creating a ulogd2 recipe 2015-05-01 18:52:15 +02:00
Harald Welte 3de926bd8d import conntrack-tools from meta-openembedded 2015-05-01 18:45:53 +02:00
Harald Welte 75772d538b import libnetfilter-conntrack from meta-openembedded 2015-05-01 18:44:48 +02:00
Harald Welte a2064b489f import libnetfilter-log from meta-openembedded.git 2015-05-01 18:44:28 +02:00
Harald Welte 25ce796b36 import libnfnetlink from meta-openembedded.git 2015-05-01 18:44:10 +02:00
Harald Welte 8c70168d40 [idu] dnsmasq: Add neptune as upstream DNS resolver 2015-05-01 17:29:32 +02:00
Harald Welte 441293a2cd [idu] dnsmasq: config improvements
* we are the authoritative DHCP server for all local networks
* filter bogus windows DNS queries
* don't respect local resolv.conf (pointing to localhost)
* increase cache size to 1000 entries
2015-05-01 17:23:35 +02:00
Harald Welte 57e1184d07 [idu] dnsmasq: Advertise NTP server to DHCP clients 2015-05-01 16:54:09 +02:00
Harald Welte a9b30a9328 idu: dnsmasq.conf: Last address should be .254, as .255 is broadcast 2015-04-25 16:54:53 +02:00
Harald Welte fd275216a9 idu: Add dnsmasq configuration for WiFi networks 2015-04-25 16:54:17 +02:00
Harald Welte 7c0152141a idu: interfaces: Add VLAN 1001/1002/1003 for WiFi 2015-04-25 16:51:43 +02:00
Harald Welte 90b40a8448 missing change from previous commit :/ 2015-04-20 20:51:37 +02:00
Harald Welte e614c9b5eb IDU: /etc/network/interfaces add host route to neptune public IP
this is taken from SYS#1513
2015-04-20 20:22:51 +02:00
Holger Hans Peter Freyther 9934406ade init-ifupdown: Take the force solution and make our script available
Related: SYS#1514
2015-04-20 10:10:18 -04:00
Holger Hans Peter Freyther e0bcee0206 init-ifupdown: Attempt to make our init script available for everyone
Create the /run/network directory for all of our systems. The
proper way with tmpfiles.d ends with a depedency mess that has
no point in being debugged.

My local build hasn't completed yet but we need to rush. Let the
CI test this change and we will see.

Related: SYS#1514
2015-04-20 09:56:16 -04:00
Holger Hans Peter Freyther c32b0df2e3 ifupdown: Revert the tmpfiles.d change as the dir is created too late
It looks like on my tests with the sysmobts I was saved by
busybox-ifplogd executing ifup again. I couldn't figure out
the dependencies between the LSB networking service and the
tmpfiles.d interaction. So instead of winning a beauty contest
we will need to create the directory by hand.

Cause: SYS#1514

Revert "ifupdown: Package the new file as well"
This reverts commit 15dc869cda.
Revert "ifupdown: Try the workdir for the files we copied"
This reverts commit 1ef790672e.
Revert "ifupdown: Create /run/network through a tmpfiles.d"
This reverts commit e0c7f3c621.
2015-04-20 09:56:16 -04:00
Harald Welte 7843fb4085 idu /etc/network/interfaces: Add VLANs for iridium, switch mgmt 2015-04-18 22:32:58 +02:00
Holger Hans Peter Freyther 259e1fa468 dnsmasq: Add DHCP for BTS in the new vlan
Fixes: SYS#1491
2015-04-15 18:37:44 -04:00