Commit Graph

44 Commits

Author SHA1 Message Date
kn0wmad
70aba1605c Feat/use modern tor (#1575)
* Add guardian project repo and install latest stable tor

* Apt appendage
2022-06-28 12:28:08 -06:00
Aiden McClelland
22af45fb6e add dns server to embassy-os (#1572)
* add dns server to embassy-os

* fix initialization

* multiple ip addresses
2022-06-27 10:53:06 -06:00
Aiden McClelland
b0068a333b disable unnecessary services 2022-06-14 12:43:27 -06:00
Aiden McClelland
7c17e26480 prevent the kernel from OOMKilling embassyd (#1402)
* prevent the kernel from OOMKilling embassyd

* privilege embassyd with respect to cpu usage

* add a docker slice
2022-04-20 11:26:41 -04:00
Aiden McClelland
eeb557860e wait for time sync up to 60s 2022-03-29 12:41:00 -06:00
Aiden McClelland
5e0b83fa4a fix init 2022-03-22 14:23:46 -05:00
Aiden McClelland
aa3af09e69 blacklist upgrade kit usb adapters 2022-02-28 15:27:31 -07:00
Aiden McClelland
a6e00449f6 fix path 2022-02-27 16:25:28 -07:00
Aiden McClelland
b1aa2ddf75 prevent initialization from writing the quirk string twice 2022-02-27 15:37:23 -07:00
Aiden McClelland
16de45e4fd start with clean tor state 2022-02-24 12:04:36 -07:00
Keagan McClelland
7678cee5be fix NO_KEY initialization (#1262)
* fix NO_KEY initialization

* hex encode instead of shasum
2022-02-23 18:19:17 -07:00
Keagan McClelland
0ac52ff8ef Bugfix/fix syntax change user (#1260)
* quote users output

* change away from 'users' to /etc/passwd
2022-02-23 17:49:34 -07:00
Keagan McClelland
17fe7eaa17 Update initialization.sh 2022-02-22 15:41:36 -07:00
Keagan McClelland
4fa2c11de7 Move user change early in the process
this allows ssh'ing in and still allowing the init script to complete
2022-02-22 13:59:33 -07:00
Aiden McClelland
8dd54f0cca correctly handle the absence of ENVIRONMENT=dev 2022-02-17 10:49:48 -07:00
Mariusz Kogen
47a5f37bd3 🧑‍💻 implementing start9 username 2022-02-17 10:49:48 -07:00
Aiden McClelland
b57c35a3ba fix overlay disabling when looking at disk drives 2022-02-16 12:54:07 -07:00
Aiden McClelland
868edc636b add vim and jq (#1210)
* add vim and jq

* add ncdu

* fix whitespace
2022-02-15 13:12:51 -07:00
Aiden McClelland
1837e719b6 fix wifi for raspios (#1207)
* Wip: Fix most of the wifi and 80% of initialization.sh

* fix wifi

* reorganize code

Co-authored-by: J M <mogulslayer@gmail.com>
2022-02-15 10:27:25 -07:00
Aiden McClelland
03a8dca7d7 disable ssh login as pi for non-dev builds 2022-02-14 10:23:44 -07:00
Keagan McClelland
f497c1197f adds machine id update to initialization 2022-02-10 15:22:19 -07:00
Aiden McClelland
79e4c6880a switch base os to raspberry pi os
minor fixes

more robust
2022-02-08 09:55:39 -07:00
Keagan McClelland
261eac6802 Changes to ubuntu 21.10 at the base image 2022-02-01 10:36:44 -07:00
Aiden McClelland
9d13c48640 use cloud-init correctly 2022-01-21 20:35:52 -07:00
J M
1086ce13d2 feature: Swapping to use nmcli (#1015)
The reason is that we get better errors and that we get signal strength.
Reworking all the commands to use nmcli instead.
Feat: Wifi List Available
Feat: strength sort for available
fix: Backend to match the frontend asking
feat: New get with all information
chore: Make backend changing country not for NonWire

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
2022-01-21 20:35:52 -07:00
J M
61dbd2a6da fix: Build faster 2022-01-21 20:35:52 -07:00
Keagan McClelland
c8b32b3a5e upgrade all packages before baking image 2022-01-21 20:35:52 -07:00
Aiden McClelland
60c099f352 add ntp 2022-01-21 20:35:52 -07:00
Aiden McClelland
60a48d7af2 allow mdns cifs shares (#933)
* allow mdns cifs shares

* regex and messaging for cifs

* Update install-wizard.component.ts

* refactor

* always include leading slash when saving path

* add avahi-utils

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Aiden McClelland
91840539f9 disable login as ubuntu (#934) 2022-01-21 20:35:52 -07:00
Aiden McClelland
6d6e4c1807 disable bluetooth and unattended upgrades 2022-01-21 20:35:52 -07:00
Aiden McClelland
e6fb74a800 Feature/cloud backups (#889)
* cifs for cloud backups on lan

* password spelling fix

* fix spelling and fix rpc method

* fix other methods

* remove old code and rename method

* add support for cifs backup targets

wip

cifs api

simplify idiom

add doc comment

wip

wip

should work™

* add password hash to server info

* fix type

* fix types for cifs

* minor fixes for cifs feature

* fix rpc structure

* fix copy, address some TODOs

* add subcommand

* backup path and navigation

* wizard edits

* rebased success page

* wiz conflicts resolved

* current change actually

* only unsub if done

* no fileter if necessary

* fix copy for cifs old password

* setup complete (#913)

* setup complete

* minor fixes

* setup.complete

* complete bool

* setup-wizard: complete boolean

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Aiden McClelland
a71d07f353 Bugfix/disable uasp (#878)
* usbstoraged

* set quirks on demand

* remove reference to usbstoraged.service

* comments

* use sysfs instead of modprobe and address comments

* fix ro fs and missing comma

* Apply suggestions from code review

* don't recurse overlayroot

* sleep before reconnect

* reset twice

* sync between writes

* fix build

* fix build

* adds drive to storage quirk whitelist

* long sleep

* another thing to try

* fix: Ensure that the changes take effect

Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
Co-authored-by: Justin Miller <dragondef@gmail.com>
2022-01-21 20:35:52 -07:00
Keagan McClelland
87c10b7fbe sub ifupdown for ifconfig to save cpu power 2022-01-21 20:35:52 -07:00
Aiden McClelland
2a0425e968 switch to LVM + LUKS + ext4 (#747)
* code complete

* misc fixes

* magic
2022-01-21 20:35:52 -07:00
Aiden McClelland
8056285a7f Backups Rework (#698)
* wip: Backup al

* wip: Backup

* backup code complete

* wip

* wip

* update types

* wip

* fix errors

* Backups wizard (#699)

* backup adjustments

* fix endpoint arg

* Update prod-key-modal.page.ts

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>

* build errs addressed

* working

* update backup command input, nix, and apk add

* add ecryptfs-utils

* fix build

* wip

* fixes for macos

* more mac magic

* fix typo

* working

* fixes after rebase

* chore: remove unused imports

Co-authored-by: Justin Miller <dragondef@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Lucy C
c68342ee10 add system images to os build process (#620)
* update compat build and add to os build process

* copy to explicit file

* fix paths and loading input

* temp save docker images output

* add docker config file to suppress warning

* notes and first attempt of load image script

* pr fixes

* run as root, fix executable path

* wip fixes

* fix pool name and stop docker before umount

* start docker again

* reset docker fs

* remove mkdir

* load system images during embassy-init

* add utils to make build

* fix utils source

* create system-images dir as root

* cleanup

* make loading docker images datadir agnostic

* address PR feedback

* rework load images

* create shutdown channel on failed embassy-init run

* pr feedback

* fix import
2022-01-21 20:35:52 -07:00
Keagan McClelland
786a13fcb3 add wlan0 to avahi conf allowed interfaces 2022-01-21 20:35:52 -07:00
Keagan McClelland
3f30905786 Bugfix/wifi init (#619)
* initializes wifi system correctly

* add packages to initialization

* restart wpa_supplicant after conf file is sync'ed

* fix cli rendering for set_network

* debug statements

* more debug stuff, trim network id on return

* possibly solves all dhcp problems on startup, I wish I understood better why it starts by default for eth0 but not wlan0

* make consistent with new logging
2022-01-21 20:35:52 -07:00
Keagan McClelland
446da8fd81 Update initialization.sh 2022-01-21 20:35:52 -07:00
Keagan McClelland
c573d65179 Update initialization.sh 2022-01-21 20:35:52 -07:00
Keagan McClelland
bae96cde55 Update initialization.sh 2022-01-21 20:35:52 -07:00
Keagan McClelland
96b72e541f Update initialization.sh 2022-01-21 20:35:52 -07:00
kn0wmad
33fe3e1059 Setup Scripts (#472)
* Init commit of setup scripts

* Minor edit

* Script edit and dir rename

* Oops

* Updated README

* Updated scripts/readme

* Additional Script/README updates

* Further Script updates

* BuildGuide updates

* More git fuckery

* Init commit of setup scripts

* Minor edit

* Script edit and dir rename

* Oops

* Updated scripts/readme

* Script/README updates

* Additional Script/README updates

* Script/README edits

* Copy script edit

* Copy script edit

* Filesystem script edit

* More edits

* Guide edit

* Makefile

* fixes ui build scripts to use submodules (#546)

* fix product key generation

Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
2022-01-21 20:35:52 -07:00