Commit Graph

154 Commits

Author SHA1 Message Date
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 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
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 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 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 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 8d89f603d3 interface: Add Vlan #7 for all GSM basestations
Untested, simply copy and pasted from the ticket

Related: SYS#1491
2015-04-15 18:35:46 -04:00
Holger Hans Peter Freyther e2042ff291 init-ifupdown: Force manual IP configuration for Openport
Interfaces file from roh, not tested by me.

Fixes: IDU#1491
2015-04-15 18:33:17 -04:00
Holger Hans Peter Freyther 9bd8feb83c linux-sysmocom: Enable VLAN modules for the ODU as well
They are available as module for the BSC/IDU and BTS.
This is why I decided to enable this as module as well
2015-04-14 15:09:06 +02:00
Holger Hans Peter Freyther e0c7f3c621 ifupdown: Create /run/network through a tmpfiles.d
This way the ifupdown application will not only work
for the IDU/ODU but the BTS, BSC and any other machine
we want to build.

(untested OE modification)
2015-04-13 17:42:34 +02:00
Holger Hans Peter Freyther e7a10f014d linux_2.6.39: Remove all traces from our layer
* Move the "defconfig" back to files/sysmocom-bsc/defconfig
* Remove the linux_2.6.39 recipe
2015-04-13 17:01:19 +02:00
Holger Hans Peter Freyther 8e95d188c5 interfaces: Add post-up route for the IDU
To be able to talk to the equipment we need to set a route
after the link is up. Assume that no other (e.g. 3G) equipment
is using the same IPv4 address range.

2015-04-10 15:28:58 +02:00
Henning Heinold 1f660fd4b0 netbase/init-ifupdown: seperate both overrides and remove the appends of netbase for master and dizzy
* historical netbase in edison was not split and files were
  in netbase

Fixes: SYS#1142
2015-03-31 17:06:15 +02:00
Henning Heinold b271d31282 ntp: add back as default ntp server for ntpdate
Fixes: SYS#1185
2015-03-20 09:41:08 +01:00
Holger Hans Peter Freyther 143a630c02 sysmocom-odu: Enable autofs for systemd
Enable autofs support to have the proc-sys-fs-binfmt_misc.automount
be able to mount/load the binfmt support.

Related: SYS#1216
2015-02-27 11:46:03 +01:00
Holger Hans Peter Freyther 1241f0e762 linux-sysmocom: Attempt to enable the nfacct module
NETFILTER_NETLINK_ACCT defaults to off. Let's enable it
in the config.
2015-02-27 08:44:23 +01:00
Holger Hans Peter Freyther 9f334509d8 ntp: Bump PR to 6 to allow online upgrades
As pointed out by Harald the PR is lower than the package
that is already on the device. Bump it to 6 then.

opkg list_installed | grep ntp
ntp - 4.2.8p1-r5.0
ntp-tickadj - 4.2.8p1-r5.0
ntpdate - 4.2.8p1-r5.0
2015-02-24 14:20:05 +01:00
Harald Welte 7daf173e30 ntp: (re-)add pps-tools dependency
otherwise the PPS driver of ntpd will not be built, even with
--enable-ATOM explicitly set during ./configure
2015-02-23 21:47:21 +01:00
Holger Hans Peter Freyther c2356c429d ntp: Upgrade to patch level 1 for additional security fixes
When re-importing the recipe I accidently went back to a
vulnerable version again. *sigh*.

Fixes: SYS#1211
2015-02-23 20:56:50 +01:00
Harald Welte 3a5cd732a9 ntp: forgot to add 2015-02-23 20:54:11 +01:00
Harald Welte 4de8fd1b08 linux-sysmocom: Add PPS platform device 2015-02-23 20:26:28 +01:00
Harald Welte 1a531a35c3 ntp: Update from 4.2.8 to 4.2.8p1 (6 vulnerability fixes) 2015-02-23 20:26:11 +01:00
Harald Welte 22c055b2f1 ntp: Enable the kernel PPS driver and use it on the ODU 2015-02-23 19:54:34 +01:00
Harald Welte 9b377fd3a9 sysmocom-odu kernel: Enable kernel PPS support
we still need a platform device to attach it to GPIO 115.
2015-02-23 16:15:19 +01:00
Holger Hans Peter Freyther cf53c2b4e0 ntp: Import from meta-networking
Import ntp 4.2.8 from meta-networking. Our version has some weird
dependency issues that create build breakages and more.

