Entries filed under Computer

Installing Cygwin sshd

Posted on Sep 24, 2013

From http://pic.dhe.ibm.com/infocenter/tivihelp/v10r1/index.jsp?topic=%2Fcom.ibm.taddm.doc_7.1.2%2FAdminGuide%2Ft_cmdb_installssh2.html

To install Cygwin sshd, complete the following steps:

  1. Download the Cygwin program from the following Web site: http://cygwin.com/
  2. Run the setup program.
  3. Select the packages to install. In addition to accepting the default packages, select the following packages:
    • From the admin category, select cygrunsrv (version 1.17–1 or later).
    • From the net category, select opensshd (version 4.6p 1–1 or later).
  4. When the installation process completes, start the cygwin bash shell.
  5. From your system information, use the cygwin mkpasswd utility to create an initial /etc/passwd. You can also use the mkgroup utility to create an initial /etc/ group. See the Cygwin User’s Guide for more details.

    For example, the following command sets up the password file, passwd, from the local accounts on your system:

    mkpasswd -1 > /etc/passwd
  6. Run the ssh-host-config program setup.
  7. Configure SSH. Answer Yes to all questions.
  8. Start the SSH server by running the following command:
    net start sshd
  9. Open Windows Firewall and allow inbound access to the following file.

Thunderbird failed to send and receive emails after the profile folder was moved

Posted on Sep 24, 2013

Thunderbird could not sending and receiving emails although it kept trying, after my old profile folder was moved to a new location. Error console showed the following message.

Your certificate contains the same serial number as another certificate
issued by the certificate authority. Please get a new certificate containing
a unique serial number. (Error code: sec_error_reused_issuer_and_serial)

For more information, see https://support.mozilla.org/en-US/kb/Certificate%20contains%20the%20same%20serial%20number%20as%20another%20certificate.


Error 1067 in MariaDB on Windows

Posted on Sep 22, 2013

After you change the data directory path in MariaDB, you may see the following error, when you try to restart the DB service.

Error 1067: The process terminated unexpectedly

This is because MariaDB runs as Network Service who does not have read-write access to every directory. To fix the problem, you should either make the directory writable for Network Service or change the user to one that has read-write access to the directory.

TDT-to-Plexon converter, TDT2PLX

Posted on Jun 16, 2013

Many neurophysiology labs use Plexon and TDT. They both are pretty good recording systems, but, for offline spike sorting, somehow people tend to prefer Plexon’s software. Obviously Plexon’s offline sorter does not support TTank, so there is no way to use it, if the raw data was recorded with TDT. This little software I made, TDT2PLX, converts TTank blocks to PLX files so that you can do sorting TDT data with Plexon’s offline sorter. You can also copy the new sortcodes back from PLX to TTank with SortcodeCopy, another utility included. These programs require Visual C++ Redistributable Package for Visual Studio 2013 (vcredist_x86.exe), if it is not already installed on your computer.

Download TDT2PLX_x86.zip (32-bit, 2.42MB)