Archive for category Software

Where is my free space, windows, where is my free space?

I had a strong wish to install Autodesk Revit 2013 just a days ago. Besides it needs 38 GB of free space, it did not fit on my clogged 100 GB system drive.
Too bad. Ok, my drive is oldish 160 GB Seagate, but still, windows7 seems like a disc hog.

So i’ve decide to investigate the case. Using RidNac, i made a small tour to the HDD space. Read the rest of this entry »

Using Revit Server 2012 by non-domain members

The last issue in the Migration Hell was Revit Server. To be precise, not the application itself, but the client authentification.
With all it’s bells-n-whistles, it lacks most part of the documentation. The application itself runs on IIS, uses Windows (NTLM) or Basic authentification, but nothing is said about the Revit client. The only thing you can find – you must login as domain member to use the Revit Server.

It’s not true. You should, but must not.

Two things must be done on the client to use Revit Server:

  1. authenticate in the domain and every server you will need to use. You must use your domain login credentials to authentificate. The AD domain uses trust relations to authentificate you in the domain servers. If you prefer not to login to AD domain, you must take care of it by yourself
  2. change environment variables.
    • %USERDOMAIN% point to the current domain, if logged as domain member. If not, it’s pointing to the computer name. Setting the variable to the domain name needed (eg. SET USERDOMAIN=MYCOMPANY) will do the job. You should not use DNS domain name, eg. MyCompany.COM, it’s set in %USERDNSDOMAIN% and is useless in the case of Revit Server
    • %USERNAME% must be set to your AD’s username, without AD prefix or FQDN suffix. Eg. if your AD domain login is mycompany.com\PerfectUser or PerfectUser@Mycompany.COM, use “SET USERNAME=PerfectUser”.

That’s all. Enjoy.

PS: if you use Local Revit Server, and Central Server is located somewere in the Other Domain, you will probably need to authentificate to the Central Revit Server too. Not sure about this.

Tags: , , , ,

Migration hell: moving printers in Windows

Our campus, Faculty of Architecture, VGTU is moving to the totally new subnet. As we use DHCP for IP distribution, no real problems except `sed` are going to appear.
The pleasing moment is we are getting a fresh IP range.
The headache is TCP/IP printers.

WPKG has good printer addition/ installation guide in http://wpkg.org/Printer_configuration , but it does not cover changing IP port numbers.
As a CEO on all computer infrastructure, I need to find any solution to make the movement smoothly.

I was unable to find a ready-made solution, and in-house tool appeared after several hours in the Net.
I need to apologize for bugs and errors, as it is the first (and hopefully the last) VB script. It uses WMI. Testing box was W7, x64.
Maybe someone will find it useful.

Call the file chprinterport.vbs Read the rest of this entry »

Hacking the FlexLM keygens

Ok, it’s ugly and illegal, i know. The information here is for educational purposes only.

Sometimes i’m asked to “cure” one or another product, protected by registration or network license manager, like FlexLM. And you know, a lot of keygens for these product found in the Internet, do not work. The usual error is “Internal Error #{1..6} – Please be sure the app is running and on the license screen!”. What’s wrong, why the keygens from the glorious crack groups do not work any more?

Search on the Internet revealed almost nothing: from “the kyegen does not work” to “it works perfectly”, some says one must use genuine windows the keygen to work (wow…).

Let’s start a little investigation. Read the rest of this entry »

PHProject in Unicode

The final migration stage from file-based Ganntproject to Web-based solution just began. I’ve set up PHProject in the office site. PHP5, Apache2, Mysql4 and Debian is enough.

The very first problem was Unicode support. Seems like PHProject was developed keeping MySQL3 in mind, althow ir works with a bunch of database backends, like Oracle, PostgreSQL, DB2, MSSQL.

So, to use UTF8 encoding in MySQL, add the following into lib/db/mysql.inc.php:

Read the rest of this entry »

Deploy windows software easilly

I’ve found a very interesting project recently. WPKG.
The idea is very simple: a script is executed by windows scripting host. It reads host description, defines needed package set using profiles and installs, updates or removes packages using package descriptions.
Read the rest of this entry »

SASL Auth in Postfix

You will also need SASL and SASL modules (libsasl2 and libsasl2-modules respectively in Debian).

SASL AUTH for outgoing SMTP conections is controlled by ‘smtp_*’ parameters in main.cf.
Quick-and-dirty solution is:

Read the rest of this entry »

Postfix, Courier-imap and virtual users

Create Courier-imap server certificate:
sudo pico /etc/courier/imapd.cnf &&
sudo rm /etc/courier/imapd.pem && Read the rest of this entry »

Tools for 3D

Fine free tools for 3D modelling and rendering.
AQSIS rendering engine, RenderMan compilant
Ayam CSG modeller, cross-platform
CSG Editor, MSwin only

Wanna make your own CSG application? OpenCSG library

Stuck with apt in Debian?

So so …


W: GPG error: [your favourite mirror here] Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
W: You may want to run apt-get update to correct these problems

Ever met this is last days?
The solution is simple, but not well documented well:
you must add these keys manually (as root or using sudo):

gpg --recv-keys 07DC563D1F41B907 && gpg --export 07DC563D1F41B907 | sudo apt-key add -
gpg --recv-keys 010908312D230C5F && gpg --export 010908312D230C5F | sudo apt-key add -

or in the case you do no use GnuPG

wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | sudo apt-key add -

That’s all.