Tuesday, February 23, 2010

How to Enable Vertical Scrollbar on Google Talk

By default the vertical scrollbar is not enabled on Google Talk. To enable it all you have to do is to perform a click. Let me show you where to do the click.


Google Talk Default View [Click image to zoom]

You will see there is an option named 'View' at the bottom of the Google Talk window. Click it. A pop menu will be unfolded as shown in image below.


Google Talk View Menu [Click image to zoom]

Now untick "Show one page".

Hola! A scrollbar is enabled instantly.


Google Talk Scrollbar Enabled [Click image to zoom]

Still not cool enough?! Use Google Talk from today coz you might hate ads on cool IM softwares!

Saturday, February 20, 2010

Connecting to yahoo messenger / being online on yahoo using Google Talk (including facebook, jabber etc)

Here are the instructions to follow be able to connect to yahoo messenger from Google Talk
  • Download PSI from sourceforge project link given below:
           http://sourceforge.net/projects/psi/

    Or download directly PSI 0.14 from here.

    Now run PSI.

  • Click General Menu and then account setup. A dialogbox like one shown in the image below will appear.

    Click image to zoom

  • Another dialogbox will appear.


    Click image to zoom

    Click Add. Give a name of the account for example “Google Talk”.


    Click add

  • Type your gmail address in jabber id box and gmail password in the password box. And check all tick-boxes beneath. Remember you will use this gmail account to sign in using Google Talk after we are done.


    Click image to zoom

    Click save. Click close.

  • The account will be added and displayed in the PSI roaster(Main window). Right click the account and set the status as online.


    Click image to zoom

    Your gmail/google account will be online within seconds.
The magic part starts here.
  • Right click your account. Click service discovery.

    Click image to zoom

  • A new window will open usually with 2 error dialog boxes. Eliminate them clicking ok. Now on address box type one of the following addresses of yahoo transports.

    jaim.at
     yahoo.fsinf.at
     yahoo.jabber.earth.li
     syndicon.de
     silper.cz
     pluser.ru
     phcn.de
     na-di.de
     jid.pl
     jabme.de
     jabberim.de
     jabber.planetteamspeak.com
     jabber.fsinf.at
     jabber.hot-chilli.net
     jabber.kg
    
     [Last checked: February 2010]
    

    and then hit enter.


    Click image to zoom

  • A list of transports will be displayed on the window. Right click one of the yahoo transport on that list. If the register option is grayed wait a while. If still does not work a cross sign appears use other server.


    Click image to zoom

  • A login dialog box will be opened. Enter your yahoo id and password. Remember only yahoo id not the full email address(except for ymail.com, rocketmail.com etc domains). Then click register.


    Click image to zoom

  • A registration successful box can appear. Just click ok. Close service discovery window. On PSI main window yahoo account will be added.

  • Meanwhile some notifications will come. Click on the text on the bottom saying 1(can be more) event received. Notification window will open.


  • Click add/auth to confirm the addition of the selected yahoo transport and then close. You have to confirm addition of your friend list same way from event notifications as they will be displayed automatically.

Now you are online on yahoo and google talk same time. Just quit PSI and start google talk you will see your yahoo friends on Google Talk. As you are done you can uninstall PSI if you wish but you might want to keep to play with it more.

For help with setting up hotmail/live account on Google Talk follow here.
      http://sa-os.blogspot.com/2010/02/connecting-to-msn-using-google-talk.html

Note in the same way selecting different kind of transports you can be online with facebook, jabber etc services. However if you face problems with certain transport use some other transport.

Without having rough fights with one another if every IM company would have followed one standard that could be much better. I see good future of xmpp. If anyone build an IM soft/client they should make it compatible with xmpp.

And screw you yahoo for your compatibility problems on xmpp.


Related Links
      List of xmpp servers
            http://www.jabberes.org/servers/
            http://www.jabber.org/network/
            http://xmpp.org/services/

      Google Talk News
            http://googletalk.blogspot.com

      Google Talk Download
            http://dl.google.com/googletalk/googletalk-setup.exe

Connecting to MSN using Google Talk / being online with msn/live account on Google Talk

Is there a built in option in Google Talk to connect MSN/Yahoo/Jabber?
No.

