Archive for September, 2008

Logitech Revolution Mouse models and Firefox

Tuesday, September 23rd, 2008

Type in address bar: about:config .

Then, after the warning screen, start typing in “Filter” field: mousewheel.withcontrolkey.action

The value of this field was, by default 3 (look at the explanation ), and you should set it to -1 to disable any functionality. This “Disable” value was not so obvious at first look. SO, to summarize:

Oh. I just found out that someone is having the same problem . Their solution is not really exact, but it will do the job.

array(&$this, 'SetVariables');
array(&$this, 'SetVariables');

Clean SugarCRM Cache Directory

Wednesday, September 17th, 2008

I have got tired of manually clearing cache directory of my SugarCRM installation. (more…)

Vivotek camera display in IE7 and Firefox

Tuesday, September 16th, 2008

We are in posession of couple of great network cameras from Vivotek: SD6112 TPZ and Vivotek FD6112. I am a great fan of them, because almost everything in them is almost perfect.But, as always, there are a problems. So, lets mention the smaller one:

It is impossible to update firmware remotely. Not a big dial, but the reason is really stupid. On their site, they say it’s possible to do it via FTP. I downloaded the firmware, set up an FTP connection, and after successful connect I realized that I need a .BIN firmware, not the .PKG that I downloaded. Considering that PKG is the only one available, and there is no”Update” button Web interface – no solution – dead end.

Can’t see a camera video stream in any version of Firefox. No solution here (besides IE Tab add-in for Firefox which executes IE inside Firefox). The reason is in that these cameras use VATDecoder Codec. I noticed that some D-Link Cameras are using the same codec, too (just google for VatDec.cab). This ActiveX is on camera itself, and is installed when you request a video from camera. So, there is no way to install it in Firefox – dead end.

Can’t see anything in Internet Explorer 7. Well, this problem is because of a poor web HTML programming, and can be easily solved. Simplest – manual way is just to press F5 (Refresh) twice, and then right click on left part of screen and then Refresh, and on right part of screen and then Refresh. Basically, we are refreshing the whole, then left and right part of a screen. And, more elegant solution is to change just remove Microsoft Silverlight from your system.

I tried everything instead of removing Silverlight, but nothing helped. I edited html pages (hexedit-ed Vivotek’s some strange .VSPX files instead of html – Vivotek server script executable), i tried commands like iexplore -extoff, i tried disabling silverlight, i tried a lot of wierd stuff. And nothing helped – Silverlight must be removed.

Croatian (very similar to Serbian) added to Google Translate

Friday, September 12th, 2008

I just discovered that Google had recently added a Croatian language to its Google Translate system. Knowing that Croatian and Serbian languages (and Bosnian, and Montenegrian etc.) are very similar, this is a good news for all Former Yugoslavia citizens.

It’s not perfect – I tried the translation of tricky terms: thumbnail and upload, but I got no results.

Hide versions from port and services scan (NMAP)

Thursday, September 11th, 2008

I stumbled on some posts about scanning a site and detecting a server services versions. Someone pointed out a nmap tool, and I checked it against my own server. The result was not so good – Apache and ProFTPD reveled its versions. So, I was determined to change that – I want the least version information. The NMAP command is:

nmap -sS -sV -O www.yourserver.com

Secure and hide version information:

  • OpenSSH, tcp/22, not possible to change banner but yous should change the port, disable root login, etc.
  • Telnet, tcp/23, I prefer to disable Telnet. If not, use this (change file /etc/issue.net)
    mv /etc/issue.net /etc/issue.net-original
    echo "Windows Server 2008 (Microsoft)" > /etc/issue.net
  • PHP, disable expose_php for security reasons in /etc/php.ini
    expose_php = 'off'

That’s about it. I believe there is more, and if someone wants to add something, just comment on this post.

Change serial number in Adobe CS3

Tuesday, September 9th, 2008

I found a lot of articles on the internet telling me that I should do a Tools / Deactivate. But, because I changed a system and I changed a serial number, I could not do that. Deactivate option was not available because all the time CS3 asked me to re-activate. And, I just wanted to start activation from beginning, with Activation Type: normal, not: Activation Type: Repair.

I did not found the solution right away, and that is the reason I am writing this post. So, just delete two files, and when you start some CS3 application, it will ask you for a serial number in the same way it asked you the first time. The two files that should be deleted are:

c:\Program Files\Common Files\Adobe\Adobe PCD\cache\cache.db
c:\ProgramData\FLEXnet\adobe_00080000_tsf.data

This is for Microsoft Windows Vista, but I am sure that you will manage to find these files on Windows XP.

Midnight Commander on Western Digital MyBook World

Monday, September 1st, 2008

First of all, the site Hacking WD MyBook World it the best place to start. Follow the manual for first steps, and be aware that in order to successfully complete the most important 1.st step (Enabling SSH with Method 1) – your router must have internet access (not only your computer from which you are accessing the router).

Again, finish the second step – install Optware Package Management (package manager, similar to Yum).

And, now, for Midnight Commander  type:

/opt/bin/ipkg install mc

ldconfig(must execute this)

/opt/bin/mc

And, it’s working!

And, at the end, disable Mionet. You could install nano with: /opt/bin/ipkg install nano, and alternative Web interface on port 8080 as explained here.

And, because I want to change Port on which ssh deamon is listening, I had to change nano /etc/services (not /etc/sshd_config), because sshd is started throe inetd.