“STOP 0×00000035 NO_MORE_IRP_STACK_LOCATIONS” on Vista

30 11 2008

Hi out there, this weekend I had an experience of the alien nation type. I got a PC which always turned up a BSOD with the above mentioned stop message “STOP 0×00000035
NO_MORE_IRP_STACK_LOCATIONS”. The system I am talking about is a Windows Vista Business which is registered within an ordinary windows domain but has additional network shares configured which come from mac OS 10 server machines. Every time I tried to open a file on these network shares, I got the blue screen. Other funny features have been damaged email attachement, broken pipe exception when reading from a network share or broken printings. I did quite of a fuzz about getting the thingy fixed, by starting to scratch out potential problem causers like:
- network card
- memory
- missing windows updates
- spy- or malware

After beeing very unsuccessfull I found an article on the net where a guy got the same mistake connecting to CD/DVD drives and USB drives and he found out that Kasperky Antivirus Software was the causer of the problems. Having this information I deinstalled Kaspersky just to try this one too and what can I tell you. PROBLEM FIXED. The Kasperky Antivirus Software Installation, even up to date caused these funny problems with the PC. The system is currently working faster and quite well. I installed the AVG Antivirus Software instead and reactivated the windows firewall.





Ever Lost Icons On Your iPhone?

22 11 2008

Have you ever lost some icons on your iPhone desktop even if you did not do something funny? It seems that application installation sometimes fucks up the com.apple.springboard.plist file. So simply connect to you iphone or use the terminal application and remove this file:

/var/mobile/Library/Preferences/com.apple.springboard.plist

Afterwards restart the iPhone to get the work done. You have to reorganize your application icons afterwards.





Needfull Ping Script

22 11 2008

Have you ever had the problem that you needed to know what ip address your iphone or dreambox or any other small device got from dhcp but you have no access to a console or network config application. I wrote down a small shell script which does the work for you simply call it with a selected ip base and a start ip like:

pingrange.sh 102.168.0. 112 yes

This will start a ping session where the script iterates through the ip addresses 102.168.0.112 to .254 and shows you if a device is active or inactiv. The yes behind tells the script to abort if a device answers on an ip address. Skip the yes parameter and the script will scan the fully range given. Copy code from here to file and save as pingrange.sh if you want.

#!/bin/bash

usage()
{
echo ""
echo "pingrange copyright 2008 by Jörg Weis"
echo "see my blog on http://joergweis.wordpress.com"
echo "free under GPL License"
echo ""
echo "Usage: pingrange.sh "
echo ""
echo "Example: pingrange.sh 192.168.0. 110"
echo " this will start pinging at 192.168.0.110"
echo " and will loop until 254"
echo "Example: pingrange.sh 192.168.0. 110 yes"
echo " same as above but script will halt if an"
echo " ip is responding."
echo ""
echo "Have fun, bye, bye Admin"
echo ""
}

if [ "$1" = "" ]
then
usage
exit 1
fi

baseip=$1
stopOnActive=no

if [ "$3" != "" ]
then
stopOnActive=yes
fi

ipStart=$2
while [ true ]
do
if [ $ipStart -eq 254 ]
then
break
fi
ping -t 1 $baseip$ipStart > /dev/null
ret=$?
if [ $ret -eq 0 ]
then
echo "$baseip$ipStart is responding - AKTIV"
if [ "$stopOnActive" = "yes" ]
then
break
fi
else
echo "$baseip$ipStart is not responding - INAKTIV"
fi
ipStart=`expr $ipStart + 1`
done

exit $?

Have fun.