Linux: podklyuchenie wifi-adapterov
Dlya redhat'opodobnyh sistem
V fajle /etc/sysconfig/network-scripts/ifcfg-wifi0
DEVICE=ath0
ONBOOT=yes
BOOTPROTO=dhcp
ESSID=Mynet-1234
CHANNEL=10
RATE=Auto
KEY=783FDE25EA988381F75F6ACC70
# KEY=s:MyPassWord
Kakoe shifrovanie vybrat'
WPA s TKIP preshared keys - luchshe vsego, no Linux ego poka ne podderzhivaet
(ili podderzhivaet s wpa_supplicant ?)
WEP - 128 bit - rabotaet (no poddaetsya vzlomu)
Fajl ifcfg-ath0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=yes
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
TYPE=Wireless
DEVICE=ath0
HWADDR=
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
ESSID=myessid
CHANNEL=11
MODE=Managed
RATE=Auto
i fajl keys-ath0
KEY=mykey
fajly skopirovat' v
/etc/sysconfig/network-scripts/keys-ath0
/etc/sysconfig/network-scripts/ifcfg-ath0
/etc/sysconfig/networking/profiles/default/keys-ath0
/etc/sysconfig/networking/profiles/default/ifcfg-ath0
/etc/sysconfig/networking/devices/keys-ath0
/etc/sysconfig/networking/devices/ifcfg-ath0
Proverka interfejsa i ruchnaya inicializaciya
modprobe wlan_scan_sta
ifconfig ath0 up
iwlist ath0 scan
iwconfig ath0 essid MYESSID
iwconfig ath0 key restricted MYKEY
iwconfig ath0 mode Managed
iwlist ath0 scan
Karty s chipsetom 3945 v standartnom yadre otsustvuyut, poetomu -
s sourceforge skachat' i ustanovit':
modul' yadra ipw3945
firmware dlya ipw3945 i kopiruem v /lib/firmware
demona ipw3945d
Aktivaciya:
modprobe ipw3945
/sbin/ipw3945d
iwconfig eth0 essid ivanovnet key ABCDEFABCDEF mode Managed
# iwconfig eth0 essid sidorovhost key 0123456789 mode Ad-Hock
ifconfig eth0 195.0.0.14
Moj sluchaj Toshiba Sattelite
lspci
0000:02:0a.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)
Modul' ipw2200 vklyuchen v 2.6.12 yadro (draver 1.1.2)
http://ipw2200.sourceforge.net/firmware.php
Skachivaem firmware ipw2200 (dlya 1.1.2 - v3.0)
i kopiruem v /lib/firmware
dlya Debian konfiguraciya pod ifup
/etc/network/interfaces
auto eth1
iface eth1 inet static
address 195.0.0.23
netmask 255.255.255.0
pre-up /sbin/iwconfig eth1 essid moshkow mode Managed
Last-modified: Mon, 25 Dec 2006 06:06:07 GMT