c7e725c13a
better handling of pip requirements
...
- install packages needed for install when import failed
- all other packages (currently for frappy) are to be installed
in user space
2025-11-26 15:58:27 +01:00
42a6a2e319
add frappy port to firewall
...
+ add AcceptEnv to sshd_config (seems not yet to work)
2025-11-04 14:40:34 +01:00
63373404e6
firewall and routing of port 80 to 8080
...
- create nftables in install.py
- routing of port 80 to 8080 if boxweb is using 8080
- modified change_firewall in utils.py used also by router.py
+ automatically start desktop and web browser when boxweb is
configured
2025-10-14 17:24:11 +02:00
f34735b7ae
fix error when inserting version=1
2025-08-19 11:00:53 +02:00
991236fdca
version=1 for all types of boxes / add linse-rpi13
2025-08-19 10:46:53 +02:00
b1f4bfc963
add version=1 to linse-rpi11 and for all new boxes
2025-08-19 08:09:46 +02:00
0e79be457a
ass labwc and boxweb-brower for starting up panel screen
2025-07-16 15:46:44 +02:00
e008ae11f5
command 'frappy cli' does now connect to the configured frappy
...
and not scanned frappy servers
2025-07-08 08:27:59 +02:00
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