@Denis-Ber The easy way to understand how to use UCI is try this:
uci show wireless
Look at the result and you should see the wifi password something like this:
Then use the command:
uci set wireless.sta.key='your new key'
uci commit wireless
service network restart
I had problems with configuring UNO as ISP. It was long time back, so I don't remember the exact error codes, but I remember that the UNO programmed
using IDE 1.6.x to act as an ISP failed to program the "3rd" UNO.
All versions of IDEs are not good for the job.
Finally, I was able to program the 3rd UNO using the 2nd UNO (ISP) which is
programmed into an ISP using the 1st UNO with IDE 1.0.1.
I still have that ISP UNO, and it can work as ISP with other versions of IDE such
@William-Scott said in Omega2/2+ hangs while booting with hung WiFi:
@tjoseph1 Good work! I'd like to re-emphasize for all newcomers that "power supply", as opposed to "THE power supply", is critical. Of course THE power supply must be able to satisfy peak current demand. The overall power supply also includes any cabling which may provide enough inductance that a power supply barely over the minimum required capability may be inadequate at the power pins of the Omega. It is only the available current at the Omega power pins that matter, not what an upstream subsystem can provide.
Either way keep up the excellent quality writing.
@Nagarjuna-Reddy said in Onion 365 days:
@crispyoz Hi Sir,
I am facing few problems, When i am running while loop python programs in boot mode(it means when the power comes automatically program should execute)after my reboot command is not executing.
For that i have added in /etc/rc.local file
start-stop-deamon -b -S -x python /root/hello.py
after added this command i am able to executing Reboot command also. So this is the only way we have to do or any other options are there?.
I will try your methods to increase my knowledge.
The omega2-lte-base package we created for the Omega2 LTE is on GitHub and in our package repo. It's included in the Omega2 LTE firmware. You can work off that for your needs
FAQ: How can I control which network interface is used for network traffic? Like use WiFi in some cases but ethernet in others
@cskocsis Have you checked you are using the correct serial port? I have many many configured serial ports on my Windows10 machine as each time I plug in a different device it is detected as a different serial port.
Once you have plugged in your device, check the windows device manager to see which com port is active. Docks don't always behave this way but it's worth checking. Is the device detected at all when the apparently flakey Omega2 is connected?
@cskocsis I would first determine which IP it is attempting to listen on as it could be one of 3 addresses. I don't use this app but I suspect you can configure which address it listens on. The issue may be that it is trying to bind on the 0.0.0.0 address (listen on all IP) and is failing on one of the interfaces which may not be the one you want to use.
@Nate I agree. Suppose you have 3 interfaces, bring one up, should it be the default route? Now bring it down, which of the other two interfaces should be the default route?
My point is that I favour a purist approach to network configuration, ie administrator is in control of administration rather than an abitrary script written by a 3rd party make that decision for the administrator.
I have configured the I2S as it is shown in this topic and the I2S Output work perfectly.
Now, I'm testing the I2S Input and I've found some problems.
I'm trying a loopback between I2S_DOUT and I2S_DIN to test the I2S input.
When I try to use the arecord command there is an error:
arecord: main:828: audio open error: No such file or directory
Could you indicate how did you test the I2S input?
PD: here are the output of the arecord -l and arecord -L:
root@OpenWrt:/# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: AudioI2S [Audio-I2S], device 1: ralink-i2s-dir-hifi dir-hifi-1 [ralink-i2s-dir-hifi dir-hifi-1]
Subdevice #0: subdevice #0
root@OpenWrt:/# arecord -L
Discard all samples (playback) or generate zero samples (capture)