Commit Graph

19 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
df19b1c8a0 allow inline comments with '#' in box cfg files 2025-07-08 08:15:52 +02:00
ab195cc90f allow predictable network interfaces
on dual-eth-raspi:
- eth0 -> end0
- eth1 -> enx...
2025-06-27 16:02:38 +02:00
50a2390c3b treat as_root properly in check_service 2025-05-28 13:38:55 +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
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
2dfc71001a do not consider network installs when not specified 2025-04-09 09:45:12 +02:00
0b3dacfb32 remove boxid from cfg file name 2025-04-08 14:50:50 +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
248df0efa7 when no cfg file is there, create it 2024-03-20 13:53:43 +01: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
d6e68aef7d utils.MainIf: rename 'getip' to 'poll'
+ change mechanism for getting hostname
2024-03-06 15:23:36 +01:00
947a15e3fa stop dhcp client already when interface is unplugged 2024-03-06 13:56:16 +01:00
ddedf67bf3 split out config file reading
+ improve ip and no 'network' on display
2024-03-06 11:48:41 +01:00