Format of trace output .tr file:
action
time
from node
to node
type
packet size
flags
fid
source address
destination address
sequence number
packet id
2008年8月13日 星期三
note of installing ns2
On Debian/Linux:
export NS_HOME=~安裝資料夾/ns-allinone-2.31
(設定NS2的主要目錄,以供以下設定使用)
export PATH=$NS_HOME/tcl8.4.14/unix:$NS_HOME/tk8.4.14/unix:$NS_HOME/bin:$PATH
export LD_LIBRARY_PATH=$NS_HOME/tcl8.4.14/unix:$NS_HOME/tk8.4.14/unix:$NS_HOME/o
export TCL_LIBRARY=$NS_HOME/tcl8.4.14/library
驗證
$NS_HOME/NS2-2.31/validate
------------------------------------------------------
For Cygwin:要安裝(補完其它網頁缺漏的)
edit .bashrc(同上)
飯粒檔的位置:
/home/ns-allinone-2.30/ns-2.30/tc
Ref:
http://hpds.ee.ncku.edu.tw/~smallko/ns2/ns2.htm
http://blog.sina.com.cn/s/blog_4a5f138701000bbv.html
sudo apt-get install autoconf automake g++ libxmu-dev makemodify etc/profile:(重要!)
(refer to:http://nsnam.isi.edu/nsnam/index.php/Distribution_Specific_instructions)
cd ns2-allinone-2.31
./install
(會有很多警告,但還是可以過)
export NS_HOME=~安裝資料夾/ns-allinone-2.31
(設定NS2的主要目錄,以供以下設定使用)
export PATH=$NS_HOME/tcl8.4.14/unix:$NS_HOME/tk8.4.14/unix:$NS_HOME/bin:$PATH
export LD_LIBRARY_PATH=$NS_HOME/tcl8.4.14/unix:$NS_HOME/tk8.4.14/unix:$NS_HOME/o
export TCL_LIBRARY=$NS_HOME/tcl8.4.14/library
驗證
$NS_HOME/NS2-2.31/validate
------------------------------------------------------
For Cygwin:要安裝(補完其它網頁缺漏的)
- diff
- gcc
- gcc-g++
- gnuplot
- make
- patch
- perl
- tar
- X-startup-scripts
- xorg-x11-base
- xorg-x11-bin
- xorg-x11-devel
- xorg-x11-bin-dlls
- xorg-x11-bin-lndir
- xorg-x11-etc
- xorg-x11-fenc
- xorg-x11-fnts
- xorg-x11-libs-data
- xorg-x11-xwin
edit .bashrc(同上)
飯粒檔的位置:
/home/ns-allinone-2.30/ns-2.30/tc
Ref:
http://hpds.ee.ncku.edu.tw/~smallko/ns2/ns2.htm
http://blog.sina.com.cn/s/blog_4a5f138701000bbv.html
2008年8月2日 星期六
為什麼還不能完全靠Linux工作?
MSN傳檔案及聯絡人的狀態
- UAs under Linux use old msn protocol
- 我知道已經有人寫好plugin可以改進了,但是還沒有時間去試。
- (2008/9/9 note)
- pidgin-msn-pecan測試成功(Dabian: apt-get intstall; Ubuntu: modify sources.list and apt-get install....官網寫得很清楚)
- 記得修改msn account 的protocol為WLM(有些版本的pidgin不能修改protocol, 那就要砍掉重練…不是啦!是砍掉帳號,重新設定一個新的帳號)
- (可顯示他人的狀態,但不能修改自己的狀態…部分可點對點傳輸檔案,不用經過msn server)
- 有所謂的公用driver嗎?
- ok了!…結果,居然是靠文仁傳給我Fedora上的driver才能成功…怎麼一回事?!
- IE only....無言
2007年11月23日 星期五
2007年11月6日 星期二
2007年9月11日 星期二
簡報技巧
簡報應強調之重點
*簡報,要讓聽者的頭腦能動起來。(請考慮聽者的背景)
(2008/2/12)
有關meeting 簡報
*meeting的意義:讓實驗室的同仁能多方了解與自己研究領域相關的新知或工具,重點在「了解」。
同樣地,簡報的重點不在技術細節,而是讓台下的人能夠跟得上、能夠跟著你的簡報思考。如果能夠給人新的發想,這場簡報對聽者就是值回票價了。
(當然不是說技術細節不重要,但是要用一個一個的範例呈現演說主題的所需的技術範壔。)
所以,為了不要讓自己和台下的人浪費這一個半小時的時間,要認真準備,裨能增進自己邏輯思考能力、簡報能力,和同伴們的知識範圍。
- Motivation
- Problem Definition
- Related Work
- Motivation最重要
- 例子要簡單易懂
ps.可多利用Wireshark查封包、解釋各種現象 - 不要過分強調技術細節
- A picture speaks louder than words.
- 避免一頁有大量的文字
- 少用formula
- 多用examples.figures
*簡報,要讓聽者的頭腦能動起來。(請考慮聽者的背景)
(2008/2/12)
有關meeting 簡報
*meeting的意義:讓實驗室的同仁能多方了解與自己研究領域相關的新知或工具,重點在「了解」。
同樣地,簡報的重點不在技術細節,而是讓台下的人能夠跟得上、能夠跟著你的簡報思考。如果能夠給人新的發想,這場簡報對聽者就是值回票價了。
(當然不是說技術細節不重要,但是要用一個一個的範例呈現演說主題的所需的技術範壔。)
所以,為了不要讓自己和台下的人浪費這一個半小時的時間,要認真準備,裨能增進自己邏輯思考能力、簡報能力,和同伴們的知識範圍。
要記起來的首字縮寫字
3GPP:Third Generation Partnership Project(ETSI)
ARP:Address Resolution Protocol位址查解協定
IMS:IP Multimedia (Sub)system
WiMAX:Worldwide interoperability Microwave Access(Where is X??)
IEEE:Institute of Electrical and Electronic Engeerers
RFC:Request For Comments
SMTP:Simple Mail Transport Protocol
ENUM:
VoIP:Voice over IP( see also :DTMF)
DTMF:Dual Tone Multi-Frequency encoding of numbers(??)
ADSL:Asymmetric Digital Subscriber Line
B2BUA:Back to Back User Agent
UAS:User Agent Server
UAC:User Agent Client
OAM:Operation,Administration and Maintenance
PSTN:Public Switched Telephone Network
PBX:Packet Branch Exchange
ISP:Internet Service Provider
ISDN:Intergrated Services Digital Network
NAT:Network Address Translator (cf:NAPT)
NAPT:Network Address and Port Translation
ALG:Application Layer Gateway
STUN:Simple Traversal Underneath NATs)
TANet:
IETF:Internet Engineering Task Force, the Internet standard body
MIME:Multipurpose Internet Mail Extension Protocol
SIP:Session Initiation Protocol
SDP:Session Description Protocol(simple plain text document,usually in the body of SIP message that describes the capability of an internet end point)(RFC ?)
CSeq:Sequential number of SIP requests within a SIP dialog(the number is used to detect out of order requests and retransmissions)
AP:Access Point
RTP:Real Time Streaming Protocol(Realtime Transport Protocol)
DNS:Domain Name Service
NAPTR:Naming Authority Pointer
SER:SIP Express Router
GNU:?
GPL:General ? License
LDAP:Lightweight Directory Access Protocol
SMS:Simple Message ?
FAQ:Frequently Asked Questions
BELLcore:communication Research
TTL:Time to Live(hop to live)
SIPit:SIP Interoperability Test)
Reference:
http://www.iptel.org/glossary
ARP:Address Resolution Protocol位址查解協定
IMS:IP Multimedia (Sub)system
WiMAX:Worldwide interoperability Microwave Access(Where is X??)
IEEE:Institute of Electrical and Electronic Engeerers
RFC:Request For Comments
SMTP:Simple Mail Transport Protocol
ENUM:
VoIP:Voice over IP( see also :DTMF)
DTMF:Dual Tone Multi-Frequency encoding of numbers(??)
ADSL:Asymmetric Digital Subscriber Line
B2BUA:Back to Back User Agent
UAS:User Agent Server
UAC:User Agent Client
OAM:Operation,Administration and Maintenance
PSTN:Public Switched Telephone Network
PBX:Packet Branch Exchange
ISP:Internet Service Provider
ISDN:Intergrated Services Digital Network
NAT:Network Address Translator (cf:NAPT)
NAPT:Network Address and Port Translation
ALG:Application Layer Gateway
STUN:Simple Traversal Underneath NATs)
TANet:
IETF:Internet Engineering Task Force, the Internet standard body
MIME:Multipurpose Internet Mail Extension Protocol
SIP:Session Initiation Protocol
SDP:Session Description Protocol(simple plain text document,usually in the body of SIP message that describes the capability of an internet end point)(RFC ?)
CSeq:Sequential number of SIP requests within a SIP dialog(the number is used to detect out of order requests and retransmissions)
AP:Access Point
RTP:Real Time Streaming Protocol(Realtime Transport Protocol)
DNS:Domain Name Service
NAPTR:Naming Authority Pointer
SER:SIP Express Router
GNU:?
GPL:General ? License
LDAP:Lightweight Directory Access Protocol
SMS:Simple Message ?
FAQ:Frequently Asked Questions
BELLcore:communication Research
TTL:Time to Live(hop to live)
SIPit:SIP Interoperability Test)
Reference:
http://www.iptel.org/glossary
2007年9月10日 星期一
GDS(Global Dialing Scheme)
GDS(Global Dialing Scheme)
format:
- the Internet Access Code(IAC):the world gatekeeper prefix, defined as 00
- a Country Code(CC)
- an Organization Prefix(OP)
- an Endpoint Number(EN)
Ad-Hoc and SIP
(我承認我看不太懂這篇,就連什麼是Ad-Hoc都搞不清楚
)
ubiquitous communication
decentralized
Mobile Ad-Hoc Networks(MANET)
SIP location service
SIP Cache
/a framework:doesn't support centralized servers;dSIP(decentralized SIP)
\a algorithm:PCache
Message Type REGISTER Dissemination
MESSAGE Query
200OK Query reply
Header name Max-Forwards TTL
Form Source
Call-ID Serial Number
CSeq Time from Storage
Via Route Stack
Content-Length #items
Body Items
)
ubiquitous communication
decentralized
Mobile Ad-Hoc Networks(MANET)
SIP location service
SIP Cache
/a framework:doesn't support centralized servers;dSIP(decentralized SIP)
\a algorithm:PCache
- embed a subset of SIP server proxy and registar server function in each end node.
Message Type REGISTER Dissemination
MESSAGE Query
200OK Query reply
Header name Max-Forwards TTL
Form Source
Call-ID Serial Number
CSeq Time from Storage
Via Route Stack
Content-Length #items
Body Items
訂閱:
文章 (Atom)