Jump to content

spicedreams

Members
  • Posts

    7
  • Joined

  • Last visited

  1. I ended up with subtly different syntax. I have a real HDD on /mnt/data and I backing up to it so I must exclude it from the backup: sudo rsync -aAxXh --exclude={'dev','lost+found','media','mnt','proc','run','sys','tmp'} --stats --info=progress2 --delete / /mnt/data/armbian-backup The main difference though is that I just include the directory names. Prefixing them with / would make you think they are root relative whereas they are actually relative to the source directory. Suffixing them with /* would cause the directories themselves to be included in the backup, just empty. It took me a lot of experimentation to realise the syntax --exclude={'list','of',directories','to','exclude'} is finicky about quoting individual excludes. I spent some time trying --exclude-from=filename but never got that to work satisfactorily.
  2. Thanks Heisath, I am trying out a slight modification on that. I need to work out how to make that into a bootable SD card, but the bones are probably there.
  3. Given how troublesome uninstall seems to be, perhaps the only viable approach is to backup your Armbian instance before installing something new. I would backup by shutting down Armbian, transferring the disk media to a linux machine and using dd. This unfortunately creates a rather large image file. Is there a better way to backup the OS state without including all the disk's empty space?
  4. Will removing the password hash result in it being replaced with the hash of the default password? funny story, i created two files in /etc/sudoers.d and mistakenly left the alias the same. now I can't sudo anything to fix it!!
  5. Hi, my base problem is syncthing not starting on boot. But in trying to solve that it would be useful to uninstall and reinstall syncthing via armbian-config and hence softy. But armbian-config/softy does not let me uninstall syncthing (or for that matter samba, which I also don't want or need on that machine). Nor does apt: sudo apt-get remove --purge samba reports "Package 'samba' is not installed, so not removed", though armbian-config/softy shows it as installed. Is there a way to uninstall packages installed via armbian-config/softy? Thanks Graham
  6. Thanks- did that ... of the 26 pins, 5 are GND and they are all in the same place on Opi0 as on RasPi 1. Then 2 are 3v3, and again these are in the same places. and 2 are 5v, again in the same places. So there are 9 'power' pins all matching, and they are brought out as 5v, 3v3 and GND rails and a separate GND pin. Leaving 17 'data' pins on the Opi0 interface, which are brought out to 17 data pins on the adapter. Now, these are not necessarily labelled consistently, but there is no reason to think that any of them need to be shorted to each other by design. But your suggestion got me thinking harder... and I noticed that while these pins are "in the same places", actually the layout could be mirror-imaged depending on the way that the 2x13-pin adapter is keyed. so I cut off the key from one end and put it on upside down.... and the problem seems to have gone away. So I imagine that the adapter shorts together the 5v, or the 3v3, or the GND pins somewhere inside.... and when you put the adapter on upside down, that translates to a short between two pins that should not be shorted. So thanks for the inspiration!
  7. My OrangePi Zero idles at around 35-40 C (as shown by armbianmonitor -m, in ambient around 22 C) UNLESS I connect a RasPi GPIO Extension Board https://www.elecrow.com/gpio-extension-board-for-raspberry-pi-p-717.html to it, at which point it goes up dramatically. I have soldered a latching right-angle 2x13 pin connector to the Opi0 with the intent of connecting things to it despite having the NAS board connected (which hinders access to the header holes). I want it to be a data logger for arduino-type things that don't have enough local storage. If I attach just the 26-way ribbon cable, the temperature stays about teh same. When I add the T piece to the other end, the temperature climbs (usually after a minute or so of doing nothing). It has just peaked at 89 C, now fallen back again to 85 C. The CPU is shown as running at 240 MHz almost all the time, total load almost always <10%. Note that the T piece is not at this stage plugged in to a breadboard, though that is the goal. I have previously plugged it into a breadboard and I recall seeing the temperature reach 98 C as I desperately tried to shut it down gracefully. Anyone know what is going on here? These are just passive components I'm adding. What maximum temperature should I be aiming for? Thanks, and sorry if I should have created a new thread instead.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines