Archive for February, 2013

Starting a Program at Boot-time

February 9, 2013

First step is to become root. One of the following should do

sudo su
ssh root@localhost

Next step is to copy the skeleton service:

cp /etc/init.d/skeleton /etc/init.d/SERVICENAME

Then update the copy to make sure that the variables DESC, NAME, DAEMON, DAEMON_ARGS, PIDFILE, and SCRIPTNAME are correct:

nano /etc/init.d/SERVICENAME

Then depending on distribution run one of the following (first is for debian, last is for redhat):

update-rc.d SERVICENAME defaults
chkconfig SERVICENAME on

Advertisements

MSP-FET430UIF on Debian Testing

February 7, 2013

Connecting the TI MSP-FET430UIF (a msp430 programmer) to a box running debian testing will not result in a device being created. This is caused by a missing firmware file (ti_3410.fw).

Download it from here (local copy here) and place it in the /lib/firmware directory. Then reconnect the FET430 and the port should show up.

Found the fix here.