[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

【Wifi】Tools


Packet Sniffer/Thruput/Radius

Packet Sniffer

  • Windows/Linux: ethereal
  • Windows only: netmon
  • Linux consoal mode: tcpdump

802.11 Packet Sniffer

Windows

Thruput check/endpoint

Access pointer monitor:

Stable Testing

  • 台灣國道高速公路交通即時路況影像 http://www.nfreeway.gov.tw/
  • Hichannel節目(球賽...)
  • SpeedTest
  • FTP download/Http download
  • Netlimiter

Channel(11g)

Power Saving

  •   let’s nb into power saving mode

Driver

  • Atheros: madwifi
  • Ralink
  • Boardcom

SuperG

  • Turbo G and dynamic
  • Turbo G and static ...

Wifi alliance

Radius server(WPA-Enterprise)

Instrument

【OmniPeek】抓封包


image

首先你需要準備下面的硬體和軟體

【硬體】

可以抓封包的網卡,有

  • D-Link DWA-140(chipset rt2870,11n draft)
  • D-Link DWA-160 AG2(Atheros USB 802.11n Wireless LAN card)
    ps. hardware version B is ralink soluction.

【軟體】 

  • OmniPeek,目前我所使用的版本是5.0。
  • Driver,這個和我們一般用的driver是不一樣的,可以上 http://www.wildpackets.com/ 
    • rt2870 上 Ralink 網站 下載(OmniPeek_2870.zip),rt2870.inf/rt2870.sys。
    • dwa-160 driver 內附 omnipeek.
      C:\Program Files\WildPackets\OmniPeek Demo\Drivers\Atheros\Atheros_USB_3.0\x86
  • 之前若有裝過不是抓封包的Driver記的先移除,重開機插卡之後如果沒跳出安裝Driver的視窗
    請直接用*.inf 安裝。

【使用】

  • 打開OmniPeek
    image
  • 選 New Capture
    image 
  • 若是 DWA-140 指定網卡,設成RT2870。
    image
  • AdapterFilters(先把802.11 Beacons打勾做測試),就會看到封包進來囉。
  • 補充,如果對AP的profile不了解(如SSID/Channel/加密方式…),可以先登入AP查詢。
    image
  • 可以先從Beacons查看/比對封包的一些性質,比如BSSID/是否加密。
  • Filters可以用許多組合,可先嘗試用兩台電腦互ping來抓兩端ICMP的封包。
  • 建議先把 Channel 設死(別用auto),比較好抓。
  • 如果你不想設定一堆filter條件的話,建議在類似shield room的環境測試會更好。
【參考】

【inSSIDer 2】network scanner


 

NetStumbler 替代品。

 

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