Friday, June 10, 2011

toconnect

######127.0.0.1######
%%%%%%8000%%%%%%

Monday, June 14, 2010

Auto update tool

the auto update tool should be as general as possible to cover as big upgrade as possible.

one idea is like that:

1- every 1 hour, check server name from config file.

2- download update package

3- check md5

4- backup current installation using previous version backup script

5- read and execute the upgrade script from the new package

6- wait to check stability.

7- if something wrong delete the current package using uninstall script included in the current package and restore the old package using the restore script in the backup folder

8- how cool is that?

Serial port

serial port device name is different from Ubuntu in kamikaze

serial port hardware is a little different, instead of normal 12v, we have 3.3v 

1- we can use a max232 to fix it and make is a standard port

2- we can use it directly to the circuit ( very difficult to debug)

**3- we can use a temporary converter test circuit, best choice


make a test application for serial port, to see if it works.

we connect the standard output from the test circuit to a PC, test the serial port output if ok.

copy the test function to the client application, check if all ok.

finish client.

To do

Client:
- create daemon auto starter
- add the starter in the init.
- finish auto updater
- make ls_com daem
- make ls_com maintainer &starter daem and put it in init.d
- make image of the the installation
- start beta



- Create auto update tool..done
- fix serial port for interface...done
- test second interface for SMS..later
- build first HSP
- Rent VPS
- Test solution
- Milesotne (beta HSP)

Tuesday, January 20, 2009

Should i keep'em as drafts?

So far i've wrote 15 posts about starting small business,
i'll keep writing as drafts until all is done then i'll publish them once.