<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with faq]]></title><description><![CDATA[A list of topics that have been tagged with faq]]></description><link>http://community.onion.io/tags/faq</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 15:11:51 GMT</lastBuildDate><atom:link href="http://community.onion.io/tags/faq.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Aug 2023 14:12:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[FAQ: Is there different firmware for the through-hole Omega2 and surface mount Omega2S models?]]></title><description><![CDATA[<p dir="auto">No. The same firmware can be used for the through-hole Omega2 and surface mount Omega2S models.</p>
<p dir="auto"><strong>Important:</strong> There are two versions of the firmware; one for the Omega2 and Omega2S, and one for the Omega2+ and Omega2S+:</p>
<ul>
<li>Firmware starting with <code>omega2-...</code> is for the Omega2 (<strong>OM-O2</strong>) and Omega2S (<strong>OM-O2S</strong>) - both with 64MB RAM and 16MB storage</li>
<li>Firmware starting with <code>omega2p-...</code> is for the Omega2+ (<strong>OM-O2P</strong>) and Omega2S+ (<strong>OM-O2SP</strong>) - both with 128MB RAM and 32MB storage</li>
</ul>
]]></description><link>http://community.onion.io/topic/5008/faq-is-there-different-firmware-for-the-through-hole-omega2-and-surface-mount-omega2s-models</link><guid isPermaLink="true">http://community.onion.io/topic/5008/faq-is-there-different-firmware-for-the-through-hole-omega2-and-surface-mount-omega2s-models</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Mon, 28 Aug 2023 14:12:25 GMT</pubDate></item><item><title><![CDATA[FAQ: How do I detect if the hardware is an Omega2 or Omega2+ from Linux?]]></title><description><![CDATA[<h3>Question</h3>
<p dir="auto">Looking for a way to probe the hardware to reliably detect if it is a Omega2/2S (64MB MB RAM, 16 MB Flash) or an Omega2+/2S+ (128MB MB RAM, 32 MB Flash)</p>
<h3>Why is this useful?</h3>
<p dir="auto">If an Omega2+ is flashed with Omega2 firmware, the software (like <code>ubus call system board</code>) will identify it as an Omega2 regardless of the hardware differences.</p>
<p dir="auto">We need a way to identify the actual hardware on the device to determine if it is an Omega2 or Omega2+</p>
<h3>Solution that works from Linux Userspace</h3>
<p dir="auto">In the kernel messages (which can be viewed with the <code>dmesg</code> command), there is a line like:</p>
<pre><code>[    0.358842] m25p80 spi0.0: w25q128 (16384 Kbytes)
</code></pre>
<p dir="auto">or (in newer OpenWrt versions):</p>
<pre><code>[    0.639801] spi-nor spi0.0: w25q256 (32768 Kbytes)
</code></pre>
<p dir="auto">This is a message from the spi-nor kernel driver after detecting the actual flash chip. So it is <em>not</em> dependent on the flash size that is baked into the firmware image, but shows the real size of the flash chip. Both of the example lines above are from a firmware made for the Omega2. The first is run on an actual Omega2, the second shows 32M so it is a Omega2+.</p>
<p dir="auto">The only gotcha with this is that the <code>dmesg</code> buffer is not infinite and will loose older lines when too many new ones arrive. This means detecting the flash chip size needs to be done shortly after startup.</p>
<p dir="auto">So I put the following line into a startup script (e.g. <code>/etc/rc.local</code>) :</p>
<pre><code class="language-bash">dmesg | sed -n -r -e '/spi0.0: .*w25q/s/.*(w25q.*\))/\1/p' &gt; /tmp/flashchip
</code></pre>
<p dir="auto">With this, the chip name and size is captured and can be read any time later from <code>/tmp/flashchip</code> to detect an Omega2(S)+ vs Omega2(S)+.</p>
<hr />
<h3>Credit</h3>
<p dir="auto">Solution found and published by <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1033">@luz</a>: <a href="https://community.onion.io/topic/4212/any-way-to-detect-an-omega2-when-running-with-omega2-fw" rel="nofollow">https://community.onion.io/topic/4212/any-way-to-detect-an-omega2-when-running-with-omega2-fw</a></p>
]]></description><link>http://community.onion.io/topic/4855/faq-how-do-i-detect-if-the-hardware-is-an-omega2-or-omega2-from-linux</link><guid isPermaLink="true">http://community.onion.io/topic/4855/faq-how-do-i-detect-if-the-hardware-is-an-omega2-or-omega2-from-linux</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Fri, 22 Jul 2022 16:18:12 GMT</pubDate></item><item><title><![CDATA[FAQ: How can I control the GPIOs from Python&#x2F;Is there an onionGpio module for Python3?]]></title><description><![CDATA[<p dir="auto">pyOnionGpio was written as a quick and dirty wrapper for the sysfs gpio interface way back in 2016. <strong>We don't recommend using it for anything other than a hello world.</strong></p>
<h3>Better Options</h3>
<p dir="auto">There are other better sysfs gpio libraries available for Python3:</p>
<ul>
<li><a href="https://pypi.org/project/gpio/" rel="nofollow">https://pypi.org/project/gpio/</a></li>
<li><a href="https://python-periphery.readthedocs.io/en/latest/gpio.html" rel="nofollow">https://python-periphery.readthedocs.io/en/latest/gpio.html</a></li>
<li><a href="https://github.com/vitiral/gpio" rel="nofollow">https://github.com/vitiral/gpio</a></li>
</ul>
<p dir="auto">Let us know how it goes!</p>
]]></description><link>http://community.onion.io/topic/4834/faq-how-can-i-control-the-gpios-from-python-is-there-an-oniongpio-module-for-python3</link><guid isPermaLink="true">http://community.onion.io/topic/4834/faq-how-can-i-control-the-gpios-from-python-is-there-an-oniongpio-module-for-python3</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Thu, 02 Jun 2022 19:56:50 GMT</pubDate></item><item><title><![CDATA[USB voltage Question  - Omega2 LTE]]></title><description><![CDATA[<p dir="auto">Maybe there is a specsheet to answer this but I havent seen that.  I have the cellular wireless board (Omega2 LTE).<br />
QUESTION: What is the upper and lower input voltage limitations of the USB port?<br />
Been running into power issues and cant find any info.  Any information is appreciated. Cheers!</p>
]]></description><link>http://community.onion.io/topic/4684/usb-voltage-question-omega2-lte</link><guid isPermaLink="true">http://community.onion.io/topic/4684/usb-voltage-question-omega2-lte</guid><dc:creator><![CDATA[nro]]></dc:creator><pubDate>Thu, 17 Mar 2022 19:50:48 GMT</pubDate></item><item><title><![CDATA[FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units?]]></title><description><![CDATA[Ah I think this answers the question of why it doesn't work initially:
@tony-ter-neuzen said in FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?:

