The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,839 other subscribers

Archive for the ‘Power User’ Category

Restrict SSH User Access to Certain Directory Using Chrooted Jail

Posted by jpluimers on 2018/06/11

In this article, we will explain you how to restrict a SSH user access to a specific directory using chrooted jail in Linux systems.

Source: [WayBack] Restrict SSH User Access to Certain Directory Using Chrooted Jail

via: [WayBack] Restrict #SSH User Access to Certain Directory Using Chrooted Jail #Linux – Linux Inside – Google+

–jeroen

 

Posted in *nix, *nix-tools, Communications Development, Development, Internet protocol suite, Power User, SSH, TCP | Leave a Comment »

MC342dn | Drivers & software | OKI UK | Printers & Managed Print Services

Posted by jpluimers on 2018/06/08

For my link archive, to get firmware updates installed on my OKI MC342 printer (Mac update fails, Windows update fails, both with “Firmware update failed.”):

download support printer drivers and software utilities for your OKI printers

Source: MC342dn | Drivers & software | OKI UK | Printers & Managed Print Services

[Oki Data] The Firmware Update Utility is used to upload new firmware files to your printer.

Source: Firmware Update | OKI Global

I needed a firmware update because enabling Google Cloud Printing failed.

Source: Cloud Printing | OKI Europe Ltd – Printers, Printing Solutions and Managed Print Services