Remove the pps-tools dependency compared to meta-networking and
leave the ntp.conf as doneby Harald (e.g. drift on /etc and not
in /var...). Now I have not verified the upgrade path but I sadly
merged testing to stable when the ntp changes were comitted on
monday. This means I can't easily test the upgrade.
2015-02-22 02:04:28 +01:00
Harald Welte 4235a5776f ntp: Fix/complete update to 4.2.8p1
This new version of ntp has quite a number of changes, e.g.
certain utilities requiring perl, and some programs are now in
/usr/sbin rather than /usr/bin.
2015-02-20 14:29:46 +01:00
Harald Welte 42d9a2747f ntp: bump PR 2015-02-20 12:43:07 +01:00
Harald Welte 21871fa648 ntp: add "--with-yielding-select=yes" requird by 4.2.8p1 2015-02-20 12:40:31 +01:00
Harald Welte f47375cb49 ntp: remove tickadj.c.patch which has been merged upstream 2015-02-20 12:35:42 +01:00
Harald Welte b386e61712 ntp: update md5sum/sha256sum 2015-02-20 12:31:34 +01:00
Harald Welte 823aa457c6 upgrade ntp from 4.2.6p3 to 4.2.8p1
4.2.8 has received fixes for 6 vulnerabilities, see
2015-02-20 12:26:51 +01:00
Harald Welte 979f16d1b1 odu: fix typo: sysmcom -> sysmocom 2015-02-20 12:26:51 +01:00
Harald Welte 74b87851e1 ntp: rename sob-odu/ntp.conf to sysmocom-odu/ntp.conf
the odu specific config file was not packaged
2015-02-20 12:16:29 +01:00
Harald Welte d7e88c9356 ntp: Add systemd service files + ODU specific configuration
On the ODU, we have a local GPS/GNSS receiver as prefision time source.
2015-02-20 11:29:49 +01:00
Holger Hans Peter Freyther 703e99dee6 linux-sysmocom: Backport nfacct patches and enable the module
I have no idea if that works or not. The integration work should
have been done by someone else.

Related: ORT#650
2015-02-17 18:40:33 +01:00
Holger Hans Peter Freyther 78d586c891 linux-sysmocom: Attempt to force a rebuild..
Somehow a kernel was built but still with revision r39.
Atempt to to force it.
2015-02-14 21:00:00 +01:00
Holger Hans Peter Freyther 674b7ea989 linux-sysmocom: Build the hardware watchdog available in the APU
Related: SYS#1148
2015-02-14 20:36:07 +01:00
Holger Hans Peter Freyther a5a8a18186 linux-sysmocom: Enable k10temp and i2c-piix4 in the kernel
I edited the config through make menuconfig and then used
savedefconfig but the diff from our config to a minimal
defconfig is too big. So I enabled the temp sensors and i2c
by hand.

Fixes: SYS#1148
2015-02-14 20:31:17 +01:00
Holger Hans Peter Freyther adbc448df6 init-ifupdown: Add the specific init file for the ODU as well
For the V-ODU we want to have vlan support as well. This requires
to use the debian ifupdown which means we need a script that creates
/run/network early enough.
2015-02-14 11:48:09 +01:00
Harald Welte f01baf4cfb [idu]: Update /etc/network/interfaces
On eth1 we should also use a network from the 172.16 block rather than
the 10.23 that we used on the sysmoBSC

Also, we now use natively on the bridged onboard network,
this is a temporary measure so existing JBs will still connect and get
an IP address before their software is updated to use VLAN6.  After they
(and all APs, BTSs, etc.) have migrated, the can be
2015-02-13 19:23:38 +01:00