Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
- White ninja
- Posts: 7
- Joined: 22 Jun 2015, 23:29
- Distribution: Debian
- Location: United States
Here's a little modification to the 003-settings.xzm module I whipped up for a Porteus Kiosk deployment at my university. Not all of our hardware is properly labeled, so I modified the ISO with the following script which displays all hardware MAC addresses as notifications during the install wizard. This is admittedly very crude and can be executed more than once if the wizard fails to make a successful Internet connection (an if statement to check for the existence of the temp file would fix that); however, I needed a solution as quickly as possible, and it's worked fine so far. Thought I would share it with the community. Unified diff follows:
Code: Select all
--- 003-settings/opt/porteus-scripts/welcome 2015-05-30 09:41:44.000000000 -0500
+++ 003-settings/opt/porteus-scripts/welcome 2015-07-14 08:58:47.677963216 -0500
@@ -54,6 +54,13 @@
## Main dialog
+# Display hardware MAC addresses as notifications
+ifconfig -a | grep HWaddr | tr -d '\t' > /tmp/hwaddr.tmp
+while IFS= read -r addr
+ dunstify -u critical "$addr"
+done < /tmp/hwaddr.tmp
## Trap exits
trap 'cleanup' 2 14 15
Feel free to post any improvements to the code you might have.
- Site Admin
- Posts: 4633
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland, currently - Cork, IE
I have implemented this feature just yesterday
Added also timeconfig utility as we have found that certain wifi drivers fail to connect if system clock is not set correctly (thinks that SSL certs are outdated?)
Will go public in next release.
Please add [Solved] to your thread title if the solution was found.