@Lazar-Demin Thanks Lazar. Do you know roughly when the cloud will be back up? Are we talking weeks or more? I know you guys are under a great deal of pressure, and you work is truly amazing. Thanks for any info.
TheLion
@TheLion
Best posts made by TheLion
-
RE: Onion Cloud Maintenance
-
Fun checking the openwrt download repository
Hi,
The repository seems to be down at the moment and if you do an update, it can wait forever to come back on its own.... So, I wrote a fun script to check first:
root@Omega-1F15:/usr/brian# cat ping_opkg
if
ping -c 1 -W 1 downloads.openwrt.org > /dev/null
then
opkg update
else
echo "Noooooo..!"
fiSave the file as ping_opkg, and make it executable with:
chmod 777 ping_opkgrun like this:
./ping_opkgIt will either do the update or say, "Noooo!" if it can't and doesn't gang the system
-
RE: An external antenna..
Ahh - not to worry.. Just after posting, it took me to this page.. https://community.onion.io/topic/363/ufl-antenna-connector
That is exactly what I need.
-
RE: Hologram Cellular Expansion Docs?
Ohh - I have mine going but haven't installed the SDK yet, so I'll do you a trade..
As with any USB device, they have a VID (Vendor ID) and PID (Product ID). The linux device will see the VID and PID but you will have to tell it what hardware this is.. Is it a keyboard? Mouse? How can it communicate with the Cellphone modem? Looking at the docs for the UBlox Sara-201, it says that it has a few connections but one of them is an AT command set interface. Historically (if you are old enough to remember the 9600 baud modems we used to access the internet with in the early 90's...) modems with an AT command set are based on serial links. So in this case I took a guess and just said that the device is a serial device.
To get the PID and VID, you need to do the following:
root@Omega-F5C5:/usr/bin# lsusb Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 1546:1102 U-Blox AG Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@Omega-F5C5:/usr/bin#
So, device 3 is the U-Blox cell phone module. The ID 1546:1102 id the VID and PID. CD to /etc/modules.d and edit the file usb-serial with the contents, "usbserial vendor=0x1546 product=0x1102 maxSize=2048"
This includes the VID and PID from the command, "lsusb" above and tells the omega that there is a serial port.
root@Omega-F5C5:/etc/modules.d# cd /etc/modules.d root@Omega-F5C5:/etc/modules.d# cat usb-serial usbserial vendor=0x1546 product=0x1102 maxSize=2048 root@Omega-F5C5:/etc/modules.d#
Install screen with opkg install screen
then cd to the /dev directory and ttyACM1 should be therepipe the port to screen
screen ttyACM1 <enter>
and then you are connected to the modem. Try AT <enter> and it should say OK.
-
RE: Can I interface touch screen with Omega2 Processor?
These guys here do VGA interfaces and I have used them. They have touch screens and VGA controlled by a serial link that is really easy to use.
Awesome..
Latest posts made by TheLion
-
RE: Omega and Cellular... any hope?
There is, of course, the Nova https://hologram.io/store/nova-global-cellular-modem/36
One problem I came across a while back was installing the Hologram Python SDK but any modem you get these days should be pretty easy to interface with a socket setup to the Hologram Cloud
-
RE: How to properly shutdown Omega-2?
I have had the file system corrupt after a while with just switching it off. Is there a way to protect that? Read only?
This could become a problem if the device is in a remote location. -
Where can I buy a qty of Omega 2s?
Hi,
The store does not have the omega 2S in it. Where can I get my hands on some and for what price?
Thanks..
-
Local API
Hi,
I have been using the cloud API to control the Onion so far, but is there an API interface through the use of curl commands, or similar, to integrate an API just over the local LAN? i.e. I have a device that I wish to control but it does not have public internet access.
How can I do this? any ideas? I guess it must be possible because the cloud interfaces with the Onion over the inernet already.
Thanks for any ideas..
-
RE: [Resolved] SSH from Omega to Linux Server without Password
For the permissions, both the folder and the key require the following:
chmod 700 /home/user/.ssh chmod 644 /home/user/.ssh/authorized_keys
From https://superuser.com/questions/215504/permissions-on-private-key-in-ssh-folder
-
RE: [Resolved] SSH from Omega to Linux Server without Password
You can send the key by "secure copy" (similar to SSH) like this:
change directory to where the key is on the omegascp id_rsa.pub <user>@<yourhost>:.ssh/authorized_keys
Where <user> is the SSH user for the remote login and <yourhost> is the host of the remote login.
You will be asked for a password initially.
-
RE: Installing Debian on Omega2+ board
This is quite an interesting project, thanks for posting.. How could we run a script or binary within the Debian shell automatically from boot?
Or a crontab? I have installed crontab but we are only running a shell here, so it misses out the init.d from a proper boot.
-
RE: Hologram Cellular Expansion Docs?
Ohh - I have mine going but haven't installed the SDK yet, so I'll do you a trade..
As with any USB device, they have a VID (Vendor ID) and PID (Product ID). The linux device will see the VID and PID but you will have to tell it what hardware this is.. Is it a keyboard? Mouse? How can it communicate with the Cellphone modem? Looking at the docs for the UBlox Sara-201, it says that it has a few connections but one of them is an AT command set interface. Historically (if you are old enough to remember the 9600 baud modems we used to access the internet with in the early 90's...) modems with an AT command set are based on serial links. So in this case I took a guess and just said that the device is a serial device.
To get the PID and VID, you need to do the following:
root@Omega-F5C5:/usr/bin# lsusb Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 1546:1102 U-Blox AG Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@Omega-F5C5:/usr/bin#
So, device 3 is the U-Blox cell phone module. The ID 1546:1102 id the VID and PID. CD to /etc/modules.d and edit the file usb-serial with the contents, "usbserial vendor=0x1546 product=0x1102 maxSize=2048"
This includes the VID and PID from the command, "lsusb" above and tells the omega that there is a serial port.
root@Omega-F5C5:/etc/modules.d# cd /etc/modules.d root@Omega-F5C5:/etc/modules.d# cat usb-serial usbserial vendor=0x1546 product=0x1102 maxSize=2048 root@Omega-F5C5:/etc/modules.d#
Install screen with opkg install screen
then cd to the /dev directory and ttyACM1 should be therepipe the port to screen
screen ttyACM1 <enter>
and then you are connected to the modem. Try AT <enter> and it should say OK.
-
Onion cloud not connecting
Hi,
Does anybody else have any problems with the cloud not connecting? I have an Omega1 and a 2+ both not connecting to the cloud. The Omega1 shows as offline and the 2+ shows as online but is unable to connect due to an error.
-
Developer work
Hi,
If anybody would be interested in working with me on finishing off an app with the omega1, please get in touch on the PM and we will set up a Skype call.
It needs a user, PHP front end to tie together some built python scripts and to send emails.
Also to perfect some of the scripts for remote 3g access and GPS location in the case that the device is stolen.All of the hardware is done.
Thanks..