The reason was error 10a00013 which according to the Cloud Print Manual is “Connection error to the HTTP server (server authentication error). Access the website stored in the Oki Data device (http://(Oki Data device IP address)), and check the imported CA license. Alternatively, update the firmware.”

As the web page didn’t tell me about how to imported CA licenses, I have to update the firmware.

–jeroen

Posted in Hardware, OKI C332, OKI Printers, Power User, Printers | Leave a Comment »

Twitter / Settings – see which external applications can post on your behalf

Posted by jpluimers on 2018/06/08

If you want to investigate or limit the list of external applications that can post on your Twitter account: https://twitter.com/settings/applications

via: [WayBackDuizenden Twitter-accounts misbruikt door hack TwitterCounter – IT Pro – Nieuws – Tweakers

–jeroen

Posted in Power User, SocialMedia, Twitter | Leave a Comment »

USB serial converters from FTDI – how to select them and get rid of fake chips

Posted by jpluimers on 2018/06/08

Be sure to read the comments at USB serial converters from FTDI are quite popular – Thomas Mueller (dummzeuch) – Google+ [WayBack] as it tells more about how to set genuine and fake FTDI chips apart (often before buying them, you cannot tell) and how to replace fake ones buy genuine ones.

Getting back to original means de-soldering fake chips, and soldering new genuine chips on the boards.

Fake chips:

  • have limited batches of the same serial (although there are ways to reprogram the serial, see links below)
    • connecting multiple adapters with the same serial causes trouble
  • are mangled by various FTDI drivers (either their PID is reset, or fake-data is inserted in the serial stream)
  • have problems operating at higher data rates

Note that the workarounds for these fake chips mean you cannot use more recent chips.

Links from Thomas’s post and other relevant links on the various kinds of genuine/fake and getting fake ones work again

Fake chips can cause you a lot of headaches – and time – sorting out communication problems: [WayBack] esptool-ck, esp8266, and FTDI Bug Hunting – vilimblog

Two years ago, this shoot-out (with results on github) had a great conclusion:

Buy either an adapter with a genuine FTDI chip, or one of the Silicon Labs CP2102 chips.

The FTDI chip is the only one attaining 3M baud rates.

Overview articles:

SiLabs chips seem to be the only without much trouble:

  • [WayBack] SiLabs CP210x USB Adapters For The Win – vilimblog
  • Review of a Generic USB RS 232/485/TTL Adapter (“Winners” branded) – YouTube:
    • Almost anything with FTDI/Prolific chips that comes from ebay/aliexpress should be assumed to be counterfeit – easy way to test this is to buy 2 and see if their serial numbers match. You don’t really want to waste your time with fake ones, you’ll end up spending more on those if you try to get them for as cheap as possible. Itead sells an adapter for 6.8 USD with genuine FT232RL chips, but they aren’t in as convenient dongle form factor, but might be worth more than your own time replacing fake chips with genuine ones.Although not mentioned here, CH340/1 should generally be avoided, while they work fine for short periods of time, for longer use they seem to be as unreliable as the counterfeit FTDI/Prolific chips on Linux.

      I haven’t seen or recognized a fake CP210x chip yet, so my guess would be that these are generally fine no matter where you get them. One big advantage of those is the integrated voltage 3.3V regulator, which can save some space when rolling your own boards.

FTDI related:

Genuine FTDI seems to be the easiest to find:

Prolific has similar issues, driver v3.4.25.218 still works with fake chips:

–jeroen

Related posts where I mentioned some of the trouble with FTDI chips:

Read the rest of this entry »

Posted in *nix, Development, Hardware Development, Hardware Interfacing, Legacy Ports: COM, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »

GitHub – oldcompcz/SpaceAssault: DOS space shooter in ASCII.

Posted by jpluimers on 2018/06/05

Cool [WayBackGitHub – oldcompcz/SpaceAssault: DOS space shooter in ASCII. written in pure C using Turbo C.

You can likely compile this using this:

[WayBack] Turbo C++ or C for Windows 7, 8, 8.1 and 10 32/64-bit Full Screen Free Download – CodePlex Archive

The download is actually a small Windows wrapper around Turbo C++ 3.2: github.com/vineetchoudhary/turbocpp/releases.

Via: [WayBack] Space Assault Game The complete source code of very nice ascii-art invaders is now at GitHub. This game of Roman Hocke won second place in the High-Voltage 2017 competition… – Jaroslav Beran – Google+

–jeroen

Posted in C, Development, History, MS-DOS, Software Development | Leave a Comment »

How to Control Your Air Conditioner with Raspberry Pi Board and ANAVI Infrared pHAT

Posted by jpluimers on 2018/06/04

Interesting howto: [WayBackHow to Control Your Air Conditioner with Raspberry Pi Board and ANAVI Infrared pHAT

via: [WayBack] Air conditioners’ remote control codes are a bit different from say your TV remote control, as they don’t just send one byte, but a bunch of bytes… – Jean-Luc Aufranc – Google+

–jeroen

Posted in *nix, Development, Hardware Development, Power User, Raspberry Pi | Leave a Comment »

stascorp/rdpwrap: RDP Wrapper Library – up to 15 RDP sessions on any Windows edition including basic/home/core

Posted by jpluimers on 2018/06/04

RDP Wrapper works as a layer between Service Control Manager and Terminal Services, so the original termsrv.dll file remains untouched. Also this method is very strong against Windows Update.

I’ve tested this on Windows 7 Home Premium and it works fine, see the log below. On Windows 10 Fall Creators Update and up, I had to get the rfxvmt.dll files (in %windir%\System32 and %windir%\SysWOW64) from a Windows Professional system, see Known Issues. You can download them from the repository as well.

  1. Download from github.com/stascorp/rdpwrap/releases
  2. Unzip
  3. Run the install.bat:
C:\Users\jeroenp\Downloads\RDPWrap-v1.6.1>install.bat
RDP Wrapper Library v1.6
Installer v2.3
Copyright (C) Stas'M Corp. 2016

[*] Notice to user:
  - By using all or any portion of this software, you are agreeing
  to be bound by all the terms and conditions of the license agreement.
  - To read the license agreement, run the installer with -l parameter.
  - If you do not agree to any terms of the license agreement,
  do not use the software.
[*] Installing...
[*] Terminal Services version: 6.1.7600.16385
[+] This version of Terminal Services is fully supported.
[+] TermService found (pid 1168).
[*] Shared services found: CryptSvc, Dnscache, LanmanWorkstation, NlaSvc
[*] Extracting files...
[+] Folder created: C:\Program Files\RDP Wrapper\
[*] Downloading latest INI file...
[+] Latest INI file -> C:\Program Files\RDP Wrapper\rdpwrap.ini
[+] Extracted rdpw64 -> C:\Program Files\RDP Wrapper\rdpwrap.dll
[+] Extracted rdpclip6164 -> C:\Windows\System32\rdpclip.exe
[*] Configuring service library...
[*] Checking dependencies...
[*] Checking CertPropSvc...
[*] Checking SessionEnv...
[*] Terminating service...
[*] Starting CryptSvc...
[*] Starting Dnscache...
[*] Starting LanmanWorkstation...
[*] Starting NlaSvc...
[-] StartService error (code 1056).
[*] Starting TermService...
[*] Configuring registry...
[*] Configuring firewall...
OK.

[+] Successfully installed.
______________________________________________________________

You can check RDP functionality with RDPCheck program.
Also you can configure advanced settings with RDPConf program.

Druk op een toets om door te gaan. . .

C:\Users\jeroenp\Downloads\RDPWrap-v1.6.1>rdpcheck

Note that this “error” is normal: [-] StartService error (code 1056). as it means the service is already started: [WayBackSystem Error Codes (1000-1299) (Windows)

ERROR_SERVICE_ALREADY_RUNNING

1056 (0x420)
An instance of the service is already running.

–jeroen

Posted in Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Windows | Leave a Comment »

Horace Dediu on Twitter: “Personal computing, the first 40 years.… “

Posted by jpluimers on 2018/06/01

[WayBackHorace Dediu on Twitter: “Personal computing, the first 40 years.… “

–jeroen

Read the rest of this entry »

Posted in History, Power User | Leave a Comment »

CVE-2017-11509: Firebird fbudf Module Authenticated Remote Code Execution – Firebird News

Posted by jpluimers on 2018/05/31

Ouch (despite one needs authenticated access): [WayBack] Firebird fbudf Module Authenticated Remote Code Execution – Firebird News

Here is the description for CVE-2017-11509

An authenticated remote attacker can execute arbitrary code in Firebird SQL
Server versions 2.5.7 and 3.0.2 by executing a malformed SQL statement. The
only known solution is to disable external UDF libraries from being loaded. In
order to achieve this, the default configuration has changed to UdfAccess=None.

This will prevent the fbudf module from being loaded, but may also break other
functionality relying on modules.

Here is the Debian security page with the issue : CVE-2017-11509

The thing I am really not happy about is that the 90 day limit has been overdrawn by about 180 days (see https://www.tenable.com/security/research/tra-2017-36)

Related:

Via:

–jeroen

Posted in Database Development, Development, Security, Software Development | Leave a Comment »

Akismet GDPR notification: enabled

Posted by jpluimers on 2018/05/30

I saw the below notification recently, but it was already enabled.

Akismet & Privacy.

To help your site be compliant with GDPR and other laws requiring notification of tracking, Akismet can display a notice to your users under your comment forms. This feature is disabled by default, however, if you or your audience is located in Europe, you need to turn it on.

Please enable or disable this feature. More information.

–jeroen

Read the rest of this entry »

Posted in Development, GDPR/DS-GVO/AVG, Power User, Privacy, SocialMedia, Software Development, Web Development, WordPress, WordPress | Leave a Comment »