Access denied in SAMBA with symlinks


SAMBA clients attempt to access symbolic links pointing to directories outside of the particular share, but get “Access is denied” error.


By default SAMBA now does not allow such symbolic links for safety reasons.


Add these two lines to your smb.conf

wide links = yes
unix extensions = no

The first one enables full symlink support, the other one disables an option conflicting with it.

ISOCPEUR font for CAD drawings

You can get the popular drafting font ISOCPEUR here.


Excel does not recalculate

You type in the numbers, but the results in other cells do not change. The numbers seem frozen. You can type in whatever you want, the formulas in the cells are not recalculated.

Calculation mode is switched to manual.

Formulas -> Calculation -> Calculation Options -> Automatic

Skip creating Microsoft account in Windows 8.1

You may feel that Microsoft is forcing you into signing up for a Microsoft account and sharing your data in order to be able to activate Windows 8.1.

Everything in the setup screens seems to be made to lure the user into signing up with Microsoft.

But actually there is an alternative for the old good local user account, only that this option is hidden well enough in the small print several screens down, too far away for the average user to even notice it’s there.

  • When you see “Next you’ll set up your account” and then “Sign in to your Microsoft account”, select “Create a new account”.
  • Then, at the screen “Create a Microsoft account” select “Sign in without a Microsoft account”.
  • Configure a normal local user account in the old fashioned way.

Some bells and whistles of the Windows may lack functionality, but its up to you to decide if you need them.

Anyway, you can create a Microsoft account later, if you decide that you need one.

Lenovo B50-70 factory reset from recovery partition

To run a factory reset of Lenovo B50-70 from the hidden recovery partition:

  • Switch off the laptop.
  • Look for a small pinhole at the right side of the laptop, between the single USB port and the CD-DVD drive, closer to the USB port.
    At a first glance you may miss it, thinking that it is a kind of a LED indicator or even a miniature socket for earphones, as the OneKey Recovery symbol is very small and reminds of the headphone symbol.
  • Take a pointy object, preferably non-conductive one, e.g. a toothpick, insert it into the pinhole and gently push it. You will feel the miniature switch click. Keep pressed for about 2 seconds, then release and wait.
    The laptop then will switch on and boot into the special “Novo Button Menu” (its those  marketing people again…).
  • Select the “System Recovery” option and proceed in accordance to the instruction on the screen.


I just wonder why those geniuses at Lenovo could not think of providing a simple and clear information on where to find the reset button. You can spend half a day reading manuals and calling up tech support, before you find it out.

It said nothing about the pinhole in any of the Lenovo manuals I read and the only information about it at the laptop itself was a marketing sticker boasting this function, without telling how exactly to activate it, only warning that “Some features are only available while running Microsoft Windows”, which does not help you much when your Windows has become unusable.

Go figure…

Can’t compile motion with RTSP on Raspberry Pi

You want to compile motion with RTSP support on Raspberry Pi, but you can’t.

.configure gives you this message:

* libavcodec.a or or *
* libavformat.a or not found: *
* *
* Please read the Motion Guide for help: *
* *

Which means that  while motion will build, it will be lacking the RTSP support.

Possible reason:

Files do exist, but ./configure just doesn’t find them.


Go to /usr/lib/arm-linux-gnueabihf.

See if there exist the aforementioned files.

If they don’t you need to install extra packages:

  • apt-get install libavformat-dev libavconv-dev libjpeg-dev

If they do, manually soft-link them into /usr/lib and run ./configure again.

If that was the problem, you will see a different message:

checking for ffmpeg autodetecting libraries... found in /usr/lib
checking for ffmpeg headers in /usr... found /usr/include/libavformat/avformat.h

Connect to WiFi AP from command line

If you normally use GUI, e.g. Gnome or KDE, but happen to be at the command prompt and need to connect to a WiFi access point which is already known to your computer, just issue the command:

  • nmcli c up id <APName>

Where the APName is name of the access point as it was saved in your network configuration.


Get every new post delivered to your Inbox.