A Site by Jaysam Thanki, Web Architect

Archive for the ‘Techie Stuff’ Category

.Net and high memory usage

Wednesday, February 6th, 2008

Hi,

I just found this link which i thought i’d share. I’ve been wondering for a while why one of my customers Exchagne 2007 machine has been running very high on memory usage.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;942027

Thats a link to a hotfix that might fix my problem. Will install and report bac.

Windows Mobile 6 and my BlackJack

Friday, January 25th, 2008

Good Evening Folks, today i was alerted by my good friend that WM6 had been released for my AT&T Blackjack. So, i went to the update site and downloaded the update. Whilst downloading the update, i noticed a few times it telling methat Vista is not supported for this update, which – is very strange to me. But regardless, i downloaded the update, and then started looking around for resources on how to get this update to work on Vista.

First, let me say a few things about this update process.

Samsung,
It’s now 2008. The vast majority of the devices out there, that support some kind of removable storage, can update them self using a particular type of file on this storage medium. Why on earth do you choose to use such an archaic cabled method ? What’s wrong with you?

Ok, rant over. Now, i found information here on how to do this on Vista, so i got the driver (which i am hosting now temporarily here) and updated the Samsung driver on my Vista machine and proceeded with updating my phone.

After about 5-10 minutes of updating, the phone rebooted, and i was graced with a beautiful looking splash screen, some swooshing sounds, and then the WM6 homepage. Wow, i said, Wow.

Then, as i continued the process as stated by Samsung, i ran into some problems. I couldn’t do the full reset. The phone barked and said “Error reseting”. So i rebooted the phone, and tried again. Same bark, same message. So, i tried the next time – to see the current phone version. To my horror, i found tha the PDA version had been updated, by the Phone version was BLANK. OMFG. What the hell happened? I followed all the steps (albeit ignoring the “don’t try this on Vista” part), and why did this goof up?

So, i tried flashing it again. Same thing.

So, i got brave and thought about it for a second (it was 1am by the way). And thought to myself, ” I wonder if i leave my sim card in the phone during the update, maybe it’ll update then?” Quickly, i tried it. And to my surprise, it worked. Yay!

So, if you are trying this WM6 update on your Blackjack, and the phone version isnt getting set, try it with the Sim card in, it may work.

RPC problems

Wednesday, October 31st, 2007

So after spending a great deal of time trying to figure out why one of my customers servers had stopped responding to ports 135 and 445 (RPC), i found that someone had ran an “ipseccmd” script to run some blocking ports on the machine, for a reason that i don’t understand completely. Why on earth would a hacker want to block ports, if they want to use it to send spam through it ? Makes no sense. In any case, if you ever come across a machine that clearly has a blocked port, but there is no firewall running on that machine, check the ipsec rules. They may not show in the Local Security Policy manager, but they will show in the registry and the Security Event log straight after a reboot.

Routers and CD’s

Friday, October 12th, 2007

You know. I’ve seen so many people have trouble with wireless routers. D-Link’s, Linksys’s, Belkins.. you name it. So, heres my public announcement.

When you get a new router, throw away the cd that comes with it. You dont need it. All modern routers have a WEB interface. That means you can get to it using your browser. The cd that comes with it, is just useless. Just plug in your laptop or pc to your router, and go straight to the router address. How do i find my router address? its the default gateway. Look around your PC / Mac for the network ip address you got from the router, and it’ll tell you what the gateway is. then type in http://<gateway ip>

DONE

Warning – Dell Inspiron 8500 Video BIOS Flash

Thursday, September 27th, 2007

So, a warning to all users of Dell Inspiron 8500 Laptops with the GeForce 4200 Go video card. Do not attempt to flash the bios on this video card using the Dell utility from their website. It doesnt work, and will brick your video card. When you download the utility, it appears to be nice and safe and made by nVidia. However, after you start it – it’ll tell you it’ll take a few seconds to flash. After minutes and even hours, that message won’t change. You have thus killed the bios on the video card. You can kill/close the fladhing program window, and still resume your windows activities but the system will not boot up again.

You have been warned

Update : Just looked at the download page again, it still says “Recommended”. I recommend you ignore this patch till they fix it. I’m talking to Dell support, and will update this entry with any information.