So how do we connect them through?
We need to do a little hack. This is possible because Google Talk is built on xmpp (Extensible Messaging and Presence Protocol). If an xmpp server connects yahoo/msn/facebook chat etc as an intermediate wth Google Talk that works fine. But there is no option to manage xmpp/jabber accounts in Google Talk. So to make things work we will use a good xmpp client software named PSI.
  • Download it from sourceforge project link given below:
           http://sourceforge.net/projects/psi/

    Or download directly version 0.14 from here.

    Now run PSI.

  • Click General Menu and then account setup. A dialogbox like one shown in the image below will appear.

    Click image to zoom

  • Another dialogbox will appear.


    Click image to zoom

    Click Add. Give a name of the account for example “Google Talk”.


    Click add

  • Type your gmail address in jabber id box and gmail password in the password box. And check all tick-boxes beneath. Remember you will use this gmail account to sign in using Google Talk after we are done.


    Click image to zoom

    Click save. Click close.

  • The account will be added and displayed in the PSI roaster(Main window). Right click the account and set the status as online.


    Click image to zoom

    Your gmail/google account will be online within seconds.
The magic part starts here.
  • Right click your account. Click service discovery.

    Click image to zoom

  • A new window will open usually with 2 error dialog boxes. Eliminate them clicking ok. Now on address box type one of the following addresses of msn transports.

    jabber.dk
     prolly.org
     schokokeks.org
     netmindz.net
     lethyro.net
     jabberd.eu
     jabber.yeahnah.co.nz
     jabber.workaround.org
     jabber.tcweb.org
     jabber.sk
     jabber.snc.ru
     jabber.scunc.net
     jabber.bluendo.com
     jabber.anywise.com
     headcounter.org
     gajim.org
     jaim.at
     draugr.de
     chrome.pl
     jabber.org.by
     syndicon.de
     silper.cz
     pluser.ru
     phcn.de
     na-di.de
     jid.pl
     jabme.de
     jabberim.de
     jabber.planetteamspeak.com
     jabber.fsinf.at
     jabber.hot-chilli.net
     jabber.kg
     
     [Last checked: February 2010]
    

    and then hit enter.

    Click image to zoom

  • A list of transports will be displayed on the window. Right click one of the msn transports on that list. If the register option is grayed try the next msn transport.


    Click image to zoom

  • A login dialog box will be opened. Give your hotmail or msn live full email address on the username box and respective password on password box. And then click register.


    Click image to zoom

  • A registration successful box can appear. Just click ok. Close service discovery window. On PSI main window msn account will be added.

  • Meanwhile some notifications will come. Click on the text on the bottom saying 1(can be more) event received. Notification window will open.


    Click image to zoom

  • Click add/auth and then close. You have to confirm addition of your friend list same way from event notifications as they will be displayed automatically.

Now you are online on live id/hotmail and google talk same time. Just quit PSI and start google talk you will see your msn/live friends on Google Talk. As you are done you can uninstall PSI if you wish but you might want to keep to play with it more.

For help with setting up yahoo/facebook/jabber etc accounts on Google Talk follow here.
      http://sa-os.blogspot.com/2010/02/connecting-to-yahoo-messenger-being.html


Related Links
      List of xmpp servers
            http://www.jabberes.org/servers/
            http://www.jabber.org/network/
            http://xmpp.org/services/

      Google Talk News
            http://googletalk.blogspot.com

      Google Talk Download
            http://dl.google.com/googletalk/googletalk-setup.exe

Thursday, February 11, 2010

Configure Broadband Internet Connection on Solaris

You have to follow some procedural steps as provided below:
  • login as root. You can use vi or other editor to modify files but be careful because you have the root previlege you can damage the system without having a notification.

  • Enter your PC's ip address in /etc/hosts. For example, after adding
    the last line my /etc/hosts look like:


    127.0.0.1       localhost 
    ::1     localhost 
    10.8.18.15      arncorp.net     loghost

  • Write the your default gateway ip address to /etc/defaultrouter file.

    # echo defaultGatewayAddress > /etc/defaultrouter 

    My /etc/defaultrouter looks like:

    10.8.18.21 

  • Write dns server information to /etc/resolv.conf

    # echo nameserver nameserverAddress1 > /etc/resolv.conf
    # echo nameserver nameserverAddress2 >> /etc/resolv.conf

  • Enter netmasks info on /etc/netmasks. For example, I have added this line to /etc/netmasks:

    10.8.0.0        255.255.255.0

  • In the file /etc/nssswitch.conf modify the enty for hosts to "file dns" from "file" so that system resolves dns internally.

  • Start your dns client if it is disabled.

    svcadm enable dns-client

