ClearOS 7 Multilib problems, thanks for that guys

So I tried to update my ClearOS 7 box the other day and ran into a shit ton of issues. Apparently the system had not been updating itself for quit a while and I hadn’t noticed. Skipping the GUI I went strait to my OSX terminal to use SSH. yum update got me the original multilib problem to display itself:

libldb-1.1.25-1.el7_2.i686 != libldb-1.1.25-1.el7_2.x86_64

After a bit of Googling the horrible ClearOS forums I found enough info to get going. I did not have the same problems that the OP had but I found the info on this page to be of great help, it is what enabled me to finally get to the state to update my system (or at least uncovered other issues I needed to fix):
https://www.clearos.com/clearfoundation/social/community/repositories-404-error/latest

From what I gathered there are so many things that need to be updated there is a dependency snafu. So we have to ignore all the updates to those apps until the dependencies can be met then we can go back and update those other guys, no man left behind.

yum --exclude samba*,libldb*,libsmbclient,libwbclient,pyldb*,app-samba-* update

Thats the command that led me to discover my other issues, probably why the system wasn’t self updating. My /boot partition doesn’t have enough space. Well WTF ClearOS I used your fucking installer. Douche cannons. On to that later. At first yum --exclude samba*,libldb*,libsmbclient,libwbclient,pyldb* update is what they had to get going and it worked a bit but samba still was throwing errors for app-samba-blah-blah the ClearOS samba module I assume. So we had to ignore that bitch too. Samba is always a bitch no matter what system I have worked on samba always rears its head somewhere.

I COULD update, if I didn’t have the partition issue. Great no I have to expand /boot. Fuck me.

Fuck ClearOS, I think I’m done

I am starting to get really tired of this distro. Their “support” forums are about the worst on the web. The forum software fucking sucks too, I have never seen a support forum that arranges posts the way they do. The shit is far from in order, the posts feel like Facebook – you know how they constantly rearrange shit for no good fucking reason. yeah like that so fuck that place. Not to mention there is no help there, all the posts that show up in searches are YEARS old and/or only apply to a version a few years old.

Besides the extreme lack of any public community support the shit isn’t stable’ish. Every the system reboots (usually due to a power failure or Comcast sucking ass) I have to spend hours trying to get my internet connection back. Clear does NOT play well with any fucking cable modem or NIC I have yet to come upon. That’s a serious fucking problem. Now lets get to why I am typing this post. I’m fucking irritated. My UPS battery decided to take a shit, so I lost power to the server. Upon reboot I actually happened to have an internect connection, which is really fucking odd – cause that has never ever ever ever ever happened before… But nooo, can’t just leave it at that nope. After the server came back up something happened to Transmission and its permissions. I’m not sure what, but it’s fucking bullshit. Transmission, a module available via the marketplace but it doesn’t configure itself properly. Permissions are a fucking nightmare trying to get it all to work, which I had until Clear rebooted. It won’t let me add the transmission user to the group, the group doesn’t show up everywhere, the users are where they are suppose to be. Fucking ridiculous.

Any other options instead of ClearOS? I was using Zentyal which was great until they removed every module I actually found useful, now Clear is giving me more headaches than I care for. A GUI is required, I am not messing with CLI shit all day long for a home box.

PCDUINOs, just don’t

Yeah like the title says: PCDUINOs, just don’t. While they look good and smell good, they don’t taste good.

The board has impressive specs, and it runs pretty rock solid. Not to mention it has a SATA port! But the support is horrific. The images to dump on it are horrific – if you have happened to find one. My whole experience so far (five months) has been bad. The board is still sitting on my desk because of these issues. The overall support blows. Now let me say, I have not contacted LinkSprite because there aren’t any issues that I feel they would/could resolve over an email. The community for these boards is horrible. The overall support for PCDUINOs on the intarwebs is just plan bad. And it seems to be that no one likes AllWinner chips.

Save yourself the headache and time and get a different board that has tons of support on the web. You will thank yourself that you did later, trust me.

UPDATE: I have decided to try to use the PCDUINO as an arcade emulator. As long as I can get a linux (ubuntu or debian) running on it with no issue I think I should be OK. I have a 250GB 2.5″ SATA drive on it now which is perfect. I don’t need the GPIOs for the emulator either so no fussin with that code. I just don’t get a fancy Raspi GUI 🙁 I’ll let you know what happens.

Enter the world of Jasper

Want to play around with some voice activation? Want to talk to your Raspberry Pi? Your choices so far are Alexa and Jasper. I went with Jasper after finding out AlexaPi requires you to press a button on a website to activate the voice goodies. So you would have to click a button on a web page every time you want to talk and are done talking to Alexa. Fuck that noise! Jasper it is! First off don’t follow the Jasper Documentation install guide. Do not! (as of 05/04/2016), it doesn’t work. It was also written for older Pies.

Instead you should probably follow this guide (Wheezy only): https://github.com/bablokb/jasper-install (I have not tried this myself). I downloaded an image made for a Pi2 B+.

Pros to not downloading an image, you don’t have to wait for the download and you can tweak stuff during the build I’m sure, if you know what you are doing, this is not me. Cons, the build time takes 4-8hrs. Pros to downloading an image, all that build time is gone. Cons, you have to (find!) download the 2gb-7gb torrent.

So this is what I did. Download the image for the Raspberry Pi 2 B+ and bake it to a SD Card (I use the ApplePi Baker, so easy). Do the standard raspi-config crap after your first boot. Now go and follow everything in the configuration section. All of it. Now you should be good to go. Use thePi Baker to “freeze” (copy the image) of the SD so when you fuck it up later you don’t have to start from scratch when you jack shit up later.

