User:Ankur.verma/Ankur notes: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== Learning is an essentially social process ===
=== Learning is an essentially social process ===


==SMS setup ==

SMS Server tools with playsms

Commands:
/etc/init.d/sms3 stop
vim /var/log/smsd.log

http://smstools.meinemullemaus.de/run.html
http://smstools3.kekekasvi.com/



* Kannel Setup:
* Kannel Setup:
Line 20: Line 33:
* playSMS
* playSMS
http://developer.peanutinc.com/svn/playsms/tags/playsms-0.8.1/web/docs/INSTALL
http://developer.peanutinc.com/svn/playsms/tags/playsms-0.8.1/web/docs/INSTALL
Contact here: http://developer.peanutinc.com/svn/playsms/tags/playsms-0.8.1/web/docs/FAQ


* Apache---SQl--PHP Install
* Apache---SQl--PHP Install
https://help.ubuntu.com/community/ApacheMySQLPHP --Cool
https://help.ubuntu.com/community/ApacheMySQLPHP --Cool


* Motorola Phone receiving problems
http://thread.gmane.org/gmane.linux.drivers.gnokii/5251


== School Server ==
== School Server ==

Latest revision as of 21:53, 16 July 2008

Learning is an essentially social process

SMS setup

SMS Server tools with playsms

Commands:

/etc/init.d/sms3 stop
vim /var/log/smsd.log 

http://smstools.meinemullemaus.de/run.html http://smstools3.kekekasvi.com/


  • Kannel Setup:
http://forums.devshed.com/wap-programming-20/tutorial-for-kannel-newbies-in-suse-10-0-do-this-386978.html
http://julmis.julmajanne.com/index.php/Kannel
  • Apache setup
Follow steps: port no. 80
http://httpd.apache.org/docs/2.2/install.html
  • mysql server setup
http://www.debianadmin.com/mysql-database-server-installation-and-configuration-in-debian-2.html
http://www.howtoforge.com/forums/archive/index.php/t-2148.html
  • gnokii setup
http://www.developershome.com/sms/gnokiiIntro.asp
http://wiki.gnokii.org/index.php/Config
http://www.gnokii.org/docs.shtml Imp for configuration files /etc/gnokiirc and /home/ankur/.gnokiirc
  • playSMS
http://developer.peanutinc.com/svn/playsms/tags/playsms-0.8.1/web/docs/INSTALL
Contact here: http://developer.peanutinc.com/svn/playsms/tags/playsms-0.8.1/web/docs/FAQ
  • Apache---SQl--PHP Install
https://help.ubuntu.com/community/ApacheMySQLPHP  --Cool 


  • Motorola Phone receiving problems
http://thread.gmane.org/gmane.linux.drivers.gnokii/5251

School Server

  • application running on the school server. This app will listen for incoming phone message and then forward this message to one XO connected on the jabber server
  • the main concern for now is to know all the contacts connected. If your app is connected to the jabber server using a classical jabber account then if have to be subscribed to each contacts (be friend with them)

I'm wondering if it wouldn't be best to write a server component instead

  • contact are uniquely identified by their key (and their jabber ID which is a hash of the key) but they are really not human friendly so probably not convenient to be use in phone message
  • nick in jabber nomenclature.
  • be a external app connected to the jabber server using a jabber account (using Gabble)

or a component living in the jabber server what you want to do sounds like a XMPP gateway actually

  • you can't find all the contact connected to the server using a roster account

you'll just find contacts to who you are subscribed which are all the contacts currently because of the shared roster hack but it's crack and we plan to remove it soon, so you shouldn't rely on it

  • If that's an external app connected through jabber it doesn't make any difference if it's run from the server or not

XO

  • For running on OLPC: OLPC you should consider to use presence-service
  • presence-service is a OLPC specific component on top of Telepathy connection managers

OLPC activities are suppose to use it instead of TP API directly (in most cases) see http://wiki.laptop.org/go/Presence_Service_DBus_API (sugar has some wrapper code for easier use)


  • Could you send a mail on sugar ML with olpc@collabora.co.uk in CC explaining what you want to do exactly?


While running sugar how to run Presence Service:

less presenceservice.lo gin ./sugar/default/logs ->>>for knowing Gabble/Salut running?


ps ax|grep telepathy or grep jhbuild


comm

find -type f -name sierra

rpm -ql kernel

git checkpout : updates snapshot to a specific version git clean -d: delete any extra files in snapshot


STEPS

  • Connect to Server
  • Get list and compare against the one in msg.
  • Send XMPP message to it.

Server Side:

Server connection

Client Side:

Application (Activity?) for sending!!!...reosurce shareable over the N/W like py msg!

And on other side,!!


<This page is for rough use by the user>