Wednesday, September 4, 2013
Solution to Restore Missing or Disappeared Safely Remove Hardware Icon
The manual way of bringing back the Safely Remove Hardware window is by
running a command. Go to Start -> Run or press Windows key+R, type in or
copy and paste the following line and click OK. The command below IS
case sensitive.
Sunday, July 28, 2013
How to Enable Telnet Client in Windows 7
It's very rare that I use Telnet these days, so it took a long time for me to notice that by default it was not packaged with Windows 7. I did some research and found out that this was also true for Windows Vista. More than likely this was an attempt to make Windows more secure by default, as Telnet is very insecure and whenever you have the choice you should always use SSH. However, with that being said, you can quickly re-enable Telnet by following these steps:
- Click Start
- Control Panel
- Programs And Features
- Turn Windows features on or off
- Check Telnet Client
- Hit OK
Another Method:
- Open a command prompt window.
- Click Start,type cmd in start search box, and then press Enter.
- Type the following command
pkgmgr /iu:"TelnetClient"
- If the User Account Control(UAC) dialog box appears, confirm that the action it displays is want you want, and then click continue.
- When the command prompt appears again, the installation is complete
Sunday, July 21, 2013
How to convert a GPT (GUID Partition Table) hard disk to MBR
1.Open up command prompt
2. Type "diskpart" and press Enter. You will be presented with a DISKPART prompt.
3. Select the hard disk you wish to clean by using the select disk command. By default, the primary hard disk is classified as hard disk 0. Type in "list disk". Find the number of the disk you want. Then type in "select disk x" x = number of the disk you want
4. Type in "clean"
5. Open up Disk Management, and you will find it has a new disk to initialize, make sure you check mbr this time
Sunday, March 10, 2013
How to open an Open Office file(.ods) in Excel?
One of the easiest way is to transfer the file to google drive (convertor: ON) and have it converted there. But if it is possible, it is best to do it in Open Office.
Another method is to enable Microsoft Office XP, 2003, or 2007 to open the Open Office files. This can be done by downloading and installing the converter from http://odf-converter.sourceforge.net/ . Just like any other file converters, it is not perfect and the converted file may have some issues.
Another method is to enable Microsoft Office XP, 2003, or 2007 to open the Open Office files. This can be done by downloading and installing the converter from http://odf-converter.sourceforge.net/ . Just like any other file converters, it is not perfect and the converted file may have some issues.
Wednesday, December 5, 2012
SSHIPUP - Command Line program to read WAN IP Address
This is a useful command line program created by Scott Botterud. It can be used to determined the WAN IP address and export it to a text file.
3/17/2003
SSHIPUP by Scott Botterud scott@info-techs.com
The latest version can be downloaded from: http://www.info-techs.com/download.shtml
SSHIPUP (Secure SHell IP UPloader) is a freeware command line utility that tracks your Cable Modem or DSL WAN IP address (also known as the external IP address). If your broadband connection gets issued a new IP addres SSLIPUP detects the new IP and uploads an HTML file via SSH to your web site and optionally sends an email with the new IP address. Runs on Windows 95/98/ME/NT/2000/XP.
SSHIPUP will perform the following functions:
1) Determine your WAN (Wide Area Network)IP address. If you are running a router (such as Linksys) which performs NAT (Network Address Translation) you are most likely assigned a CLASS C IP address via the routers DHCP (Dynamic Host Control Protocol) server, typically someting like 192.168.1.105. The IP of your Cable Modem or DSL is "someting" different. WANIPUP determines your WAN (or external) IP address. Knowing this address is useful for games, internet telephones, NetMeeting, pcAnywhere, running a Web or FTP server in house, and a whole lot more.
2) Post your IP address to a web page via SSH (Secure SHell) along with what may be other valuable information. With ever increasing Interent security concerns, more and more system administrators are turning off their FTP servers and opting instead to use SSH. Programs such as:
In the past we used to use programs such as:
3) Keep track of your IP address history. This is useful for knowing what your ISP (Internet Sevie Provider) is doing for (or to) you. It is also useful for pcAnywhere users, as you know the range of IP address to search when attempting to connect remotely.
4) Optionally send you (and/or anyone else) an email notification that your IP address has changed and what the new IP is.
5) SSLIPUP can be manually initiated, run on startup, or, the recommended method, automated to periodically check your IP address and update the web site file along witt optionally sending an email notification of the new IP address.
INSTALLATION INSTRUCTIONS:
Getting SSHIPUP working takes 5 steps:
1) Create a folder and copy all the files from SSHIPUP???.ZIP into that folder. This can be on a local or network drive. For this document we are going to set up the program in a directory called SSHIPUP on the C: drive, so copy all files into the C:\SSHIPUP directory.
There is a possible security issue that needs to be consider. The SSHIPUP.BAT file contains the plain test username and password to your web site. Placing this on a server or a shared location poses a possible security issue. The username and password are encrypted before being sent across the interent.
2) UPLOAD YOURIP.SHTML TO YOUR WEB SERVER:
All program required to get SSHIPUP working are included in this distribution. A possible stumbling block is your web server must have SSI (Server Side Includes) enabled. To see if your server has SSI enabled, upload the file called VARIABLES.SHTML (which is included in this distribution) to your web server and bring it up on a browser. VARIABLES.SHTML is a list of all available environment variables. Some servers depending on what version of LINUX, UNIX, or (God help you) Windows will honor or not honor certain variables. To see a sample output from my server goto: If your server has SSI enabled you will see a variety of output in the right column. If SSI is not enabled the right column will be blank. If you do not have SSI, request your system administrator to enable it. Instructions for enabling SSI can be found at: In the event your system administrator is unwilling (or unable) to allow SSI on your server, and there is no other way for you to get YOURIP.SHTML going, you can use our server (please don't abuse this):
3) MODIFY FILES:
Three files need modification: SSHIPUP.BAT, 1.HTML and 3.HTML
SSHIPUP.BAT - This file is heavily commented so it will not be covered here.
1.HTML - This is the first of four parts that constitute the final MYIP.SHTML file that SSHIPUP creates.
4) SET UP EMAIL NOTIFICATION (Optional): As an option, Email can be generated to notify of a new IP address. If you don't need this, simply REM out the POSTIE.EXE line in SSHIPUP.BAT. If you want this feature, download POSTIE from:
5) AUTOMATING THE PROCESS:
Once you are convinced the SSHIPUP process is working correctly there are two (possibly more) ways to automate process:
TROUBLESHOOTING:
The first time SSHIPUP runs, it needs to create some files for future use. These files are dynamically created:
Since batch files are designed to run and terminate, they can be frustrating to troubleshoot. Putting some well located PAUSE statments in SSHIPUP.BAT can allow you to see what is going on. Another method is to capture the program output to a file and then review it. To do this use:
BUGS:
If you believe you have found a bug, have a suggestion, or an enhancment please email me! The latest version can be downloaded from my web site:
COST:
This program is distributed as Freeware. All the programs used in this program are availalbe as Freeware.
REVISION HISTORY:
5/30/2003: Release version 1.06
3/17/2003: Initial non-beta release of version 1.04.
PROGRAM COMMAND LINE ARGUMENTS AND SWITCHES:
3/17/2003
SSHIPUP by Scott Botterud scott@info-techs.com
The latest version can be downloaded from: http://www.info-techs.com/download.shtml
- What is SSHIPIP?
- Insallation Instructions
- Troubleshooting
- Bugs
- Freeware
- Revision History
- Program command line switches
SSHIPUP (Secure SHell IP UPloader) is a freeware command line utility that tracks your Cable Modem or DSL WAN IP address (also known as the external IP address). If your broadband connection gets issued a new IP addres SSLIPUP detects the new IP and uploads an HTML file via SSH to your web site and optionally sends an email with the new IP address. Runs on Windows 95/98/ME/NT/2000/XP.
SSHIPUP will perform the following functions:
1) Determine your WAN (Wide Area Network)IP address. If you are running a router (such as Linksys) which performs NAT (Network Address Translation) you are most likely assigned a CLASS C IP address via the routers DHCP (Dynamic Host Control Protocol) server, typically someting like 192.168.1.105. The IP of your Cable Modem or DSL is "someting" different. WANIPUP determines your WAN (or external) IP address. Knowing this address is useful for games, internet telephones, NetMeeting, pcAnywhere, running a Web or FTP server in house, and a whole lot more.
2) Post your IP address to a web page via SSH (Secure SHell) along with what may be other valuable information. With ever increasing Interent security concerns, more and more system administrators are turning off their FTP servers and opting instead to use SSH. Programs such as:
- WinSCP - SSH File transfer program http://winscp.vse.cz/eng/
- PuTTY - SSH Telnet program http://www.chiark.greenend.org.uk/~sgtatham/putty/
In the past we used to use programs such as:
- IP Poster for Linksys Router (http://www.omconsults.com/ipposter.htm)
- Keep Me Posted (http://www.elegantlogic.com/KeepMePosted/Default.htm)
3) Keep track of your IP address history. This is useful for knowing what your ISP (Internet Sevie Provider) is doing for (or to) you. It is also useful for pcAnywhere users, as you know the range of IP address to search when attempting to connect remotely.
4) Optionally send you (and/or anyone else) an email notification that your IP address has changed and what the new IP is.
5) SSLIPUP can be manually initiated, run on startup, or, the recommended method, automated to periodically check your IP address and update the web site file along witt optionally sending an email notification of the new IP address.
INSTALLATION INSTRUCTIONS:
Getting SSHIPUP working takes 5 steps:
- Unpack the archive files from SSHIPUP???.ZIP
- Upload YOURIP.SHTML to your web server.
- Modify files to meet your configuration needs.
- Set up Email notification.
- Automate the SSHIPUP process (optional).
1) Create a folder and copy all the files from SSHIPUP???.ZIP into that folder. This can be on a local or network drive. For this document we are going to set up the program in a directory called SSHIPUP on the C: drive, so copy all files into the C:\SSHIPUP directory.
There is a possible security issue that needs to be consider. The SSHIPUP.BAT file contains the plain test username and password to your web site. Placing this on a server or a shared location poses a possible security issue. The username and password are encrypted before being sent across the interent.
2) UPLOAD YOURIP.SHTML TO YOUR WEB SERVER:
All program required to get SSHIPUP working are included in this distribution. A possible stumbling block is your web server must have SSI (Server Side Includes) enabled. To see if your server has SSI enabled, upload the file called VARIABLES.SHTML (which is included in this distribution) to your web server and bring it up on a browser. VARIABLES.SHTML is a list of all available environment variables. Some servers depending on what version of LINUX, UNIX, or (God help you) Windows will honor or not honor certain variables. To see a sample output from my server goto: If your server has SSI enabled you will see a variety of output in the right column. If SSI is not enabled the right column will be blank. If you do not have SSI, request your system administrator to enable it. Instructions for enabling SSI can be found at: In the event your system administrator is unwilling (or unable) to allow SSI on your server, and there is no other way for you to get YOURIP.SHTML going, you can use our server (please don't abuse this):
The YOURIP.SHTML file looks like: <!--#echo var="remote_addr" -->An SSI enabled web server will process the variable and report back your WAN IP address. Please note that the page must have an .SHTML extension (not .HTML or .HTM) for the SSI to be processed. The only exception to this rule is if your system administrator is using the XBitHack directive, which is not recommended due to performance issues it creates.
3) MODIFY FILES:
Three files need modification: SSHIPUP.BAT, 1.HTML and 3.HTML
SSHIPUP.BAT - This file is heavily commented so it will not be covered here.
1.HTML - This is the first of four parts that constitute the final MYIP.SHTML file that SSHIPUP creates.
<HTML> <HEAD> <TITLE>WAN IP Address</TITLE> <--- What shows up in the browsers Title bar </HEAD> <BODY> <CENTER> <HR> My Cable Modem/DSL IP address is: <--- The first line displayed before your WAN IP address <BR>3.HTML - This is the third of four parts that constitute the final MYIP.SHTML file that SSHIPUP creates.
<BR> <HR> Your IP address is: <BR> <!--#echo var="remote_addr" --> <HR> <A HREF="http://www.yourwebsite.com">yourwebsite.com</A> IP address is:<BR><!--#echo var="SERVER_ADDR" --> <BR> <HR> <!--#config timefmt="%A %B %e, %Y at %R" -->IP Address Last Updated on: <!--#echo var="LAST_MODIFIED"--> <BR> <BR> </CENTER> IP Address History:<BR>You need to modify http://www.yourwebsite.com and yourwebsite.com to reflect your web site name.
4) SET UP EMAIL NOTIFICATION (Optional): As an option, Email can be generated to notify of a new IP address. If you don't need this, simply REM out the POSTIE.EXE line in SSHIPUP.BAT. If you want this feature, download POSTIE from:
- http://info-techs.com/download.shtml An older Freeware version of POSTIE for Windows.
- http://www.infradig.com/download.shtml POSTIE Personal Edition WIN32 (500Kb) (Shareware).
5) AUTOMATING THE PROCESS:
Once you are convinced the SSHIPUP process is working correctly there are two (possibly more) ways to automate process:
- Place a shortcut to SSHIPUP.BAT to your startup folder so every time the computer starts SSHIPUP runs. To create a shortcut open Windows Explorer, navigate to the SSHIPUP.BAT file and right click on the file. Select "Create Shortcut". Copy the newly created "Shortcut to sshipup.lnk" to your startup folder.
- Run WinCRON in the background so SSHIPUP runs periodically. This is the recommended method. WinCRON is a Freeware program that is not included in this distrubution. It can be downloaded from: info-techs.com/download.shtml. Windows includes the AT command but we have found this to be unreliable.
TROUBLESHOOTING:
The first time SSHIPUP runs, it needs to create some files for future use. These files are dynamically created:
newip.txt - Created by GRABURL.EXE - contains your WAN IP address history.txt - The history file of your IP address myip.shtml - The file to be uploaded temphist.txt - A temporary history file necessary for processing tmp.txt - A temporary history.txt file necessary for processing oldip.txt - the old IP file used by FC.EXE to compare to NEWIP.TXTCheck that these files exist and verify the contents.
Since batch files are designed to run and terminate, they can be frustrating to troubleshoot. Putting some well located PAUSE statments in SSHIPUP.BAT can allow you to see what is going on. Another method is to capture the program output to a file and then review it. To do this use:
- SSHIPUP.BAT>output.txt
BUGS:
If you believe you have found a bug, have a suggestion, or an enhancment please email me! The latest version can be downloaded from my web site:
COST:
This program is distributed as Freeware. All the programs used in this program are availalbe as Freeware.
REVISION HISTORY:
5/30/2003: Release version 1.06
- Distribution 1.05 did not include the DATETIME.COM program. Sorry about that!
- Include latest version of DATETIME version 5.0. Many thanks to Elmar Hanlhofer.
- LINE 77: Changed
COPY /B datetime.txt+2.html+break.html history.txt
to
COPY /B datetime.txt+newip.txt+break.html history.txt - LINE 84: Changed
COPY /B 1.html+2.html+3.html+history.txt+4.html myip.shtml
to
COPY /B 1.html+newip.txt+3.html+history.txt+4.html myip.shtml - Stripped out all the HTML code of YOURIP.SHTML to make just the IP address be downloaded instead of all the HTML code:
3/17/2003: Initial non-beta release of version 1.04.
PROGRAM COMMAND LINE ARGUMENTS AND SWITCHES:
COMMAND LINE SWITCHES FOR PuTTY: PuTTY Secure Copy client Release 0.53b Usage: pscp [options] [user@]host:source target pscp [options] source [source...] [user@]host:target pscp [options] -ls user@host:filespec Options: -p preserve file attributes -q quiet, don't show statistics -r copy directories recursively -v show verbose messages -load sessname Load settings from saved session -P port connect to specified port -l user connect with specified username -pw passw login with specified password -1 -2 force use of particular SSH protocol version -C enable compression -i key private key file for authentication -batch disable all interactive prompts -unsafe allow server-side wildcards (DANGEROUS) COMMAND LINE SWITHCES FOR GRABURL: graburl 1.05 Copyright (C) 1996-1998 Kiraly Enterprises All Rights Reserved. Usage: graburl [-h] [-a] [-9] URL [URL [...]] Supports URLs of the form: [http://]site[:port][/path] -h retrieve HTTP headers only -a transfer in ASCII mode -9 use HTTP/0.9 protocol Examples: graburl http://www.sun.com graburl -h www.sun.com graburl www.sun.com:80/index.html COMMAND LINE SWITCHES FOR FC.EXE: usage: fc [/a] [/b] [/c] [/l] [/lbNN] [/w] [/t] [/n] [/NNNN] file1 file2 /A Abbreviates the output of an ASCII comparison. Instead of displaying all the lines that are different, FC displays only the first and last line for each set of differences. /C Ignores the case of letters. /L Compares the files in ASCII mode. FC compares the two files line by line and attempts to resynchronize the files after finding a mismatch. This is the default mode for comparing files that do not have extensions of .EXE, .COM, .SYS, .OBJ, .LIB, or .BIN. /LBn Sets the number of lines for the internal line buffer. The default length of the line buffer is 100 lines. If the files being compared have more than this number of consecutive differing lines, FC cancels the comparison. /N Displays the line numbers during an ASCII comparison. /T Does not expand tabs to spaces. The default behavior is to treat tabs as spaces, with stops at each eighth character position. /W Compresses white space (tabs and spaces) during the comparison. If a line contains many consecutive spaces or tabs, the /W switch treats these characters as a single space. When used with the /W switch, FC ignores (and does not compare) white space at the beginning and end of a line. /nnnn Specifies the number of consecutive lines that must match before FC considers the files to be resynchronized. If the number of matching lines in the files is less than this number, FC displays the matching lines as differences. The default value is 2. /B Compares the files in binary mode. FC compares the two files byte by byte and does not attempt to resynchronize the files after finding a mismatch. This is the default mode for comparing files that have extensions of .EXE, .COM, .SYS, .OBJ, .LIB, or .BIN. COMMAND LINE SWITCHES FOR DATETIME.COM: datetime PLOP DateTime v5.0 Coded by Elmar Hanlhofer http://plop.at datetime [string] output of date and time + string !d day number !D Weekday !m month number !y year 2digits !Y year 4digits !b month name (Jan, Feb,...) !B full month name (January, February,...) !H hour !M minute !S second !h hundrets of second !r return !n new line for windows style use !r!n for return for unix style use !n only Examples: datetime Today is !D !d/!m/!y Time: !H:!M output is: Today is Sun 27/10/02 Time: 16:00 write into a file: datetime !d/!m/!y > date.txt EOF
By Scott Botterud scott@info-techs.com
Friday, November 16, 2012
Food Poisoning
Poliklinik's medicine for stomach upset and diarrhea didn't help much during the first day and my condition become worst on the morning of the third day. Fortunately, my dad came with the activated charcoal pills from a local pharmacy, to reduce the toxic in my stomach. He also gave me the Loperamide Hydrochloride 2mg to control the diarrhea. It works within a few hours. Otherwise, I'll be dehydrated due to the loss of body fluid and electrolytes (sodium). I'd really want to thank my dad and wish him a wonderful and happy birthday today, though our celebration for him will be on tomorrow, Saturday :)
Wednesday, August 8, 2012
LogMeIn – Enabled but Offline
Recently I had an issue adding a HP ProLiant ML110 G7 server. After installing LogMeIn on the Windows Server 2003, it started fine but showed the error
“LogMeIn – Enabled but Offline”
After going into Options and Connections and Events in LogMeIn I found by the following error
“Failed to connect to web gateway: The data is invalid. (13) 77.242.193.141:80/websvr – SSL Cert Error …………….. Connecting to the web gateway control.app104.logmein.com:80…”
Solution: The time and date was wrong and this means that LogMeIn client could not authentication via SSL with the LogMeIn Server. I changed the Data and Time and this resolved the issues
“Failed to connect to web gateway: The data is invalid. (13) 77.242.193.141:80/websvr – SSL Cert Error …………….. Connecting to the web gateway control.app104.logmein.com:80…”
Solution: The time and date was wrong and this means that LogMeIn client could not authentication via SSL with the LogMeIn Server. I changed the Data and Time and this resolved the issues
Subscribe to:
Posts (Atom)

