Commit Graph

33 Commits (c480887d168c0b3da654948aaa78739fb8ef1ffb)

Author SHA1 Message Date
Connor Rigby 5e483c01e2 Remove usage of dnsmasq
This implementes a small DNS server that can be controlled/setup by
VintageNet natively, instead of shelling out to dnsmasq. It also
by extension removes the usage of dnsmasq's dhcp server, replacing it
with dhcpcd which is built into VintageNet as well.
2020-03-28 10:18:51 -07:00
Rick Carlino ba7e582e4a Make network success events a `success` log, not a `warning` 2020-03-14 16:05:23 -05:00
Rick Carlino 61a92ec25a Formatting fix 2020-02-11 16:25:32 -06:00
Rick Carlino ff760cce70 Upgrade vintage_net 2020-02-11 15:04:31 -06:00
Rick Carlino 5722bea421 Huge formatting update (sorry) 2020-01-17 09:58:53 -06:00
Connor Rigby b6be227e27 Update platform specific docs for farmbot_os otp app 2019-12-17 14:25:20 -08:00
Connor Rigby 5b0dfa02c2
Fix updated NervesTime dependency 2019-12-16 14:02:07 -08:00
Connor Rigby 43a8cb5920 Update VintageNet to 0.7 2019-12-16 13:16:43 -08:00
Connor Rigby 36fe7dab49
Fix EAP WiFi connections 2019-10-31 14:40:32 -07:00
Connor Rigby ac5336d2b0 Update VintageNet
There was a API breaking change in vintage_net 0.6. This update
reflects that
2019-10-31 14:00:08 -07:00
Connor Rigby ec56ebaf74 Add telemetry to the rest of the app
More things will be added in the future.
Metrics are collected from bot state because
the amount of messages sent by every bot would
make datadog charge us a lot of money
2019-10-31 14:00:08 -07:00
Connor Rigby 2518eea133 Remove newlines from factory reset log 2019-10-22 14:19:32 -07:00
connor rigby fd00ce051a
Refactor Distribution
With the removal of `mdns` distribution can be started much
easier now
2019-09-13 16:03:30 -07:00
connor rigby d429aeefa6
Add led handler for starting configurator 2019-09-13 16:03:29 -07:00
Connor Rigby e83b20b5bc
Move NTP check to when an interface comes up
This will lead to a few dropped sync requests, but
should hopefully stabalize NTP starting
2019-09-13 16:03:29 -07:00
Connor Rigby e6c7c6e0aa
Add a hack to use `iw` instead of VintageNet for now 2019-09-13 16:03:29 -07:00
Connor Rigby 49f67d1a0d
Fix NTP servers not being applied 2019-09-13 16:03:28 -07:00
gabrielburnworth ab1b8bbda5
add farmware execution rpc debug logs
Fix AMQP and network disconnects causing limbo state
2019-09-13 16:03:27 -07:00
Connor Rigby d7cd92879c
Allow NTP servers to be configured 2019-09-13 16:03:27 -07:00
connor rigby 7a7dde4af0
Update network factory reset log 2019-09-13 16:03:26 -07:00
Connor Rigby 0ea5a4ec10
Remove annoying network log 2019-09-13 16:03:26 -07:00
Connor Rigby 9f8f53b532
Implement shoehorn handler for when core farmbot stack exits 2019-09-13 16:03:24 -07:00
Connor Rigby d52aa2e39a
Reenable factory reset from network disconnects 2019-09-13 16:03:24 -07:00
Connor Rigby 31fdd0ef44
Update Network connecting to retry when failures happen 2019-09-13 16:03:23 -07:00
Connor Rigby 4e2592c3b3
Fix the network_not_found timer message signatures
* Update log messages for network connect/disconnects
2019-09-13 16:03:23 -07:00
Connor Rigby a6f1552470
Reenable erlang distribution 2019-09-13 16:03:23 -07:00
Connor Rigby f0211dd9d7
Replace Nerves.Network with VintageNet 2019-09-13 16:03:23 -07:00
Connor Rigby 92fef18b62
Move configurator back to first class of `farmbot_os`
* Configurator HTTP endpoing is now always started
* data access is now a behaviour for configurator
   * Will allow for independent testing with mox
* network access is now a behaviour for configurator
   * Will allow for independent testing with mox
2019-09-13 16:03:23 -07:00
Connor Rigby 48c194f68f
Remove Nerves.Network and friends 2019-09-13 16:03:23 -07:00
Connor Rigby 392dd66c91
Update configurator router and network manager 2019-09-13 16:03:18 -07:00
Connor Rigby 95bd827518
Rename FarmbotOS namespace 2019-09-13 16:03:16 -07:00
connor rigby a2339546e1
Update farmbot_os app to support eap + cleanup 2019-09-13 16:03:15 -07:00
Connor Rigby 56f6749595
Nerves hub pt2 (#654)
* Rework Networking

* Rework Configurator

* Fix NervesHub not connecting
2019-09-13 16:03:14 -07:00