19 Jan
Are you hosting your WordPress sites on one of those hosts where WordPress asks you to provide FTP details before upgrading itself or upgrading plugins?
So when you click to do an upgrade, instead of just launching into it, you get a screen like this instead :

You can do that as WordPress asks you for them. Or to save yourself the hassle, you can provide these details in your wp-config.phpfile and auto upgrading and installing will be back to “just working”.
This example is for A WordPress site on a Suse 11 Sp2
define(‘FS_METHOD’, ‘ftpext’);
define(‘FTP_BASE’, ‘/srv/www/xxx.cyberpost.nl/‘); (Sometimes xxx.cyberpost.nl/)
define(‘FTP_USER’, ‘username‘);
define(‘FTP_PASS’, ‘password‘);
define(‘FTP_HOST’, ‘xxx.cyberpost.nl‘);
define(‘FTP_SSL’, false);
Thx Admin
4 Jan
Open the Registry Editor
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
Use Registry Editor to increase the default time-out period. To do this, follow these steps, and then quit Registry Editor:
NOTE: You cannot use this method to turn off the autodisconnect feature of the Server service. You can only use this method to change the default time-out period for the autodisconnect feature.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
NOTE: The client-side session is automatically disconnected when the idling time lasts more than the duration that is set in KeepConn. Therefore, the session is disconnected according to the shorter set duration value between AutoDisConnect and KeepConn. To change the time-out duration in the client-side during a UNC connection, specify the arbitrary time in KeepConn.
Locate and then click the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Service\lanmanworkstation\parameters
Value: KeepConn
Data type : REG_DWORD
Range : 1 to 65535 (sec)
Default value: 600 sec = 10 mins
On the Command Line
NOTE: If you use this method, you may turn off the autotuning feature for the Server service.
To change the default time-out period for the autodisconnect feature of the Server service, open a command prompt, type the following line, and then press ENTER
net config server /autodisconnect:number
where number is the number of minutes that you want the server to wait before it disconnects a mapped network drive. The maximum value for this command is 65,535.
NOTE: If you set the autodisconnect value to 0 (zero), the autodisconnect feature is not turned off, and the Server service disconnects mapped network drives after only a few seconds of idle time.
To turn off the autodisconnect feature, open a command prompt, type the following line, and then press ENTER:
net config server /autodisconnect:-1
This are the Articles from Microsoft for more information :
http://support.microsoft.com/kb/297684
http://support.microsoft.com/kb/138365/EN-US
http://support.microsoft.com/kb/128167/EN-US
Download the tool to apply the registry changes for you. (Download)
Thanks,
Admin
3 Dec
What do Cat5e, Cat6, and Cat6e have in common?
They each utilize 4 twisted pairs in a common jacket. They use the same style RJ-45 jacks and plugs. And, they are each limited to a cable length of 100 meters including the length of the patch cables on either end of the link. The parts are interchangeable, so you can use a Cat5e patch cable with Cat6 house cabling. Your system will just perform at the level of the lowest link, in this case the Cat5e patch cable.
So what’s the difference?
Better transmission performance. With each upgrade in cable, there is less signal loss, less cross talk, and more bandwidth. And of course, more cost.
So the important question is: What exactly am I getting for my money? Rather than talk about near-end-cross-talk requirements or SNR ratios, let’s talk about what each cable delivers in terms of Ethernet performance.
What is the difference between 10BASE-T, 100BASE-T and 1000BASE-T?
10BASE-T is the IEEE standard that defines the requirement for sending information at 10 Mbps on unshielded twisted-pair cabling, and defines various aspects of running Ethernet on this cabling.
100BASE-T is the IEEE standard that defines the requirement for sending information at 100 Mbps on unshielded twisted-pair cabling, and defines various aspects of running baseband Ethernet on this cabling.
1000BASE-T (also called gigabit Ethernet) is the IEEE standard that defines the requirement for sending information at 1000 Mbps on unshielded twisted-pair cabling, and defines various aspects of running baseband Ethernet on this cabling
What are the maximum lengths for cables?
For Solid UTP:
Fast Ethernet 100baseT 100 Meters (328 feet)
Twisted Pair Ethernet 10baseT 100 Meters (328 feet)
Recommended maximum lengths for Patch Cables made from stranded cable:
Fast Ethernet 100baseT 10 Meters (33 feet)
Twisted Pair Ethernet 10baseT 10 Meters (33 feet)
Cat5 (e):
Gigabit Ethernet up to 100 Meters (328 feet)
10 Gigabit Ethernet up to 45 meters
Cat6:
Gigabit Ethernet up to 100 Meters (328 feet)
10 Gigabit Ethernet up to 55 meters
Cat6e:
Gigabit Ethernet up to 100 Meters (328 feet)
10 Gigabit Ethernet up to 100 Meters (328 feet)
All three support gigabit, which is enough for most networks. 10 Gigabit, when it is deployed, is typically utilized for aggregation links between switches and not for workstations. Although it is unlikely an enterprise will require 10 gigabit to the workstations, certainly it is reasonable to design a new system with future needs in mind.
In this case, the 10 gigabit capacities of Cat5e and Cat6 are problematic. Since data closets are located based on an assumption that workstation lines can be up to 100 meters, the shorter length limitation for Cat5e and Cat6 make them undesirable. That leaves Cat6e as the cabling of choice for future proofing.
So which cable should I use again?
Cat5e => Will give you all the performance you are likely to need today for workstations.
Cat6e => Is your best bet if you want some future proofing and can afford the extra cost.
Groeten Admin
17 Nov
After you install VLC go to Media
=> Open Network Stream:
Open the TAB called Network en past the Next URL in :
http://82.201.100.9:8000/radio538.m3u
Done now you stream Radio 538.
Admin
17 Nov
So I recently bought an iPhone and needed to know what the MAC address of the device so I could enter it into my wireless router MAC address filtering section. This way only devices I manually add to the list can connect to my wireless network.
So where can you find the MAC address for your iPhone? It’s actually pretty easy! Here’s how.
First, on your home screen, press on the Settings icon.

