@Luciano-S. Thanks for the suggestion! I just did the modification as suggested. I am too busy fitting Omega 2+ into my home automation...
Ls Song
@Ls Song
Best posts made by Ls Song
-
RE: Ethernet expansion - RJ45 connector
Latest posts made by Ls Song
-
Cross compiling for Omega 2
I am trying to setup cross compiling for C++ on my Windows 10 (with Ubuntu subsystem) by following the instruction of
https://docs.onion.io/omega2-docs/cross-compiling.html
All steps are followed and succeed but when compiling the GPIO sample code, it seems all library and .h file (for example libugpio and gpio.h) are not exist in my tool train path and the make just failed.
I tried to copy the lib (a bunch of .so) from my Omega 2 but cannot find relevant .h in Omega 2. Anyone can give me a guild or direction on how to get allthose files?
Thanks in advance!
-
Dumbap
I am trying to config my Omega Onion 2 into a dumbap to use as a wifi ap in office environment. The office use an NTLM proxy and I must use the IP handle out by office instead of the one assigned by Omega's DHCP. (I know what I am doing and doing this for a reason.)
To put in a sentence: I need Omega become dumbap.
This issue was raised before but still no answer. I tried the settings on Openwrt wiki (https://wiki.openwrt.org/doc/recipes/dumbap) but it doesn't work. Anyway to disable the DHCP on the wireless AP part of Omega 2?
(I connect to my office network via wired ethernet and everything works fine. The only thing I need is to have computers connected to Omega to get an IP from office DHCP (10.82.yy.xx) , not from Omega 2 (192.168.3.xx)
Thanks!
-
RE: CNtlm support
Thanks... just really want to avoid doing the cross compiling thing.... but it seems the only way....
-
CNtlm support
I am planning to setup Omega 2 as a wifi hotspot in our office, however since our IT use NTLM for proxy authentication I need to have CNtlm running on Omega 2. (I know I can do without it but since I also want to connect my android phone, which has no CNtlm client with this hot spot so I need CNtlm on Omega 2)
I am currently using a Rpi for this purpose and it works perfect. However I would like to change this into Omega but cannot find a CNtlm client for Omega 2 nor Openwrt. Any suggestions?
-
RE: 3D files of boards for case design.
I think it's quite important to have a 3D case design for Onion series plus the expansions. Or at least a detailed board drawing we could put together is also fine (DXF, DWG, STL... just throw us anything) . For instance the Arduino expansion board has no screw holes and makes it difficult to mount on something else...
I am building an Auto power switch in my house and end up having to duct-tape the Omega 2+ and Arduino exp in the switching box... Not good at all...
-
RE: Ethernet expansion - RJ45 connector
@Luciano-S. Thanks for the suggestion! I just did the modification as suggested. I am too busy fitting Omega 2+ into my home automation...
-
RE: Json parser for shell script
@Luciano-S. I am on Omega2+ and I have some stuff already put inside the omega... I think maybe I need follow your suggestion and put a request on Git...
Thanks..
-
RE: Json parser for shell script
@Luciano-S. Thanks for the feedback, I checked it but it seems the only project involving Json using Python to do the parsing job....
Actually I want to use jq since my scripts runs well on a Rpi with jq. Thus I want to find at least a jq alternative. Also Omega2' s memory is too small for compiling jq and pre- compiled binary doesn't work... (Cross compiling is doable but if that's not for a faint of heart...)
-
Json parser for shell script
I am trying to write some shell scripts to react to some sensors. However, the output of the sensor is in Json format.
Is there any Json parser I could use ? I'd tried jq but the compiled version doesn't seems to work and I really don't want to use Python due to memory constrain. Any other idea?
Thanks in advance!
-
RE: Ethernet expansion - RJ45 connector
Thanks for all your reply... Looks I have to purchase the Ethernet expension...