12 June 2009
Bash by example, Part 2
IBM's contribution to learning the Bash shell and associated scripting commands.
This is the part that covers conditional constructs such as "if" and moves on to deal with "for" and "case" etc.
09 June 2009
TCP Segment of a Reassembled PDU - PHWinfo
However this series of communications is more about the MTU problem diagnostic process. The problems introduced by dropping _all_ ping packets is discussed as are the habits of the Microsoft TCP stack.
Some good information for trouble shooting slow data transfers on the same network segment.
08 June 2009
Bash Guide for Beginners
Here's a good tutorial on Bash and the associated scripting languages and/or commands
29 April 2009
IPtables: Connection tracking
An article explaining iptables connection tracking as used in a stateful firewall.
14 January 2009
10 ways to reduce removable media headaches in Linux | 10 Things | TechRepublic.com
The part on using udev to see a removable media device as the same device name (/dev/ipod instead of /dev/sdb) is interesting, but not explained in enough detail to make it immediatly usable. I'm guessing the lspsci command, or viewing some of the information in /proc/ will show what needs to be entered to define the device.
24 December 2008
fewt@blog:~$ _: Performance Tuning VMWare Server on Ubuntu Linux
Great tuning tips for any platform of linux (with appropriate changes for flavour)
Tested and verified on CentOS 4.7 64bit and vmware server 1.06.
19 December 2008
Clint Huffman's Windows Performance Blog : Identifying 32-bit Kernel Memory Issues
This is a great source of information on performance analysis.
14 December 2008
Packages required:-
These worked for me on Clark Connect version 4.3
gzip is installed by default on my system.
mindi-1.2.0-2.rhel4.i586.rpm
mindi-busybox-1.2.2-2.rhel4.i586.rpm
mondo-2.2.0-2.rhel4.i586.rpm
You need to connect in using ssh and install these packages.
dvd+rw-tools
which
afio
mkisofs
apt-get install dvd+rw-tools which afio mkisofs
These versions threw errors after upgrading to them.
mindi-2.0.4-1.rhel4.i386.rpm
mindi-busybox-1.7.3-1.rhel4.i386.rpm
mondo-2.2.7-1.rhel4.i386.rpm
Complaints about mindi errors with /dev/md2
The problem was solved by removing references to LABEL in /etc/fstab
The system involved was using software raid1 but the swap partitions (one per drive) had been created as
LABEL=SWAP-sda2 swap swap defaults 0 0
LABEL=SWAP-sdb2 swap swap defaults 0 0
The answer was to change them to /dev/sda2 and /dev/sdb2 respectivly, removing the reference to LABEL.
These latest versions of mondo mindi and mindi-busybox are now working fine.
22 October 2008
vmware-server VM backups |
Some ideas, and a script to suspend VM's then backup their images, and resume them.
AdmiNirvana » VMware Server Tips ‘n Tricks
More vmware tricks and tips.
Resizing vmware linux client drives, etc.
28 September 2008
Static Key Mini-HOWTO
I'm working on finding the best way to use openvpn to replace (ipsec like) network to network VPN connections.
More links to relevant web pages will follow. (I hope :-) )
08 September 2008
Adjust these performance options to speed up Windows XP | Microsoft Windows | TechRepublic.com
Some of the more interesting suggestions are in the comments following the article.
06 September 2008
Howtos - Importing Mail to ClarkConnect - ClarkConnect Documentation
http://www.clarkconnect.com/docs/Howtos_-_Importing_Mail_to_ClarkConnect
02 September 2008
PC Hell: How to Fix Problem When Windows Updates Download But Won't Install
Windows Updates Download But Won't Install"
This page (at PC Hell) has information on how to fix the problem of windows automatic updates download but fail to install.
I had to keep going to the last section where you delete the downloaded updates and associated cache to get mine going again.
My mistake was to expect XP Service Pack 3 to uninstall cleanly. I even took care not to install IE 7, but uninstalling SP 3 just killed automatic updates.
Thankfully I found this page and it has (almost) fixed everything.
The only update that seems to refuse to install now is the "Windows Genuine Advantage Notification (KB905474)".
As long as that's the only failing update I really don't have a problem. The OS came from Dell with the PC, so being genuine isn't an issue. Just as long as the update servers don't have a problem with my XP installation I'm happy.
If I get really bored some day, or some problem related to WGAN arises I may investigate further.
10 June 2008
linuxtoolz.net • View topic - How To Setup Load Balancing in Linux (Ubuntu)
A good guide to load balancing multiple internet connections
21 November 2007
Unpackaged files terminate a build
For the full story (and a very concise and helpful one it is) go to http://www.rpm.org/hintskinks/unpackaged/
For those that are only rebuilding/installing RPM's and have no interest in creating RPM's the following extract from that page may suffice.
----------- Snip ---------
There are several possible things that one can do when encountering this RPM packaging/debugging aide.
1) The proper fix, is to either have the %install section not install files into RPM_BUILD_ROOT that you do not want to package up. Alternatively, at the end of %install you can delete the files and/or dirs from RPM_BUILD_ROOT that you do not want to package up. You'll likely find however that many of these files *should* be packaged up, but the %files lists are incomplete so the files were always getting unincluded in your packages. The solution is to add the files to the %files lists properly, so the files get included in your packaging.
2) You may like the feature, but for one reason or another do not want to use it with a particular rpm package, or perhaps want to slowly fix the package to do the right thing, and in the meantime want to disable the feature just for this one package. I do this in the XFree86 packaging currently, as migrating XFree86 to package files cleanly with this feature enabled, and have it work on 7 architectures is a huge chore. To disable it in one package, add the following to the spec file:
%define _missing_doc_files_terminate_build 0 3) Some users may not like it. A pity because it is a godsend. If someone does not like it at all, they can disable the feature globally by putting the following in ~/.rpmmacros: _missing_doc_files_terminate_build 0 |
The general gist I pickup is that a package that throws these errors is flawed, and the package creator should be alerted to this problem. However, if it installed and worked correctly using previous versions of RPM, then using fix 2 or 3 should work. Especially since trying to fix the problem (that's fix number 1) may be well beyond the ability of a "standard" user wanting to install some software package from a source rpm they had used previously.
26 October 2007
Postfix and Amavis Log Reporters
Here's where to get the updated analyser scripts for both Postfix and Amavisd-new
http://www.mikecappella.com/logwatch/
13 September 2007
http://openmailadmin.ossdl.de/wiki/howto/Postfix-SASL-Cyrus-MySQL-Amavis-Postgrey-SpamAssassin-ClamAV-Squirrelmail-Mailman-Mailgraph-OMA
http://www.campworld.net/thewiki/pmwiki.php/LinuxServersFC5/FC5MailFilterServer
http://www200.pair.com/mecham/spam/additional_settings_v2.html
http://sixshooter.v6.thrupoint.net/SEC-examples/article.html
http://forums.cacti.net/about15651.html
29 June 2007
VPN PPTP Sudden problem in Vista in microsoft.public.isa.vpn
VPN Server at work to connect to the business network. I've done so
succesfully for a couple of months and since a week or two it stoped working."
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.isa.vpn&tid=731aeddd-1a73-45d5-afe8-ae206367fb43&p=1
http://projectdream.org/wordpress/2007/02/10/pptp-from-windows-xpvista-to-linux-fails/
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NdisWan\Parameters\Protocols\0]
"ProtocolType"=dword:00000800
"PPPProtocolType"=dword:00000021
"TunnelMTU"=dword:00000514 With this simple .reg file, you can lower the windows MTU, and get successful connections. This is especially useful if you can’t upgrade the kernel for one reason or another.
VPN connections fail after upgrade from XP to Vista - TechNet Forums
This URL
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1316133&SiteID=17
covers a possible fix for windows vista pptp problems.
another mention of pptp problems.
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.isa.vpn&tid=731aeddd-1a73-45d5-afe8-ae206367fb43&p=1
After Upgrade from XP to Vista RAS Connections are Failing
I have seen a number of posts on news groups and other forums where customers are not able to setup a RAS connection
after upgrading from XP to Vista. The purpose of this post is to explain the cause of this problem in majority of the
cases
1. Authentication Protocol
Vista does not support the MSCHAPv1 protocol for authentication. The protocols supported on Vista are
PAP, CHAP, MSCHAPv2, PEAP and EAP. The default is MSCHAPv2. Hence, if the server is not configured for
or does not support any protocol other than MSCHAPv1 then connection setup will fail.
2. Encyption Type Setting
Vista supports only strong encryption by default which is 128-bit RC4 for PPTP and AES 128 bit, AES 256 bit, 3DES for
L2TP. So, if the server doesnt support these encryption types connections will fail. The solution is to either upgrade
the server to support these encryption types or to configure the client to support weaker encryptions types. The
latter can be accomplished as follows
Change the following registry keys to 1:
HKLM\System\CurrentControlSet\Services\Rasman\Parameters\AllowPPTPWeakCrypto FOR PPTP
HKLM\System\CurrentControlSet\Services\Rasman\Parameters\AllowL2TPWeakCrypto FOR L2TP
Restart your machine after changing the value of a key
THe following links provide more info
http://support.microsoft.com/kb/929857/en-us
My original Google search.
http://www.google.com.au/search?q=vista+pptp+fails&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a