Admin TS Licensing for Windows 2003
2021-10-21 07:35:17

A. Install Terminal License Server from Additional Windows Components

B. Activate TLS with microsoft clearhouse (free)

C. Add a Registry key (not a Reg Entry but a Key (looks like a folder)) like the following.

You will probably need to add the LicenseServers key as well.

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTermServiceParametersLicenseServersLICSERVERNAME

Where LICSERVERNAME is the name of your License Server. It can also be the IP or FQDN of the License Server if need be. This KB Article explains it: http://support.microsoft.com/...

Admin Fedora iSCSI Initiator for ReadyNAS target
2021-10-06 14:42:25
This note was initiated after my unsuccessful attempt to login into ReadyNAS iSCSI target from Fedora 35. Actually this task is very simple but following to standard prescription (e.g. https://www.server-world.info/en/note?os=Fedora_34&p=iscsi&f=3 ) fails with login error 19 or 24 dependent on LUN configuration: any or specific initiators are allowed. Apropriative changing in iscsi.conf file and restarting iscsid daemon do not solve the problem. Workaround is rather simple. Without any modification of iscsi.conf you have to create new file /etc/iscsi/nodes/iqn.target/ip_target:3260,1/default with content: node.session.auth.username = ...
Admin Shared folders beteewn virtual Windows XP and libvirt host.
2021-04-23 09:05:16

Windowss XP (SP3) is lightweight stable OS for running old windows applications. Its support is ended, nevertheless Windows XP is still very popular as a virtual machine.

Under linux/GNOME you can deploy virtual OS using virt-manager or gnome-boxes applications. The last one running by regular user has very limited options to configure network since creating a tap interface requires not only root permissions but also cap_net_admin capability for libvirtd under user. From other side, running virt-manager as su eliminates parsing of user virtual machines.

User virtual OS deploys default network usually in ...

Admin Router Kasda from Bezeq
2020-06-25 20:58:11
Router Kasda from bezeq has a looped web UI. USB port does not mentioned anywhere. However this router has telnet, stripped down ssh interfaces and linux shell. So it is easy to check that the router can mount USB drive but SMB sharing is completely absent. Search for new firmware for Kasda was with no result. Attempt to install openwrt for this chip also failed. Later I have noted that Kasda router has Italian analog named Digicom and Digicom router has firmware update. Using TFTP64 one can upload digicom firmware and transform Kasda to Digicom which includes working file sharing ...
Admin AnyCast M2: no signal
2011-01-06 20:41:26
Connecting AnyCast M2 Plus to TV does not give me any input signal. The same happens with one of my display. Only modern display shows anycast screen. Searching in internet for the reason of error I found only advice to change USB adapter. The real reason appears to be in display mode: The highest default mode is not supported by TV and the display. Reducing the resolution solves the problem.
Admin Mongoose: Multiple DBs
2020-04-04 17:08:21

Task: Connect to multiple DBs (e.g. db1 and db2 ) from single node.js/express application.

In this example we assume that web server is defined in server.js file:

//server.js
const express = require('express');                                        
const app = express();                                                     
const bodyParser = require('body-parser');                                                                
const PORT = 4000;                                                                                   
                                             
//const mongoose = require('mongoose');                                    
//mongoose.set('useNewUrlParser',true);                                  
//mongoose.set('useUnifiedTopology',true);                                

                                      
const db1Routes = require('./db1_route.js');                                
const db2Routes = require('./db2_route.js');                                
                                                                          
                                                                          
//mongoose.Promise = global.Promise;                                      
//mongoose.connect('http://localhost:27017/db1', { useNewUrlParser: true }).then(            
//        () => {console.log('DB1 is connected') },                         
//        err => { console....
Admin X2GO client does not start
2018-08-20 12:36:00

After GCC update starting X2GO in Fedora 27 I've got a critical error:

x2goclient: error while loading shared libraries: libssh_threads.so.4: cannot open shared object file: No such file or directory

The solution is straightforward: One can link existing libssh_threads library with libssh_threads.so.4.

In my case in directory /usr/lib64/ :

sudo ln -s libssh.so.4.5.1 libssh_threads.so.4

Admin X2GO: Authentication falure
2018-06-02 23:27:04

To resolve the authentication problem try on x2go server

# sudo rm -f /var/lib/x2go/x2go_sessions

# ssudo x2godbadmin --createdb

Admin Mount milti partition image
2018-06-02 15:44:33

To mount multi partition image file one can use offset option:

At first, using fdisk command in terminal

# fdisk -u -l rpi_image280914

we define partition structure of the image rpi_image280914. The output looks like

  
Disk rpi_image280914: 16.0 GB, 16012804096 bytes
255 heads, 63 sectors/track, 1946 cylinders, total 31275008 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000cdac7

                   Device Boot      Start         End      Blocks   Id  System
rpi_image280914p1   *        2048      514047      256000    c  W95 FAT32 (LBA)
rpi_image280914p2          540672    31242239    15350784   83  Linux

Take ...

Admin VMware Updating
2018-06-02 12:22:26

Updating kernel for linux OS is always a head-ache for vmware modules recompilation. GCC not found, memory allocation errors and many others usually prevent from vmmon and vmnet modules recompilation.

VMware 14, last version at the moment, is smoothly installed with all modules compiled on my Fedora 26-28 OS. However global memory allocation problem does not allow launch any VM. The previous version, VMware 12, works fine if vmmon and vmnet modules have been compiled.

I found solution which enables module compilation for my latest kernel 4.6.13 and ten previous ones:

  • Install VMware 12.5.9
  • ...
  • Boot Linux from USB. part I

    Multiple boot using GRUB2 from live ISO files located on USB
    Read more ...

  • Boot Linux from USB. part II

    Multiple boot using SYSLINUX from live ISO files located on USB
    Read more ...

  • Tweet update.

    Added tweet on @lloadm
    Read