Update : Spoke to dell. They replaced the video card on the machine for free, and they will be investigating the bios update on the site that reads recommended. Thank you dell.

How To Redirect Permanently with PHP

Monday, September 24th, 2007

Hi,

To do a permanent redirection using PHP, for whatever SEO needs you may have, the code is

<?php
//Standard 404.php file

//Looking for my tnmailserver?
if(strpos($_SERVER["REQUEST_URI"], “/Projects/TNMailServer-Full.aspx”) !== FALSE)
{
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: /TNMailServer”);
exit(0);
}
?>

The exit is importantly, especially if you still have other code below this snippet performing other checks, or showing the standard 404 page.

VMWare and Virtual Server

Saturday, September 22nd, 2007

For ages now, I’ve been wanting to switch from Microsoft’s Virtual Server 2005 (mvs2k5) to VMWare Server.

Why? Well, at first I started off with a few production Windows Servers (Exchange, Development for clients and a few Windows XP machines to connect to customer’s VPN’s) and this worked beautifully well on mvs2k5. Using Microsoft’s recommendations of using fixed sized vhd’s and “virtual” SCSI adapters, things were just looking spectacular.

However, with the latest version of mvs2k5, i couldn’t get Fedora 7, Slackware 12, or Ubuntu 7.04 to install on mvs2k5 despite Microsoft saying they added Linux support. This is my problem. I need to be able to test Linux and other open source technologies without busting open real hardware.

Thus, VMWare is my only real hope, since it supports Windows stuff, and Linux stuff, and VMWare’s technology works differently. For a start, each of the virtual machines runs in its own process space, so you can kind of see where the memory and cpu utilization is going – which you can’t with mvs2k5.
So, i decided that my Dual Core 3.4Ghz machine with 4gb of RAM shouldn’t be wasted just for Windows Virtual machines, and started my quest in converting everything to VMWare.

Not so good. The conversions for my current Windows machines have problems. If you have WPA Activated virtual machines, you’d have to re-activate – which I’m ok with if everything worked out fine But it didn’t. It’s a painfully slow process. I also couldn’t get the VMWare tools to work right on these converted machines. My first machine i converted (my development machine that i use constantly), worked fine – if a bit sluggish – in Remote Desktop mode, but over the VM Console, I couldn’t get my mouse to work, and it was really slow. If I wasn’t so obsessed with stuff working right, this would be ok. But i need things to work right so I can be sure that the machines environment is safe.

So for this reason, my rule (for now) will be let Windows Virtual machines, built on mvs2k5, stay on that platform till its life cycle ends. I’ll just have to bite the bullet and use two physical machines for now. I’ve desperately needed Linux virtual machines to test out my latest version of TNMailserver in which my project is getting sadly old without updates.

Site Launched!

Thursday, September 20th, 2007

So finally, i officially launched the new look techie.org site tonight. After, wow, 4 years of the same old tripe I get a new look to techie.org, and a functional change too with this blog. I plan on keeping the content fresh with at least a new How To on something or the other every month, along with knowledge sharing on whatever i find strange in the world of IT.

The site will primarily be a resource for my Mail server project TNMailServer and any other new projects I come with – such as my infamous TNDomain Management system (which i am using in production in house). But in addition to techie stuff, I will be putting in my two cents for my other passion in life, football (or as Americans call it, “saaker”) and maybe a few of my pictures I take when I get time off to play.

Enjoy, and thanks for visiting techie.org!

Slow Vista RDP Session to Windows 2003 R2 64 bit

Thursday, September 13th, 2007

So, finally, some intense Googling found the solution to my problem of having a sluggish, laggy slow connection from a Vista machine to a Windows 2003 R2 64Bit machine. Something to do with Vista’s RDP client trying to tune something. Either case, this is the fix.

Open a command shell with admin access on the vista box, and type in

netsh interface tcp set global rss=disabled
netsh interface tcp set global autotuninglevel=disabled

I’m not quiet sure yet as to any side effects, but all i know is that this fixes my problem in trying to trouble shoot probelms quickly on clients servers that are running 64bit Win2k3