Commit Graph

204 Commits

Author SHA1 Message Date
206d58ea91 support the case of no enp0 if is present
if seems on ionopimax, with predictable network IF on, the
main (only) interface is named enx....... instead of end0
this is a fix to support it
2025-08-21 15:48:42 +02:00
327496553d add linse-rpi14 2025-08-19 11:36:51 +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
6151ffae8e small fixes: typo in 'port', write_to_.. usage 2025-08-19 08:04:53 +02:00
0e79be457a ass labwc and boxweb-brower for starting up panel screen 2025-07-16 15:46:44 +02:00
268a46fa02 add linse-rpi11 2025-07-16 13:15:33 +02:00
99f0b78dc7 autostart webbrowser if logged in on /dev/tty1 2025-07-14 14:38:03 +02:00
4d94e56a0a fix sethostname script 2025-07-10 15:30:16 +02:00
9b5e190277 fix sethostname.sh: check for end0 before eth0
+ correct boot order
2025-07-10 13:14:47 +02:00
d78b2e255e add waitboot.service 2025-07-08 08:33:54 +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
df19b1c8a0 allow inline comments with '#' in box cfg files 2025-07-08 08:15:52 +02:00
16c58c7bb1 enale-linger needs root, python3 in start_frappy 2025-07-07 16:54:27 +02:00
334827247d rename apu6 to leiden 2025-07-07 16:50:21 +02:00
4d81828096 change to gitea 2025-07-07 16:50:21 +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
398943fd92 DIL5: change to predictable NIC names 2025-06-27 16:29:45 +02:00
9fa90d938f allow command 'frappy cli' 2025-06-27 16:29:45 +02:00
8c06dca894 fix destination in clone script (linse-c!) 2025-06-27 16:19:32 +02:00
ab195cc90f allow predictable network interfaces
on dual-eth-raspi:
- eth0 -> end0
- eth1 -> enx...
2025-06-27 16:02:38 +02:00
fe95372127 add emmc writer 2025-06-27 15:25:27 +02:00
871c65ff9e let start_frappy be the only process 2025-06-27 14:00:01 +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
ebb3e16050 add 'frappy' and 'boxweb' bash functions 2025-05-28 11:59:27 +02:00
7136fcfd9f allow arguments for gitea.py to specify repo 2025-05-28 11:58:10 +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
1a6b133afa fix execute argument in unix_cmd 2025-05-20 08:17:35 +02:00
d8d4394e03 linse-dil5: version and remove router 2025-05-20 08:07:56 +02:00
1c6f16f51a rename and modify linse-rpi7 to linse-dil5 2025-05-20 08:06:04 +02:00
5ba3bba33b rename old dil5 apu 2025-05-20 08:06:04 +02:00
c4a8cee558 add 'version' to box info
version 0: git.psi.ch repo
version 1: gitea.psi.ch repo
2025-05-20 07:58:15 +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
c4f2665b98 add frappy to the repos to update to gitea 2025-05-08 14:25:39 +02:00
6588f445c8 add EDITOR to sshd_config 2025-05-07 13:16:46 +02:00
c284e97d53 show pip command if execution is needed 2025-04-28 14:59:59 +02:00
3899d27c1d set also GIT_COMMITTER_EMAIL and .._AUTHOR 2025-04-28 14:52:12 +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
PREVENT_DEFAULT
16bb53784c fixed bugs in regex pattern 2025-04-17 16:46:08 +02:00
9c707e2375 change filemode mechanism in gitea.write_when_new 2025-04-17 16:36:17 +02:00
cddf70bcdd change setuser mechanism
rely on the fact the LC_IDENTIFICATION (and other LC_*)
environment variables are forwarded from an ssh client to the
server
2025-04-17 16:29:56 +02:00
fefb87dfe6 change names and location of rc scripts 2025-04-17 16:22:26 +02:00