六月 29, 2007
» Wireless in Debian I (ipw2200/wpa_supplicant)

在剛裝好的 Debian Base System 時,如何啟動內建的無線網卡,
很簡單,五個步驟就好。

1. 下載官方的 Firmware,
http://ipw2200.sourceforge.net/firmware.php 可以下載。
下載完成後,請解開丟到 /usr/lib/hotplug/firmware 裡。

2. 重啟 ipw2200 modules,只要 sudo rmmod ipw2200,
sudo modprobe ipw2200 即可。

3. 更改 /etc/network/interfaces 使其符合 eth1(wireless) 的設定。

4. 如果你的無線網路是 dhcp 分配 IP 的話,只要 sudo dhclient eth1
重抓 IP,更新後即可無線上網。

5. 如果需要採用 wpa_supplicant (無線網路加密) 的話,
請先建立 /etc/wpa_supplicant.conf 設定檔,接著打以下指令:
sudo wpa_supplicant -w -i eth1 -D wext -B -c /etc/wpa_supplicant.conf
sudo dhclient eth1
抓到 IP 後就可以上網啦!

以上是簡記,完整資訊可參考過去的一份記錄:
—ipw2200/ipw2915 from-scratch

三月 30, 2006
» ipw2200/ipw2915 from-scratch

(一):
「Drivers and Firmware」
http://ieee80211.sourceforge.net/INSTALL
http://ipw2200.sourceforge.net/INSTALL

(二):
「Wireless-Tools」
ifconfig(8), iwconfig(8), iwspy(8), iwlist(8), iwevent(8),
iwpriv(8), wireless(7).

(三):
If you want to use WPA-PSK+TKIP.. and other
mode, you can choose「WPAsupplicant」

「Wpasupplicant」
less /usr/share/doc/wpasupplicant/README.Debian
less /usr/share/doc/wpasupplicant/examples/wpa_supplicant.conf.gz

「Create Startup Script for Wpasupplicant」
# /etc/default/wpasupplicant
# Useful flags:
# -D Wireless Driver
# -D wext less /usr/share/doc/wpasupplicant/README.Debian
# -i Interface (required, unless specified in config)
# -c Configuration file
# -d Debugging (-dd for more)
# -w ait for interface to come up
ENABLED=1 #<— important!!!
OPTIONS=”-w -i eth1 -D wext -B -c /etc/wpa_supplicant.conf”

「Make sure you have a configuration file」
# Minimal /etc/wpa_supplicant.conf to associate with open
# access points. Please see
# /usr/share/doc/wpasupplicant/examples/wpa_supplicant.conf.gz for more
# complete configuration parameters.
# Also see the other files in /usr/share/doc/wpasupplicant/examples/ for
# specific configuration examples.
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
### Example of basic WPA-PSK secured AP
network={
ssid=”Denny’s Home”
psk=”ABCDEFG”
}

「Make sure you set “ENABLED=1″ to “/etc/init.d/wpasupplicant”」
# insane defaults
OPTIONS=”-Bw” # daemonize and wait for interface
CONFIG=”/etc/wpa_supplicant.conf”
ENABLED=1 #<— important!!!

(四):
Have Fun :-D

biggo.com.tw

A Django site.