@Lazar-Demin Thank you, this helped
Antony
@Antony
Best posts made by Antony
Latest posts made by Antony
-
Controlling Omega Onion 2Pro Radio Module
Hello,
I am using an Omega onion 2pro- Omega2S+ and want to do the following scenarios:
-
set the channel of the radio module to low, mid and high. Is the radio module ra0?
-
set the transmit output power to max
-
set the transmit duty cycle is 100%.
Are there any terminal commands I can use to modify these parameters and return to default settings in between each time?
Thank you!
-
-
RE: Building custom firmware for onion with extra files
Do I create a new rc.local file in
/files/etc
.I am unclear on how to customize an rc.local file in a custom build using Docker.
Thank you!
-
Modifying rc.local file
Hello,
I am trying to customize the firmware image for omega2pro by editing the rc.local file. I am using docker to build the system according to https://github.com/OnionIoT/source#option-a-using-the-docker-image.
Currently, I am creating a file called rc.local in
/files/etc
. However, after the build it seems as if it is creating a different rc.local file.Any Suggestions?
Thank you!
-
1:1 cloning omega2pro image
Using
dd if=/dev/mtd3 of=<IMAGE-NAME>.bin
clones the stock image without the added installed packages/firmware or files.Is there a similar command I can use to identically mirror the image?
Thank you!
-
RE: Omega Onion 2 pro SSID Issues after flashing custom image
Hi @Lazar-Demin
In the make menuconfig, I have wifi-warp-core to be included in the build.
I ran
opkg list-installed | grep wifi
on the device and it appears that the driver is in fact not installed. I tried the steps suggested and that didn't seem to fix the issue. -
RE: Omega Onion 2 pro SSID Issues after flashing custom image
Hi @Lazar-Demin
I am still running into the built omega2pro image failing to broadcast an SSID.
I am unable to ssh into the omega onion pro2 after flashing with built image so instead I connect serially.
Using PUTTY I typed wifi in the terminal prompt and its says the following:
radio0(ralink): Interface type not supported
Is this the reason why there is no SSID being broadcasted?
Thank you!
-
RE: Custom Image Build Error
Any information I can add that would help with debugging?
Thank you!
-
Custom Image Build Error
Re: Errors building source for cross development
Hello,
I am building a custom image following https://github.com/OnionIoT/source/tree/openwrt-18.06 and building using Docker.
To resolve the following error messages I tried the following two commands, but still facing the same error message.
./scripts/feeds update onion
./scripts/feeds update -amake: Entering directory '/root/source/build_dir/target-mipsel_24kc_musl/postfix-3.3.0/src/util'
mipsel-openwrt-linux-musl-gcc -DNO_NIS -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/root/source/staging_dir/target-mipsel_24kc_musl/usr/include/sasl -DHAS_LDAP -DHAS_CDB -DNO_DB -DHAS_SQLITE -I/root/source/staging_dir/target-mipsel_24kc_musl/usr/include/ -DHAS_PCRE -I/root/source/staging_dir/target-mipsel_24kc_musl/usr/include/ -DNO_EAI -DDEF_DB_TYPE="cdb" -g -O -I. -DLINUX5 -c alldig.c
cc1: note: someone does not honour COPTS correctly, passed 0 times
In file included from alldig.c:29:0:
./sys_defs.h:1257:2: error: #error "unsupported platform"
#error "unsupported platform"
^~~~~
./sys_defs.h:1320:2: error: #error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK"
#error "define HAS_FCNTL_LOCK and/or HAS_FLOCK_LOCK"
^~~~~
./sys_defs.h:1324:2: error: #error "define DEF_MAILBOX_LOCK"
#error "define DEF_MAILBOX_LOCK"
^~~~~
./sys_defs.h:1328:2: error: #error "define INTERNAL_LOCK"
#error "define INTERNAL_LOCK"
^~~~~
./sys_defs.h:1336:2: error: #error "define USE_STATFS or USE_STATVFS"
#error "define USE_STATFS or USE_STATVFS"
^~~~~
In file included from alldig.c:29:0:
./sys_defs.h:1347:57: error: unknown type name 'SOCKADDR_SIZE'
extern const char *inet_ntop(int, const void *, char *, SOCKADDR_SIZE);
^~~~~~~~~~~~~
Makefile:187: recipe for target 'alldig.o' failed
make: *** [alldig.o] Error 1
make: Leaving directory '/root/source/build_dir/target-mipsel_24kc_musl/postfix-3.3.0/src/util'
Makefile:92: recipe for target 'update' failed
make[4]: *** [update] Error 1
make[4]: Leaving directory '/root/source/build_dir/target-mipsel_24kc_musl/postfix-3.3.0'
Makefile:265: recipe for target '/root/source/build_dir/target-mipsel_24kc_musl/postfix-3.3.0/.built' failed
make[3]: *** [/root/source/build_dir/target-mipsel_24kc_musl/postfix-3.3.0/.built] Error 2
make[3]: Leaving directory '/root/source/feeds/packages/mail/postfix'
Command exited with non-zero status 2
time: package/feeds/packages/postfix/compile#0.18#0.05#0.22
package/Makefile:107: recipe for target 'package/feeds/packages/postfix/compile' failed
make[2]: *** [package/feeds/packages/postfix/compile] Error 2
make[2]: Leaving directory '/root/source'
package/Makefile:103: recipe for target '/root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/root/source'
/root/source/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2Any Suggestions?
Thank you!