@haysar
I believe you can use the new beta firmware openwrt-22-03-03 to install node-red 3.0 for Omega2Pro. It has Node v16, which support Node-red 3.0. Not sure about node-red-node-serialport. maybe there's need for compilation
akhileshthorat
@akhileshthorat
Best posts made by akhileshthorat
-
RE: How can I install Node-Red 3.0 and some packages as node-red-node-serialport
-
RE: Official OpenWRT Package Repos are no longer valid
In continuation to above , I have observed one more change.
As per the documentation https://docs.onion.io/omega2-docs/node-red-article.html#installing-node-packages-that-require-compilation
Since the installation of additional packages requires un-commenting official openwrt repos/url. In our case the official repo url are no longer available
the use of following command is gives unsupported npm url error
root@Omega-99A0:~# node --max_old_space_size=512 $(which npm) install -g node-gy p npm ERR! code EUNSUPPORTEDPROTOCOL npm ERR! Unsupported URL Type "npm:": npm:string-width@^4.2.0 npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-06-15T13_06_53_622Z-debug.log root@Omega-99A0:~# ^C root@Omega-99A0:~# node --max_old_space_size=512 $(which npm) install -g node-gyp npm ERR! code EUNSUPPORTEDPROTOCOL npm ERR! Unsupported URL Type "npm:": npm:string-width@^4.2.0 npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-06-15T13_09_32_380Z-debug.log
Not able to install node-gyp.
I guess we will have to revisit all the documentation and check what processes are affected due to change of openwrt.
-
RE: Assistance to take up development and contribute to Onion Omega 2s/2sp firmware. #OpenSource #Onionfirmware #Contribution
Sure thing @Lazar-Demin , Experimenting with the new firmware as of now, will definitely add suggestions or features I feel are beneficial for Onion Community.
-
Assistance to take up development and contribute to Onion Omega 2s/2sp firmware. #OpenSource #Onionfirmware #Contribution
Hello everyone,
I would like to thank @Lazar-Demin , Onion IoT Team and entire Onion IoT community for building such wonderful product ecosystem revolving around Onion Omega 2. We are actively using Omega 2sp in our IoT projects and response is very good in terms of network reliability and robustness .
As a newcomer, it feels bit confusing and challenging from where to start contributing to the project. We haven't contributed to openwrt in the past. Also there are very few resources available online to learn on getting started(Except for official openwrt documentation). If anyone can point to helpful guides or documentation, it will be of great help.
It would be great if we can see a list of features which needs to be worked on and we're happy to contribute in our best efforts. As of now we're learning the build system , package wrapper and seeing development practices.
Apologies if this question sounds naive , but intentions are to participate in open source development and give back to community.
Latest posts made by akhileshthorat
-
RE: is it possible to use EC200U GSM module instead of EC25 with omega2+
Hi @naveen_kumar ,
Any success on dialing up connection on EC200U-CN?
I have found a application note mentioning use of modem manager for EC200U-CN
reference: EC200U-CN dial up
try installing network-manager modemmanager and libqmi-utils udhcpc, ignore these packages if already installed
or try using EC200 in ECM/RNDIS mode by configuring through at command AT+QCFG="usbnet"[,<net>], where net =1 is for ECM mode and 3 for RNDIS -
RE: Unable to ping clients connected on ethernet host
Update
After disabling or turning off OS firewall, openwrt was able to ping wired clients.
This is not true for wireless clients. even if firewall is enabled , Openwrt router is able to ping wireless clients.
Has anyone observed this same pattern?
-
Unable to ping clients connected on ethernet host
Hello Everyone,
I'm following the Ethernet Host guide to create a network where connected Ethernet clients gets internet access.My client is getting the IP in the range 192.168.100.x, and able to ping internet and gateway IP (192.168.100.1)
But I'm not able to ping from my router to connected ethernet client. I have a server running on connected ethernet client, which Omega is trying to reach, but unable to do so.
Omega<=======Ethernet Link===========>Client PC/Machine
Client PC is able to ping Gateway, but reverse is not happening.I searched for such issue in openwrt forums but didn't find any solution, tried working with several firewall configs.
Am i missing anything here? How do i ping my lan client over ethernet?
-
RE: How can I install Node-Red 3.0 and some packages as node-red-node-serialport
@haysar
Any luck with installing new beta firmware and installation of node-red 3.0? -
RE: is it possible to use EC200U GSM module instead of EC25 with omega2+
@naveen_kumar
I believe o2lte-base package is meant for Qualcomm based LTE-Cat4 cellular modem specifically for Quectel.
EC200 is LTE-Cat1 and it doesn't use Qualcomm processor, rather different processor.
The logs you got for enabling data connection mentions qmi tool , which is only applicable for Qualcomm. qmi won't work for EC200UCN
Need to build drivers for EC200
I have been working on similar modem for SIMCOM7672 LTE-Cat-1 module over USB. But I haven't able to get USB detected on Onion2. -
RE: is it possible to use EC200U GSM module instead of EC25 with omega2+
Hi @naveen_kumar ,
I believe we can interface EC200 with Omega using USB Interface. Quectel provides a application note for building Linux Drivers on Windows and Linux.
How are you trying to interface the GPRS module? through pppd over uart or usb interface? -
RE: How can I install Node-Red 3.0 and some packages as node-red-node-serialport
@haysar
I believe you can use the new beta firmware openwrt-22-03-03 to install node-red 3.0 for Omega2Pro. It has Node v16, which support Node-red 3.0. Not sure about node-red-node-serialport. maybe there's need for compilation -
RE: Official OpenWRT Package Repos are no longer valid
In continuation to above , I have observed one more change.
As per the documentation https://docs.onion.io/omega2-docs/node-red-article.html#installing-node-packages-that-require-compilation
Since the installation of additional packages requires un-commenting official openwrt repos/url. In our case the official repo url are no longer available
the use of following command is gives unsupported npm url error
root@Omega-99A0:~# node --max_old_space_size=512 $(which npm) install -g node-gy p npm ERR! code EUNSUPPORTEDPROTOCOL npm ERR! Unsupported URL Type "npm:": npm:string-width@^4.2.0 npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-06-15T13_06_53_622Z-debug.log root@Omega-99A0:~# ^C root@Omega-99A0:~# node --max_old_space_size=512 $(which npm) install -g node-gyp npm ERR! code EUNSUPPORTEDPROTOCOL npm ERR! Unsupported URL Type "npm:": npm:string-width@^4.2.0 npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-06-15T13_09_32_380Z-debug.log
Not able to install node-gyp.
I guess we will have to revisit all the documentation and check what processes are affected due to change of openwrt.
-
Official OpenWRT Package Repos are no longer valid
Hello everyone,
As per the documentation, https://docs.onion.io/omega2-docs/using-opkg.html#using-opkg-switch-to-lede-reposUncommenting official openwrt 18.06 packages repos doesn't seem to work anymore , if anyone can check whether same thing is happening with their Omega too.
When i look for valid packages in browser for http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.g , following response is observed
404 Not Found nginx/1.14.2
On running opkg update i get following output.
opkg update Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/ mt76x8/packages/Packages.gz *** Failed to download the package list from http://downloads.openwrt.org/releas es/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel _24kc/base/Packages.gz *** Failed to download the package list from http://downloads.openwrt.org/releas es/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.gz Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel _24kc/luci/Packages.gz *** Failed to download the package list from http://downloads.openwrt.org/releas es/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.gz Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel _24kc/onion/Packages.gz *** Failed to download the package list from http://downloads.openwrt.org/releas es/18.06-SNAPSHOT/packages/mipsel_24kc/onion/Packages.gz Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel _24kc/packages/Packages.gz *** Failed to download the package list from http://downloads.openwrt.org/releas es/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.gz Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel _24kc/routing/Packages.gz *** Failed to download the package list from http://downloads.openwrt.org/releas es/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.gz Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel _24kc/telephony/Packages.gz *** Failed to download the package list from http://downloads.openwrt.org/releas es/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.gz Downloading http://repo.onioniot.com/omega2/packages/core/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_core Downloading http://repo.onioniot.com/omega2/packages/core/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/base/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_base Downloading http://repo.onioniot.com/omega2/packages/base/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/packages/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_packages Downloading http://repo.onioniot.com/omega2/packages/packages/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/routing/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_routing Downloading http://repo.onioniot.com/omega2/packages/routing/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/onion/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_onion Downloading http://repo.onioniot.com/omega2/packages/onion/Packages.sig Signature check passed. Collected errors: * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz, wget returned 8. * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.gz, wget returned 8. * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.gz, wget returned 8. * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/onion/Packages.gz, wget returned 8. * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.gz, wget returned 8. * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.gz, wget returned 8. * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.gz, wget returned 8.
Here's a workaround solution that worked for me, I changed the url from
http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz
to
http://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt76x8/packages/Packages.gz
and got following output on running opkg update, not sure whether to stick on this version or another. @Lazar-Demin do suggest a suitable version.
opkg update Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt76x8/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ramips/mt76x8/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/base/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/luci/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/onion/Packages.gz *** Failed to download the package list from http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/onion/Packages.gz Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/routing/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/telephony/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/core/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_core Downloading http://repo.onioniot.com/omega2/packages/core/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/base/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_base Downloading http://repo.onioniot.com/omega2/packages/base/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/packages/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_packages Downloading http://repo.onioniot.com/omega2/packages/packages/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/routing/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_routing Downloading http://repo.onioniot.com/omega2/packages/routing/Packages.sig Signature check passed. Downloading http://repo.onioniot.com/omega2/packages/onion/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_onion Downloading http://repo.onioniot.com/omega2/packages/onion/Packages.sig Signature check passed. Collected errors: * opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06.1/packages/mipsel_24kc/onion/Packages.gz, wget returned 8.
-
RE: Assistance to take up development and contribute to Onion Omega 2s/2sp firmware. #OpenSource #Onionfirmware #Contribution
Sure thing @Lazar-Demin , Experimenting with the new firmware as of now, will definitely add suggestions or features I feel are beneficial for Onion Community.