The woraround i found now is to first
sysupgrade -F -n -v onion_omega2p-22.03.5-20240122.bin a fresh omega
let that reboot and then
mtd -r write pan230_v4.1-96_20240222.bin firmware
This works, taking a LOT of precious extra time, but no nastyness.

The target device needs to be running the same firmware version as the original device. (This is mentioned in Step 2 in the original post)
The reason being the cloning only overwrites the firmware partition. If the rest of the partitions don't match, that opens to door to the nastiness you've been experiencing.

@tony-ter-neuzen said in FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?:

thanks for that little push toward the  image builder.

Glad you're finding it useful!!

@tony-ter-neuzen said in FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?:

I hope i still can bother you now and then, because i'm absolutely convinced i will find plenty of obstacles to be conquered
On that note, would it be better to report in the git issues or to discuss in the  community?

Definitely! Always open to suggestions! 
I think the community is good for general discussion, if there's something specific then open a github issue
]]></description><link>http://community.onion.io/topic/4563/faq-is-it-possible-to-clone-the-firmware-running-on-an-omega2-device-and-copy-it-to-other-omega2-units</link><guid isPermaLink="true">http://community.onion.io/topic/4563/faq-is-it-possible-to-clone-the-firmware-running-on-an-omega2-device-and-copy-it-to-other-omega2-units</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Sat, 02 Mar 2024 03:58:59 GMT</pubDate></item><item><title><![CDATA[FAQ: How can I make a software-based (bit-bang) SPI bus&#x2F;I need 2 SPI devices&#x2F;Can I use any 4 GPIOs as an SPI bus?]]></title><description><![CDATA[<h2>Software-based (bit-bang) SPI on the GPIOs is doable!</h2>
<p dir="auto">The hardware SPI can only drive 2 devices, as there is only CS0 (already used by internal flash) and CS1.</p>
<p dir="auto">If you need more than 1 additional SPI device, you'll need to resort to software (GPIO based) SPI. (Also known as bit-bang SPI).</p>
<h4>Setting up a Software I2C Bus</h4>
<p dir="auto">Install the required kernel modules</p>
<pre><code>opkg update
opkg install kmod-spi-gpio-custom
</code></pre>
<p dir="auto">Then load the <code>spi-gpio-custom</code> kernel module:</p>
<pre><code># configure software GPIO SPI
# bus&lt;Y&gt;=&lt;devid&gt;,&lt;SCK&gt;,&lt;MOSI&gt;,&lt;MISO&gt;,&lt;mode&gt;,&lt;speedInHz&gt;,&lt;CS&gt;
insmod spi-gpio-custom bus0=1,11,5,4,0,100000,18
</code></pre>
<p dir="auto">Where</p>
<ul>
<li><strong>Y</strong> just numbers the software SPI "buses" controlled by <code>spi-gpio-custom</code>. If you need multiple software SPI, you need to specify all of them on the same insmod command line, and specify parameters like <code>bus0=... bus1=... bus2=...</code></li>
<li><strong>devid</strong> is the number X you'll have in the /dev/spidevX.0 name</li>
<li><strong>SCK, MOSI, MISO, CS</strong> are GPIO numbers for the respective signals</li>
<li><strong>mode</strong> is the SPI mode, usually 0</li>
<li><strong>speedinHz</strong> is the speed. Note that software SPI speed is limited, you'll not get the HW SPI top speed with it</li>
</ul>
<p dir="auto">The example above will get you a <code>/dev/spidev1.0</code> on pins 11,5,4 and 18, in mode 0 and with 100kHz speed.</p>
<h4>Drawbacks</h4>
<p dir="auto"><strong>Lower Bus Speed.</strong> Since this is a software-based bus, it will not be as fast as a hardware SPI bus.</p>
<hr />
<p dir="auto">Credit for this FAQ goes to <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1033">@luz</a> from <a href="https://community.onion.io/topic/4489/how-to-add-new-spi-device-as-spidev0-2" rel="nofollow">this thread</a></p>
]]></description><link>http://community.onion.io/topic/4500/faq-how-can-i-make-a-software-based-bit-bang-spi-bus-i-need-2-spi-devices-can-i-use-any-4-gpios-as-an-spi-bus</link><guid isPermaLink="true">http://community.onion.io/topic/4500/faq-how-can-i-make-a-software-based-bit-bang-spi-bus-i-need-2-spi-devices-can-i-use-any-4-gpios-as-an-spi-bus</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Fri, 04 Jun 2021 20:43:02 GMT</pubDate></item><item><title><![CDATA[FAQ: My Omega2&#x2F;2+&#x2F;2S&#x2F;2S+ won&#x27;t boot! The serial console shows a logo and says there&#x27;s 64 kB of DRAM]]></title><description><![CDATA[<h3>The Symptoms</h3>
<ul>
<li>When powered, the Omega2 device does not boot
<ul>
<li>The power LED doesn't light up</li>
</ul>
</li>
<li>The serial console outputs this and only this:<br />
<img src="/assets/uploads/files/1620313274141-40819335-e2dc-4c96-99b5-1b3a919fd78e-image.png" alt="40819335-e2dc-4c96-99b5-1b3a919fd78e-image.png" class="img-responsive img-markdown" /></li>
</ul>
<h3>The Root Cause</h3>
<p dir="auto">The 64 kB DRAM in the serial output is the key here. It indicates a <strong>hardware issue</strong>: the RAM is no longer connected to the MT76 SoC.<br />
The 64kB in the screenshot is a small cache of DRAM that's internal to the SoC.</p>
<h3>What can cause this issue</h3>
<p dir="auto">This issue can be caused by a few things:</p>
<ul>
<li>Factory defect - <em>possible but very unlikely since every module is extensively tested during manufacturing</em></li>
<li>Damaged in transport - <em>possible but not likely</em></li>
<li>Damaged during assembly - <em>most common for surface mount modules</em></li>
</ul>
<p dir="auto">Questions to ask to narrow down the issue:</p>
<ul>
<li>Did the module ever work before?
<ul>
<li>If not, then it's likely a factory defect</li>
<li>If it did, then it was somehow damaged</li>
</ul>
</li>
<li>For surface mount modules:
<ul>
<li>Was it hand-soldered to your circuit board or was a reflow oven used? If it was a reflow oven, was the reflow profile from the <a href="https://github.com/OnionIoT/Omega2/blob/master/Documents/Omega2S%20Datasheet.pdf" rel="nofollow">Omega2S datasheet</a> followed?
<ul>
<li>If a hotter reflow profile was used, then <strong>it's possible the higher heat desoldered some contacts on the SoC or RAM chip</strong></li>
</ul>
</li>
<li>Was the middle ground pad on the bottom of the module soldered?
<ul>
<li>We recommend against soldering the middle ground pad. See the <a href="https://github.com/OnionIoT/Omega2/blob/master/Documents/Omega2S%20Datasheet.pdf" rel="nofollow">Omega2S datasheet</a> for the recommended reflow profile.</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3>Relevant Forum Posts</h3>
<p dir="auto"><a href="https://community.onion.io/topic/1135/omega2-not-starting-up" rel="nofollow">https://community.onion.io/topic/1135/omega2-not-starting-up</a><br />
<a href="https://community.onion.io/topic/3969/omega2-gone-non-responsive" rel="nofollow">https://community.onion.io/topic/3969/omega2-gone-non-responsive</a></p>
]]></description><link>http://community.onion.io/topic/4482/faq-my-omega2-2-2s-2s-won-t-boot-the-serial-console-shows-a-logo-and-says-there-s-64-kb-of-dram</link><guid isPermaLink="true">http://community.onion.io/topic/4482/faq-my-omega2-2-2s-2s-won-t-boot-the-serial-console-shows-a-logo-and-says-there-s-64-kb-of-dram</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Thu, 06 May 2021 15:08:32 GMT</pubDate></item><item><title><![CDATA[FAQs for the Tau Camera]]></title><description><![CDATA[I've run into issues when using the Tau Camera, where can I get help?
Start by going over our Troubleshooting Guide. It covers common errors and issues.
If you can't find a solution for your problem there, post on the Onion Community Forum and we'll do our best to help out.
To make it easier to get help, try running the checkCamera.py Example Python Program and posting the command line output and screenshots of the output if you think it will be helpful.
]]></description><link>http://community.onion.io/topic/4368/faqs-for-the-tau-camera</link><guid isPermaLink="true">http://community.onion.io/topic/4368/faqs-for-the-tau-camera</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Thu, 22 Jul 2021 19:43:22 GMT</pubDate></item><item><title><![CDATA[FAQ: How come the Omega2+ won&#x27;t reboot after I toggle the RST pin?]]></title><description><![CDATA[<p dir="auto">How come the Omega2+ won't reboot after I toggle the RST (hardware reset) pin?</p>
<p dir="auto">See this official solution thread: <a href="https://community.onion.io/topic/3049/omega2-reboot-fix-official-solution?_=1606328930119" rel="nofollow">https://community.onion.io/topic/3049/omega2-reboot-fix-official-solution?_=1606328930119</a></p>
<p dir="auto"><em>Note this solution does not apply for the FW_RST (GPIO38) pin</em></p>
]]></description><link>http://community.onion.io/topic/4338/faq-how-come-the-omega2-won-t-reboot-after-i-toggle-the-rst-pin</link><guid isPermaLink="true">http://community.onion.io/topic/4338/faq-how-come-the-omega2-won-t-reboot-after-i-toggle-the-rst-pin</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Wed, 25 Nov 2020 18:31:23 GMT</pubDate></item><item><title><![CDATA[FAQ: How can I make a software-based (bit-bang) I2C bus&#x2F;Can I use any 2 GPIOs as an I2C bus?]]></title><description><![CDATA[<h2>Software-based (bit-bang) I2C bus on the GPIOs is doable!</h2>
<p dir="auto">Check out the OpenWRT documentation on this topic: <a href="https://openwrt.org/docs/techref/hardware/port.i2c#i2c_over_gpio" rel="nofollow">https://openwrt.org/docs/techref/hardware/port.i2c#i2c_over_gpio</a></p>
<h4>Setting up a Software I2C Bus</h4>
<p dir="auto">Install the required kernel modules</p>
<pre><code>opkg update
opkg install kmod-i2c-gpio-custom
</code></pre>
<p dir="auto">Setup a bus:</p>
<pre><code>insmod i2c-gpio-custom bus&lt;BUS NUMBER&gt;=&lt;BUS NUMBER&gt;,&lt;SDA GPIO&gt;,&lt;SCL GPIO&gt;
</code></pre>
<h4>Example</h4>
<p dir="auto">For example, to setup a SW I2C bus with SDA on GPIO18 and SCL on GPIO19:</p>
<pre><code>insmod i2c-gpio-custom bus1=1,18,19
</code></pre>
<p dir="auto">If all goes well, there will be a message in the kernel log:</p>
<pre><code>[  308.931002] Custom GPIO-based I2C driver version 0.1.1
[  308.936785] i2c-gpio i2c-gpio.1: using pins 18 (SDA) and 19 (SCL)
</code></pre>
<p dir="auto">And there will be a new I2C bus 1 device available:</p>
<pre><code>root@Omega-F195:/# ls /dev/i2c-*
/dev/i2c-0  /dev/i2c-1
</code></pre>
<h4>Notes:</h4>
<ul>
<li>Check out the <a href="https://docs.onion.io/omega2-docs/using-gpios.html" rel="nofollow">Omega2 pinout and GPIOs article in the documentation</a> to select your GPIOs</li>
<li>The Omega's hardware I2C bus is occupying the <code>bus0</code> label, so your new sw i2c bus will need to be <code>bus1</code></li>
<li>Keep in mind this is bit banging so the timing is not exact. However since I2C is synchronous it should not be a problem.</li>
<li>If you're using Onion's Omega2 firmware, you'll need to be on the <code>latest</code> available firmware to install the required kernel modules. See <a href="http://docs.onion.io/omega2-docs/using-opkg.html#onion-package-repo" rel="nofollow">our documentation</a> for more details.</li>
</ul>
<h2>Changing the SW I2C Bus Speed</h2>
<p dir="auto">If you are using SW I2C over GPIO, then when you insert the kernel module you can specify a delay value</p>
<p dir="auto">For example:</p>
<pre><code>insmod i2c-gpio-custom bus1=1,5,4,udelay
</code></pre>
<p dir="auto">where I2C speed (kHz) = 500 / udelay<br />
udelay can only be an <strong>integer</strong></p>
<p dir="auto">Keep in mind this is bit banging so the timing is not exact however since I2C is synchronous it should not be a problem.</p>
]]></description><link>http://community.onion.io/topic/4333/faq-how-can-i-make-a-software-based-bit-bang-i2c-bus-can-i-use-any-2-gpios-as-an-i2c-bus</link><guid isPermaLink="true">http://community.onion.io/topic/4333/faq-how-can-i-make-a-software-based-bit-bang-i2c-bus-can-i-use-any-2-gpios-as-an-i2c-bus</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Wed, 18 Nov 2020 17:53:39 GMT</pubDate></item><item><title><![CDATA[FAQ: What is the default I2C bus clock speed? Can I change it to 400kHz?]]></title><description><![CDATA[<h2>Default Clock Speed: 100kHz</h2>
<p dir="auto">The hardware I2C bus on the Omega2 family has a default clock speed of <strong>100kHz</strong>, the standard clock speed for I2C:</p>
<p dir="auto"><img src="/assets/uploads/files/1605642653199-omega2-i2c-bus-standard-100khz.png" alt="omega2-i2c-bus-standard-100khz.png" class="img-responsive img-markdown" /></p>
<h2>How is the I2C Clock Set?</h2>
<p dir="auto">The clock speed is governed by the clock divider in the I2C <code>SM0CTL0</code> register.</p>
<p dir="auto">The register's default value is <code>0x8190 800F</code>, with <code>0x190</code> set for the clock divider.</p>
<ul>
<li>0x190 = 400</li>
<li>The master clock is 40 MHz</li>
<li>40 MHz / 400 = 100 kHz</li>
</ul>
<h2>Changing to Fast Mode: 400kHz</h2>
<p dir="auto">It is <strong>possible to change the I2C bus clock speed to 400kHz (fast mode)</strong> by writing to the <code>SM0CTL0</code> register using devmem to change the clock divider:</p>
<pre><code>devmem 0x10000940 32 0x8064800F
</code></pre>
<blockquote>
<p dir="auto">This changes the clock divider to <code>0x64</code> (100), 40MHz / 100 = 400 kHz</p>
</blockquote>
<p dir="auto">To optionally confirm, read the register:</p>
<pre><code>devmem 0x10000940
0x8064800F
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1605642861528-omega2-i2c-bus-fast-mode-400khz.png" alt="omega2-i2c-bus-fast-mode-400khz.png" class="img-responsive img-markdown" /></p>
<blockquote>
<p dir="auto">Tested on firmware v0.3.2</p>
</blockquote>
<p dir="auto">Credit goes to <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/2619">@György-Farkas</a> from <a href="https://community.onion.io/topic/2312/i2c-detect-slave-method/18" rel="nofollow">this post from 2018</a>.</p>
<h2>More Info</h2>
<p dir="auto">Check out the <a href="http://docs.onion.io/omega2-docs/omega2s.html#datasheet" rel="nofollow">MT7688 SoC datasheet</a> to see the full register definition.</p>
]]></description><link>http://community.onion.io/topic/4332/faq-what-is-the-default-i2c-bus-clock-speed-can-i-change-it-to-400khz</link><guid isPermaLink="true">http://community.onion.io/topic/4332/faq-what-is-the-default-i2c-bus-clock-speed-can-i-change-it-to-400khz</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Tue, 17 Nov 2020 20:00:34 GMT</pubDate></item><item><title><![CDATA[FAQ: Any tips for designing custom hardware that uses the Omega2S? How can I get started?]]></title><description><![CDATA[@jossvall The UART TXD0 and TXD1 pins fall into the "must be floating or pulled down at boot time" category. That should be satisfied by most UART devices.
Excerpt from the Omega2S Datasheet:

]]></description><link>http://community.onion.io/topic/4321/faq-any-tips-for-designing-custom-hardware-that-uses-the-omega2s-how-can-i-get-started</link><guid isPermaLink="true">http://community.onion.io/topic/4321/faq-any-tips-for-designing-custom-hardware-that-uses-the-omega2s-how-can-i-get-started</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Thu, 18 Feb 2021 15:33:19 GMT</pubDate></item><item><title><![CDATA[FAQ: How to check the clients connected to the Omega&#x27;s WiFi AP?]]></title><description><![CDATA[<p dir="auto">Read <code>/tmp/dhcp.leases</code> to see the active DHCP leases. However, if a client disconnects, the DHCP lease will remain active for some time and the client will still be listed.</p>
<p dir="auto">To get around this and find a list of active clients, the command <code>iwpriv ra0 get_mac_table</code> can be used in conjunction with the DHCP leases.<br />
It will output a list of the MAC address of all connected clients.</p>
<pre><code># iwpriv ra0 get_mac_table
ra0       get_mac_table:
MAC                 Avg RSSI Last RSSI AP  AID PSM AUTH CTxR  LTxR  LDT       RxB       TxB       Conn Time
e4:ce:8f:0c:02:14   -53      -53       0   2   1   1    54    0     0         0         0         454
</code></pre>
<p dir="auto">As soon as a client disconnects, it will no longer appear on the <code>get_mac_table</code> output.</p>
<p dir="auto">This can then be cross-referenced with <code>/tmp/dhcp.leases</code> to get a list of active clients.</p>
]]></description><link>http://community.onion.io/topic/4291/faq-how-to-check-the-clients-connected-to-the-omega-s-wifi-ap</link><guid isPermaLink="true">http://community.onion.io/topic/4291/faq-how-to-check-the-clients-connected-to-the-omega-s-wifi-ap</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Mon, 05 Oct 2020 14:23:57 GMT</pubDate></item><item><title><![CDATA[FAQ: How can I control which network interface is used for network traffic? Like use WiFi in some cases but ethernet in others]]></title><description><![CDATA[<p dir="auto"><strong>The existing firewall on the OS can be used to enable/disable network traffic from specific interfaces</strong></p>
<p dir="auto">Taking a look at <code>/etc/config/firewall</code>, you'll notice it has <strong>zones</strong> that control traffic flow of the network interfaces defined in <code>/etc/config/firewall</code></p>
<p dir="auto">By default, the <code>wan</code> firewall zone is attached to the <code>wwan</code> network interface.</p>
<blockquote>
<p dir="auto">Looking at <code>/etc/config/network</code> you'll see that the <code>wwan</code> network interface is <code>apcli0</code>, the Omega's WiFi client interface</p>
</blockquote>
<p dir="auto">We can change the <code>wan</code> firewall zone configuration to enable or disable traffic through this interface.</p>
<p dir="auto">To start, my Omega is connected to WiFi and can ping the internet:</p>
<pre><code>root@Omega-F195:/# ping www.google.com
PING www.google.com (172.217.164.196): 56 data bytes
64 bytes from 172.217.164.196: seq=0 ttl=115 time=18.968 ms
64 bytes from 172.217.164.196: seq=1 ttl=115 time=22.639 ms
...
</code></pre>
<p dir="auto">Then, I'll run these commands to REJECT input and output traffic for the <code>wan</code> zone:</p>
<pre><code>uci set firewall.@zone[1].output='REJECT'
uci set firewall.@zone[1].input='REJECT'
uci commit firewall
</code></pre>
<blockquote>
<p dir="auto">Note: these changes can also be made by modifying the <code>/etc/config/firewall</code> file directly</p>
</blockquote>
<p dir="auto">And restart the firewall:</p>
<pre><code>/etc/init.d/firewall restart
</code></pre>
<p dir="auto">I can no longer access the internet. The WiFi client interface is still associated with the network, but no traffic can go through:</p>
<pre><code>root@Omega-F195:/# ping www.google.com
PING www.google.com (172.217.164.196): 56 data bytes
ping: sendto: Operation not permitted
root@Omega-F195:/# ping www.google.com
PING www.google.com (172.217.164.196): 56 data bytes
ping: sendto: Operation not permitted
</code></pre>
<hr />
<p dir="auto">A few notes:</p>
<ol>
<li>The default firewall configuration only has zones for the WiFi AP and WiFi Client network interfaces. You'll need to add more zones to the firewall to control the ethernet network interface, or other network interfaces like cellular modems.</li>
<li>The firewall also supports creating <strong>Rules.</strong> For a deeper dive into the firewall and rules, take a look at the openwrt firewall documentation: <a href="https://openwrt.org/docs/guide-user/firewall/firewall_configuration" rel="nofollow">https://openwrt.org/docs/guide-user/firewall/firewall_configuration</a></li>
</ol>
<hr />
<p dir="auto">Based on this thread: <a href="https://community.onion.io/topic/4189/looking-for-input-managing-network-connection-interfaces" rel="nofollow">https://community.onion.io/topic/4189/looking-for-input-managing-network-connection-interfaces</a></p>
]]></description><link>http://community.onion.io/topic/4196/faq-how-can-i-control-which-network-interface-is-used-for-network-traffic-like-use-wifi-in-some-cases-but-ethernet-in-others</link><guid isPermaLink="true">http://community.onion.io/topic/4196/faq-how-can-i-control-which-network-interface-is-used-for-network-traffic-like-use-wifi-in-some-cases-but-ethernet-in-others</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Tue, 30 Jun 2020 15:22:36 GMT</pubDate></item><item><title><![CDATA[FAQ: The Onion store is sold out of the Omega2 or Omega2+. Does that mean you’ve stopped producing it?]]></title><description><![CDATA[@SAnzor The Omega2 Dash will remain in production as long as there is demand for it and the Omega2S+ is available (latest guarantee is 2028)
]]></description><link>http://community.onion.io/topic/4172/faq-the-onion-store-is-sold-out-of-the-omega2-or-omega2-does-that-mean-you-ve-stopped-producing-it</link><guid isPermaLink="true">http://community.onion.io/topic/4172/faq-the-onion-store-is-sold-out-of-the-omega2-or-omega2-does-that-mean-you-ve-stopped-producing-it</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Fri, 14 Apr 2023 15:28:31 GMT</pubDate></item><item><title><![CDATA[FAQ: Is the documentation for the original Omega from 2015 still available?]]></title><description><![CDATA[<p dir="auto">The Original Omega, while great in it’s time, has not been produced since 2015. However, documentation for the original Omega can still be found here: <a href="https://onioniot.github.io/wiki/" rel="nofollow">https://onioniot.github.io/wiki/</a></p>
<p dir="auto">Source code for the wiki articles can be found here: <a href="https://github.com/OnionIoT/wiki" rel="nofollow">https://github.com/OnionIoT/wiki</a></p>
<hr />
<p dir="auto">We strongly recommend upgrading to the Omega2 family, the hardware is more powerful, it’s a more mature product, and we've done a lot of work to make it a great IoT computer.</p>
]]></description><link>http://community.onion.io/topic/4169/faq-is-the-documentation-for-the-original-omega-from-2015-still-available</link><guid isPermaLink="true">http://community.onion.io/topic/4169/faq-is-the-documentation-for-the-original-omega-from-2015-still-available</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Wed, 10 Jun 2020 16:04:13 GMT</pubDate></item><item><title><![CDATA[FAQ: How come my Omega2&#x2F;Omega2+ will not boot when I power it with my own circuit (without a Dock)?]]></title><description><![CDATA[<p dir="auto">If you're using an Omega2 or Omega2+ <strong>without an <a href="https://onion.io/product-category/docks/" rel="nofollow">Omega2 Dock</a></strong> and it's not successfully booting, it's a <strong>99.99% chance that your power supply is the culprit</strong>.</p>
<p dir="auto">There will be current consumption spikes during the Omega's boot, especially when the WiFi radio is being enabled. If the power supply cannot keep up, the Omega will not be able to complete the boot process.</p>
<p dir="auto">We strongly recommend getting a Dock for your Omega to get the best experience and most performance, functionality, and stability from your device.</p>
<p dir="auto">If you would like to stick with your no Dock setup, see this documentation article for our recommended power supply circuit: <a href="http://docs.onion.io/omega2-docs/hardware-prep-no-dock.html" rel="nofollow">http://docs.onion.io/omega2-docs/hardware-prep-no-dock.html</a></p>
]]></description><link>http://community.onion.io/topic/4150/faq-how-come-my-omega2-omega2-will-not-boot-when-i-power-it-with-my-own-circuit-without-a-dock</link><guid isPermaLink="true">http://community.onion.io/topic/4150/faq-how-come-my-omega2-omega2-will-not-boot-when-i-power-it-with-my-own-circuit-without-a-dock</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Thu, 28 May 2020 18:58:39 GMT</pubDate></item><item><title><![CDATA[ADC EXP I2C]]></title><description><![CDATA[@jose-r You don't have to do anything with an Onion ADC Expansion Board:

