MyPis Posted May 18, 2018 Posted May 18, 2018 Hi, Before I start, I want to thank the developers for making great products. I am fairly new to SBCs, but unlike the official images, Armbian works great on my OP plus 2E. I have recently bough a OP zero+ H5, but as it lacks ethernet, I can't set it up. Is there a way (like raspbian) to set up wifi on the sd card after i burn the image on to it?
Igor Posted May 18, 2018 Posted May 18, 2018 1 hour ago, MyPis said: to set up wifi on the sd card after i burn the image on to it? Mount it on some Linux machine and peek into /boot https://github.com/armbian/build/blob/master/packages/bsp/armbian_first_run.txt.template
tkaiser Posted May 19, 2018 Posted May 19, 2018 13 hours ago, Igor said: Mount it on some Linux machine and peek into /boot https://github.com/armbian/build/blob/master/packages/bsp/armbian_first_run.txt.template Seriously?
Igor Posted May 19, 2018 Posted May 19, 2018 What? Is it broken? Last time I was playing with this feature it was working. At least on recent images made from the development branch.
tkaiser Posted May 21, 2018 Posted May 21, 2018 On 5/19/2018 at 10:51 AM, Igor said: Is it broken? It is totally broken: Unsafe temp file handling Incompatible to Armbian's recommended way to setup Wi-Fi (nmtui/nmcli) It stores the Wi-Fi credentials in cleartext in a world readable file It's a mystery to me why you ever accepted this code as PR, we agreed on deleting it already (now that DietPi doesn't use Armbian as 'pre-image' any more) and now you start to recommend this stuff to users? Only sane way would be to allow to create a NM profile only readable by root below /etc/NetworkManager/system-connections/ -- since this does not exist users either need to use serial console (easy on OPi Zero since available through Micro USB) or keyboard/display.
Igor Posted May 21, 2018 Posted May 21, 2018 1 hour ago, tkaiser said: It is totally broken: Perhaps true on current images. On 5/19/2018 at 10:51 AM, Igor said: At least on recent images made from the development branch. The case is I reworked and it should work on self-made images via Network manager. Security wise we could improve, sure. 1 hour ago, tkaiser said: It's a mystery to me why you ever accepted this code as PR A lot of decisions are based on trust since they require less mental energy. I have been fooled and made a mistake. Since we have moved to development branch and this is reworked there, there is no need to revert the PR now. Or is? 1 hour ago, tkaiser said: to allow to create a NM profile Well, that might be already too complex for many people ... while passwords are plain text in the profile.
Recommended Posts