2010年10月26日 星期二

Linux Commands - iproute2

Use ip command to set the ip address

show the ip address eth0
# ip addr | grep eth0
2: eth0: mtu 1500 qdisc pfifo_fast qlen 100
0
inet 20.20.20.1/24 brd 20.20.20.255 scope global eth0
inet 10.0.0.1/24 brd 10.0.0.255 scope global eth0:0

reset the ip-address
# ip addr flush dev eth0

show the ip address eth0
# ip addr | grep eth0
2: eth0: mtu 1500 qdisc pfifo_fast qlen 100
0

set the ip-address eth0
# ip addr add 10.0.0.1/24 brd + dev eth0

show the ip address eth0
# ip addr | grep eth0
2: eth0: mtu 1500 qdisc pfifo_fast qlen 100
0
inet 10.0.0.1/24 brd 10.0.0.255 scope global eth0

Linux timestamp

Show/Translate Unix like timestam/human-readable-characters
http://www.epochconverter.com/

2010年10月10日 星期日

packet genrator program

List all the packet genrator program can running on the Windows XP.
* netool31 (japanese)
* Npg1.3.0
* engage packet builder (recommented)
http://www.engagesecurity.com/products/engagepacketbuilder/

* ColaSoft packet builder
http://www.colasoft.com/packet_builder/

Source Insight experience

If some data/function was not referenced in the viewing pages, we can press the following button to reload the whole project.
Project -> Synchronize Files -> Force all files to be re-parsed -> OK
Then the symbol table of whole project will be reload to reflect the accurate situations.


If we want to change the font size of viewing screen, we can select Options --> Document Options --> Screen Fonts. And there we can change the font size to favorite one.