Jump to content

praveenbm5

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by praveenbm5

  1. Am also stuck there. Dont know where to go from here. Will check all logs now.
  2. For WiFi with Armbian Kernel - You need a tweak - #printf "xradio_wlan\nxradio_wlan" >> /etc/modules.d/xradio_wlan The xradio_wlan driver has a bug and it needs to be loaded twice. Restart. To configure WiFi from LUCI we need the /etc/config/wireless file in place. My /etc/config/wireless - AP not yet working, Scanning works from LUCI config wifi-device 'wlan0' option type 'mac80211' option channel 'auto' option hwmode '11ng' option path 'soc/soc:pcie-controller/pci0000:00/0000:00:02.0/0000:02:00.0' option htmode 'HT20' config wifi-iface option device 'wlan0' option network 'lan' option mode 'ap' option ssid 'OPiZero' option encryption 'psk2' option key 'password'
  3. Great... let me give this a try and will post the results back.
  4. Its Mega bits per second unfortunately When I stand very close to the OPZ then the link speed is 65Mbps. But the upload/download is only ~5 Mbps even when standing close.
  5. OpiZero as Hostspot - sftp: (standing nearby) Upload - 5 to 6 Mbps Download - 4 to 5 Mbps I just got my Opizero enclosure and now it sits snugly in there with its teeny wifi antenna. That could be an issue.
  6. @tkaiser - armbianmonitor - log Activity: 1. Hotspot with HostAPD and connected to it. 2. Logging into Ajenti Core Dashboard Time CPU load %cpu %sys %usr %nice %io %irq CPU 02:13:09: 1008MHz 0.27 10% 2% 5% 0% 2% 0% 59°C 02:13:14: 240MHz 0.25 10% 1% 5% 0% 2% 0% 59°C 02:13:19: 240MHz 0.29 10% 1% 5% 0% 2% 0% 59°C 02:13:24: 240MHz 0.26 10% 1% 4% 0% 1% 0% 60°C 02:13:30: 240MHz 0.24 10% 1% 4% 0% 1% 0% 60°C 02:13:35: 240MHz 0.22 9% 1% 4% 0% 1% 0% 59°C 02:13:40: 240MHz 0.20 9% 1% 4% 0% 1% 0% 61°C 02:13:45: 1008MHz 0.27 9% 1% 4% 0% 1% 0% 62°C 02:13:50: 240MHz 0.25 9% 1% 4% 0% 1% 0% 62°C 02:13:56: 240MHz 0.23 9% 1% 4% 0% 1% 0% 62°C 02:14:01: 240MHz 0.21 9% 1% 4% 0% 1% 0% 61°C 02:14:06: 240MHz 0.19 9% 1% 4% 0% 1% 0% 60°C 02:14:11: 1008MHz 0.18 9% 1% 4% 0% 1% 0% 62°C 02:14:16: 240MHz 0.24 9% 1% 4% 0% 1% 0% 61°C 02:14:22: 240MHz 0.22 9% 1% 4% 0% 1% 0% 62°C
  7. I have been running Armbian legacy with Wifi as AP with HostAPD and Ajenti Core Web Configuration installed. It is running pretty hot. I will try armbianmonitor on this tomorrow. I also have a working OpenWRT build (Wifi not configured) and it is running cool.
  8. @RagnerBG - If you are building the image from scratch, can you include full bash and coreutils/linux-utils instead of busybox?
  9. That image posted by Hyphop on 4pda.ru is the same as the one created by following my Gist posted on GitHub from my previous posts. In fact I created my image and that gist following @hyphop's and @dreamdream's cues and directions. It uses Armbian uBoot and Kernel (including modules and firmware) and the rest is OpenWRT. If you read through my gist you will understand it. Since Wifi works on Armbian with a small tweak ( #printf "xradio_wlan" >> /etc/modules ) it will work on OpenWRT too with a similar tweak ( #printf "xradio_wlan\nxradio_wlan" >> /etc/modules.d/xradio_wlan ). The trick is you need to load xradio module twice because of a bug. We can make a generic sunxi build of openwrt to boot on OpiZero with Wifi support following this gist. https://gist.github.com/praveenbm5/3c81692e6b2b651bb450fb7fc45dff4d So if you can build a generic OpenWRT image with Wifi and other menus / pages / plugins enabled, it will be great.
  10. We use only u-boot and Kernel from Armbian. Rest everything is OpenWRT. It is just a quick and dirty hack to get things going but it should work with out issues. If you have done it before... you can do it again. Can you build a custom sunxii image for OpiZero?
  11. I have updated the GitHub Gist to make things even more obvious and easy. Let me know if there is any step I can improve. Check it out - https://gist.github.com/praveenbm5/3c81692e6b2b651bb450fb7fc45dff4d On supported routers, OpenWRT comes with a WiFi menu item under Network Tab but here in this build of OpenWRT for Allwinner boards it is missing. Even I am looking for ways to enable it but so far nothing worked. Ref: https://wiki.openwrt.org/doc/walkthrough_wifi There are other ways using HostAPD for AP and wpa_supplicant for Wifi Client but all these methods are too cumbersome and rely on shell commands and config files.
  12. I changed /etc/config/network and configured lan with a static ip. I updated the GitHub Gist with the exact details. Thanks again. Does anyone know if there is a simpler web based way to configure WiFi in OpenWRT? I use DD-WRT on my home router and and WLAN configuration on it is straight forward. You need not bother with the underlyings on DD-WRT.
  13. I am using an off the shelf smartphone charger that supplies 5v/2A from Xiaomi. It does not have any fast charging tech built in. And ambient temperature is 25-30 C.
  14. Updated the Gist we started with the instructions. https://gist.github.com/praveenbm5/3c81692e6b2b651bb450fb7fc45dff4d
  15. This is my /etc/config/network config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option ula_prefix 'fd90:b7e4:45cc::/48' config interface 'lan' option ifname 'eth0' option force_link '1' option type 'bridge' option proto 'static' option ipaddr '192.168.1.1' option netmask '255.255.255.0' option ip6assign '60'
  16. Orange Pi Zero desperately needs a heat sink. It is running so hot. Xunlong should include it as an accessory while ordering OPZ on AliExpress.
  17. Yes it does light up. Double blinks for a while and then lights up solid.
  18. I understand your frustration! Been there, felt that! but I beg to differ with you! Getting things up and running is a lot of hard work and more importantly guess work. Many a times we ourselves do not remember the exact steps taken. Over above that, once its working and if we report the results back in a forum like this, it suddenly becomes a duty of us to write a NOOB (me ) friendly guide to reproduce the results. By the way I sincerely thank those who report back their process diligently but I cannot condone those who do not. People get caught up in silly nuances of life in spite of best intentions . Take a chill pill and hope for the best. You can ofcourse, borderline pester them for details. And try to contribute something back to the community yourself before asking it of others. People generally reciprocate. I am taking the liberty to document DreamDreams process of porting OpenWRT to OPZ using Armbian uBoot and Kernel in this GitHub gist here - https://gist.github.com/praveenbm5/3c81692e6b2b651bb450fb7fc45dff4d Please contribute... Everybody... its a humble request
  19. Still not working even after retaining the /lib/firmware folder from Armbian. Any more tips?
  20. Can you please share the openwrt image you are using for OPZ.... Will be of great help. Thank you.
  21. Already ordered one and waiting for delivery How did you connect to to the OPZ after preparing everything as above and booting OPZ with it?
  22. Here is the exact process I followed. Installed Armbian_5.24.161216_Orangepizero_Ubuntu_xenial_3.4.113.img onto a 16 GB SD card using Win32DiskImager. Mounted the uSD in Ubuntu Laptop and expanded the partition using GParted. Deleted everything from uSD except /boot and /lib/modules Mounted openwrt-15.05.1-sunxi-root.ext4 on Ubuntu using loopback interface on /mnt/openwrt Copied over the contents of /mnt/openwrt to the root of uSD by merging folders when prompted. Modified /etc/init.d/boot and added ulimit -n 10000 before /sbin/kmloader command (line39). Executed the following code inside /lib/modules/3.4.113-sun8i for x in `find -name *.ko` do ln -s $x . done After executing the above steps, I transferred the uSD to OPiZero and booted from it. Then I connected the OPZ LAN to my wifi routers LAN socket and scanned my local network for new devices. Nothing showed up. Read on OpenWRT website that when OpenWRT is freshly installed, it assigns 192.168.1.1/24 to the LAN interface. I double checked that there is no IP conflict on my lan but still nothing showed up on my network scan. I was unable to ping or telnet to 192.168.1.1. I even tried connecting my OPZ directly to my laptop using normal ethernet cable. I assigned my Laptop LAN 192.168.1.2/24 and tried to ping OPZ. Nothing happened. Since my laptop has Gbit ethernet I assumed a cross cable is not necessary since Gbit NIC can auto configure connects.
  23. I did all the above and created a file system on a MicroSD card. Now after booting from this MicroSD card, how do I login to OpenWRT? I tried connecting my laptops LAN to the LAN on OPiZero and I tried connecting the LAN on OPiZero to my Wifi Router's LAN. Either ways I am unable to connect to the OPZero with above OpenWRT image. Please help. Thank you.
  24. Atleast we found a fix and my OPiZero is working as expected. I modified the /etc/modules-load.d/modules.conf and added a duplicate entry for xradio_wlan in the end and boom everything works as expected. You should probably put this in the legacy distro to avoid confusion until the driver is fixed. #w1-sunxi #w1-gpio #w1-therm #sunxi-cir xradio_wlan g_serial xradio_wlan
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines