@Larry-Pinney Indeed, this is FOSS, embrace the community, Onion!
Zogg Baubas
@Zogg Baubas
Best posts made by Zogg Baubas
-
RE: So close! HFS+ support
@Duane-Morin Onion devs previously explained, that kernel modules must be build on the same machine that the kernel was build. Thats why you can't install kmod* packages from LEDE repository when using OnionOS, even if kernels are exactly the same.
You have to build an image yourself, along with wanted kernel modules. -
RE: [SOLVED]Question about building custom image
@Iker Its a no-go for me without working WiFi... It would be great if you'd share how to have preconfigured working wifi with LEDE.
-
RE: [SOLVED]Question about building custom image
@Costas-Costas said in [SOLVED]Question about building custom image:
@administrators can you please enable /dev/mem and rebuild the firmware to fix the broken Fast-gpio ?
I do 2nd that.
-
RE: [Solved] Python - Dictionary?
gpsfile=open('/root/gpsinfo.txt', 'r') gpsinfo=gpsfile.read()
read()
method returns string here, as you are simply reading a file.If this is the actual data from the file, with double quotes around key names and values:
{"age":6357,"latitude":"38.1234","longitude":"-80.1234","elevation":"1234.5","course":"12.34","speed":"N"}
Then you can use
json
to load it up. This should work:#!/usr/bin/env python import json from pprint import pprint with file('/root/gpsinfo.txt', 'r') as gpsfile: gpsinfo = json.load(gpsfile) age = gpsinfo['age'] lat = gpsinfo['latitude'] lon = gpsinfo['longitude'] elv = gpsinfo['elevation'] cou = gpsinfo['course'] spd = gpsinfo['speed'] pprint(("Age: " + age, "Latitude: " + lat, "Latitude: " + lon, "Longitude: " + elv, "Course: " + cou, "Speed: " + spd)) exit()
-
RE: omega2 plus sdcard not working
@Lazar-Demin said in omega2 plus sdcard not working:
Expect new articles on running the Omega's OS from an SD card in the near future!
YES! YES!!
We'll also be updating the wiki to differentiate between the classic Omega and the Omega2!
Stay tuned!
Give the community the keys to edit wiki ourselves.
-
RE: omega2 plus sdcard not working
Tested with my new 256GB sdcard and it finally works! With
0.1.8 b145
:[ 4763.886240] mmc0: new high speed SDXC card at address 2143 [ 4763.893261] mmcblk0: mmc0:2143 APPSD 250 GiB [ 4763.899335] mmcblk0: p1 [ 4763.902012] mmcblk0: p1 size 524352600 extends beyond EOD, truncated
Latest posts made by Zogg Baubas
-
RE: So close! HFS+ support
@Duane-Morin Onion devs previously explained, that kernel modules must be build on the same machine that the kernel was build. Thats why you can't install kmod* packages from LEDE repository when using OnionOS, even if kernels are exactly the same.
You have to build an image yourself, along with wanted kernel modules. -
RE: [SOLVED]Question about building custom image
@Iker Its a no-go for me without working WiFi... It would be great if you'd share how to have preconfigured working wifi with LEDE.
-
RE: [Solved] Python - Dictionary?
@Brad-Buskey Your welcome. And share your projects!
P.S. fixed a typo in my code sample.
-
RE: Omega2 - moving serial terminal from serial0 to serial1
That would be a neat customization for those of us, who do not connect serial devices through the docks. @WereCatf, maybe you could advise?
-
RE: [SOLVED]Question about building custom image
@Costas-Costas said in [SOLVED]Question about building custom image:
@administrators can you please enable /dev/mem and rebuild the firmware to fix the broken Fast-gpio ?
I do 2nd that.
-
RE: [Solved] Python - Dictionary?
gpsfile=open('/root/gpsinfo.txt', 'r') gpsinfo=gpsfile.read()
read()
method returns string here, as you are simply reading a file.If this is the actual data from the file, with double quotes around key names and values:
{"age":6357,"latitude":"38.1234","longitude":"-80.1234","elevation":"1234.5","course":"12.34","speed":"N"}
Then you can use
json
to load it up. This should work:#!/usr/bin/env python import json from pprint import pprint with file('/root/gpsinfo.txt', 'r') as gpsfile: gpsinfo = json.load(gpsfile) age = gpsinfo['age'] lat = gpsinfo['latitude'] lon = gpsinfo['longitude'] elv = gpsinfo['elevation'] cou = gpsinfo['course'] spd = gpsinfo['speed'] pprint(("Age: " + age, "Latitude: " + lat, "Latitude: " + lon, "Longitude: " + elv, "Course: " + cou, "Speed: " + spd)) exit()
-
RE: GPL Source Code
@WereCatf said in GPL Source Code:
@Kit-Bishop That wouldn't do you much good, because they have extra customizations besides just the .config, like e.g.the proprietary Wi-Fi driver.
Wait, so what happens if I flash LEDE into Omega2+? It'll use generic foss WiFi drivers or something?
-
RE: Sill no SD Card
@Brad-Buskey said in Sill no SD Card:
I had to create the /mnt/sdc dir before it would properly mount. Those are not created automatically.
Default behavior is to mount card and usb-storage (if you are running on dock) under
/tmp/mounts
. -
RE: Omega2+ cannot install kmod-fs-ext4 kmod-usb-storage-extra kernel version mismatch
@Lazar-Demin said in Omega2+ cannot install kmod-fs-ext4 kmod-usb-storage-extra kernel version mismatch:
@Tamas-Kende @Kit-Bishop @WereCatf
As of version 0.1.7 the Omega can install additional kernel modules, please see the docs site for details: https://docs.onion.io/omega2-docs/software-using-opkg.html#onion-package-repoIn a nutshell, opkg only allows installation of kernel modules compiled by the same machine that generated the firmware image, so as to avoid disaster. To remedy this, we're hosting our own core and base package repos. As a result, there will be some difference in the selection of packages hosted by us and by the LEDE repos. If you would like to see something added please let us know and we'll do our best to get it up in a timely manner.
In that case, I need:
kmod-batman-adv
batctl
to be able to run meshnetworking on Omega.
-
RE: Might have bricked my Omega2+, can't connect via serial
I'v got myself
TTL COM PC-PL2303HX
recently, its a TTL UART - USB converter. Works well with Ubuntu and Omega.