We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

[GUIDE] Install OpenWrt 18.06 on Onion Omega2 Pro



  • I got the Onion Omega2 Pro last month. I like it because:

    • The CPU is MIPS architecture, allowing me to gain some experience with this unfamiliar architecture.
    • It has 8GB eMMC storage, giving me plenty of space to install packages.
    • It has LiPo battery port, USB host port, and pin headers with SPI and I2C, leaving possibility of building battery-powered IoT projects.

    However, I'm unhappy with OnionOS. Apart from GUI differences, it uses a custom WiFi driver wifi-warp-core that has several flaws. Most notably, my WiFi SSID is + (a plus sign), and the Onion would not connect to it. I want to replace OnionOS with a standard OpenWrt installation!

    I figured out how to do that, and wrote up a guide in case others have the same need:
    https://yoursunny.com/t/2019/omega2pro-openwrt/

    The outcome would be an Omega2 Pro with normal OpenWrt 18.06 WiFi driver complete with Luci user interface, installed to the 8GB eMMC storage.



  • Useful article. Thanks for posting.



  • Just because I am curious what are the difference with the OnionOS firmware?
    Because they are not replying since a while on the forum so I am wondering if it is the case to use another "distro" that has support and works.



  • I am not an expert but as far as I can see it's basically OpenWrt with some additional Onion packages installed and of course the wi-fi driver. The additional packages generally are to support Onion specific hardware and wed pages for initial setup and Onion apps for the web interface.

    For me it is a smart choice. They use a standard OpenWrt build and just add a few things to add the additional functionality required to support their device and peripherals, it's not a complete fork of OpenWrt for some kind of vanity project.



  • Thank you for the guide. Received my new Omega2+ today and within 10 mins it was up and running with OpenWrt and Luci.



  • @yoursunny Thank you for the post.
    I am facing few problems regarding Openwrt on Omega2 pro
    I have booted the board with OpenWrt 19.07

    I am able to access http://192.168.1.1/cgi-bin/luci.

    I have enabled the wifi access point and provided the LAN connection to the ethernet port on the device.

    I am facing a few problems.

    I am able to connect to the wifi from my laptop and access the internet but I am not able to connect to the wifi from my android phone. also, I am not able to access http://192.168.1.1/cgi-bin/luci when I connect to OpenWrt wifi

    When I connect through putty(as serial port ), I am not able to access the internet from the command line. opkg is failing.

    I want to achieve an 802.11s based wireless mesh network Where I connect LAN cable to the ethernet port, OpenWrt act as Accespoint so that other devices can connect to this access point and communicate to each other.

    I am very much new to this field.
    Thanks in advance.



  • I don't see real feature to change OnionOS, I hoped to see OpenWRT 19.07. To place battle software internal 32MB is enough. Database and other data files can be placed to the external disks (USB, MMC) with no problems.



  • Hello everyone, I am facing a problem. I am not finding anything inside /mnt/sda1
    USB flash drive is connected to the Onion still nothing inside sda1

    How can i solve this problem

    Thanks in advance .



  • @apoorvamanjunath please post the output of the command df -hT



  • @apoorvamanjunath Are you really running some OpenWrt 19.07 based stuff on your Omega2 Pro?



  • I always prefer mainline distros over very specialised ones. Do you know if OpenWRT 19.07 supports Omega2 Dash features?



  • @victoriano :
    <<
    prefer mainline distros over very specialised ones.
    <<

    Very true, and I totally agree..

    At the same time, we have to look at the value a specific implementation brings into the table. If we consider, I2C is an abstraction of 2 GPIO pins (two pins are configured to work together, either at s/w level or h/w level) to from an I2C bus, that does indeed brings in some value.

    ESPs do I2C at s/w level and their I2C is limited to 100kHz max from a core running at 160MHz, while the h/w implementation of AVR 328P can support 400kHz bus @16MHz.

    To my knowledge, OpenWRT is focusing on WiFi routers while Omega2 is focusing on IoT and peripheral connectivity.

    Thanks..



  • @Modest-Polykarpovich said in [GUIDE] Install OpenWrt 18.06 on Onion Omega2 Pro:

    I don't see real feature to change OnionOS, I hoped to see OpenWRT 19.07.

    The main reason I changed to OpenWrt is that the Onion WiFi firmware is unable to connect to my upstream WiFi, because its SSID is + (a plus sign).

    I am now running OpenWrt 19.07 on my unit. The installation procedure is the same.
    However, it's no longer possible to install any Onion specific software on 19.07. I want that battery indicator!


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.