Scott FR 10 shoes

Recently I bought Scott FR 10 shoes. They were 15% off, so why not 🙂

Price: ~60 Euro.

Disadvantages: No side protection for ankle.

The sole is stone collector

Pedal pins can’t fit into the hole and grip is lost.

Compared to Exustar BMX Exustar E-SB760 / 750, Scott’s shoes cost almost 50% more money. But Price/Quality ratio is the same. Looks like the sole will have much longer live.

Few rides later …

The picture says it all

I expected more, a lot more. I don’t have to say that I’m disappointment – it is obvious.

Posted in mtb, Review, Sport | Leave a comment

Debian Jessie and php7.1

I will explain how to install php7.1 on Debian Jessie using deb.sury.org

Install packages required for third party repositories over https

$ apt-get install apt-transport-https lsb-release ca-certificates wget

Get the repository key

$ wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg

Add the repository

$ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list

 

Update package list

$ apt-get update

Install php 7.1

$ apt-get install php7.1-cli

You should be able to use php from cli

[email protected]:~# php -v
PHP 7.1.1-1+0~20170120094658.14+jessie~1.gbp69d416 (cli) (built: Jan 20 2017 11:53:59) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
 with Zend OPcache v7.1.1-1+0~20170120094658.14+jessie~1.gbp69d416, Copyright (c) 1999-2017, by Zend Technologies

It is very common that you will need some more packages like xdebug, xml, mysql

apt-get install php7.1-xdebug php7.1-xml php7.1-mysql php7.1-mbstring

This tutorial use info from deb.sury.org

 

Posted in Debian, Linux, php | Leave a comment

Skype video and linux

I’m running debian 8 (Jessie).

My skype video and screen share worked fine. For a few weeks both are not working.

Here is how to fix the issue:

  1. stop skype
  2. rm ~/.Skype -r
  3. rm ~/.config/Skype -r
  4. Start skype

Note that .config/Skype maybe KDE specific.

 

Your saved login will be lost.

You will lost chat logs.

Sources:

https://ubuntuforums.org/showthread.php?t=2240325

http://www.linuxquestions.org/questions/linux-desktop-74/skype-no-screen-sharing-aftre-upgrade-to-ver-4-3-0-37-a-4175508993/

 

Posted in Debian, Linux | Leave a comment

LXC bridge on Debian jessie

New:

Insert the following in /etc/network/interfaces:

auto lxc-bridge-nat
iface lxc-bridge-nat inet static
        bridge_ports none
        bridge_fd 0
        bridge_maxwait 0
        address 192.168.100.1
        netmask 255.255.255.0
        up iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
  • Give this command to enable forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward

@see https://wiki.debian.org/LXC/SimpleBridge

 

@see http://serverfault.com/questions/664534/lxc-container-gets-2-ip-addresses

Old:

I don’t (didn’t) know why I have so much problems with bridged adapters on Debian. Specially using LXC.

Here is my solution:

  1. Install lxc (hope you know how to do it)
  2. Install # aptitude install bridge-utils
  3. Edit  /etc/network/interfaces. I will use eth1 for bridge port.Add the following:

    auto eth1
    iface eth1 inet dhcp

    auto lxcbr0
    iface lxcbr0 inet static
    address 10.0.3.1
    netmask 255.255.255.0
    bridge_ports eth1
    pre-up brctl addbr lxcbr0
    post-up echo 1 > /proc/sys/net/ipv4/ip_forward

  4. Restart network. “# /etc/init.d/networking restart”
  5. Check $ ifconfig for lxcbr0 adapter. If there is no adapter – reboot.
  6. Check internet connection. If there is internet on both lxc container and host – skip reading.
  7. Type “route -n”
  8. Lxcbr0 should have higher number (use it after trying to use other devices.
  9. Change lxcbr0 priority. “# ifmetric lxcbr0 10000”

To persist metric option add configuration key in /etc/network/interfaces

auto eth1
iface eth1 inet dhcp
metric 100

  1. Restart network -> “# /etc/init.d/networking restart”
  2. Example of container config:

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = lxcbr0
lxc.network.name = eth0
lxc.network.ipv4 = 10.0.3.70

Now you could access container on 10.0.3.70. And you could access host from container on 10.0.3.1

 

There is (pretty big) chance that you get the following issue during boot:

A start job is running for LSB: Raise network interfaces

This will happen when eth1 have no connection. It is possible to have no internet when this happen. E.g. you have unplugged eth1, but plugged eth0. Then see step #9 and change interface metrics.

Normally ahavi should start when cable is unplugged. This allow you to have IP on eth1 and be able to use the lxcbr0.

Posted in Debian, Linux, Virtualization | Leave a comment

Just another legen….dary morning with Scenyo

For those who doesn’t know Scenyo – click

I woke up, got dressed, picked the keys. Walking to the Sennyo. Unlocked the doors, started the engine. I’m driving to work. I parked. Stopped the engine. Removed the card. I got out of the cat. Started walking to work. I pressed the “lock” button on the card. Nothing happened. Cat is not locked! I entered the car. I started the engine. Engine stars so card should work. “Just in case” I keep extra batter below the seat. I changed the batteries.  I got out of the car. I pressed the “lock” button. Nothing happened! I closed all doors. Checked if there is something valuable in the car. I went to work. I sit on the PC and googled “Renault won’t lock”. Surprice ….. 10000000 resuls. Clicked first result. Simple explanation: car card do not work below 5 degrees! IT JUST DOESN”T WORN IN COLD! So, what had happened ? In my house is hot, while I walk to the car, card is still hot. But on the way to work it get cold! Cat doesn’t have enough time to warm and card is too cold to operate! Simple solution is to put the card next to hot skin, e.g. under the arm. Or remove it from the slot after the engine start. Put it in your warm pocker 🙂

Topic in UK Renault forum: http://www.renaultforums.co.uk/archive/index.php/t-2293.html

Posted in Cars, renault, Scenic | Leave a comment