Commit Graph

96 Commits

Author SHA1 Message Date
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
9d0edff2ce take boot_tiny fiels from gitlab
+ wip display firmware
2024-01-24 15:56:19 +01:00
ee56015580 update README.md 2024-01-24 11:26:27 +01:00
95e38093d7 Merge branch 'master' of gitlab.psi.ch:samenv/aputools 2024-01-24 10:23:04 +01:00
926680e52b mkusb.sh: copy subdirectories of boot_tiny 2024-01-24 10:21:46 +01:00
77a06a0107 remove remark about installing without console
as this does not work
2024-01-22 15:05:01 +01:00
ffb80c3ce5 changed ssh path for boot_tiny directory
- include mbr.bin there
2024-01-17 08:46:48 +01:00
23d9299b56 added mbr.bin 2024-01-16 18:21:16 +01:00
370896170a simplify mkusb.sh 2024-01-16 18:17:27 +01:00
9fdb7c86ca Merge branch 'master' of gitlab.psi.ch:zolliker/aputools 2024-01-16 17:52:42 +01:00
c354a0076b add scripts to create an bootable USB stick with TinyLinux 2024-01-16 17:52:04 +01:00
80edb3a581 add docu for installing APU to README.md 2024-01-16 12:57:06 +01:00
ca6c4f25cb fix typo in README.md 2024-01-15 12:47:05 +01:00
ee6e91aadc update REAME.txt (for new boxes MLZ type) 2024-01-15 11:43:21 +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