2008年2月18日

ns2 - 使用wimax module (ns2mesh80216)

在ns2裡做wimax mesh mode模擬,目前似乎只有ns2mesh80216提供,其他像NIST或長庚大學的CGU-III都只提供PMP mode的wimax模擬。但是ns2mesh80216這個module很多東西似乎定的很死,而且說明文件少的可憐,只能從source code研究啦!

裝這module有些事情要注意:

  1. patch裝完後還要另外裝stat-utilities這個package才能使用recover指令分析模擬結果。
  2. 若是裝在cygwin+winxp這種環境下,cygwin預設會使用winxp系統本身就存在的recover.exe(如下圖),所以要讓cygwin執行stat-utilities套件的recover指令就必須要將該套件安裝完後的recover.exe複製到工作的目錄,利用./recover來執行。clip_image002

2008年2月15日

phpBB3 - 設定

安裝phpBB3若出現:

PHP setting register_globals is disabled:
phpBB will still run if this setting is enabled, but if possible, it is recommended that register_globals is disabled on your PHP install for security reasons. 為 NO

解決方式:

1.  到WINDOWS資料夾裡找php.ini這個檔然後開啟
2.  搜尋register_globals = On 將On改成 Off
3.  Appserv stop --> start (or restart directly)
4.  php.ini也可設定上傳檔案size的最大值-->search "upload"

ns2 - 安裝(ns2.31+winxp+cygwin)

大致上參考Windows + Cygwin + NS2即可,主要注意以下幾點:

1. 若裝完後, ns指令無法正常使用, 請確定環境變數(.bashrc)有無設定錯誤

2. 若還是不行, 請想辦法抓別人成功的.bashrc檔(通常是因為文字編碼的問題造成)

3. 若執行nam後出現...DISPLAY...的錯誤訊息, 請確定是否在xwin底下執行nam指令

"先在cygwin命令中打入startxwin.bat, 在跳出的視窗中執行nam指令即可"