nikkoaki

Members
  • Content Count

    8
  • Joined

  • Last visited

  1. I remember that the maximum frequency was 1296Mhz back with Xenial, with kernel 3.x. It even says here Heat is not a problem since i have a large heatsink and temperature controlled fan, i was just curious about why the max frequency was bumped to 1368Mhz on the newer builds. What's the rationale behind it?
  2. Bah, forget my previous port. I thought pin PA7 was pin 29 (which is, physically), but it's actually pin 7. Everything works fine.
  3. Greetings, I'm not good with linux so excuse any stupidity i might say. I have been using Xenial for years now and just decided to update. In the past i was using the sunxi module to access gpio's For ex: echo 1 > /sys/class/gpio_sw/PA7/data Now in Bionic i just noticed gpio's are not accessed in the same way. According to this user, we can either use sysFS (which seems deprecated) or libgpiod. The problem is that i can't make it work. libgpiod: root@orangepi:~# gpioset gpiochip0 29=1 gpioset: error setting the GPIO line values: Unknown error 517 sysFS: root@orangepi:~# echo "29" >/sys/class/gpio/export -bash: echo: write error: Unknown error 517 root@orangepi:~# gpioinfo gpiochip1 gpiochip1 - 32 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed "usb0-vbus" output active-high [used] line 3: unnamed "sw4" input active-low [used] line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed "orangepi:green:pwr" output active-high [used] line 11: unnamed unused input active-high line 12: unnamed unused input active-high line 13: unnamed unused input active-high line 14: unnamed unused input active-high line 15: unnamed unused input active-high line 16: unnamed unused input active-high line 17: unnamed unused input active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high line 20: unnamed unused input active-high line 21: unnamed unused input active-high line 22: unnamed unused input active-high line 23: unnamed unused input active-high line 24: unnamed unused input active-high line 25: unnamed unused input active-high line 26: unnamed unused input active-high line 27: unnamed unused input active-high line 28: unnamed unused input active-high line 29: unnamed unused input active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high root@orangepi:~# gpioinfo gpiochip0 gpiochip0 - 224 lines: line 0: unnamed unused input active-high line 1: unnamed unused input active-high line 2: unnamed unused input active-high line 3: unnamed unused input active-high line 4: unnamed unused input active-high line 5: unnamed unused input active-high line 6: unnamed unused input active-high line 7: unnamed unused input active-high line 8: unnamed unused input active-high line 9: unnamed unused input active-high line 10: unnamed unused input active-high line 11: unnamed unused input active-high line 12: unnamed unused input active-high line 13: unnamed unused input active-high line 14: unnamed unused input active-high line 15: unnamed "orangepi:red:status" output active-high [used] line 16: unnamed unused input active-high line 17: unnamed unused input active-high line 18: unnamed unused input active-high line 19: unnamed unused input active-high line 20: unnamed unused input active-high line 21: unnamed unused input active-high line 22: unnamed unused input active-high line 23: unnamed unused input active-high line 24: unnamed unused input active-high line 25: unnamed unused input active-high line 26: unnamed unused input active-high line 27: unnamed unused input active-high line 28: unnamed unused input active-high line 29: unnamed unused input active-high line 30: unnamed unused input active-high line 31: unnamed unused input active-high line 32: unnamed unused input active-high line 33: unnamed unused input active-high line 34: unnamed unused input active-high line 35: unnamed unused input active-high line 36: unnamed unused input active-high line 37: unnamed unused input active-high line 38: unnamed unused input active-high line 39: unnamed unused input active-high line 40: unnamed unused input active-high line 41: unnamed unused input active-high line 42: unnamed unused input active-high line 43: unnamed unused input active-high line 44: unnamed unused input active-high line 45: unnamed unused input active-high line 46: unnamed unused input active-high line 47: unnamed unused input active-high line 48: unnamed unused input active-high line 49: unnamed unused input active-high line 50: unnamed unused input active-high line 51: unnamed unused input active-high line 52: unnamed unused input active-high line 53: unnamed unused input active-high line 54: unnamed unused input active-high line 55: unnamed unused input active-high line 56: unnamed unused input active-high line 57: unnamed unused input active-high line 58: unnamed unused input active-high line 59: unnamed unused input active-high line 60: unnamed unused input active-high line 61: unnamed unused input active-high line 62: unnamed unused input active-high line 63: unnamed unused input active-high line 64: unnamed unused input active-high line 65: unnamed unused input active-high line 66: unnamed unused input active-high line 67: unnamed unused input active-high line 68: unnamed unused input active-high line 69: unnamed unused input active-high line 70: unnamed unused input active-high line 71: unnamed unused input active-high line 72: unnamed unused input active-high line 73: unnamed unused input active-high line 74: unnamed unused input active-high line 75: unnamed unused input active-high line 76: unnamed unused input active-high line 77: unnamed unused input active-high line 78: unnamed unused input active-high line 79: unnamed unused input active-high line 80: unnamed unused input active-high line 81: unnamed unused input active-high line 82: unnamed unused input active-high line 83: unnamed unused input active-high line 84: unnamed unused input active-high line 85: unnamed unused input active-high line 86: unnamed unused input active-high line 87: unnamed unused input active-high line 88: unnamed unused input active-high line 89: unnamed unused input active-high line 90: unnamed unused input active-high line 91: unnamed unused input active-high line 92: unnamed unused input active-high line 93: unnamed unused input active-high line 94: unnamed unused input active-high line 95: unnamed unused input active-high line 96: unnamed unused input active-high line 97: unnamed unused input active-high line 98: unnamed unused input active-high line 99: unnamed unused input active-high line 100: unnamed unused input active-high line 101: unnamed unused input active-high line 102: unnamed unused input active-high line 103: unnamed unused input active-high line 104: unnamed unused input active-high line 105: unnamed unused input active-high line 106: unnamed unused input active-high line 107: unnamed unused input active-high line 108: unnamed unused input active-high line 109: unnamed unused input active-high line 110: unnamed unused input active-high line 111: unnamed unused input active-high line 112: unnamed unused input active-high line 113: unnamed unused input active-high line 114: unnamed unused input active-high line 115: unnamed unused input active-high line 116: unnamed unused input active-high line 117: unnamed unused input active-high line 118: unnamed unused input active-high line 119: unnamed unused input active-high line 120: unnamed unused input active-high line 121: unnamed unused input active-high line 122: unnamed unused input active-high line 123: unnamed unused input active-high line 124: unnamed unused input active-high line 125: unnamed unused input active-high line 126: unnamed unused input active-high line 127: unnamed unused input active-high line 128: unnamed unused input active-high line 129: unnamed unused input active-high line 130: unnamed unused input active-high line 131: unnamed unused input active-high line 132: unnamed unused input active-high line 133: unnamed unused input active-high line 134: unnamed unused input active-high line 135: unnamed unused input active-high line 136: unnamed unused input active-high line 137: unnamed unused input active-high line 138: unnamed unused input active-high line 139: unnamed unused input active-high line 140: unnamed unused input active-high line 141: unnamed unused input active-high line 142: unnamed unused input active-high line 143: unnamed unused input active-high line 144: unnamed unused input active-high line 145: unnamed unused input active-high line 146: unnamed unused input active-high line 147: unnamed unused input active-high line 148: unnamed unused input active-high line 149: unnamed unused input active-high line 150: unnamed unused input active-high line 151: unnamed unused input active-high line 152: unnamed unused input active-high line 153: unnamed unused input active-high line 154: unnamed unused input active-high line 155: unnamed unused input active-high line 156: unnamed unused input active-high line 157: unnamed unused input active-high line 158: unnamed unused input active-high line 159: unnamed unused input active-high line 160: unnamed unused input active-high line 161: unnamed unused input active-high line 162: unnamed unused input active-high line 163: unnamed unused input active-high line 164: unnamed unused input active-high line 165: unnamed unused input active-high line 166: unnamed "cd" input active-low [used] line 167: unnamed unused input active-high line 168: unnamed unused input active-high line 169: unnamed unused input active-high line 170: unnamed unused input active-high line 171: unnamed unused input active-high line 172: unnamed unused input active-high line 173: unnamed unused input active-high line 174: unnamed unused input active-high line 175: unnamed unused input active-high line 176: unnamed unused input active-high line 177: unnamed unused input active-high line 178: unnamed unused input active-high line 179: unnamed unused input active-high line 180: unnamed unused input active-high line 181: unnamed unused input active-high line 182: unnamed unused input active-high line 183: unnamed unused input active-high line 184: unnamed unused input active-high line 185: unnamed unused input active-high line 186: unnamed unused input active-high line 187: unnamed unused input active-high line 188: unnamed unused input active-high line 189: unnamed unused input active-high line 190: unnamed unused input active-high line 191: unnamed unused input active-high line 192: unnamed unused input active-high line 193: unnamed unused input active-high line 194: unnamed unused input active-high line 195: unnamed unused input active-high line 196: unnamed unused input active-high line 197: unnamed unused input active-high line 198: unnamed unused input active-high line 199: unnamed unused input active-high line 200: unnamed unused input active-high line 201: unnamed unused input active-high line 202: unnamed unused input active-high line 203: unnamed unused input active-high line 204: unnamed "usb0_id_det" input active-high [used] line 205: unnamed unused input active-high line 206: unnamed unused input active-high line 207: unnamed unused input active-high line 208: unnamed unused input active-high line 209: unnamed unused input active-high line 210: unnamed unused input active-high line 211: unnamed unused input active-high line 212: unnamed unused input active-high line 213: unnamed unused input active-high line 214: unnamed unused input active-high line 215: unnamed unused input active-high line 216: unnamed unused input active-high line 217: unnamed unused input active-high line 218: unnamed unused input active-high line 219: unnamed unused input active-high line 220: unnamed unused input active-high line 221: unnamed unused input active-high line 222: unnamed unused input active-high line 223: unnamed unused input active-high What am i doing wrong? It's a clean install of Bionic server. I would prefer to use libgpiod since it looks less complex Can anyone point me in the right direction? Thanks a a lot.
  4. I remember trying to install a usb wifi dongle in the past and while it gave me lots of headaches, i did manage to make it work. It's been a while since i used wifi (it's been a while since i used the SBC too to be honest). Today i decided to power it up at least just to update it. When it was installing kernel related stuff, it gave an error stating it couldn't build the 8192cu module (or something like that), the specific log says scripts/Makefile.build:432: recipe for target '/var/lib/dkms/8192cu/1.10/build/8192cu.o' failed make[1]: *** [/var/lib/dkms/8192cu/1.10/build/8192cu.o] Error 1 Makefile:1368: recipe for target '_module_/var/lib/dkms/8192cu/1.10/build' failed make: *** [_module_/var/lib/dkms/8192cu/1.10/build] Error 2 make: Leaving directory '/usr/src/linux-headers-3.4.113-sun8i' Among a long list of errors. Anyway, i tried using the usb dongle. While it seems to work at first, it has a strange behavior. First of all, now instead of only showing only a wlan1 interface, it also shows a wlxxxxxxxxxxxx one. Sometimes it auto connects to my wifi network on one, sometimes it connects with the other. Another strange thing: When it connects, it gets an ip and i can confirm in my router stats page that it's connected but as soon as i disconnect the lan cable, it looses connection with the router. I have tried most of the things i tried last time i made it work like compiling the rtl8192cu-fixes sources and installing them. I have 8192cu active in modules.conf, lsmod says that 8188eu is also active. I'm a newbie in linux and i already lost 3 hours trying to fix this. What am i missing? is the wlxxxxxxxxxxx supposed to show up? I guess you have all the info you need in the armbianmonitor file, if not, ask away. Thanks in advance. Damn, just noticed i probably posted this in the wrong section [EDIT: Pressed "send" by mistake while still writting)
  5. Thank you for your reply. Indeed, removing that line solved the problem. What's weird is that i never changed my network configuration. What i did was: Install armbian -> disable gpu/hdmi -> update packages -> install webmin -> went to the network pane on webmin and got that error -> did other things I didn't check the network config before installing webmin so i don't know if it was already like that or it was indeed webmin that changed it. I never had that problem in the past so i'm guessing webmin had nothing to do with it or it's something from recent versions. Anyway, thanks a lot.
  6. Greetings, I recently changed from an old loboris ubuntu distribution to armbian for my opi PC. I never had problems with it, it was just not getting updates for a long time since it's old and not a LTS. I never had problems with openvpn also.. installing from apt and creating ca's and users was a breeze. Now with armbian i simply cannot get it to work, i tried both with apt and compiling the latest version from source. I cannot get it to start. Doing systemctl start openvpn Job for openvpn.service failed because the control process exited with error code. See "systemctl status openvpn.service" and "journalctl -xe" for details. journalctl -xe -- Unit openvpn.service has begun starting up. Oct 21 15:11:11 orangepi openvpn[2198]: * Starting virtual private network daemon(s)... Oct 21 15:11:11 orangepi openvpn[2198]: * Autostarting VPN 'Opi2k' Oct 21 15:11:11 orangepi ovpn-Opi2k[2210]: Options error: --topology must be net30, p2p, or subnet Oct 21 15:11:11 orangepi ovpn-Opi2k[2210]: Use --help for more information. Oct 21 15:11:11 orangepi systemd[1]: openvpn.service: Control process exited, code=exited status=1 Oct 21 15:11:11 orangepi systemd[1]: Failed to start LSB: Openvpn VPN service. -- Subject: Unit openvpn.service has failed -- Defined-By: systemd I checked the topology and it's "subnet" syslog: Oct 21 15:09:09 orangepi systemd[1]: Failed to start LSB: Openvpn VPN service. Oct 21 15:09:09 orangepi systemd[1]: openvpn.service: Unit entered failed state. Oct 21 15:09:09 orangepi systemd[1]: openvpn.service: Failed with result 'exit-code'. I also tried PiVPN, it fails in the middle of the installation with the error : : error fetching interface information: Device not found : error fetching interface information: Device not found Going to Network Configuration on webmin also gives an error: ifconfig works fine and gives me both eth0 and lo I tried several things i've read on some tutorials but none worked.. again, i never had these problems with the old distro so i'm guessing its armbian related.. anyone has a clue on what might be? Thanks in advance.
  7. I was about to open a new thread makig the same question as OP but for the OPI PC. It was nice to find this first. Fortunately the OPI PC is similar to the One. http://i.imgur.com/Tyrbb5g.jpg I have no idea why technik007_cz and Tido were acting like that. It's very handy to be able to hardware reset the board. I have a raspi running headless 24/7 and an arduino connected to it, pinging it periodically through the GPIO. If for some reason the raspi freezes and stops responding for a while, the arduino resets it. I intend to do the same with the OPI PC.