2008年12月30日 星期二

下載 roofnet software

http://pdos.csail.mit.edu/roofnet/

http://pdos.csail.mit.edu/roofnet/software.php

------------------------------------------------

Source Code
You'll need the Click modular router and madwifi.stripped source code to build Roofnet. Check out the latest releases from anonymous CVS using the following commands:


cvs -d :pserver:anoncvs@cvs.pdos.lcs.mit.edu:/cvs login
(hit enter when prompted for a password)

cvs -z5 -d :pserver:anoncvs@cvs.pdos.lcs.mit.edu:/cvs co -d click click/release/one
cvs -z5 -d :pserver:anoncvs@cvs.pdos.lcs.mit.edu:/cvs co -d madwifi.stripped roofnet/release/stripped

------------------------------------------------

因為網站連不上 所以用google庫存頁面來看

順便記一下怎麼抓 XD

無言的錯誤訊息

src/read-cis.c:62: warning: dereferencing type-punned pointer will break strict-aliasing rules

後面那些的中文叫
"警告:提領類型雙關的指標將破壞強重疊規則"


囧~~~

裝pcmciautils的錯誤訊息 - 1

錯誤:sysfs/libsysfs.h:沒有此一檔案或目錄

sol:
yum install libsysfs-devel

2008年12月29日 星期一

error message

官方網站說

  • iwconfig says : "Warning: Driver for device XXXX has been compiled with version XX, while this program supports up to version XX"
    1. Upgrade to the latest stable version of Wireless Tools.
    2. If this doesn't fix that issue, you may
      • If nothing bad happens, just ignore the message.
      • Install a pre-release version of the Wireless Tools (see above).

囧~~~

linux 搜尋檔案

http://linux.vbird.org/linux_basic/0220filemanager.php#file_find_file

whereis [-bmsu] 檔案或目錄名

locate [-ir] 關鍵字

find [PATH] [option] [action]

--

我是用locate找到的 XD

madwifi - loadable modules

Building the software will generate numerous loadable modules:

ath_pci
  Atheros driver for PCI/Cardbus devices
ath_hal
  Atheros HAL
wlan
  802.11 support layer
wlan_wep
  WEP cipher support
wlan_tkip
  TKIP cipher support
wlan_ccmp
  AES-CCMP cipher support
wlan_xauth
  external authenticator
wlan_acl
  MAC ACL support for AP operation
wlan_scan_ap
  AP scanning support
wlan_scan_sta
  station scanning support
ath_rate_onoe
  ONOE rate control
ath_rate_amrr
  AMRR rate control
ath_rate_sample
  SAMPLE rate control

madwifi & AP

MadWifi currently provides four different rate control algorithms,
ONOE, AMRR, SAMPLE and MINSTREL. SAMPLE and MINSTREL are both very
advanced, but MINSTREL is quite new. Consequently, SAMPLE is used by
default. In order to make MadWifi use e.g. AMRR instead, you have to
specify that as the module parameter e.g.

# modprobe ath_pci ratectl=amrr

NOTE: Changing the rate control is only required (and recommended) for
users who want to setup an access point using MadWifi in difficult
(e.g. lossy) environments and who know what they are doing.

2008年12月27日 星期六

裝無線網卡的錯誤訊息 - 未解決 QQ

錯誤訊息:
Warning: Driver for device ath0 has been compiled with version 22of Wireless Extension, while this program supports up to version 20.Some things may be broken...


解決方法:
裝新版的 wireless-tools 就好了
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html


安裝方式:
make
make install

然後編輯 /etc/ld.so.conf
加入 /usr/local/lib/ 這行
加完後執行 ldconfig

打iwconfig就不會看到那個warnong訊息了

--

我竟然為了這個重灌 = =

--

先保留一下 問題似乎還是沒解決 orz....

後門檢測程式chkrootkit

yum install chkrootkit

然後直接執行 chkrootkit 就開始掃

2008年12月15日 星期一

set KERNELPATH

yum install kernel-devel

(it can solve the problem)

----

I can't type chinese....orz

2008年12月14日 星期日

Fedora 一些設定

http://wcs.dgps.kh.edu.tw/wcs/tech/%E5%AE%89%E8%A3%9DFedora%20Core%204.txt

裡面還蠻多有用的小技巧 XD

----

2.4.1 解決亂碼問題(用終端機文字模式,或用ssh登入時,會看到亂碼)(RedHat9不會有此問題) cd /etc/sysconfig
cp -p i18n i18n.default
開啟 i18n (可用vi)
找到 LANG="zh_TW.UTF-8"
改成 LANG="zh_TW.big5"
找到 SUPPORTED="zh_TW.UTF-8:zh_TW:zh"
改成 SUPPORTED="zh_TW.big5:zh_TW.UTF-8:zh_TW:zh"

----

2.4.5 設定開機後讓Num Lock自動開啟
cd /etc/rc.d
開啟 rc.sysinit
在最後增加下面三列
for tty in /dev/tty[1-9]*;do
setleds -D +num < $tty
done