Baku 702B soldering station – change your soldering iron head

BAKU 702B Soldering Station

BAKU 702B Soldering Station

I wrote a post about the baku 702B 6 month ago with my initial feedback after receiving it.

After 6 months, my feedback is good and the station works well. I just made 45 raspberry shields with it using the air flow and the soldering iron and it make the job.

Now it is time to change the soldering iron head. For sure its life has been short compare to my previous one from another brand. My fear was to find a compatible head as I saw none of them with the 702B reference.

The solution is to search for 936 – 937 station or Tip 900M, they all are the same and works well with the Baku 702B. Go on ebay and pay 1/2€ each ; you will also find different head type. I recommend to order some right after buying the station as they are coming from china (generally) and your need 2-3 week to get them.

Move your httpd / apache files on CentOs 7

CentOS 7 have selinux activated, so when you decide to change your default httpd directories you have to give the right selinux permission to these directories otherwize the https server will not be able to access the files.

Continue reading

RFRPI – wiringPi delayMicrosecond problem with RPI 2+ and fix

I fixed tonight a problem with rfrpi and Raspberry 2+ ; it seems that wiringPi 2.25 have a bug with delayMicroseconds() function that works perfectly when less than 99us and do not work correctly with larger values.

Waiting for the fix the code have been updated to work correctly with RPI2+ ; so please if you are using the shield with RPI2+, update the rfrpi code from bitbucket.

Running sigfox with a Raspberry-Pi

Sigfox on Raspberry Pi

Sigfox on Raspberry Pi

Based on my sigfox multi-board shield, it is possible to hack sigfox with a raspberry pi. The standard telecom Design firmware allow to use it as a modem. The raspberry Pi just have to send the expected AT commands

 

 

 

Continue reading

RFRPI works certified with Raspberry PI 2+ for RF433

Raspberry Pi B+ - RFRPI Shield

Raspberry Pi B+ – RFRPI Shield

I’m proud to announce the compatibility of the RFRPI shield (RF433 transceiver for RPI) with the new Raspberry PI 2+

To get all detailed information about this shield you can read this post

You must use wiringPi >= 2.25 for RPI2+ compatibility.

How to avoid ssh session closing on inactivity

CentOs 7 have a built-in configuration to close the inactive ssh session. In term of security it is a good thing but when killing a session after 1 minute of inactivity start to be a mess when you have multiple session opened in parallel.

This can be avoid on the client side by configuring a keep-alive period on the client side. To activate a such keepalive, you just have to connect with the following command line:

ssh -o ServerAliveInterval=5 login@server.com

This will configure client to send a NULL packet every 5 seconds to keep the session opened.

Allow nginx to access a remote DB on a Centos

If you try to access a remote database with nginx or httpd server, you will have a connection problem with error code (13) even if mysql/mariadb client works well in command line. The reason for that is a security limitation set by default not allowing httpd servers sur connect a remote DB.

To disable this limitation and make all work, just type in the command line :

# setsebool -P httpd_can_network_connect 1

You can list all the existing flags for httpd by using getsebool

# getsebool -a | grep httpd

In case you expect SELinux to be the cause of your problem, you can enable / disable it with the following functions

# setenforce 1
# setenforce 0

If you need to check what is the permission missing for SELinux you can run the audit

# tail -100 /var/log/audit/audit.log | audit2allow

Configure internal Lan & OpenVPN on Azure

If you want to create a company like infrastruture on Azure you could expect to create a VPN to have a secured access to it and have an internal lan to protect you servers against external access. Basically the system provides all that you need but, as usual in the closed world of MicroSoft. The VPN server based on SSTP protocol sound hard and not documented to be used with MacOsX or Linux.

I’ll describe in this post how I fixed this issue par using an OpenVpn gateway server.

Continue reading