(Finding and) Downloading Jasper for the RPi2…
This guy did all the work and released it to the world for free but he requires you to download and install some shitty ass 3rd party torrent software to get it. What a total asshat, on top of that he protects everything with fucking keys. Total douche cannon move.

Mega download: https://mega.nz/#!T5VHXb4A!ZFaDDAUASswYb6Fi_-opDScBWOpNqmJMWS9KgPgn2nU
Guy that made the IMG: http://www.dansinclair.co.uk/raspberry-pi-2-jasper/

Debian DEB: https://groups.google.com/forum/#!topic/jasper-support-forum/RVATTGel-OQ

You can also find a few IMGs for the RPi2/B+ in the Google Groups, most of them require that stupid 3rd party software and keys to unlock them (fucking asshat!!): https://groups.google.com/forum/#!forum/jasper-support-forum

Some side notes that may help keep your sanity longer:

To start Jasper at Boot
sudo crontab -e
Add the following:
@reboot /home/pi/jasper/jasper.py;

To remove Jasper start at boot
sudo crontab -e
place # in front of the job or remove it
save (ctrl+o) and quit (ctrl+x)
https://groups.google.com/forum/#!searchin/jasper-support-forum/boot/jasper-support-forum/5C6wtDfBlRE/AoRN5j8cJFUJ
http://jasperproject.github.io/documentation/usage/

OR (untested, copy/pasted from Google-Groups)

You can just add the scrip to ‘/etc/rc.local’, something like:
su -c '/usr/bin/python /home/pi/jasper/jasper.py' pi

I removed News.py and HN.py, these news scripts were useless to me and for some reason News.py would override every other script. So Jasper would constantly tell me the news no mater what I asked him, and that is not a short script so you get tired of waiting for it to finish and telling him no all the time.

I tried to change the default voice (its hard to understand sometimes) but Google-TTS is a no go for me, it requires a Google Developer Account and that costs $25. I’ll pass. So stuck with espeak. Have not tried the others yet.

If you are running into “I’m sorry but I can’t see that far into the future” with Weather.py then you’re probably using your zipcode in the config, like the instructions said, well that wont work surprise. You need to use the special chart to get the closest big city in your area and use that number then Jasper will tell you the weather. I also started using the Weather.py from the google groups here instead, its better and worked for me out of the box.
(I can’t remember where that special chart was, soon as I do I will update the post)
https://groups.google.com/d/msg/jasper-support-forum/kQ7KzDqJIDs/THW-DZxSBQAJ

Super handy tip #1:
The volume level will most likely not be set at a decent usable level. From a terminal run “alsamixer” on your Raspberry Pi for microphone and speaker level controls. Raising the microphone level will help Jasper to hear your voice from a greater distance, and up the output volume while you’re at it.

Super handy tip #2:
After a day or so of playing with Jasper he started crashed constantly for what seemed like no reason. The only error I would get is

Which after some digging I found is related to the Google email notification script. If you comment out your email address in profile.yml the error will go away. Google email notifications won’t work either, but at least Jasper will stop crashing.

Super handy tip #3:
This person suggests changing keywords to at least 4 syllables so Jasper has an easier time hearing you over background noise, sounds like a legit idea but I haven’t tried it yet.
https://github.com/GeoBeBee/mySystem/blob/master/Jasper_keywords.txt

Some useful information on how to write Jasper scripts:

Build your own Siri with Raspberry Pi2 and Jasper

Things left to do:
1. Spotify control
2. Integrate with the house security system/Raspberry Pi (the one in the garage)
3. Write some more scripts

Jasper modules I have found
https://github.com/studioimaginaire/phue#groups
Reports system status https://github.com/edouardpoitras/jasper-status
https://github.com/edouardpoitras/jasper-movies
https://github.com/iamjake648/jasper-dictionary
https://github.com/iamjake648/jasper-wiki
https://github.com/marclave/Jasper-Google-Calendar
https://github.com/adamjreed/jasper-hue/tree/master
https://github.com/maalbano/jumpsparc

Collections of modules I have found
https://github.com/Hadjimina/JasperModules (some good ones)
https://github.com/ketonne/jasper-modules
https://github.com/aaskasen/JasperModules – sample home automation
https://github.com/RosesDurden/Jasper_modules
https://github.com/alexsiri7/jasper-modules
https://github.com/androbwebb/jasper-yelp-module

I got a new watch

Samsun Gear S2
Samsun Gear S2
I went in to the AT&T wireless store the other day to upgrade my phone. I wanted to go from my Galaxy S6 to the Note 5. There was nothing wrong with the S6 and it was performing well still (even though I swear to god “they” slowly break the phone via software updates over its lifespan), I really wanted the S Pen. I have a Note 8 tablet with the pen and I love the damn thing.

So while I was upgrading the lady asked me if I was interested in a Smartwatch, not really. Then how about a tablet – already got one. Then she throws out the fishing pole….it’s free. Damn it, you got me. So needless to say I walked out of the store with a Note 5 and a Samsung Gear S2 Smartwatch (actually it had to be mailed but whatever).

The watch is awesome. I wasn’t sure at first if I would like it or even want to use it, I am not really a watch kinda guy. I wish I had been able to get the S2 Classic (it’s more of a classic watch style, duh classic) than the sport but whatever. I took the dark grey one. There could be some more apps but I am not really complaining, there seems to be app for the things I want to do – except for the Roku. I need a watch Roku app!!

Revisited: So I came back to this post a month or so later. I have had the watch for about 45 days now. I like it, and I find it useful. Is it $199-299 useful? Hell no! Its a watch that has gimmicky things to it. One of the major drawbacks is the watch faces. The majority of the faces available are utter garbage. There are a few faces that are made really well but they are few and far between. Android Wear seems to own the crown here. New apps are slow to come, and all the faces are basically the same. But the bezel is cool!