@crispyoz Thanks for your thoughts
Posts made by Dennis German
-
Dash cannot maintain wifi connection
I have received 2 Omega Dash and they both exhibit the same problems.
They are dynamically assigned IP addresses from a Verizon G100 router with a lease time of 17 minutes(1020 seconds) over wifi
from a network named "disabled" (really!) which uses Internet Systems Consortium DHCP Server 4.3.6.
Everything is OK for hours at a time.
Frequently
connectity is lost for anywhere from a few minutes to an hour.
During this time the blue LED blinks.I have not yet begun to develop my display applcation.
The only things I have running are cron jobs to display uptime, IP addresses from ifconfig to /dev/tty and
save the log to /mnt/mmcblk0p1/logThe log entries (315 lines ) are at https://Real-World-Systems.com/omega/wifi_dies.log
++Any suggestions to resolve or diagnose this problem would be appreciated.
-
RE: Ngrok for Omega2+ / Omega Pro ?
@Yvan-Gagnon If your Omega can be accessed via IP address (like a dynamic one assigned by your internet Service Provider) and you just want a static name you can try http://changeip.com/dns.php for their Dynamic DNS. Some routers support them and can notify them when your IP address changes.
-
RE: diff is missing
Just upgrade to
Ω-ware: 0.2.2 b200
uname -a
Linux Omega-98F5 4.4.74 #0 Tue Jul 31 16:32:08 2018 mips GNU/Linux -
RE: diff is missing
SOLVED! @György-Farkas Thank you VERY much.
The fifth(5th) line being:
##src/gz reboot_packages http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/packagesWhy is that line in distfeeds commented out?
What about the next lines?
+++++++++++++++++
I have BusyBox v1.25.1 () even though I tried to get most recent packages. Should I replace 1.25.1 with 1.31.9?
What did I do wrong? -
diff is missing
diff
-ash: diff: not foundfind / -name diff
+++ returns nothing +++Does not seem to be in BusyBox v1.25.1 nor as a opkg module
any suggestions would be appreciated.
-
RE: Which pkg contains xxx, For example diff
@Douglas-Kryder Thank you VERY much.
How do you know that?
I've looked at opkg list a dozen times trying to find it. -
Which pkg contains xxx, For example diff
I must be thick. I am trying to find and install a utility like diff but I cannot figure out what pkg it is in.
-
[solved]opkg fails after opkg update
After opkg update
/etc/opkg/distfeeds.conf includes:http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/onion/Packages.gz
But there are NOT onion directories under mipsel_24kc
-
RE: Bash script Onion start problem omega 2
@Christian-Munk
In general, first thing I always recommend is changing
/usr/bin/radio.sh & > /dev/null
to
/usr/bin/radio.sh & > /var/log.radio.log
Why would you throw away whatever the author of a script was trying to tell you.The technique to solve this and many problems in general is:
- copy the origin source to source.broken (or similar)
- remove a chunk of code, especially on of a group of similar segments.
- Try it.
- Save that version and go back to step 2 if it still fails.
I have found that having 2 windows open, one with vi chopping up the code and another executing the code allows you to undo the last delete +and examine it carefully.
Another thing that you can do, when if executes but not the way you want is the oldest(well second oldest after setting an address stop +from the front panel) add output statements like
echo "got to stage2" >> script.log
or
logger "stepping along count:$count:" #this goes to either the local syslog hopefully configured to save messages in /var/log or even +another system that can collect the messages if the target system cannot be accessed now (or later)Get rid of most (not all ) of the if..fi . This won't fix the problem but will allow you to get a better view of what remains.
-
RE: O2+ failure - what does blink pattern indicate?
Just upgraded several packages including libubus.
[ 4.489247] usbcore: registered new interface driver usb-storage
[ 4.499070] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.516900] init: - preinit -
[ 5.069174] usb 2-1: new full-speed USB device number 2 using ohci-platform
[ 5.367204] rt3050-esw 10110000.esw: link changed 0x00
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug[ 5.569477] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
level
[ 7.998915] jffs2: notice: (401) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 8.023692] mount_root: switching to jffs2 overlay
[ 8.062463] urandom-seed: Seeding with /etc/urandom.seed
Error relocating /lib/libubus.so: uloop_cancelling: symbol not found
[ 8.202992] watchdog watchdog0: watchdog did not stop!
[ 8.208847] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[ 8.208847]
[ 8.219687] Rebooting in 1 seconds.. -
opkg update fails attempting to wget downloads.lede-project.org/releases/17.01-SNAPSHOT/...
opkg update fails attempting to access non existent .../releases/17.01-SNAPSHOT... why
and -more importantly -
how do I get it to access the correct location?opkg update
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/targets/ramips/mt7688/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_core
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/targets/ramips/mt7688/packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_base
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/base/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/onion/Packages.gz
*** Failed to download the package list from http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/onion/Packages.gzCollected errors:
- opkg_download: Failed to download http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/onion/Packages.gz, wget returned 8.
Come-on someone must know how handle this.
-
RE: busybox: applets included isn't listed (resolved)
@György-Farkas Thank you very much
-
RE: syslog seriously needed (resolved)
@WereCatf: Thank you for your response. I will look more into logread. I did notice this program but was unable to determine what it was. After searching for logread as per your information I have found documentation at https://wiki.openwrt.org/doc/howto/log.essentials
I'm not sure how I would have known that logread was an alternate to syslog.
-
RE: busybox: applets included isn't listed (resolved)
@György-Farkas Thanks for your help. Why doesn't busybox list the apps?
-
syslog seriously needed (resolved)
I'm sure you get a lot of requests for "please included my favorite xxxxx'.
This one is something that should be included in every system especially IoT and embedded systems. Busybox includes the most basic set.
This should promote an "best practice" of logging as much activity as possible (with the correct priority level and facility). Process starts, progress, ends with status.
Setting up a basic syslog is easy and subsequent tuning can frequently be done without touching the application. You can include syslog command calls in scripts as well as programs. The most important thing is using various priority levels. Messages can be grouped or separated (or ignored for now) based on priority. Use notice for normal start/stop messages, info for summary information and debug for progress and detail messages which can always be ignored in production (and turned on is needed). Warning should be for messages describing potential future problems and error for minor things that have gone wrong. Leave critical, alert and emergency for when your system (which may be only one process if it's the process that is the only reason for a dedicated system) cannot start, continue or aborts.
Don't get to hung up on the details, just get the logging in place as you develop the application.There are several options for the eventual destination for systems with restricted disk storage and/or awkward administrative inbound communications. Many are free services including PaperTrailApp.com. You can set up your home system as a syslog repository (if you have a dynamically assigned IP address you can use a name and register it at DynDns.org ) See Syslog.com
Wikipedia has a rather good article at Wikipedia.org/Syslog -
RE: busybox: applets included isn't listed (resolved)
@Luciano-S. Sorry I didn't mean to imply that I got the info about busybox, rather the onion works.
Still don't know what's included in busybox!
-
busybox: applets included isn't listed (resolved)
https://www.busybox.net/downloads/BusyBox.html
says that
"If you invoke BusyBox with no arguments, it will provide you with a list of the applets that have been compiled into your BusyBox binary."instead it reports:
busybox: applet not found
It would be great if it did.
PS I must have done something wrong. I plugged it in and it just worked! Yipiee.
Thanks for a GREAT system.