so Ive been test TB22tb9 , to check that a vanilla organelle can now access X/ssh without resorting to using an HDMI display for initial setup
… so the goal is: fresh organelle, insert wifi card, run startwifi, be able to login/run X remotely
the good news is this now works
but whilst doing this, I had a pretty frustrating time, getting startwifi to work, as theres absolutely no feedback as to whats going on… so Ive improved the start wifi script (attached)
it nows gives feedback to the oled whilst its running, and also produces a logfile for each commend in /usbdrive/wifi_log.txt, which gives you a chance to check when theres errors (without having to attach to a tv :))
(I also fixed an issue: you need #!/bin/bash at the start as <( … ) is specific to the bash shell)
StartWifi.zip (509 Bytes)
still some room for improvement:
a) check return codes, so the oled (OK) means more than the command ran
b) display IP address at the end.
c) I also think probably we are better with a wifi config file, such that users cannot accidentally ‘damage’ the script whilst entering their username / passwd.
anyway, perhaps take a look and decided if you would like to update the C&G version