Netgear AC750 Wifi Range Extender (EX3700)
Here is how I satisfied my need to have a LAN messaging program, not really to chat with other users on the same LAN, which I could do, but to copy and paste links or texts between a rdp client and a rdp server when copy and paste from/to clipboard does not work in rdp sessions, for instance with some Android rdp clients.
These are the programs I used:
- Openfire 3.9.3 on the "server" (which can be a simple Windows pc): a realtime collaboration server using XMPP/Jabber
- Miranda IM 0.10.23.0: a multi-protocol instant messaging client
- Xabber 0.9.30b: an Android Jabber client
Create a VPN to connect from an Android client to a home Windows XP server
If you want to connect to your home computer using rdp when you are not home and are connected to the internet, you have to open a port on your firewall; changing the standard rdp port on both your server and your firewall increases your security (or decreases your unsecurity); configuring a Virtual Private Network (VPN) increases your security even more, and you can close the rdp port on your firewall: in fact, when you connect your remote client to your vpn, your remote client comes inside your LAN so that you can remote access your server from inside the LAN.
- Configure server to create a VPN
- Configure router firewall for VPN passthrough
- Configure VPN on Windows clients
- Configure VPN on Android devices
.htaccess: an example of the Apache per-directory configuration file
Using bloxsom as my weblog designing application, I had to provide some settings to the Apache
.htaccess configuration file to fine-tune the usage of my site:
- tell Apache to load
index.cgiin addition to the default
- rewrite the requested address adding
www.if it's omitted
- rewrite the requested address adding
index.cgiif it's omitted
- and for bandwidth reduction, forbid robots from crawling some pages
GPG key error updating aptitude, Debian upgrade
I had an old Debian Etch machine which I did not upgrade for some time, and when I attempted to install ghostscript by using Synaptic, I've got some unmet dependencies errors with libc6 and libc6-dev. Any attempt to reinstall or upgrade these packages failed, so I decided to try to upgrade the whole system to Lenny:
- I replaced
#sudo aptitude update
But I've got this error: The error can be solved downloading the GPG signatures with these commands:
#gpg --keyserver keyserver.ubuntu.com --recv xxxxxxxxxxxxxxxx
#gpg --export --armor xxxxxxxxxxxxxxxx | apt-key add -
I've tried a few servers (subkeys.pgp.net, keyserver.pgp.com, wwwkeys.eu.pgp.net) but they could not find the "right" keys...
Then I did the
#sudo aptitude updateagain.
#sudo aptitude install apt dpkg aptitude
#sudo aptitude full-upgrade
How to force Firefox to open in a new tab a link that tries to open a new window
about:config in the address bar, read the warning and confirm.
Then change the value of
browser.link.open_newwindow.restriction to 0.
See mozillazine about:config FAQ for a detailed description of the variables and values.
With my LCD monitor, a LG 1718S, the characters appear too much narrow on the screen, especially using Excel sheets: I tried all OSD settings but the characters are so much thin that they're almost invisible. I got the best results setting the ClearType effect:
Control Panel, Display, Appearance, Effects, Use the following method to smooth edges of screen fonts: Clear Type
This way the characters appear a little fatter and they're better looking too.
Yes, I use light grey background color :)
Running Windows XP in Xen from its own partition
Some months ago I made some experiments with Xen and I succeeded to install and run Windows XP as a guest using Xen 3.0. In that case Windows was located in a single file and was installed through Xen. My purpose now is to make Xen running an already installed Windows from its own partition. Just to be more specific, this is my machine configuration:
- Ubuntu Dapper Drake 6.06 is located on a SATA disk, set as first boot disk
- Windows XP is located on a EIDE disk, set as second boot disk
- Dual boot is made by grub
I am coming from a bloody week of wrestling against packages, bugs and "make world"s trying to run Xen in Ubuntu 6.06 amd64 on an AM2 3800+ and to make a Windows XP Pro domU.
I searched on the web some resources that would explain how to run Windows on Xen and I found some very good tutorial that unfortunately don't fit exactly my configuration and my purpose. These are the sites I took as a basis for my setup:
- dom0 = Debian Sarge 3.1, domU = Debian Sarge, Xen 2.0.7 32 bit installed from binaries or source, paravirtualization
- dom0 = SUSE 10.1, domU = Win XP Pro, Xen 3.0.2, Intel VT hardware virtualization
- dom0 = Ubuntu 6.06, domU = Ubuntu, Xen 3.0.1 32 bit
- dom0 = Kubuntu Dapper Drake, domU = Win XP, Xen 3.0.2-2 32 bit, AMD SVM hardware virtualization
These are all the steps I did and the problems I encountered during this Calvary :-) (I come from Windows with a little linux/unix background):
I'll try to answer these questions:
- What is AMD Cool'n'Quiet?
- Does it really work?
Remove XP Pro or Win Server 2003 bandwidth limit
Run Group Policy (gpedit.msc) and go to Computer Configuration -> Administrative Templates -> Network -> QoS Packet Scheduler and change "Limit reservable bandwidth" to "Enabled" with a value of 0%. By default it appears disabled but read the description and you'll discovered it's enabled with a value of 20%.
Seeing MySQL queries, just like MS SQL Profiler
Just execute mysqld with the
-l[=filename] command-line option.
If filename is omitted, hostname.log will be created in the mysql data directory.
log=filename line (i.e. if you use WAMP).
Then restart mysqld.
Blosxom: How to insert a fixed path for images in Blosxom
I wrote some post on my new site created with Blosxom and I wanted to insert some images that I put in a directory called
images under my website address root.
I found different solutions:
WAMP & Perl - Windows Apache, MySQL, PHP with CGI scripts written in Perl
I need Perl to run Blosxom, an open source and free CGI script to create blogs.
So I installed WAMP5 1.6.4a and ActivePerl 22.214.171.1247 with MSI installer.
I already have my site on my disk, so I told my site directory to WAMP during the setup procedure and then I pointed my browser to http://localhost/index.cgi but it displayed the cgi instead of executing it.
This is what I did to make it work:
Running PHP scripts from command-line with WAMP (Windows Apache, MySQL, PHP)
On my old pc I installed Apache, MySQL and PHP singularly, and I made some PHP scripts to be runned from command-line, like this:
c:\php\php -f myscript.phpOn my new pc I installed WAMP5 1.6.4, all was running fine (phpMyAdmin, my local website, php scripts pointed to by the browser) but php scripts launched by command-line reported
Fatal error: Call to undefined function mysql_connect() in myscript.phpObviously I changed the php path to
c:\wamp\php\phpbut with no results.
Solution: change the command to
c:\wamp\php\php -c c:\wamp\apache2\bin -f myscript.phpThe -c option tells php to search php.ini in the directory specified, and that's needed because WAMP puts php.ini in Apache bin directory, while with a PHP regular installation php.ini is located in the php.exe directory.