Jul 28

There are serveral reports that Firefox (as well as Epiphany) is not able to upload files from a network-share on recent versions of Ubuntu. See Bug #279193 for example.

You can solve this by linking your ~/.gvfs directory to the bookmarks in nautilus.

Continue reading »

Jul 01

Integrating Birt Reports into OpenJacob is quite straightforward but note that (at the time of this writing) you need Birt Version 2.5 !

  1. When creating the report’s datasource you have to use the same name you use in your jACOB application. Otherwise jACOB will not be able to use your Report.
  2. Create your report and specify the required parameters.
  3. When having finished your report, upload the .rptdesign file to a document field in your application. (e.g. a config table)
  4. The following code opens the report, hands over a parameter and returns a .pdf
	BirtReport rpt = new BirtReport(cnfrec.getDocumentValue("report"));
	rpt.setParameterValue("mypar", currentRecord.getStringValue("pkey"));
	byte[] barr = rpt.createPDF();
	context.createDocumentDialog(null, "doc.pdf", barr).show();
Jun 07

Whenever you need to talk with a ModBus device, take look at ModPoll. ModPoll runs on virtually any Platform and is able to talk over RS232, RS485 and TCP. The only drawback is that it can only read data (but not write).

The Advantech Adam 6015 has 7 input channels for use with Pt100 and others. You can configure the module using a proprietary Windows Software where you can set the type of thermocouple as well as the module’s IP address. Once the module is available on your network you can create a small bash script to retrieve the values. Continue reading »

Jun 07

Just in case you have a friend that looses the fight against a foreign digicam and accidentially deletes all pictures…….

Then you should be able to give him the link to http://www.cgsecurity.org
Because TestDisk is a outstanding piece of software that is able to recover really almost everything ;-)

May 21

For some reason it may happen in Ubuntu Lucid (10.04) that your USB storage devices aren’t detected anymore.

The indeed _very_ strange solution is to turn off LEGACY FLOPPY SUPPORT in the BIOS setup. If you don’t have such a setting (i.e like my Dell Precision T3400) and don’t have any floppy drive either then try deactivating everything that refers to floppy drives in the BIOS setup.

May 12

A short (one line) script for linux that pings all clients on your network. If using another subnet than 192.168.0 then you have to adjust the numbers.

export i=0;
while [[ $((++i)) -le 254 ]];
do ping -c1 -w1 192.168.0.$i | grep ttl | cut -d " " -f4 | cut -d ":" -f1;
done;

Thanks to snipplr.com

Apr 28

… with Open Source Tools.

There are a lot of companies around that offer GPS car logging solutions. But if you take a closer look on what they offer then you find out that they are not really flexible when you have non standard needs.

The following describes a work in progress. Basically it works as intended but it still has to prove it’s long time stability. Continue reading »

Mar 24

With Open-jACOB 2.9 tarragon-software.com made another big step forward.
The new version contains many many improvements compared to the previous official release like:

  • Tree browser with drag and drop.
  • Radio buttons to select functions.
  • Hideable Forms
  • Enum fields with I18N
  • Tooltips. A combination of error messages and tips on how to correct.
  • Foreign fields as combo box.
  • Breadcrumb control.
  • Single sign on functionality through CAS.
  • Embedded transactions
  • Dynamic changeable forms.
  • Full text search on long text fields.
  • Distinguish between primary and secondary DB’s in multiple databases, dependent on who owns the data.

Installation instructions can be found at openjacob.org

The Java Docs are here.

Feb 04

Dec 08

Building VPN Connections from any Windows client against IPCop running Zerina is actually very straightforward. Doing that from a Ubuntu client is a little bit tricky since ubuntu’s network manager cannot handle Zerina’s .p12 (pkcs) files.

  • Install network-manager-openvpn using synaptic
  • I know it’s not linux style – but do a reboot know – just to insure that all services are running. I had no success with the next steps without rebooting. Or I’ve been too lazy searching for the services that needed a restart.
  • Download the .p12 file from IPCop or ask someone to do it for you.
  • Now you have to extract 3 certificate files out of your .p12 file.

    openssl pkcs12 -nocerts -in (filename).p12 -out userkey.pem
    openssl pkcs12 -nokeys -clcerts -in (filename).p12 -out usercert.pem
    openssl pkcs12 -nokeys -cacerts -in (filename).p12 -out userca.pem

    Or download that script and call it with pkcs2certs.sh your-username.p12 and it’ll create the required files for you.
  • Now place the files into your vpn configuration and make the settings match your zerina configuration (cipher, compression etc.)
preload preload preload

WP SlimStat