All your post are belong to us

General — Jeff Eske on January 6, 2010 at 1:43 pm

A test post from my new DROID phone

Overcoming Terminal Server “Terminal server has exceeded maximum number of allowed connection” problem

Uncategorized — Jeff Eske on June 26, 2009 at 9:43 am

Since Windows server only gives you 2 remote connections, it’s easy to end up “locked out” of the server.  To overcome that, you can actually use a third remote connection that allows you to get in and kill the other offending connections.

On Linux type:

rdesktop -0 1.2.3.4

where 1.2.3.4 is the ip address of the server that you want to connect to.  Obviously, you need to have rdesktop installed and it should be a fairly recent version.

Mounting an external USB drive from the command line

Uncategorized — Jeff Eske on June 24, 2009 at 11:27 am

The easiest way to mount an external USB drive from the commandline is:

sudo mount -t ntfs-3g /dev/sdc1 /media/red -o umask=0000

This actually sets it up so that’s completely readable/writeable by anyone.

Manually Update Time Via ntpdate

Uncategorized — Jeff Eske on June 24, 2009 at 11:22 am

To update the server time, type:

sudo ntpdate -b pool.ntp.org

Fixing Adding New User to OpenDocMan

Uncategorized — Jeff Eske on June 12, 2009 at 12:10 pm

For me, OpenDocMan wouldn’t allow me to add new users.  It turns out that the SQL query was wrong.  Since the first field, id,  is set as ‘autoincrement’, it’s handled by the database directly, so there should be no reference to it in the query.  It may just be my installation that it doesn’t work on, I don’t know.  Anyway, here’s what I did to get it to work.  You need to remove a couple of things from one of the pages – commitchange.php

Firstly, change $query = “INSERT INTO user (id, username, password,etc.
to read

$query = “INSERT INTO user (username, password,etc.

Notice that id and the comma are removed.

Secondly, change VALUES(”, ‘”. addslashes($_POST[

to read

VALUES( ‘”. addslashes($_POST[

Notice that the single quotes and comma are removed, just after the parentheses.

To Manually Reset the Admin Password in Wordpress

Uncategorized — Jeff Eske on June 12, 2009 at 11:27 am

In case of Brain-fart, use the instructions below to reset the admin password in Wordpress.  It needs to be done through phpMyAdmin, MySQL query browser, or some such place that allows you to run SQL commands.

update wordpress.wp_users
set user_pass = MD5(‘new_password’)
where user_login = ‘admin’

Outlook .pst file locations

Uncategorized — Jeff Eske on June 8, 2009 at 2:45 pm
  • Windows Vista C:\Users\YourUserName\AppData\Local\Microsoft\Outlook\xxx.pst
  • Microsoft Windows XP C:\Documents and Settings\YourUserName \Local Settings\Application Data\Microsoft\Outlook\xxx.pst

Starting LDM Manually

Uncategorized — Jeff Eske on May 28, 2009 at 10:49 am
Logon, su to ldm (sudo su - ldm) and run:

ldmadmin start

If the queue is corrupt, the LDM will freak.  In this case,
do the following:

ldmadmin stop
ldmadmin delqueue
ldmadmin mkqueue
ldmadmin start

It's good to run: ldmadmin watch after that, just to verify that stuff is coming in.

Solving Fetchmailconf problem in Linux Mint 7

Uncategorized — Jeff Eske on May 27, 2009 at 2:57 pm

Binary package hint: fetchmailconf
I installed fetchmailconf via the Package Manager and when I tried to run it, it would error out. Googling the problem revealed the answer…

From: https://bugs.launchpad.net/ubuntu/+source/fetchmail/+bug/371072/+viewstatus

“I have installed fetchmailconf 6.3.9~rc2-4ubuntu1 on Ubuntu 9.04; /usr/bin/fetchmailconf — a shell script to start the real Python script — fails to start because it looks for the real fetchmailconf script in the wrong place.”

/usr/bin/fetchmailconf as installed reads:

#! /bin/sh
exec /usr/bin/python /usr/lib/`pyversions -d`/site-packages/fetchmailconf.py “$@”

Changing “site-packages” to “dist-packages” fixes the problem and allows fetchmailconf to start.

Instructions for using Claris Homepage 3.0 to create forms for Filemaker Pro 4.0

Uncategorized — Jeff Eske on May 27, 2009 at 11:01 am

I would STRONGLY urge you to ditch Claris Homepage and Filemaker for a more robust solution.  If you still insist on using them, this should at least get you started…

Instructions for using Claris Homepage 3.0 to create forms for Filemaker Pro 4.0

1> Make sure that FM Pro 4.0 is running and that the desired database is open and shared.

2> Start Homepage and goto — File: New…

3> Choose “Use Assistant”

4> Choose Filemaker Connection Assistant.

5> Follow the Assistant through.

IMPORTANT NOTES ABOUT THE CONNECTION ASSISTANT

On the Database Selection Screen …

Claris Homepage Connection Assistant

DON’T US “This computer”. It’ll kill CHP, or lock up the computer, OR BOTH. I’ve NEVER gotten it to work successfully.

USE: IP Address= localhost, and then click “Connect to server” button. This should bring up a listing of any open and shared databases.

Layout Selection: Make sure that the layout that you select contains all of the fields that you want to be able to use on your form, because you will select the specific fields used a couple of steps down the road.

Feature Selection: You can select to create both the Search and Add New Records pages at the same time here.

Location: I generally choose to create a New Folder to keep all of the pages together, so that I can easily find them to tweak ‘em to my liking. Also, the possibility exists that there may be other files of the same name that would be overwritten otherwise.

Next Page »
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. | Jeff’s Blog