Commit Graph

881 Commits

Author SHA1 Message Date
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
https://projects.sysmocom.de/redmine/issues/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
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 ef36c3e699 busybox: Call the file correctly it is an append 2015-04-13 22:04:42 +02:00
Holger Hans Peter Freyther de697810db busybox: Move the 1.23.1 to 1.23.2 for Yocto master 2015-04-13 18:17:12 +02:00
Holger Hans Peter Freyther fc105b99dd busybox: Catch up with Yocto master 2015-04-13 18:14:45 +02:00
Holger Hans Peter Freyther 15dc869cda ifupdown: Package the new file as well 2015-04-13 18:10:04 +02:00
Holger Hans Peter Freyther 1ef790672e ifupdown: Try the workdir for the files we copied 2015-04-13 17:51:23 +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 ba8eee83bd ifupdown: Jesside/SID moved to 0.7.53 and the sources are gone
Instead of trying to see if 0.7.53 is working, fetch 0.7.52
from a hopefully more stable source.
2015-04-13 17:13:55 +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 ad976e4eb3 task-sysmocom-feed: Make the python json rpc available 2015-04-13 16:55:43 +02:00
Henning Heinold 8ba007f078 jsonrpclib: add recipe for jsonrpclib
- the git version was choosen because it has
  some fixes for newer python versions

- test where done with the test file from the github
  repository and some unixsocket tests failed

Related: SYS#1082
2015-04-13 16:55:08 +02:00
Holger Hans Peter Freyther dd3b1def75 tasks-symocom-feed: Make the real ifupdown available and iproute2 2015-04-13 16:54:25 +02:00
Henning Heinold 3665ee11ce images: add snippet for writing the sysmocom.manifest
Fixes: SYS#1470
2015-04-10 19:11:15 +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.

Message-ID: 55279904.9020802@sysmocom.de
2015-04-10 15:28:58 +02:00
Holger Hans Peter Freyther f5acd1801c osmo-pcu: Build new version with Jacob's changes 2015-03-31 20:15:44 +02:00
Henning Heinold 1f87162b0b layerconf: changes to let the layer build on dora and master
* removes the components for dizzy, we will skip it
* simplify the mapping from DISTRO_NUMBER to DISTRO_NAME
* remove watchdog.bbappend for master
2015-03-31 20:10:12 +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 456f674b22 wireless-tools: Remove the hack for dora too
Related: SYS#922
2015-03-31 17:05:17 +02:00
Henning Heinold b271d31282 ntp: add pool.ntp.org back as default ntp server for ntpdate
Fixes: SYS#1185
2015-03-20 09:41:08 +01:00
Holger Hans Peter Freyther ea1483dd5c wireless-tools: Remove our hack from the package
This is not of general interest for our users. Move the code
somewhere else.

Related: SYS#922
2015-03-18 14:16:40 +01:00
Henning Heinold 21356b7508 initrdscripts: make it possbile to secure grub with a password
* an example setup for the IDU can be found on
  https://projects.sysmocom.de/redmine/projects/sob-idu/wiki/ProvisioningSetup

Fixes: SYS#1130
2015-03-07 22:15:00 +01:00
Holger Hans Peter Freyther 88300710db systemd: Yocto master has moved to system_219.. follow 2015-02-27 11:59:28 +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 e4452116a8 cronie: Attempt to fix the bbappend for dora 2015-02-27 09:38:34 +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 e0675ada31 cronie: Install crontab that cruns daily, weekly, hourly jobs
The crontab installed by cronie doesn't actually run the daily
files. Fix that so that our logrotate application is being called.

Related: SYS#1189
2015-02-24 19:03:39 +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.

Current:
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
Harald Welte d44da082be Import pps-tools recipe from current meta-oe master 2015-02-23 21:43:30 +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
Holger Hans Peter Freyther 2251e090de busybox: After renaming the the bbappend rename the configs we use 2015-02-23 20:55:43 +01:00
Harald Welte 3a5cd732a9 ntp: forgot to add ntp_4.2.8p1.bb 2015-02-23 20:54:11 +01:00