lmart: Do I understand from your reply #12 correctly that you've got a script that when running it in Puppy connects to your WLAN whilst it fails with certain errors in TC? Furthermore looking at some of the errors you reported I wonder whether the script was run as 'root' in TC (as already suggested in reply #13).
Clearly as Puppy runs everything under super-user privileges this might be a reason for a different outcome. I personally wholeheartedly disagree with the approach taken by Puppy and it's one of the reasons why I'm "hanging out" over here and not over there. In my own customized WiFi startup script (to be run by user 'tc') I only need 'sudo' for a very few commands (e.g. 'ifconfig $IF up', 'sudo wpa_supplicant -B -i $IF -c $CONF', and 'sudo udhcpc -b -i $IF').
If you need more help you'll have to improve on your reporting of the steps and outcomes of each step (as it is IMHO unfortunately rather inconsistent). I believe it would help if you would describe not just some details but rather try to structure things more useful for us out here trying to help:
(1) describe the step (e.g. plugging in a USB device, or quote the exact command used).
(2) describe the outcome (e.g. quote the full command result incl. command, warning and error messages)
(3) provide (optional) additional supporting information (e.g. 'dmesg' output).
Please note that the "usual" 'dmesg | tail -N' is a bit a "hit-and-miss" affair. I'd recommend to rather create what I would call the "dmesg delta": (a) take a "snapshot" before whatever action you undertake (e.g. dmesg > before-step1), (b) execute the step, and (c) identify what has changed (e.g. via dmesg > after-step1 ; diff -U 0 before-step1 after-step1).
Running a whole script (without attaching it here) and only quoting some output makes it too much of a guessing game for us to provide specific help. I'd therefore suggest to execute each (critical) step (e.g. a 'sudo COMMAND') on it's own providing supporting information along the lines of the above for each step. Only if we are really able to fully understand of what is happening on your system will we be able to provide you with more specific suggestions.