Next, you want to tap the General option under Settings.
After that, go ahead and tap the About option.

Finally, scroll down until you see Wi-FI Address and Bluetooth. Those are the MAC addresses for both Wi-Fi and Bluetooth, in case you are using both.
That’s it! Now you can take the iPhone MAC address and plug that into any network program or device that may need it. Enjoy
Locate iPad’s MAC address
1. On the iPad home screen, tap the Settings icon.
2. Settings window will open. Then select ‘General’ option from left side.

3. Now select the ‘About’ option on the right side. It will show lot of details including Wifi address and bluetooth (see highlighed in above screenshot).
Have fun,
Admin
14 Nov
Where to look for list loaded modules.
There is a file called loadmodule.conf the file is located in /etc/apache2/sysconfig.d/
do not edit or modify the file. Check the file again after you do the next thing.
Solution – enable mod_rewrite on SuSE linux
Now, the mod_rewrite is enabled and integrated.
Check if mod_rewrite is installed and integrated in Apache
You can check this e.g. with the following php file. Create a file in your document root of your webserver(default on SuSE: /srv/www/htdocs) and copy the following content into this file:
<?php phpinfo(); ?>
When you view this file with your browser, search for rewrite – you should find one entry. If not – check if you did all steps 1 to 3.
Test .htaccess rewrite rule on SuSE linux Apache
The next step is to create an initial .htaccess rewrite rule to test if it’s working now. Create a file .htaccess in your document root (default on SuSE: /srv/www/htdocs) with the following content:
Options +FollowSymlinks
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule user/(.*)$ /user.php?user=$1
</IfModule>
This is a simple rule that redirects all urls with the format user/something to the script /user.php with the something as parameter user. The IfModule prevents Apache errors when mod_rewrite should disappear.
If this doesn’t work – there is another pitfall of the default SuSE Apache installation: you’re not allowed to create custom .htaccess files! So – lets enable them
Enable custom Apache .htaccess mod_rewrite files on SuSE linux
That’s all, now you can test the .htaccess rewrite rule again and it will work.
Admin
31 Oct
Options:
-d home directory
Example: To add a new user with
useradd -gusers -Gmgmt -s/bin/shell -pxxxx -d/home/roger -m roger
————————————————————————————————————————–
Usermod – Modifying existing user
Options:
Example: To add the group ‘others’ to the user roger
usermod -Gothers roger
—————————————————————————————————————————
Options:
Example: To remove the user ‘roger’ and his home directory
userdel -r roger
—————————————————————————————————————————
Options:
Example: To change the password for the account you are currently logged in as…
passwd
Enter existing password
Enter new password
Enter new password again (to validate)
Example: To change the password for the user ‘roger’ (only you are logged in as root)…
passwd roger
Enter existing password (can be either roger’s password or root’s password)
Enter new password
Enter new password again (to validate)
Thanks Admin … J
28 Sep
Repadmin /showrepl
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1,
Windows Server 2003 with SP2, Windows Server 2008, Windows Server 2008 R2
Displays the replication status when the specified domain controller last attempted to perform
inbound replication of Active Directory partitions.
The repadmin /showrepl command helps you understand the replication topology and
replication failures. It reports status for each source domain controller from which the
destination has an inbound connection object. The status report is categorized by directory
partition.
21 Sep
In this case we move a Joomla Database to a different server.
First make A Dump of the Database from the Joomla Site in this case the Database is
called DBjoomla the Database is located on the next location /var/lib/mysql/ now
execute the next command :
mysqldump -u DBJoomla>DBJoomla.sql
Now we need to copy the Dump to the new server where the website going to you can
directly copy this from the console promt :
Scp DBJoomla.sql root@10.10.10.10:/root
(10.10.10.10 is the target server)
After this the Password : prompt will come up type the root password from the target
server and you will see a progress bar.
If you want to replace the complete Joomla site you need to copy the whole directory
from you web directory. ( on a Suse linux server the websites are located in the
/srv/www/ directory) Don’t forget to give the copied directory on the target server
the right owner and rights.
Now you need to make a SSH connection to the target server and login as root. Now on
the target server go in MySQL by just typing MySQL on the prompt and follow the next
steps to connect the database to Joomla :
1.(Create a new database)
mysql> create database DBJoomla
2.(Make a user in site Mysql)
This user is in MySQL so you can NOT login in to Linux with this user.
mysql> create user Joomlauser;
3.(Grant all de rights to the Joomlauser user to the Database)
mysql> grant all privileges on DBJoomla.* to “Joomlauser“@”localhost” identified by “joomla“;
DBJoomla (Databse name)
Joomlauser (Username who is accessing the Database)
joomla (This is the password for that user)
4.(You have to do this after you did the previous commands)
mysql> flush privileges;
mysql> quit
5. (Now we need to import everything in the database)
Got to the directory where you just copied the .sql file from the old server now use
the next command :
mysql -u Joomlauser –pjoomla DBJoomla<DBJoomla.sql
DBJoomla (Databse name)
Joomlauser (Username who is accessing the Database)
joomla (This is the password for that user)
DBJoomla.sql (Sql file from old server)
6. (now changer the configuration file)
In the case of Joomla in the case of wordpress the file is calld different (config.php)change
some things in the configuration.php (Changes noted with *)
var $dbtype = ‘mysql’;
* var $host = ‘localhost’;
* var $user = ‘Joomlauser’;
* var $db = ‘DBJoomla’;
var $dbprefix = ‘jos_’;
var $mailer = ‘smtp’;
var $MetaTitle = ’1′;
* var $password = ‘joomla’;
Thanks Eelco
19 Sep
How do you repair a My SQL database :
Bring MySQL down. (/etc/init.d/ ./mysql stop)
Go to /var/lib/mysql (look for directory)
Than run the command : myisamchk –r *
Bring MySQl up. (/etc/init.d/ ./mysql stop)
Thanks,
Admin