Close

lakka Bluetooth Controllers Not Saving

So I have been playing around with running lakka on a old thinkpad x201 I have. I was running it on a Raspberry Pi 3B+ but wanted to see what the extra horsepower could do.

Very happy with switching from using the Pi!

In any case I setup some Playstation 4 and Playstation 3 controllers I had via bluetooth to it and every time I would reboot I would lose the settings. I followed the lakka documentation to get the controllers working.

I finally spent some time tonight looking into the issue and it still had the settings. It was just not loading bluetooth services on startup.

I didn’t want to dig into it to much so I just added a quick and dirty crontask at boot that will start the services.

Add this like to Root Cron Task
@reboot sh /storage/scripts/bluetoothloader.sh

Make File /storage/bluetoothloader.sh with the following commands

touch /storage/.cache/services/bluez.conf
systemctl enable bluetooth
systemctl start bluetooth

The above will load the bluetoothloader script on a boot up or reboot. It will then start the bluetooth services.

Moving Blog and Round Up

How many blog posts in the blogosphere start with “Well its been a while since”, or “I have not posted in a while”, or something along the lines of not posting in a very long time. 🙂 I will skip that and just jump into a post.

First up! I moved the blog from the main root domain to a sub domain of blog.sociallysour.org.. I have done this and moved it back a few times over the years. For now I am back to the idea of having the blog on its own subdomain. The root domain will be a splash type page to feed the other things I do. I have been active in using GNUSocial, think of it as a decentralized twitter you can host yourself. Most people use Mastodon and don’t host there own instances.. But I like to tinker, so using the FSF less popular GNUSocial was my cup of tea. Plus it has way less dependency’s than Mastodon and is still able to exchange with the other people in the “Fediverse“. If anyone cool would like a gnu.sociallysour.org account drop me a line and I will hook you up. I have deleted or stopped using most all social networking sites that I do not host myself or control the content.

In other news Oct 17th 2018 Canada was the 2nd and largest country in the world thus far to legalize recreational cannabis. I am happy to say that the country is still standing and people are not stoned and passed out int he streets (any more than normal).. It’s an interesting roll (lol) out in Canada that each Province did its own thing.. Places like Quebec as far as I know do not allow people to grow there own at home. All Provinces but Ontario have physical stores, and Ontario only has online mail ordering. With all the differences it will be interesting to see which places change and move to other systems over time. Ontario is going to get physical stores in 6 months, but they will be privatized stores and not an offical OCS Store.

I think that’s it for now.. See if I can remember to check back here and post something more often now. But you can always check out my micro blogging at https://gnu.sociallysour.org/hurt138

 

TP-Link Archer C7 AC1750 Router

I have been having some packet loss on my Home Internet connection off and on for a few week. It comes in every few days and only lasts for 1 to 5 mins. Then just as quick as it came, it goes away. I had been trying to isolate the issue when ever it happened, and it seemed to be on the upstream after my isp most the time (UPDATE New Router did not resolve the outside packet loss issue)

I had been looking for a reason to replace my old dlink DIR-820L anyways (Wanted to move to Gigabit).

The Archer C7 was praised on cnet and other sites as a great budget router. My router needs are middle of the road to most (More features than standard users, but nothing crazy)..

I need:

  • Dynamic Wan
  • Virtual Servers, or Port Forwarding
  • DHCP Reservations (A nice to but I still do this on my Internal DHCP Server)
  • Wireless (Pretty much a given in this day and age)
  • At least 4 LAN Ports (Gigabit)
  • And something that does not look like an Alien Mother Ship..

The Archer C7 has a clean interface with most everything you would expect a Home Router to have. The Location of options in the Interface is pretty standard and should not be a issue for anyone that knows there way around your typical router.

 

After getting the Router all configured and in the server/network cubby under my basement steps it was off the races.

I actually notice a small improvement over the old router already on both wireless and wired. The big change will be moving files around from desktop to server now, with the wired gigabit connection.

 

Clear Transfer Stats for Transmission Client Debian Linux

The Transmission Gui has a counter in the bottom right that will tell you:

  • Total Ratio
  • Session Ratio
  • Total Transfer
  • Session Transfer

The Session Ratio and Transfer is what you would expect.. The amount since you last started up Transmission.

The Total Ratio and Transfer is from the start of time using Transmission or since you last cleared the stats.

You can clear the stats by deleting the stats.json file located in ~/.config/transmission/stats.json

rm ~/.config/transmission/stats.json

Its handy to clear this the start of every month or setup a cron to do this for you. I find it just lets me keep my downloading a little more under control.

Tread Mill Desk

I have been rocking a fitbit since the start of 2017 as part of my get into better health. Needless to say I am normally in a Work Week Hustle or Weekend Warrior challenge with some friends and co-workers (see who can get the most steps).

Part of the issue with working at a desk all day, is I don’t get the steps in day I would like to see. I my evenings after work, Trent and I have a few hours to play, eat, and watch tv. After he settles into sleep I can either spend my remaining 45 to 60 min of the night on treadmill getting more steps, or on the computer. I have been wanting to mix the two after seeing many Tread Mill Desks online.

Well this weekend I finally got down to work on a nice simple design. I have to say, I am pretty happy with the setup thus far.

One downside to the Tread Mill Desk is that I have to keep the fitbit in my pocket.. On my wrist it does not get enough motion while I rest it on the laptop. Small price to pay, but it does keep pretty good count in the pocket just the same.

This post was written on the Tread Mill Desk. 🙂

phpMyAdmin Debian Stretch Upgrade No MySQLi

I did an upgrade on my Desktop at home from Jesse to Stretch a while back, and in the move went from php5 to php7.1..

Well phpMyAdmin kept giving me an error saying that MySQLi was not installed or enabled.

Turns out MySQLi for php7.1 was install, but not php7.1.. Not really sure how it managed that in the upgrade.

Did a apt-get remove for php5

apt-get remove php5 libapache2-mod-php5 php5 php5-cli php5-common php5-curl php5-gd php5-json php5-mcrypt php5-mysql

Then did a install of php7.1 (phpMyAdmin also complained it need mbstring)

apt-get install php7.1 php7.1-mbstring

Then restarted apache

/etc/init.d/apache2 restart