[Perl] Telnet
Telnet to DS211j
| #!/usr/bin/perl use Net::Telnet; |
[Debian] Build Kernel
原本Kernel不支援,需
| make-kpkg clean fakeroot make-kpkg --append_to_version -15-686 --initrd --revision=2.6.32 kernel_image modules_image |
會碰到的問題
compile kernel error lguest.c:37:18: error: zlib.h: No such file or directory
創建 RAM MTD
MTD - Memory Technology Devices
測試 MTD
Linux底下的endpoint/頻寬測試
作網路頻寬測試時,有的人會直接用 iperf/netAngel 做測試,不過其實Chariot/QCheck也是官方的一個選擇。以下以Ubuntu 9.04作為endpoint安裝與頻寬測試的例子。
Client Side
- 要裝endpoint,請由此下載http://www.netiq.com/support/pe/upgrade.asp
- Linux版的下載後解tar,直接跑
./endpoint.install 就會幫你裝好。 - 裝好後default是直接啟動,重新啟動的話用
/usr/local/NetIQ/endpoint restart &
Server Side
- 要裝Chariot/QCheck,由http://www.ixchariot.com/下載。
- 下面說明Chariot的步驟。
- 安裝並啟動Chariot:Start/IxChariot/IxChariotConsole/File/New
- (1) 指定你需要的pair數 (2)endpoint address (3)測試的Script
兩端都指定好了之後在 Chariot 按個 Run 就能知道你的頻寬了。
設定時間跑 Chariot 時間。 Run/Set Run Option…
如果沒法打Chariot的話,以下幾個原因提供參考:
- Chariot和endpoint版本不合。
- 防火牆擋住了,可以暫時先把防火牆關掉。
如果可以的話,可在Shield room和開放空間作測試並比較。
[Hub] A Passive Ethernet Hub
市面上的 Hub 幾乎是 Switch 了,若只要單純 Hub 功能的話
- 自行製作,參考 A Passive Ethernet Hub
- 購買有 mirror port 的 Switch
[Mail] Live Mail 2011
新公司用的 yahoo! smallbusiness 的服務。使用時要先有一個Yahoo信箱
如果要用 Microsoft Live Mail 收信的話,要做以下設定
pop3/smtp設定,
- 內送郵件: pop.bizmail.yahoo.com
- 外寄郵件: smtp.bizmail.yahoo.com
- 電子郵件使用者名稱: 這邊使用公司配的 email address
更改檔案夾
SNMP
SNMPTrap
- windows下用NET-SNMP接受并处理SNMP Trap/Notification
- snmptrapd.conf
disableAuthorization yes - Command
snmptrapd -c "C:/usr/etc/snmp/snmptrapd.conf" -f -Le -d

