@Junxiao-Shi said in Unable to connect to non-alphabet SSID:
I reflashed my device with standard OpenWrt 18.06 and it works great.
Procedure and experience on my blog:
https://yoursunny.com/t/2019/omega2pro-openwrt/
Excellent, thanks!
Here is the docs: https://docs.onion.io/omega2-docs/
The vaious code is found here:
https://github.com/OnionIoT
If you keep in mind that Onion runs OpenWrt, there is a pile of information on openwrt.org and since OpenWrt is based upon linux, I use he linux man pages for a lot of stuff.
hth
i have the same err message.
Also when i used dmesg i saw a lot of "warp core" logo and so on, (up to me it's the wifi driver restarting but not sure) , closely linked to a wifi hang and ssh link cut.
i followed what is said here https://community.onion.io/topic/3561/error-cntlenqueueforrecv-blockack-request-frame-length-size-44-incorrect/6
It did ok until "fsck.fat /dev/mmcblk0p1" that fail because there is no "mmcblk0p1" file.
But up to now no more "warp core" message nor ssh link loss.
But i stil have some "ERROR!!! CntlEnqueueForRecv: BlockAck Request frame length size = 44 incorrect" message sometimes.
i noticed i have this:
br-wlan: port 1(ra0) entered disabled state
due to...?
EDIT> finally i used factory revert and re installed all my stuff. Now it's clean.
No restart of wifi nor SSH cut since yesterday.
@Ryan-Pedersen
The error does occur after random time and it happens for a bare system solely installing the Linux system installed on the Onion-2s module. I have tested this for several modules and seems to be systemic for my boards.
It looks like the jffs2 is corrupted during kernel idle . There is no power interruption but despite of that, the operation fails.
Again, all inputs to debug this further is very welcome.
Thanks in advance
@Roger-Sinasohn OK. Now I see that you want to use a special momentary (ON)-OFF-(ON) version of the standard SPDT switch.
It has a third switching position in the centre which is off and returns to the central off position when released.
About the 8th GPIO:
Omega2(+)'s U-Boot set GPIO11 to Output and High (this is a "secret" hack of Onion guys ;).
With a fast-gpio set-input 11 command you will get that highly requested 8th GPIO Input - but in this case
the on board RESET BUTTON of the Expansion Dock won't work
and you can't use Onion's genuine PWM Expansion and OLED Expansion without some little hardware modifications
Maybe I'll write "a few" words about that debouncing circuit... later.
In your build system run:
./scripts/feeds update
./scripts/feeds install vnstat
make menuconfig
Select vnstat under the Network menu. Exit and save
make
Your vnstat can then be transferred to your device.
@Fidel-Zapata said in How can compile a library?:
mqtt
nonmsg is python so you need to install python. mqtt is a protocol not a library so I'm not sure how to answer that one.
Take a look at the Onion docs to help you get started developing for Omega:
https://docs.onion.io/omega2-docs/
I think it useful to understand how the build system works so you can always install any OpenWrt package you may need. If you search for the packages on OpenWrt.org you can download the build configuration file(s) and it lists the dependencies.
Here is how you would use the build system to build mosquitto which also handles the dependencies. You run the scripts from the directory in which you install the build system:
./scripts/feeds update
./scripts/feeds install mosquitto
make menuconfig
Here's the output:
Installing package 'mosquitto' from packages
Installing package 'libwebsockets' from packages
Installing package 'libuv' from packages
Installing package 'c-ares' from packages
I don't use Docker, I think it strangles performance.
@luz Thank you. I have some very specific interrogatives for which I'll open a dedicated thread but I'm really satisfied with my little onion computers so far. Thanks for the links!