16c58c7bb1
enale-linger needs root, python3 in start_frappy
2025-07-07 16:54:27 +02:00
4e622d5a1c
write_when_new, gitea, ifup/ifdown
...
- create parent directory with root access, if needed
- omit gitea check when repo is not available
- replace 'ifup <net> by ifconfig <net> up'
2025-06-26 19:31:33 +02:00
ab195cc90f
allow predictable network interfaces
...
on dual-eth-raspi:
- eth0 -> end0
- eth1 -> enx...
2025-06-27 16:02:38 +02:00
a9ff9d66a5
add delay as argument to start_frappy
2025-06-27 12:43:51 +02:00
86eef4e0f6
make sure frappy is started on boot
...
this is a not-so-easy problem of timing
change includes a 'start_frappy' script, which gets port and
cfg from the box config file. so install does no longer need
to be executed when cfg or port is changed
2025-06-27 11:35:03 +02:00
d9ac7c9e71
create path when parent of file to be written does not exist
...
+ usage for frappy command
2025-06-26 08:41:22 +02:00
8406a127e6
enable-linger does not need root
2025-06-25 08:25:19 +02:00
50a2390c3b
treat as_root properly in check_service
2025-05-28 13:38:55 +02:00
f91bb1e725
boxweb page to be in box config
...
+ rename dil5_statemachine to dil5
2025-05-28 12:00:26 +02:00
99580aad78
introduce 'to_home' and systemd user services
...
- frappy is now a systemd user service
- add 'frappy' and 'boxweb' bash function
2025-05-28 11:54:21 +02:00
30369aff3c
mkdir with proper owner
...
- using sudo only when not in user account
+ fix typo
2025-05-08 14:52:47 +02:00
f41b76633b
make dir if needed
2025-05-08 14:50:27 +02:00
c284e97d53
show pip command if execution is needed
2025-04-28 14:59:59 +02:00
13210d987e
do not execute pip when not needed
2025-04-28 14:29:22 +02:00
b3cd338a1e
setuser: do not use LC_IDENTIFICATION anymore
...
rather allow GIT* env variables to pass through ssh
2025-04-28 13:31:49 +02:00
cf4706d1e2
mak box type more consistent and display it anyway
...
- 'rpi' instead of 'ionopi' for a simple raspberry pi
+ fix dirty flag when dhcp server is modified
2025-04-14 10:36:00 +02:00
75691c0ed5
fixes in write_when_new
...
- create files with g/o read
- fix superfluos remove of tmpfile
2025-04-09 15:46:52 +02:00
2dfc71001a
do not consider network installs when not specified
2025-04-09 09:45:12 +02:00
89425d9ce4
NETWORK section is optional
2025-04-08 15:06:07 +02:00
ee5f9924f8
remove sudo in message about restart
2025-04-08 14:58:45 +02:00
0b3dacfb32
remove boxid from cfg file name
2025-04-08 14:50:50 +02:00
90776bfeef
fix gitea.py
2025-04-08 09:45:38 +02:00
c2747e884d
install.py: include fixing gitea repo
2025-04-08 09:41:42 +02:00
4c9ba0915f
fix checking of box types
...
+ a bug (type)
2025-04-07 17:28:27 +02:00
570923497d
install files to /home/l_samenv without sudo
2025-04-07 15:32:51 +02:00
6908908d13
fix dirpath issue
...
+ add again FallbackNTP in /etc/systemd/timesyncd.conf
2025-04-04 16:06:46 +02:00
e344108e51
make install work also for rpi boxes
...
- in addition to to_system, we have now to_<box> with every
type of box
- install is not needed to run under sudo anymore
2025-04-04 15:41:11 +02:00
d69301a5c9
add dialout to l_samenv
...
+ remove superfluous call to pip command
2024-07-03 14:44:21 +02:00
248df0efa7
when no cfg file is there, create it
2024-03-20 13:53:43 +01:00
8fcbf477a9
improve install.py after problems with linse-gas10ka
...
- use --break-system-packages for pip
- rename box
- remove some unused stuff about display
2024-06-11 16:16:58 +02:00
l_samenv
7b1c63ac26
be tolerant when <boxtyp>_system does not exist
2024-05-14 11:43:57 +02:00
l_samenv
03162d43c1
split system files into to_system and <boxtyp>_system
...
- install.py checks for both
- fix hostname
2024-05-14 11:33:46 +02:00
l_samenv
1318666db0
boxtools on raspberry pi
...
- rename to_system to apu_system / cm3_system /cm4_system
- fixes in router
- firewall may be switched off
- firewall is a parameter of router, also used when no routing is configured.
2024-05-14 10:48:52 +02:00
l_samenv
4bed174abd
use sorted when iterating over network interfaces
...
this helps for unneeded rewrites if dhcpd.conf
2024-03-20 13:25:37 +01:00
l_samenv
5dc4f8a984
fix boxtools for rpi
...
- remove to_cm4
- create replace_in_file
2024-03-20 12:10:14 +01:00
7f661bb314
fix issues with apu
...
rework: create utils.BoxInfo
2024-03-20 08:47:47 +01:00
9c9719bff4
change if names from enp*s0 to eth*
...
including all cfg files!
2024-03-19 15:56:53 +01:00
l_samenv
0a0009a096
wip unify rpitools with boxtools
...
install.py and router.py
2024-03-19 11:42:50 +01:00
ddedf67bf3
split out config file reading
...
+ improve ip and no 'network' on display
2024-03-06 11:48:41 +01:00
6f025880ce
fix nftables (firewall) mechanism
2024-03-05 11:16:27 +01:00
l_samenv
e4e37eb049
moved from centos 7 to debian-bookworm
...
includes modifications in install.py and router.py
2024-03-05 08:03:00 +01:00
ae6ba7a031
improve display
...
- display config has only one line for startup text
- faster display daeomon startup
- added newer fonts (e.g. medium) to display.py
2024-01-15 11:34:03 +01:00
fe1303efdc
revert prev. commit + wip fix
2024-01-15 09:58:03 +01:00
ef95e4e383
install.py: use class instead of global variables
2024-01-11 16:59:58 +01:00
73b1a9a97d
wip temporary push
2024-01-11 13:08:36 +01:00
c88afce791
support setting startup
...
- in interactive mode, support setting startup
- standard startup shows ethernet address
- colored blinking dot
- need argument for running as daemon: python3 display.py -d
- interactive mode: python3 -i display.py
2024-01-11 08:44:52 +01:00
7f7993ef96
added first control box
...
- added python display daemon
- on control boxes, the uplink is the leftmost plug by default
2024-01-10 15:14:40 +01:00
fdef0b69cf
add 'current' alias
...
showing installed state
2023-08-08 11:11:13 +02:00
68f0d30a54
fix MORE_INFO -> more_info
2023-08-07 08:46:35 +02:00
6e08f7277f
fix handling wan with added subnets
2020-06-17 04:44:14 +02:00