@WereCatf This needs to be fixed. A private build of the libopenssl package is unacceptable. Hopefully, Onion will rectify this in a future update.
Armstead Smith
@Armstead Smith
Best posts made by Armstead Smith
-
RE: OpenWRT on the Omega 2(+)
-
Voice control of Omega2 with Amazon Alexa
I've got the demo working of WeMo control of the Omega2. The steps to reproduce this (and a video) can be found on my blog:
http://tlcsecure.com/blog/alexa-omega2
The example script has device name "device" but can be renamed to something like "lights" and Alexa can be told to "turn the lights on" or "turn the lights off". It will be trivial to plug a USB lamp in and have the python script control the usb hub power with the hub-ctrl package.
Latest posts made by Armstead Smith
-
RE: Mounting a second partition on the USB
I think I found the problem. The dmesg output showed superblock has an invalid journal. Repaired with fsck.ext4 /dev/sda2. Due to the size, it talks a really long time to complete all passes.
-
RE: Mounting a second partition on the USB
I can't mount it:
root@Omega-E169:~# ls -ls /mnt
4 drwxr-xr-x 2 root root 4096 May 25 21:46 sda1
4 drwxr-xr-x 2 root root 4096 Jun 18 22:23 sda2
4 drwxr-xr-x 2 root root 4096 Jul 18 05:21 sdb1
root@Omega-E169:~# mount /dev/sda2 /mnt/sda2
mount: mounting /dev/sda2 on /mnt/sda2 failed: Invalid argument -
Mounting a second partition on the USB
I just got a 1TB USB. I have two partitions. The first is a 1GB FAT16 and the second is a 974GB Linux partition. The first partition works fine as an overlay. I was able to use mkfs.ext4 on the second partition, but can't mount it. How could I do this as an automount? When I run mount it creates /tmp/run/mountd/sda2, but says its a symbolic loop.
-
Can no longer login as root
Has anybody else had this problem? I was able to login as root with password onioneer. It suddenly refused my login either by ssh or the web console. Is there another login to get me in? What's the fix? Thanks!
-
RE: OpenWRT on the Omega 2(+)
@WereCatf This needs to be fixed. A private build of the libopenssl package is unacceptable. Hopefully, Onion will rectify this in a future update.
-
Voice control of Omega2 with Amazon Alexa
I've got the demo working of WeMo control of the Omega2. The steps to reproduce this (and a video) can be found on my blog:
http://tlcsecure.com/blog/alexa-omega2
The example script has device name "device" but can be renamed to something like "lights" and Alexa can be told to "turn the lights on" or "turn the lights off". It will be trivial to plug a USB lamp in and have the python script control the usb hub power with the hub-ctrl package.
-
RE: Omega2 gcc package installation failure
RESOLVED
cd /
wget http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/gcc_5.4.0-2_mipsel_24kc.ipk
opkg update
opkg install gcc_5.4.0-2_mipsel_24kc.ipkNow local gcc and g++ work.
-
RE: Omega2 gcc package installation failure
I didn't show the opkg update output, but it has:
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_base
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_packages
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.sig
Signature check passed. -
Omega2 gcc package installation failure
I followed the instructions on https://docs.onion.io/omega2-docs/c-compiler-on-omega.html#compiling-a-c-program-1
My omega2 has a USB overlay mounted on root for extra storage. I created a swapfile on the same USB for extra memory:
root@Omega-E169:/# free
total used free shared buffers cached
Mem: 60772 40264 20508 11880 2528 16076
-/+ buffers/cache: 21660 39112
Swap: 524284 15768 508516
root@Omega-E169:/# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 5.5M 5.5M 0 100% /rom
tmpfs 29.7M 25.9M 3.8M 87% /tmp
/dev/sda1 972.2M 565.4M 340.6M 62% /overlay
overlayfs:/overlay 972.2M 565.4M 340.6M 62% /
tmpfs 512.0K 0 512.0K 0% /devAfter edits to /etc/opkg/distfeeds.conf, I issue:
opkg update
opkg install gccI get the following:
Installing gcc (5.4.0-2) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/gcc_5.4.0-2_mipsel_24kc.ipk
Collected errors:- opkg_download: Failed to download http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/gcc_5.4.0-2_mipsel_24kc.ipk, wget returned 3.
- opkg_install_pkg: Failed to download gcc. Perhaps you need to run 'opkg update'?
- opkg_install_cmd: Cannot install package gcc.
Anyone else see this and is there a fix?
-
RE: More system disk space using pivot-overlay (and pivot-root) on the Omega2
@Armstead-Smith
Ahh. The USB wasn't ext4. It works now!