@cas Thanks. It was a RAM issue. When I expanded the RAM, gcc got installed successfully.
Posts made by Aman Chawla
-
RE: Installing gcc
-
bluetoothctl not found
Hello,
I'm running an Onion Omega2 on Arduino Dock 2 with a USB Hub that adds a USB drive (successfully mounted, as shown by df -h) and a BLE expansion. I run the standard steps to enable bluetooth but get the following output:
root@Omega-9F38:~# hciconfig -a
hci0: Type: Primary Bus: USB
BD Address: 00:1A:7D:DA:71:13 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:1160 acl:0 sco:0 events:62 errors:0
TX bytes:744 acl:0 sco:0 commands:62 errors:0
Features: 0xff 0xff 0x8f 0xfe 0xdb 0xff 0x5b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'CSR8510 A10'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Version: 4.0 (0x6) Revision: 0x22bb
LMP Version: 4.0 (0x6) Subversion: 0x22bb
Manufacturer: Cambridge Silicon Radio (10)root@Omega-9F38:~# hciconfig hci0 up
root@Omega-9F38:~# hciconfig hci0 sspmode enable
root@Omega-9F38:~# hciconfig hci0 piscan
root@Omega-9F38:~# bluetoothctl
-ash: bluetoothctl: not foundI had previously installed bluez-utils successfully. Any reason why bluetoothctl should not be found?
Thanks,
A C -
Installing gcc
Hello,
I'm running an Onion Omega2 on Arduino Dock 2 and have a USB expansion installed and working. When I try to install gcc however, I get the following output:root@Omega-9F38:~# opkg install gcc
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
KilledIs it because of lack of space? I ran df-h and got the following output:
root@Omega-9F38:~/bluepy/bluepy# 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 14.6G 135.3M 13.7G 1% /overlay
overlayfs:/overlay 14.6G 135.3M 13.7G 1% /
tmpfs 512.0K 0 512.0K 0% /devDo I need more space?
Would appreciate your help.
Sincerely,
Aman Chawla -
RE: Running Onion Omega 2 from the USB external storage device
@Pavel-Metrokhin I ran the instructions on the thread you mentioned. It returned the following:
root@Omega-****:/# opkg install kmod-fs-ext4_4.4.74-1_mipsel_24kc.ipk --nodeps
Installing kmod-fs-ext4 (4.4.74-1) to root...
Configuring kmod-fs-ext4.
Configuring kmod-usb-storage-extras.
ums-alauda is already loaded
ums-cypress is already loaded
ums-datafab is already loaded
ums-freecom is already loaded
ums-isd200 is already loaded
ums-jumpshot is already loaded
ums-karma is already loaded
ums-sddr09 is already loaded
ums-sddr55 is already loaded
ums-usbat is already loaded
Collected errors:- pkg_run_script: package "kmod-usb-storage-extras" postinst script returned status 255.
- opkg_configure: kmod-usb-storage-extras.postinst returned 255.
Sincerely,
A C -
Running Onion Omega 2 from the USB external storage device
Hello,
I'm trying to expand the storage space on my Onion Omega2 (attached to an Arduino Dock 2) using a USB storage device with 15 GB of space. I could successfully format the file system on the device to the required ext4 file system, as explained in: https://docs.onion.io/omega2-docs/boot-from-external-storage.html
However, the rest of the instructions didn't work. When I try to run
opkg install kmod-usb-storage-extras e2fsprogs kmod-fs-ext4
I get the following output after some steps:
Configuring libuuid.
Configuring libext2fs.
Configuring e2fsprogs.
Collected errors:- satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage-extras:
- kernel (= 4.4.74-1-97eec485b1ee24d5b1ca0357d1dd7304) *
- opkg_install_cmd: Cannot install package kmod-usb-storage-extras.
- satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ext4:
- kernel (= 4.4.74-1-97eec485b1ee24d5b1ca0357d1dd7304) *
- opkg_install_cmd: Cannot install package kmod-fs-ext4.
I would appreciate any help in overcoming this error.
Sincerely,
Aman Chawla -
RE: Unable to connect to Wifi
@Douglas-Kryder thanks for the prompt to search. I searched and found the relevant thread titled ``Unable to connect to Wifi after update'' and it solved my problem. Thanks again.
-
Unable to connect to Wifi
Hello,
I'm doing a first time setup of the Onion Omega 2 with Arduino Dock. I get past the login screen but I am unable to connect to any of the available Wifi networks - it simply comes back by saying Unable to connect to <network name>. Please try again.
I would appreciate any suggestions.
Thanks in advance!
-
RE: /sbin/uci: I/O error
@William-Scott Thanks Bill, it does seem that my system is read-only. For example, when I just login to the device, I get the message:
``Your JFFS2-partition seems full and overlayfs is mounted read-only. Please try to remove files from /overlay/upper/.... and reboot.''
Also, when I type in
cd /etc/config
touch tempfileI get the message: touch: tempfile: Read-only file system
-
RE: /sbin/uci: I/O error
@William-Scott Thanks for your reply. How would I check that my device is not read-only at the moment?
-
/sbin/uci: I/O error
Hello,
I have an Onion Omega 2 running via the Arduino Dock 2. I am trying to setup wifi using the wifisetup command. After I select a network to connect to, I get the following error:
uci: I/O error
Restarting wifimanager for changes to take effect
root@omega-9f#8:-# /sbin/uci: I/O error
I would appreciate some help in figuring out this error.
Thanks!
-
Get Index of /console/ instead of Console
After I disconnected power to the Arduino Dock 2 which has the Onion Omega 2 on it, and reconnected power, and then browsed to http://omega-XXXX.local, I get simply a page with
Index of /console/
-
.../
-
lib/
and that's all, except some dates written below 1 and 2. How do I restore the console? I have tried using wifisetup in Terminal and then using wget to go to the firmware repository url, but it comes back saying cannot resolve host. opkg update comes back saying Failed to download the package list.... Check your network settings and connectivity.
-