Krok 1. Przygotowanie Kernela
Ja confing wykonywalem na 2.6.16.14 i moj .config wyglada tak
Kod: Zaznacz cały
Network device support --->
Wireless LAN (non-hamradio) --->
[*] Wireless LAN (non-hamradio)
<*> Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) (NEW)
<*> Hermes in PLX9052 based PCI adaptor support (Netgear MA301 etc.)
<*> Hermes in TMD7160/NCP130 based PCI adaptor support (Pheecom WL-PCI
<*> Prism 2.5 PCI 802.11b adaptor support (EXPERIMENTAL)
Kod: Zaznacz cały
CONFIG_EXPERIMENTAL: y
Code maturity level options --->
Prompt for development and/or incomplete code/drivers
CONFIG_HOTPLUG: : y
General setup --->
Support for hot-pluggable devices
CONFIG_FW_LOADER: m/y (either one will work)
Library routines --->
Hotplug firmware loading support (EXPERIMENTAL)
CONFIG_NET_RADIO : y
CONFIG_NET_WIRELESS : y
Network device support --->
Wireless Lan (non-hamradio)
For PCMCIA Cards :
CONFIG_PCMCIA && CONFIG_CARDBUS
General setup --->
PCMCIA/CardBus support --->
PCMCIA/CardBus support (m or y)
[*] CardBus support (Important!)
Krok 2.
Kod: Zaznacz cały
apt-get install wireless-tools
http://hostap.epitest.fi/hostapd/
Kod: Zaznacz cały
cd /usr/src/
wget [url]http://hostap.epitest.fi/releases/hostapd-0.4.9.tar.gz[/url]
tar zxvf hostapd-0.4.9.tar.gz
cd hostapd-0.4.9
./configure
make
make install
Kod: Zaznacz cały
/etc/init.d/pcmcia restart
nastepnie
Kod: Zaznacz cały
iwconfig
Krok 3. Podnosimy polaczenie
Kod: Zaznacz cały
ifconfig wlan0 192.168.0.1 up
iwconfig wlan0 channel 10
iwconfig wlan0 mode master
iwconfig wlan0 essid NASZA_SIEC
iwconfig wlan0 bitrate 11M
//edit
poprawiłem kursywe na znaczniki code
mlyczek