Commit Graph

214 Commits

Author SHA1 Message Date
zolliker 8f4ec9eabe linse-imax4: add frappy (drums) 2025-09-17 15:35:11 +02:00
zolliker 1b88c15f28 add ft (tantalum furnace) 2025-09-16 17:18:14 +02:00
zolliker 51c7043d4d remove labwc and boxweb-browser from user services
need to rethink - should depend whether boxweb is configured
- either keep it and enable/disable from install.py
- or install only when needed - uninstall whn not longer needed?
- waitboot is needed anyway
2025-09-02 08:26:24 +02:00
zolliker 483e961521 rename linse-rpi5 to linse-flowsas
- this might not yet be pulled on the box!
2025-08-21 16:51:38 +02:00
zolliker a92ce9c2e5 chane nameing of unassigned rpi2
linse-iono<n>, linse-imax<n>, linse-rpi<n>
2025-08-21 16:16:36 +02:00
zolliker 9c397f638e remove write_from_rpi/write_from_mac
this is now unifed to rpi/write_to
2025-08-21 16:08:12 +02:00
zolliker f2cceb0098 clone: fix target image directory 2025-08-21 16:05:09 +02:00
zolliker c3ccc2ab80 clone: target image directory depending on box kind
ionpimax_images, ionopi_images or rpi_images
2025-08-21 16:00:54 +02:00
zolliker 1c07c5853f increase tmo in write_from_rpi - add version=1 to linse-rpi10 2025-08-21 16:00:39 +02:00
zolliker 3acdfd4ff0 add ionopimax linse-rpi15 2025-08-21 15:51:43 +02:00
zolliker 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
zolliker 327496553d add linse-rpi14 2025-08-19 11:36:51 +02:00
zolliker f34735b7ae fix error when inserting version=1 2025-08-19 11:00:53 +02:00
zolliker 991236fdca version=1 for all types of boxes / add linse-rpi13 2025-08-19 10:46:53 +02:00
zolliker b1f4bfc963 add version=1 to linse-rpi11 and for all new boxes 2025-08-19 08:09:46 +02:00
zolliker 6151ffae8e small fixes: typo in 'port', write_to_.. usage 2025-08-19 08:04:53 +02:00
zolliker 0e79be457a ass labwc and boxweb-brower for starting up panel screen 2025-07-16 15:46:44 +02:00
zolliker 268a46fa02 add linse-rpi11 2025-07-16 13:15:33 +02:00
zolliker 99f0b78dc7 autostart webbrowser if logged in on /dev/tty1 2025-07-14 14:38:03 +02:00
zolliker 4d94e56a0a fix sethostname script 2025-07-10 15:30:16 +02:00
zolliker 9b5e190277 fix sethostname.sh: check for end0 before eth0
+ correct boot order
2025-07-10 13:14:47 +02:00
zolliker d78b2e255e add waitboot.service 2025-07-08 08:33:54 +02:00
zolliker e008ae11f5 command 'frappy cli' does now connect to the configured frappy
and not scanned frappy servers
2025-07-08 08:27:59 +02:00
zolliker df19b1c8a0 allow inline comments with '#' in box cfg files 2025-07-08 08:15:52 +02:00
zolliker 16c58c7bb1 enale-linger needs root, python3 in start_frappy 2025-07-07 16:54:27 +02:00
zolliker 334827247d rename apu6 to leiden 2025-07-07 16:50:21 +02:00
zolliker 4d81828096 change to gitea 2025-07-07 16:50:21 +02:00
zolliker 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
zolliker 398943fd92 DIL5: change to predictable NIC names 2025-06-27 16:29:45 +02:00
zolliker 9fa90d938f allow command 'frappy cli' 2025-06-27 16:29:45 +02:00
zolliker 8c06dca894 fix destination in clone script (linse-c!) 2025-06-27 16:19:32 +02:00
zolliker ab195cc90f allow predictable network interfaces
on dual-eth-raspi:
- eth0 -> end0
- eth1 -> enx...
2025-06-27 16:02:38 +02:00
zolliker fe95372127 add emmc writer 2025-06-27 15:25:27 +02:00
zolliker 871c65ff9e let start_frappy be the only process 2025-06-27 14:00:01 +02:00
zolliker a9ff9d66a5 add delay as argument to start_frappy 2025-06-27 12:43:51 +02:00
zolliker 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
zolliker 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
zolliker 8406a127e6 enable-linger does not need root 2025-06-25 08:25:19 +02:00
zolliker 50a2390c3b treat as_root properly in check_service 2025-05-28 13:38:55 +02:00
zolliker f91bb1e725 boxweb page to be in box config
+ rename dil5_statemachine to dil5
2025-05-28 12:00:26 +02:00
zolliker ebb3e16050 add 'frappy' and 'boxweb' bash functions 2025-05-28 11:59:27 +02:00
zolliker 7136fcfd9f allow arguments for gitea.py to specify repo 2025-05-28 11:58:10 +02:00
zolliker 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
zolliker 1a6b133afa fix execute argument in unix_cmd 2025-05-20 08:17:35 +02:00
zolliker d8d4394e03 linse-dil5: version and remove router 2025-05-20 08:07:56 +02:00
zolliker 1c6f16f51a rename and modify linse-rpi7 to linse-dil5 2025-05-20 08:06:04 +02:00
zolliker 5ba3bba33b rename old dil5 apu 2025-05-20 08:06:04 +02:00
zolliker 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
zolliker 30369aff3c mkdir with proper owner
- using sudo only when not in user account
+ fix typo
2025-05-08 14:52:47 +02:00
zolliker f41b76633b make dir if needed 2025-05-08 14:50:27 +02:00