Archive for category Uncategorized

Enabling SMB v1 on Windows to resolve issues

Before going into details a little back story.

SMB v1 is old proprietary protocol (now open sourced, after it was reverse engineered) and should be avoided if possible. Most of the time we can forget about it especially in recent lights of WannaCry outbreaks. So why do I write about enabling it, right?

When using VLC on my portable devices (iOS and Android TV) after host Windows 10 upgrade to Fall Creators Update did noticed that those devices can’t no longer access shares. When navigating to host, that I know had shares enabled, nothing happened and VLC just displayed “Empty folder”, it didn’t event asked for authentication on that device (accessing shares do require authentication on that host). VLC do use libdsm (Defective SMb)(*1) that probably don’t fully support new SMB protocols. Using Mac as smb host do also cause some issues with SMB but OS update apparently do fix that.

FreeFileSync and syncing with old Mac 10.9.5 (IIRC) caused issues with inability to read / traverse content of directories etc. This was corrected in some macOS update. As far as I know FFS do use native OS calls so issue that I did experienced was mostly on macOS side, but as I said this do affected only old 10.9.5 versions, after updating to recent version issue was resolved. Reason why I did kept that device with so old os version was because QA testing.

More info about issues plagued SMB v1: https://blogs.technet.microsoft.com/filecab/2016/09/16/stop-using-smb1/

Read the rest of this entry »

, ,

No Comments

WLAN hard blocked

For a long time I was happy with my Debian install, everything was working fine and as expected… that is until, recent, update.

After normal kernel update (to another iteration of 3.16 version), something around mid January / February 2017, I did noticed that after reboot my laptop don’t bring up WLAN adapter up and states, in GNOME menu under Wi-Fi, that device is “Hardware disabled”.

Issuing command like:

ifconfig wlan0 up

resulted in:

SIOCSIFFLAGS: Operation not possible due to RF-kill

Read the rest of this entry »

, , ,

No Comments

Nautilus restore type ahead select functionality

For me personally new “deep search” functionality (CTRL+F) introduced in Files (aka. nautilus) when typing inside window is most annoying “feature” to date.

I do use multi OS on daily basis, due to my work, and both Finder (OsX) and Explorer (Windows) do support type select functionality but apparently Nautilus is an exception. Read the rest of this entry »

, ,

No Comments

Customizing environment on Windows (separate build paths)

First of all this title is a little misleading, but due to lack of better idea I decided to leave it as it is.

What this article is about (brief explanation)?
When You build an application most of the IDE (of Your choice) set up for You automatically system variables, like system “path” variable for example. That’s allow IDE to find appropriate libraries and use/link them. For example I use QtCreator to build Qt application and on application start up QtCreator set up system “path” variable and adds path to QtSDK, i.e. “c:\Qt”. That way when I press “run” in IDE application finds all dependences (dll) and runs fine. Problem starts when I close QtCreator, due to unset path variables, I can’t no longer run my application (at least not when path variables don’t point to the QtSDK directory with libraries). Read the rest of this entry »

, , ,

No Comments

Qt licensing style for You

Licensing is somewhat confusing when it comes to Qt. There are few kinds of license that You can choose from, and depending on the specific of distribution of Your software it can become somewhat confusing.

Read the rest of this entry »

,

No Comments

How to prevent Windows registry corruption

I want to point out that this text is not “how to fix” error itself, but the idea of how to prevent or protect yourself from that kind of errors.bsod

Few days ago while Windows startup I stumble upon BSOD (Blue Screen of Death). Main problem was registry corruption that could occur because of HDD hardware malfunction (i.e. bad block) or many other reasons.  Read the rest of this entry »

,

No Comments