Commit Graph

116 Commits

Author SHA1 Message Date
ea81b731ed add linse-apu5 2024-10-15 14:13:44 +02:00
cfc4a5af9a rename linse-apu6 2024-10-15 13:59:08 +02:00
696a54e3cd router: fix routing with serial lines
bug: self.fno instead of service.fno
2024-10-03 14:40:15 +02:00
a75b2d894c swapped apu boxes linse-dil5 and linse-apu4 2024-10-03 14:39:52 +02:00
d69301a5c9 add dialout to l_samenv
+ remove superfluous call to pip command
2024-07-03 14:44:21 +02:00
56c63cefd6 config timesyncd with psi time servers
+ add razorbill box
2024-07-03 13:15:50 +02:00
de521a06df fix display firmware load
+ add remark about test mode in README
2024-03-20 13:46:56 +01:00
c0983be282 add linse-box2 2024-03-20 14:15:58 +01:00
82d084d5ce rename binary file - print about test mode 2024-03-20 14:15:10 +01:00
248df0efa7 when no cfg file is there, create it 2024-03-20 13:53:43 +01:00
afd2fb0e7a add display firmware binary 2024-06-17 17:16:07 +02: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
b2872db6e3 fix bug when connection is interrupted on the hw connection
+ stop listening for 10 seconds after an error
2024-05-15 18:31:00 +02:00
l_samenv
4ca03f544b bux fix in router: missing 'self.' 2024-05-15 10:38:27 +02:00
l_samenv
7b1c63ac26 be tolerant when <boxtyp>_system does not exist 2024-05-14 11:43:57 +02:00
l_samenv
390294d28a add flamemag
+ put __pycache__ into .gitignore
2024-05-14 11:37:14 +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
eac314346f move 'apu_system' back to 'to_system' 2024-05-14 11:17:50 +02:00
l_samenv
ae5a7d7afd add flamedil router 2024-05-14 10:51:29 +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
793606db2b revert 2 commits and fix README
- some fixes in README.md
- for the other changes from the last 2 commits see rpitools repo
2024-05-13 10:42:41 +02:00
f891481519 fix README.md 2024-05-13 10:33:13 +02:00
6b92dd075d update README.md for rpiboot 2024-05-13 10:30:33 +02:00
5649f0eb56 fix sethostname 2024-03-20 13:31:08 +01: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
26122843b2 fix README for boxtools
+ fix line in sethostname.sh
2024-03-20 09:07:58 +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
ad130f16f4 use netifaces and improve welcome message 2024-03-19 14:41:50 +01:00
l_samenv
0a0009a096 wip unify rpitools with boxtools
install.py and router.py
2024-03-19 11:42:50 +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
c3a36879cb makeusb: git must be run as user l_samenv 2024-03-05 11:29:59 +01:00
7b4c2cd6fd rename mkusb.sh to makeusb
and make it executable
2024-03-05 11:18:30 +01:00
6f025880ce fix nftables (firewall) mechanism 2024-03-05 11:16:27 +01:00
42d80f9567 fix README for new image path 2024-03-05 10:00:50 +01:00
0720032e86 minor fixes
- type in README.md
- startup_display.txt in .gitignore
- fix path for startup_Display.txt in display.py
2024-03-05 09:12:43 +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
8680e5b2a9 fix pending accepts behaviour
+ check if interface is plugged
2024-03-01 15:51:46 +01:00
1e33d7eba4 unify versions
logging was with 2 different versions
new: InfoHandler and Log class

covers logging when stated from commandline and remote logging
via ports 1110, 1111, 1112 (DEBUG, INFO, WARN levels)
2024-02-28 14:10:26 +01:00
1b7860131d welcome.sh: use nl instead of sed 2024-02-21 13:54:28 +01:00
c93e9bb126 welcome message: show only installed services 2024-02-21 13:46:32 +01:00
2fea4a95f2 multiple connections for http
+ better logging
2024-02-20 17:07:11 +01:00
3c1da3bb2c add .gitignore 2024-02-20 11:29:55 +01:00
dfebeb616f Merge branch 'master' of gitlab.psi.ch:samenv/aputools 2024-02-20 11:20:58 +01:00
03ebe48060 add moxa to ir-dil config 2024-02-20 11:19:00 +01:00
4b052f9320 improve mkusb.sh 2024-01-24 16:52:17 +01:00
847685bcdc display.py: flashing firmware 2024-01-24 16:35:01 +01:00