Sunday, October 31, 2010

How to configure ADSL router

Well, I moved to ADSL from this week. It is the first time that I configured ADSL router. Here is my experience with it. My router is DLink DSL 2540T.

1. Connect the router using Ethernet cable.
2. Type IP address 192.168.1.1 on the web browser.
3. Enter default user name and password as "admin".
4. Then you will get to the router configuration page. In this set-up page, go on following configurations.
-> Router type = PPPoE
-> Virtual Path Identifier(VPI) = 8
-> Virtual Circuit Identifier(VCI) = 35
5. Enter your ADSL user name and password.
6. Applu "FInish" and wait until router get restart.
7. That's all !

Monday, October 25, 2010

The value of the "tick"

Do you ever believe that the simple "tick" mark costs Rs: 577/= ? Yes. It is...... :-(
I made a request to take new ADSL connection to our home last saturday @ Kurunegala Teleshop. Because, now I'm using dialup connection and tired enough.
In the ADSL application form, there is a field for asking "Instrument installation by SLT" and under that, with small letters "If SLT surpport is not required, tick here". So I simply leave the box without "tick" it.
In such forms, "not" logic is not preferred as much. I can remember, one such case with "not" logic went to court to asking for legal action. Here my tourt of nigligence is there, but anyway it will make me to pay 577/= as labour cost ! I can install ADSL routher by my self.
Today morning, I called to Telecom regional office and ask to not taking this surpport. I'm lucky and thanks for the slowness of work in telecom, my ADSL request is not process yet ! Oh..... Thanks GOD ..... :-)

Sunday, October 17, 2010

Emacs - Keyboard functions

Emacs is one of the best software system that can use for text based operations. More details can be found here.
Anyway, I was summarized control keys for my use.
Note:

"M" for ALT key and "C" for CTRL key in the key board.

---------------------------------------------
C-v = move forward by page
M-V = move backward by page
C-l = Center the cursor
--------------------------------------------

C-p = previous line
C-n = next line
C-f = forword by character
C-b = backword by charactor
--------------------------------------------

M-f = forword move by word
M-b = Backword move by word
--------------------------------------------

C-a = Move to begining of line
C-e = Move to end of line
M-a = Move to begining of sentence
M-e = Move to end of sentence
--------------------------------------------

M-< = To bigining of the document
M-> = To end of the document
--------------------------------------------

C-u 8 C-f = Move by 8 charactors
C-u 8 C-v = Move by 8 lines
--------------------------------------------

C-g = cancel previous commands
--------------------------------------------

C-x 1 = Maximize current window
--------------------------------------------

C-u 8 * = Insert 8 "*" marks
--------------------------------------------

C-d = delete char after the curser
M- = Kill the word before curser
M-d = Kill the word after cursor
C-k = kill by the end of line
M-k = Kill by the end of Sentence
--------------------------------------------

C- --> Move to other end --> C-w = kill the marked area
--------------------------------------------

C-y = paste the last killed text in current curser position
M-y = replace the pasted text with before last kill
--------------------------------------------

C-x u = Undo. Can use repititive way
C-_ = Same as undo
--------------------------------------------

C-x C-f = Find a file
C-x C-s = Save the file
C-x C-c = Save changes and kill Emacs
C-z = Suspend Emacs temparaly and go to Shell. Resume by "fg"
--------------------------------------------

C-x C-b = List all buffers
C-x b = switch between buffers
C-x s = save buffers (Ask)
--------------------------------------------

M-x = Run commands
Ex: Replace String:
M-x repl s
--------------------------------------------

M-x recover file
--------------------------------------------

M-x text mode --->> Mode change commands
--------------------------------------------

C-s = search -> type word -> When again press C-s -> Goto Next
--------------------------------------------

C-x 2 = split window by 2
C-M-v = Scroll the second window
C-x o = Move cursor to sencon window wise visa
C-x 4 C-f = open different file in second window
--------------------------------------------

= Recursive mode escape
--------------------------------------------