Wednesday, February 3, 2010

Installing OS161 on Solaris 10 x86

This post applies to Solaris 10 and later releases (x86) and for the old packages of os161.

As it is said that there's too much linuxism in the code of os161 I could not find a relevant Solaris Package for os161. So I had to install os161 on Solaris from this old package source.

So first of all you have to download this source package of os161.

   - cs161-binutils-1.4 
   - cs161-gcc-1.4-2 
   - cs161-gdb-1.4-2 
   - sys161-1.12-2 
   - os161-1.11 

We have to solve an incompatibility problem.

Existing incompatibility in packages,

/usr/bin/awk
/usr/ccs/bin/make

Let's rename them.

mv /usr/bin/awk /usr/bin/tawk 
mv /usr/bin/nawk /usr/bin/awk 

Because nawk is default in Linux and exists with name awk. If you type ls
/usr/bin/*awk on Solaris you will see 3 different packages:

$ ls /usr/bin/*awk
awk 
nawk 
oawk 

Now set gnu make as default make

mv /usr/ccs/bin/make make.orig 
mv /usr/sfw/bin/gmake /usr/sfw/bin/make 

We did this because Solaris make does not work for gnu package. (These are the little difference between Solaris (Unix) and Linux.)

There's another way to use gmake as default. To modify an environmental variable:
    export MAKE=gmake

But this does not work always (maybe it does not totally replace make and in some way goes back sun's make).

Export /usr/ccs/bin and /usr/sfw/bin in PATH variable.

$ export  PATH=$PATH:/usr/ccs/bin:/usr/sfw/bin 

* Extract the packages

$ gunzip ASST0.tar.gz 
$ tar xvf ASST0.tar 
$ gunzip cs161-binutils-1.4.tgz 
$ tar xvf cs161-binutils-1.4.tar 
$ gunzip cs161-gcc-1.4-2.tgz 
$ tar xvf cs161-gcc-1.4-2.tar 
$ gunzip cs161-gdb-1.4-2.tgz 
$ tar xvf cs161-gdb-1.4-2.tar 
$ gunzip sys161-1.12-2.tgz 
$ tar xvf sys161-1.12-2.tar 
$ gunzip os161-1.11.tar.gz 
$ tar xvf os161-1.11.tar.gz 

Fixes

Download the attached support.h in current directory and replace

$ mv ./support.h os161-1.11/sbin/mksfs/support.h

I added some type definitions in the support.h file which were missing for Solaris x86 machines.

Now configure, build and install os161

$ cd cs161-binutils-1.4 
$ ./toolbuild.sh 
$ export PATH=$PATH:$HOME/cs161/bin 
$ cd ../cs161-gcc-1.4-2 
$ ./toolbuild.sh 
$ cd ../cs161-gdb-1.4-2 
$ ./toolbuild.sh 
$ cd ../sys161-1.12-2 
$ ./configure mipseb 
$ make 
$ make install 
$ cd ../os161-1.11 
$ make 
$ cd kern/conf

Configure Fix

Download the attached config in current directory and replace (assuming you
extracted os161 in current directory or you have to cd to the directory that
contain os161-1.11 directory)

$ chmod a+x config
$ mv config os161-1.11/kern/conf/config

In that config file I just changed tr to /usr/xpg4/bin/tr
because it is linux equivalent

Booting the Kernel

$ ./config ASST0 
$ cd ../compile/ASST0 
$ make depend 
$ make 
$ make install 
$ cd ~/cs161/root 
$ cp sys161.conf.sample sys161.conf 
$ ./sys161 kernel-ASST0 

Tips and Tricks

If you have once installed os161 in your Unix or Unix-like operating system just keep a copy of all files. When you re-install Solaris update the path as it was done before and simply copy the files. Then change the ownership of the files and folders using this command as root

# chown -R userName:userGroup /home/userName/cs161 

You have got os161 installed without actually installing the packages. Have fun with Solaris.

Trouble shooting

A common error during building ASST1(for Lab1) is something like this:

$ gmake install 
gmake: cannot create ~/cs161/root

To avoid this error configure should be done using correct PATH prefix.

$ ./configure --ostree=/export/ar/cs161/root

~/cs161/root does not work in Solaris!

And I assure you will have no problem with installing ASST1 in Solaris.