@cas well said. I set my Docker image to 40Gb
!
Posts made by Janus Sanders
-
RE: I have installed a package, it says that it has installed fine but then I can only find the library files (*.so.*) and no headers (.h) ?
-
Omega Onion 2S+ Looses WiFi AP when Home Router Disconnected
Like the title says, I first connect to my home router using
wifisetup
. Everything works fine. As soon as I unplug my home router, the Omega Onion 2S+ Access Point also shuts down.Is there a way to prevent this from happening?
Also,
If the Onion 2S+ cannot connect to the configured home router, It will never show it's wireless AP or finalize it's boot sequence.
This is considered a critical failure in the boot sequence.
-
RE: I have installed a package, it says that it has installed fine but then I can only find the library files (*.so.*) and no headers (.h) ?
@Edward-Cheadle That's correct. Also, I highly recommend using Docker. You'll spend several hours (expert) if not weeks (novice) learning how to build the LEDE environment. Do yourself a huge favor and learn Docker with DockerHub.
-
RE: What makes a camera fail
I did some very basic research, so this may not be very accurate. It appears that your USB camera has audio that may be interfering with the USB drivers on the Omega Onion (again...not exactly sure). Try the following:
- Make sure the volume on the Camera is turned all the way down or off
- Use a USB camera that doesn't have audio
And try again.
From your error message, it appears that the USB camera disconnects and reconnects a couple times then finally fails.
-
RE: what is wrong with this code (using python 3{omega 2+}) [sorry im new to this its all code but the bottom where i say i get]
Indentations are extremely important to the Python interpreter. It appears that Python doesn't know what parent method that line belongs to.
-
RE: I have installed a package, it says that it has installed fine but then I can only find the library files (*.so.*) and no headers (.h) ?
There seems to be some confusion here. The OpenWrt package manager
opkg
only deployscompiled
binaries (i.e. the.so
) files. If you looking to build and deploy your own binaries (again the.so
files), you'll need to setup aCross-Compile Build Environment
. That's where you will need to deal with the.h
files. -
RE: Can't get Omega2 to connect to my home wifi
The most common issues I've had regarding wifi is a
weak signal
. The first step is to get as close to the wifi source as possible. I use thehotspot
on my android that is right next to the Onion and it works every time. -
RE: Omega2+ Cross Compilation on Ubuntu 18.04 LEDE Build failing
I spent a week trying different configurations to solve this issue, the two main docker platforms I list below:
- Windows 10 running linux docker container
- Ubuntu 18.04 LTS running linux docker container
The final result on both platforms were consistent:
- libwebsockets.h not found error
- Mosquitto build fails
- Not enough space available on the container
Workarounds (note: this works on a failed container
- Increase the default docker container size allocated by the docker daemon form 20Gb to 40Gb. I found the final build is 20.7Gb total and takes about 7 hours on Windows and 4 hours on Ubuntu...Give or take. This is done by modifying the docker
daemon.json
file.
docker attach <container ID> (note: CTRL-p CTRL-Q to SIGKILL)
Attach
to the docker container anduse VIM to modify the .config
file and:
a. Search for all instances of the keyword "mosquitto" and comment them out from the build configuration. If you need mosquitto, you'll have to find another way around the issue.
note: I recommend addding the"is not used"
value after commenting out the line
vim .config
make menuconfig
- Either run
make menuconfig
to add libwebsockets library and the libwesockets examples to the build configuration. Or while you're modifying the .config file, do a search usingVIM
for libwebsockets and add the library and examples to the build.
note: I built libwebsockets library by [using an*
in menuconfig or=y
in .config they are accomplishing the same thing] and set the libwebsockets examples [M
in menuconfig or=m
in .config]
make -j1 V=s
- Run
make [options]
inside of theattached
container. Docker automatically creates several intermediate containers when necessary and I found that using a Dockerfile can be problematic for Cross-Compile build process.
Optional Build: use my Dockerfile
This workaround definitely builds on Windows 10 and Ubuntu 18.04 but it's not for the faint of heart!
Happy Hacking!
-
RE: Newly minted Omega2S
Is there any way we can get the Kicad footprint of these modules? I'm developing a new commercial line using the Omega2S+ and the footprints would greatly speed up development. thx :]
-
RE: Power Bare Onion Board?
@youlian-troyanov you're not missing anything. The confusion is in the specifics of my design. I using the Omega mini dock and powering the unit through it's mini USB port (5 vdc) eliminating a lot of custom wiring, cabling or converters :slight_smile:
-
RE: Supported Bluetooth Audio Module (AptX)
I'm not sure if this will work for audio but Adafruit may be worth a try: https://www.adafruit.com/products/2633
-
RE: Power Bare Onion Board?
@youlian-troyanov the link above was based on older designs. Consider Adafruit's PowerBoost products. (I'm not a salesman btw )
-
RE: Power Bare Onion Board?
I feel an explanation is in order. My Onion projects are designed to be portable and modular. I connect the Onion using the Adafruit LiPo Charger . This is the circuitry used to power the Onion with 3.3-volts, including connecting both grounds (from the charger) in the overall application. I wouldn't connect power directly without protection of some kind. I apologize if my comments were misleading. Also, the RST-GND (in a powered circuit) will reset or re-flash the Onion OS so a push button should be used for this feature and is not necessary for normal operation.
-
RE: No-header Omega Onion as an option?
@Lazar-Demin I've performed the surgery twice and getting proficient at it. Thought I'd ask.
-
No-header Omega Onion as an option?
Are there any plans of offering an Omega Onion without header pins?
This option would be very useful for those of us who are hardware hackers.
-
RE: Mini Wireless HD Webcam
@francis-chung WOW! I feel honored! The shipping address you have on file is the same, thank you!
-
RE: Mini Wireless HD Webcam
@Guest you're most welcome! Thanks also to the Onion Team on a job well done!
-
RE: Mini Wireless HD Webcam
@Guest yup, I was surprised to and excited especially with all of the difficulty others were having with their cameras! One caveat though, the model I used require too much power to light the embedded LEDs so I manually cut the power to them and got 30+ minutes of HD video streaming out of it! I'm currently in the process of posting a video of it working.