borombo

  • Content Count

    27
  • Joined

  • Last visited

About borombo

  • Rank
    Member

Recent Profile Visitors

1220 profile views
  1. log2ram writes files from ramdisk to sdcard every hour (if they are updated) by cron task. Also at startup log2ram loads all content from /var/log.hdd to ramdisk. 1. For improving situation with full ramdisk you can organize log rotation rules in /etc/logrotate.d to optimize logs by size. Log rotation is time dependent - daily, weekly. But, using log2ram, the best choice is to make it size-dependent. edit /etc/logrotate.d/rsyslog: /var/log/syslog { # rotate only once rotate 1 # rotate only if syslog > 10 Mb size 10M m
  2. or just flash new armbian with mainline kernel
  3. Was the same problem on 3.xx kernel. after upgrade to 4.9.4 - wifi runs a little bit faster and smoother. except one thing - now it freezes for 5 seconds exactly every minute.
  4. Ethernet doesn't like static electricity. This may be caused by thunder and lightning outside.
  5. oprangepi pc only has cvbs and hdmi interfaces.
  6. Try Opera Mini on any hi-end device and you will understand how it looks here) for example forum with and without mobile theme: (but nevermind, this applies ony opera mini)
  7. can you please return previous theme for mobile phones? It was really fast and comfortable on mobile devices. Sad, but new forum have't any mobile theme.
  8. try: su -c "echo 12 > /sys/bus/w1/devices/28-0316a154bfff/w1_slave"
  9. Thank you! So this is step by step guide: We need compile special dtc, compile code above into dtbo and load dtbo overlay. "Enable 1wire on Mainline kernel". 1. mkdir 1wire; cd 1wire 2. nano 1w.dts, paste and save: // Definitions for w1-gpio module (without external pullup) /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target-path = "/"; __overlay__ { onewire@0 { compatible = "w1-gpio"; pinctrl-names = "default"; pinctrl-0 = <&w1_pins>
  10. Hi! I falling in similar problem - searching step by step guide with no success. Only thing that I found is http://linux-sunxi.org/1-Wire but I can not find &pio label in decompiled dtb (to dts) for opi zero. My kernel version is 4.9. Please can you describe procedure of editing dtb, where is this damn &pio label? I was trying compile code above, but native dtc gives "Syntax error". Where can find information about compiling and using above code? Please help!
  11. Simple library for 128x64. Works fine with SH1106 1.3" OLED and OrangePi Zero (4.9 kernel). You just need to activate I2C interface by replacing "disabled" with "okay" in device tree file (or in the fex). Connect display and test with "sudo i2cdetect -y 0" (or 1). If your display has 3d address instead 3c, change OLED_I2C_ADDR parameter it in the oled.h. Enter "make" to compile and run demo with "sudo ./oled_demo /dev/i2c-0". This library was written by Sonal Pinto for Arduino and ported to Linux by Vladimir Komendantskiy. I just wrote functions for text drawing and add three littl
  12. or you can connect micro usb-wifi dongle.
  13. Your Network manager may be incompatible with AP's setup. I have similar issue with latest Network manager on my desktop (Archlinux) (send auth to, authentication timed out) but at the same time Android phone connects without problems. Play with encryption settings on the AP side or test it on different routers.