OSX VPN Problems

Hello,I’ve noticed this for a while, but finally blogging it to grab peoples attention. I use a Microsoft PPTP server at the office to connect to using PPTP. From Windows it works perfectly fine and i’m able to remain connected and go about my work. However, from OSX,  it works fine for a while – then if there is no activity on the connection, it kinda drops the connection – but not completely. Pinging anything at the office sometimes gives aping: sendto: No buffer space availableafter a while of pinging, it’ll stop and everything will resume. If after i connect, i leave a ping going this doesnt happen.Wonder whats going on…. 

New Leopard Feature…

So, i was working on my new Leopard install on my Macbook Pro and needed to Remote Desktop into a server at my office to start a Scheduled Task.Being a new laptop, i went to www.rdesktop.org, downloaded the source, opened up a new terminal, typed incd Downloadstar -xzf rdesktop* cd rdesktop*./configuremakesudo make installrdesktop servername and i did my work with the scheduled task, apple-w to close and i was done. Hang on a minute. My brain stopped for a second and thought about what had just happened. Did i just run “rdesktop” from the OSX terminal, and go straight into my server? Did Leopard actually spawn X11 for me, and run rdesktop within that ?Wow. Thanks Apple. 

Word 2007 Hanging up on Vista?

Had an unusual problem with Word 2007 and Vista today which lead to Word freezing up after a document was opened up by double clicking on it.

My suspicions were that an “add-in” had gone crazy and taken over Word and wasn’t letting it complete its start up, and to call them out, i’m pretty sure it was Acrobat Professional with their really bad product.

The fix is relatively simple, its a registry edit of one, or possible two keys depending upon the severity.

Open up Registry Editor (windows key+r, “regedit”, enter) and look for

CURRENT_USER/Software/Microsoft/Office/Word
Rename Addins -> oldAddins

Then restart word, if it works, you’re good to go. If it doesnt, edit this other one as well

CURRENT_USER/Software/Microsoft/Office/12.0/Word
Rename Data -> oldData
Rename Options -> oldOptions

That should do it!

TNMailServer 3

Hi,

Just an update. TNMailserver 3, is around the corner. This time its based on Fedora 8 and is much easier to install and keep up to date, but works iwth the same charm as the Slackware version. It will also be renamed to “Techie MailServer”

Windows Mobile 6 and my BlackJack

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

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

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

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

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.