User:Bmckown


Contents

Current Projects

Thes are in no particular order.
  1. Clinical_Summary_Module
  2. Form2Program_Module
  3. Complex Obs Branch (See Complex_Obs_Support.)
  4. Backload Data Module.
  5. Support for more than one provider per encounter form.
  6. Backup Mentor for OIP Project: XForms Designer
  7. Mentor for GSoC Project: Registration Module

IU-VPN on Ubuntu 7.10 Gutsy and 8.04 Hardy

Requirements:

  • pppd is installed.
  • l2tpd is not installed.
  • xl2tpd is installed.
  • apparmor is not installed. (So the box is less secure. I can't help that.)
  • openswan binary package is not installed.
  • openswan source code is installed.
  • iu-vpn is installed.
  • gawk, flex, and bison are installed (to compile openswan).

Step 1: Get rid of problem packages.

  • Open Synaptic Package Manager.
  • Search for the following packages and UNINSTALL them COMPLETELY
    • l2tpd
    • openswan
    • apparmor
  • It might be necessary to reboot to be sure that apparmor is NOT installed.
    • Run command "lsmod". If apparmor shows up in the list, Make sure that it has ben uninstalled as described above and then REBOOT linux. Try "lsmod" again. The list should not include "apparmor" anywhere.

Step 2. Install required packages.

  • Open Synaptic Package Manager.
  • Search for the following packages and INSTALL if they are not already:
    • ppp Point-to-Point Protocol Daemon
    • pptp-linux
    • gcc Compiler (I have gcc-4.1 installed. I also have libgcc1 installed.)
    • libgmp3c2 (for compiling OpenSwan)
    • libgmp3-dev (for compiling OpenSwan)
    • gawk (for compiling OpenSwan)
    • bison (for compiling OpenSwan)
    • flex (for compiling OpenSwan)
    • For Ubuntu 8.04 Hardy, install the package for xl2tpd >= 1.1.12.dfsg.1-3

Step 3. Install xl2tpd

Step 4. Install openswan

  • Download openswan-2.4.9.tar.gz
    • Note: The code has changed in some later versions of openswan, so the following patch will not work. Source code from other versions might work without the patch or with a different one. As of 2008-04-13, the 2.4.9 tarball with the following patch works for me in Gutsy and Hardy.
    • $tar -xzvf openswan-2.4.9.tar.gz
  • Apply a "patch" to work around bug with NAT clients.
    • Edit openswan-2.4.9/programs/pluto/ikev1_quick.c
    • Search for the following:
if (!samesubnet(net, &net_temp)
     || *protoid != id->isaiid_protoid || *port != id->isaiid_port)
     {
     loglog(RC_LOG_SERIOUS, "%s ID returned doesn't match my proposal", which);
    return FALSE;
     }
    • Change it so it looks like:
if (!samesubnet(net, &net_temp)
     || *protoid != id->isaiid_protoid || *port != id->isaiid_port)
     {
     loglog(RC_LOG_SERIOUS, "%s ID returned doesn't match my proposal", which);
    return TRUE;
     }
  • Install OpenSwan
    • Install as per the "Userland-only Install for 2.6 kernels" at http://wiki.openswan.org/index.php/Openswan/Install
    • If there are any compilation problems, check to see if libgmp and libgmp are installed as per the openswan README file and per this file in "Step 2".
  • It might be necessary to reboot.
  • Note: For Ubuntu 8.04 Hardy, I tried briefly to use a later OpenSwan, specifically openswan-2.5.17. It did not work for me. So I reverted to applying the patch above to openswan-2.4.9.tar.gz and it worked.

Step 5: Download and install IU VPN Connection script:

Troubleshooting

  • If you still cannot connect, try editing the /etc/network/interfaces file. Maybe comment out everything except the following:
    • First backup the file:
    • $sudo cp /etc/network/interfaces /etc/network/interfaces_backup
    • Then try editing the file:
# leave the following two lines:
auto lo
iface lo inet loopback
# and try commenting out everything else

References

IU-VPN

XL2TPD

OPENSWAN

JavaScript

I'm going to put some things here for me to remember.

  • Error: "Max depth exceeded when dereferencing" - I get this error when I called DWRPersonService within PersonSearch.js.withjstl. This is because I forgot to dereference a tag when I used it as a parameter. Instead of using "myTag.value" I just used "myTag" and received this error message.

IUPUI

My website is still working. Thanks to the CS department at IUPUI. Please check out my cs495 project I finished before graduating. It requires Java Runtime 5, accept pop-ups in the web browser from anvil.cs.iupui.edu, and accept my signed certificate. It is at http://anvil.cs.iupui.edu:18053/osma ... It is an Online Stock Market Analysis. Uses Apache Tomcat with MySQL database (just like OpenMRS). It employs data mining techniques to time series stock market data... so you can see what stocks on the S&P 500 Stock Market Index have performed with similar closing prices over time. Please see instruction pages on the website for more details. :-) The stocks have not been updating correctly since December 14, 2006 because I had to change websites from where I acquired the closing price data. The database contains stock market data from all the way back to January 1, 2005.

About Me

I graduated in Computer Science from IUPUI in December, 2006; and began working at Regenstrief Institute, Inc. with OpenMRS in April, 2007. Prior to that I was a missionary to Central America from 1992 to 1998. I lived in Honduras from 1992-1996 where I was an elementary school teacher at a bilingual school. I lived in Nicaragua from 1996-1998 and worked with an evangelical outreach organization. Afterwards I moved to Indianapolis and worked in the field of health care for Wishard Health Services and IU Medical Group. I am bilingual in English and Spanish. I met my wife, Claudia, in Honduras. We have one son, Oliver, who is eight years old.