the power supply voltage of the ADS1115 is 5V
each I2C bus line has a usual 5V-to-3.3V MOS-FET bidirectional logic level shifter

]]></description><link>http://community.onion.io/topic/4106/adc-exp-i2c</link><guid isPermaLink="true">http://community.onion.io/topic/4106/adc-exp-i2c</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Thu, 16 Apr 2020 22:47:07 GMT</pubDate></item><item><title><![CDATA[FAQ: What should I do if I find a mistake in the documentation?]]></title><description><![CDATA[<p dir="auto">First of all, good eye! Feel welcome to suggest improvements or fixes!</p>
<p dir="auto">The documentation that's hosted at <a href="https://docs.onion.io/" rel="nofollow">https://docs.onion.io/</a> is open source and can be found on Github: <a href="https://github.com/OnionIoT/Onion-Docs" rel="nofollow">https://github.com/OnionIoT/Onion-Docs</a></p>
<p dir="auto">To suggest a change, <a href="https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests" rel="nofollow">submit a Pull Request</a> and we'll go from there.</p>
]]></description><link>http://community.onion.io/topic/4104/faq-what-should-i-do-if-i-find-a-mistake-in-the-documentation</link><guid isPermaLink="true">http://community.onion.io/topic/4104/faq-what-should-i-do-if-i-find-a-mistake-in-the-documentation</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Thu, 16 Apr 2020 14:56:13 GMT</pubDate></item><item><title><![CDATA[FAQ: Is the original Omega from 2015 still getting software updates?]]></title><description><![CDATA[@Duan-Gauche
http://repo.onion.io/omega/images
]]></description><link>http://community.onion.io/topic/4103/faq-is-the-original-omega-from-2015-still-getting-software-updates</link><guid isPermaLink="true">http://community.onion.io/topic/4103/faq-is-the-original-omega-from-2015-still-getting-software-updates</guid><dc:creator><![CDATA[harry matthie]]></dc:creator><pubDate>Fri, 22 Apr 2022 01:17:58 GMT</pubDate></item></channel></rss>