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
Posts made by akhileshthorat
-
RE: is it possible to use EC200U GSM module instead of EC25 with omega2+
-
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.
-
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.
-
RE: FAQ: How do I install a MySQL Server on the Omega?
@Lazar-Demin I looked up for generic Openwrt based guides for MySQL, tried few approaches but got stuck at a issue where db installer demands a buffer size of 20MB
root@Omega-A160:~# mysqld 2023-04-11 13:59:00 2012355852 [Note] mysqld (mysqld 10.1.45-MariaDB) starting as process 3299 ... 2023-04-11 13:59:00 2012355852 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB. 2023-04-11 13:59:00 2012355852 [Note] InnoDB: Using mutexes to ref count buffer pool pages 2023-04-11 13:59:00 2012355852 [Note] InnoDB: The InnoDB memory heap is disabled 2023-04-11 13:59:00 2012355852 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2023-04-11 13:59:00 2012355852 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier 2023-04-11 13:59:00 2012355852 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-04-11 13:59:00 2012355852 [Note] InnoDB: Using Linux native AIO 2023-04-11 13:59:00 2012355852 [Note] InnoDB: Using generic crc32 instructions 2023-04-11 13:59:00 2012355852 [ERROR] mysqld: Can't create/write to file '/mnt/data/tmp/ibXXXXXX' (Errcode: 13 "Permission denied") 2023-04-11 13:59:00 77f21d0c InnoDB: Error: unable to create temporary file; errno: 13 2023-04-11 13:59:00 2012355852 [ERROR] Plugin 'InnoDB' init function returned error. 2023-04-11 13:59:00 2012355852 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2023-04-11 13:59:00 2012355852 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded 2023-04-11 13:59:01 2012355852 [ERROR] Unknown/unsupported storage engine: InnoDB 2023-04-11 13:59:01 2012355852 [ERROR] Aborting
Also tried increasing buffer size in .cnf file to 20MB, nothing worked.
Need to deep dive into internals to understand what's happening under the hood
-
RE: FAQ: How do I install a MySQL Server on the Omega?
@crispyoz I have installed sqlite3. It is lightweight and works perfect for IoT applications. The only drawback for sqlite3 is it doesn't have a network endpoint.
I use node-red to build dashboards for dynamic ui tables linked with databases. I was successful in installing mysql node for node-red but failed to host a mysql server on same host. -
RE: FAQ: How do I install a MySQL Server on the Omega?
@Lazar-Demin
the url mentioned for configuration and usage of mysql server seems invalid. Any updated instructions for usage of mysql-server?