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…

image

 

如果沒法打Chariot的話,以下幾個原因提供參考:

  • Chariot和endpoint版本不合。
  • 防火牆擋住了,可以暫時先把防火牆關掉。

如果可以的話,可在Shield room和開放空間作測試並比較。

[HyperTerminal]


 

How to install the WinXP HyperTerminal client on Windows Vista or Windows 7 [FREE]?

[MultiSkypeLauncher]


MultiSkypeLauncher

[Hub] A Passive Ethernet Hub


市面上的 Hub 幾乎是 Switch 了,若只要單純 Hub 功能的話

  1. 自行製作,參考 A Passive Ethernet Hub
  2. 購買有 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

更改檔案夾

  • 預設位置在 C:\Users\ouner\AppData\Local\Microsoft\Windows Live Mail
  • 點選快速存取工具列
    image
  • 選項/郵件/進階/維護
    image
  • 郵件檔資料夾
    image
  • 中間省略,變更完之後就會開始複製。
    image

SNMP


 

SNMPTrap

SNMT+MRTG

libsmi - A Library to Access SMI MIB Information

SNMP網路管理程序

Yale 系統程式監控


 

Yale

【Fast IP Changer】快速切換IP


有兩種選擇

  • Fast IP Changer 可以偵測到無線網卡
  • IPChanger 無法偵測到無線網卡

【yED】Graph Editor


yED

Operation

Reference

【DD-WRT】WHR-HP-G300N


Hardware

  • WHR-HP-G300N
    Costco Ntd$1399.

Firmware

Function

  • IP 192.168.11.1
  • uname –av
    Linux DD-WRT 2.6.24.111 #3402 Sat Aug 7 04:02:02 CEST 2010 mips unknown
  • cat /proc/cpuinfo

    system type             : Atheros AR7240 rev 1.2 (0x00c2)
    processor               : 0
    cpu model               : MIPS 24K V7.4
    BogoMIPS                : 266.24
    CPUClock                : 400
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 16
    extra interrupt vector  : yes
    hardware watchpoint     : yes
    ASEs implemented        : mips16
    shadow register sets    : 1
    VCED exceptions         : not available
    VCEI exceptions         : not available

  • cat /proc/mtd

    dev:    size   erasesize  name
    mtd0: 00040000 00010000 "RedBoot"
    mtd1: 003a0000 00010000 "linux"
    mtd2: 002b4000 00010000 "rootfs"
    mtd3: 00030000 00010000 "ddwrt"
    mtd4: 00010000 00010000 "nvram"
    mtd5: 00010000 00010000 "board_config"
    mtd6: 00400000 00010000 "fullflash"
    mtd7: 00040000 00010000 "fullboot"

  • cat /tmp/dnsmasq.conf

    interface=br0
    resolv-file=/tmp/resolv.dnsmasq
    dhcp-leasefile=/tmp/dnsmasq.leases
    dhcp-lease-max=64
    dhcp-option=lan,3,192.168.11.1
    dhcp-authoritative
    dhcp-range=lan,192.168.11.2,192.168.11.65,255.255.255.0,1440m
    stop-dns-rebind

  • ps

    PID USER       VSZ STAT COMMAND
       1 root       940 S    /sbin/init
       2 root         0 SW<  [kthreadd]
       3 root         0 SW<  [ksoftirqd/0]
       4 root         0 SW<  [events/0]
       5 root         0 SW<  [khelper]
      39 root         0 SW<  [kblockd/0]
      58 root         0 SW   [pdflush]
      59 root         0 SW   [pdflush]
      60 root         0 SW<  [kswapd0]
      61 root         0 SW<  [aio/0]
    589 root         0 SW<  [mtdblockd]
    610 root      1332 S    watchdog
    691 root      1296 S    resetbutton
    933 root       916 S    telnetd
    949 root       576 S    cron
    950 root       676 S    dnsmasq --conf-file=/tmp/dnsmasq.conf
    951 root       572 S    udhcpc -i eth0 -p /var/run/udhcpc.pid -s /tmp/udhcpc
    959 root       940 S    ttraff
    1162 root      2260 S    httpd -p 80
    1247 root       936 S    -sh
    1263 root      1012 S    process_monitor
    1619 root       916 R    ps

  • http
    cmd: httpd -p 80
  • Telnet (default on)
    telnet 192.168.11.1
  • Multi-SSID(Virtual Interface)

Reference

 

Ed32. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com