Commit Graph

51 Commits

Author SHA1 Message Date
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
8dc20ba2d5 cosmetic fix 2022-11-08 10:25:13 +01:00
c3c5f87da2 fix README.md, install.py, and add flame-mag 2022-11-07 10:19:06 +01:00
ac686ac066 fix missing argument in Show.newer and Show.replace 2022-09-20 11:49:05 +02:00
1deb91dbbb restart individual network interface on change
+ use prefix 24 instead of 31
2021-12-14 09:29:37 +01:00
bd0d697adc remove requirements file when pip install fails 2021-12-03 18:40:03 +01:00
2675616101 fix errors in requiements handling 2021-12-03 12:29:00 +01:00
cdedaf3ee3 add installing pip requirements 2021-12-03 12:04:57 +01:00
ebeded9931 include creating of frappy and router service
enhance install.py
2021-12-03 09:50:27 +01:00
f8168b0865 better documentation 2021-12-01 18:15:55 +01:00
4ce7c3a9d3 first version of dhcp settings
create /etc/dhcp/dhcpd.conf in install.py

+ new cfg file for apuslave3
2021-11-26 15:42:42 +01:00
11d6e7d8e7 ask for hostname and create cfg file if not found
+ remove NETWORK.address setting
2021-04-27 14:47:34 +02:00
147bd4efa5 do not set UUID
+ other fixes
2021-04-27 14:10:39 +02:00
8daa8ba6c3 add UUID from mac adress 2021-04-27 10:51:56 +02:00
f188b34e22 changed naming of cfg files
+ create ifcfg files again directly
2021-04-27 10:39:33 +02:00
59b095f146 additional fields in ifcfg 2021-04-08 08:09:21 +02:00
5f39412c9c Merge branch 'master' of gitlab.psi.ch:zolliker/aputools
Conflicts:
	install.py
2021-04-08 07:05:21 +02:00
2fadf63da8 ifcfg scripts are now created from scratch
- ifcfg script do not contain UUID any more
2021-04-08 07:02:57 +02:00
a9c1c38d51 fixed an issue cuaisng router to die
- router should not die when an error happens when connecting to HW
+ install will restart changed network interfaces
2021-03-26 09:30:45 +01:00
53af769c3f improved install.py
install.py is now also dealing with ip addresses
2021-03-24 16:10:46 +01:00