Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts

2010-06-05

[筆記] 在 eeebox (B202) 上裝 FreeBSD 8 然後用上面的 Ralink 無線網卡

  1. grab the driver from http://repo.or.cz/w/ralink_drivers/rt2860_fbsd8.git
  2. copy the driver to the target machine, extract, make install, and `kldload rt2860`
  3. assume you know the wireless channel (ex: 6,11.. etc). if you don't know, run WirelessNetView on a windows box.
  4. write ur own /etc/wpa_supplicant.conf:
    network={
    ssid="CCC"
    psk="1111111111"
    }
  5. cmd instructions
    # ifconfig wlan0 create wlandev rt28600 wlanmode sta
    # ifconfig wlan0 channel 11 ssid CCC up
    # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
    (now switch to another VT)
    # dhclient wlan0

其它自己看:
http://wiki.freebsd.org/AsusEee
http://www.freebsd.org/doc/en/books/handbook/network-wireless.html
http://forums.freebsd.org/showthread.php?t=7010
http://www.nirsoft.net/utils/wireless_network_view.html

2007-06-27

ychsiao tutorial cacti issue

16:46 * weithenn 怪,現在又變成localhost是up其它的還是Unknown...Orz
16:48 * weithenn cacti沒那麼難吧?為何我搞不定...丁丁化中....
16:56 <@ychsiao> cacti很簡單啊orz
17:00 <@weithenn> ychsiao:但我裝好只要新增的device status都是Unknown
17:01 * weithenn snmpd.conf 有要特地設定什麼嗎?
17:07 <@weithenn> ychsiao:新增的device內是可以看到snmp information的但status都是Unknown
17:14 * weithenn 當我點選至新增的device內同時去看該機器的snmpd.log也都有看到那台cacti在抓我的snmp訊息...
17:40 <@ychsiao> Associated Data Queries有snmp-interface stats ?
17:41 <@ychsiao> host-type generic snmp-enabled host..
17:46 <@weithenn> ychsiao:Associated Data Queries有snmp-interface stats--> Success [12 Items, 6 Rows]
17:48 <@weithenn> ychsiao:Host Template從None改成generic snmp-enabled host,還是一樣 Status Unknown
17:49 * weithenn 補充一下,改完後有跑 poller.php
18:01 <@ychsiao> status unknown是指ping不到之類的吧... 你圖表有出來嗎?
18:06 <@weithenn> ychsiao:出來了,剛打開debug mode,是說找不到rrd檔,然後在執行一次poller.php就可以了,現在status也變成up了
18:06 <@weithenn> ychsiao: m(_._)m