@Jon-Gordon yeah, sorry about that. i need to stop reading the forum after a night at the bar. i'm looking at making a small protoboard needing just 8 pins and for some reason thought you were also. demon alcohol.
I think, RnD team must to know, when we change option country, or option htmode, or option channel parameters in file /etc/confog/wireles, system behavior becomes unstable.
Every 5 seconds the system freezes and does not respond on ping for 1-2 seconds.
My problem, that sometime system wakes up on Channels 10/11/12, but we can not use these channels, according to regulation acts.
In case, that issue hasn't solution, we can not use Onion Omega in our product.
@Sergiy-Tarasov I'm not sure if you're still monitoring this thread, but I could use a little help getting smbus2 working.
I tried this sample code from the web site you gave, changed the address to that of my PCF8574 and the bus to 0, but it doesn't seem to work.
from smbus2 import SMBus
bus = SMBus(0)
b = bus.read_byte(23, 0)
I keep getting this...
Traceback (most recent call last):
File "switch.py", line 5, in <module>
b = bus.read_byte_data(23, 0)
File "/usr/lib/python2.7/site-packages/smbus2/smbus2.py", line 369, in read_byte_data
ioctl(self.fd, I2C_SMBUS, msg)
IOError: [Errno 6] No such device or address
I know the device address is correct, because I can use i2cset and i2cget with it.
Edit: Forgive me, it keeps making part of the text larger and I have no idea why or how to fix it.
I had made simple python program to upload static test data to AWS, everything went correct no error. On AWS IoT core under my thing test, i subscribed to the published topic.
But then also not able to see any update. Kindly help.
@Modest-Polykarpovich Enable the second (2nd) and the fith (5th) lines of the '/etc/opkg/distfeeds.conf'' file.
# OpenWrt 17.01 based v0.2.2 b200 firmware
root@Omega-5BE1:/# cat /etc/opkg/distfeeds.conf
#src/gz reboot_core http://downloads.lede-project.org/releases/17.01-SNAPSHOT/targets/ramips/mt7688/packages
src/gz reboot_base http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/base
#src/gz reboot_onion http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/onion
## src/gz reboot_luci http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/luci
src/gz reboot_packages http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/packages
## src/gz reboot_routing http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/routing
## src/gz reboot_telephony http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/telephony
src/gz omega2_core http://repo.onion.io/omega2/packages/core
src/gz omega2_base http://repo.onion.io/omega2/packages/base
src/gz omega2_packages http://repo.onion.io/omega2/packages/packages
src/gz omega2_routing http://repo.onion.io/omega2/packages/routing
src/gz omega2_onion http://repo.onion.io/omega2/packages/onion
root@Omega-5BE1:/# opkg update
root@Omega-5BE1:/# opkg list | grep -i ^make
make - 4.2.1-2 - The Make package contains a tool to create executables from source files.
root@Omega-5BE1:/# opkg list | grep -i ^gcc
gcc - 5.4.0-1 - build a native toolchain for compiling on target
root@Omega-5BE1:/# opkg list | grep -i ^gdb
gdb - 7.11.1-1 - GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed.
gdbserver - 7.11.1-1 - GDBSERVER is a program that allows you to run GDB on a different machine than the one which is running the program being debugged.
# Omega2(+)'s storage capacity is extended formerly using a USB drive or MicroSD card (pivot-overlay)
# on a clean system
root@Omega-5BE1:/# opkg install make gcc gdb
I2C is supported pretty well on former Omega2 firmwares.
Only the i2cdetect command didn't work up to the firmware v0.2.2 b194.
The i2cdetect command is a part of the 'i2c-tools' package, it's a separate utility: /usr/sbin/i2cdetect.
You could live without it.
AFAIK none of the cheap USB2Serial devices is able to transfer 9bit. You can emulate it with mark/space parity but it takes a lot of time switching between the modes and hurts badly the effective transfer rate.
Any visible wifi network is bound to get attacks and WPA/2 crack attacks, which is an attack vector into your home or office network. Especially since OpenWRT is set up by default as an access point, which forwards traffic to the wwan network, i.e. your main network.
I've set up firewall rules for the VLAN my iot devices are on, but still, less than optimal.
Would you rather have an extra door or a solid wall in your bank vault?
ok, this is wired, but it worked!
bonjour from apple site (standalone installation) didnt helped.
but bonjour from itunes (extracted like @György-Farkas did) worked.
Have no idea why, might be the version.
Thanks to all!