Difference between revisions of "Conectarea la un WAP (Slackware 12.0)"
From linux360
(Mutat la categoria 'Slackware Linux') |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
---- | ---- | ||
==Schema de principiu a rețelei== | ==Schema de principiu a rețelei== | ||
+ | |||
<code> | <code> | ||
ISP Cable Modem Computer Router Wireless Laptop | ISP Cable Modem Computer Router Wireless Laptop | ||
Line 13: | Line 14: | ||
(192.168.100.101) | (192.168.100.101) | ||
− | Sistem de operare Slackware Linux 12.0 | + | Sistem de operare Slackware Linux 12.0 * Slackware Linux 12.0 |
+ | |||
+ | * = Firmware bazat pe kernelul Linux 2.4.18 | ||
</code> | </code> | ||
==Configurarea router-ului wireless== | ==Configurarea router-ului wireless== | ||
Principalele configurări ale router-ului wireless (cele care au relevanță pentru acest tutorial) sunt următoarele: | Principalele configurări ale router-ului wireless (cele care au relevanță pentru acest tutorial) sunt următoarele: | ||
− | |||
*[WAN Settings] > Static IP Address [x] | *[WAN Settings] > Static IP Address [x] | ||
**WAN Type > Wireless ISP (AP Enabled) [x] | **WAN Type > Wireless ISP (AP Enabled) [x] | ||
− | **Wireless WAN Setting > ESSID : MyTuxHome; Channel Number : 13 | + | **Wireless WAN Setting > Enable or disable Wireless module function : Enable [x] |
− | ** | + | ***Basic Setting > Mode : AP; Band : 2.4 GHz (B+G); ESSID : MyTuxHome; Channel Number : 13 |
+ | ***Advanced Settings > Default | ||
+ | ***Security | ||
+ | ****Encryption : WPA pre-shared key | ||
+ | ****WPA Unicast Cipher Suite : WPA-TKIP [x] | ||
+ | ****Pre-shared Key Format : Passphrase | ||
+ | ****Pre-shared Key : <passphrase> | ||
**Static IP | **Static IP | ||
***IP address assigned by your Service Provider : 192.168.100.10; | ***IP address assigned by your Service Provider : 192.168.100.10; | ||
***Subnet Mask : 255.255.255.0; | ***Subnet Mask : 255.255.255.0; | ||
***Service Provider Gateway Address : 192.168.100.1) | ***Service Provider Gateway Address : 192.168.100.1) | ||
− | |||
**DNS | **DNS | ||
***Domain Name Server (DNS) Address : ISP provided | ***Domain Name Server (DNS) Address : ISP provided | ||
***Secondary DNS Address (optional) : ISP provided | ***Secondary DNS Address (optional) : ISP provided | ||
**DDNS > Disable [x] | **DDNS > Disable [x] | ||
− | |||
− | |||
− | |||
− | |||
**DHCP Server > Disable [x] | **DHCP Server > Disable [x] | ||
*[Wireless Settings] > Enable or disable Wireless module function : Enable [x] | *[Wireless Settings] > Enable or disable Wireless module function : Enable [x] | ||
Line 58: | Line 61: | ||
05:01.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01) | 05:01.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01) | ||
</code> | </code> | ||
+ | |||
+ | *Pe desktop și laptop a fost configurat HAL (Hardware Abstraction Layer), conform [http://wiki.linux360.ro/wiki/Hardware_Abstraction_Layer_%28Slackware_12.0%29 acestui] tutorial. | ||
==Instalarea plăcii de rețea wireless== | ==Instalarea plăcii de rețea wireless== | ||
Pentru instalarea plăcii de rețea wireless au fost folosite: | Pentru instalarea plăcii de rețea wireless au fost folosite: | ||
+ | *Pachetul wpa_supplicant-0.5.8 (aflat în distribuția Slackware Linux) | ||
*Driverul madwifi (ultima verisiune - 0.9.3.3) de pe site-ul oficial: http://madwifi.org/, instalat din surse | *Driverul madwifi (ultima verisiune - 0.9.3.3) de pe site-ul oficial: http://madwifi.org/, instalat din surse | ||
<code> | <code> | ||
Line 72: | Line 78: | ||
$ wget -r ftp://ftp.slackbuilds.org/12.0/network/madwifi-tools/ | $ wget -r ftp://ftp.slackbuilds.org/12.0/network/madwifi-tools/ | ||
$ mv /path/to/madwifi-0.9.3.3.tar.gz /path/to/ftp.slackbuilds.org/12.0/network/madwifi-tools | $ mv /path/to/madwifi-0.9.3.3.tar.gz /path/to/ftp.slackbuilds.org/12.0/network/madwifi-tools | ||
+ | $ cd /path/to/ftp.slackbuilds.org/12.0/network/madwifi-tools | ||
$ su | $ su | ||
# chmod +x madwifi-tools.SlackBuild | # chmod +x madwifi-tools.SlackBuild | ||
Line 77: | Line 84: | ||
# cd /tmp | # cd /tmp | ||
# installpkg madwifi-tools-0.9.3.3-i486-1_SBo.tgz | # installpkg madwifi-tools-0.9.3.3-i486-1_SBo.tgz | ||
+ | </code> | ||
+ | După instalarea driverului madwifi, trebuie editat fișierul de configurare <tt>/etc/rc.d/rc.modules-2.6.x.x-smp</tt> și adăugate liniile: | ||
+ | <code> | ||
+ | /sbin/modprobe wlan | ||
+ | /sbin/modprobe ath_hal | ||
+ | /sbin/modprobe ath_pci | ||
+ | </code> | ||
+ | De asemenea, trebuie adăugată următoarea linie în fișierul <tt>/etc/rc.d/rc.local</tt>, pentru activarea automată a rutei implicite pentru placa wireless: | ||
+ | <code> | ||
+ | route add default gw 192.168.100.1 ath0 | ||
+ | </code> | ||
+ | |||
+ | ==Fișierul <tt>/etc/wpa_supplicant.conf</tt>== | ||
+ | Distribuția Slackware Linux 12.0 are suport pentru conexiunile wireless necripate sau cripate cu protocoalele WEP (Wired Equivalent Privacy) și WPA (Wi-Fi Protected Access). Un exemplu de fișier <tt>/etc/wpa_supplicant.conf</tt> este prezentat mai jos: | ||
+ | <code> | ||
+ | # See /usr/doc/wpa_supplicant-0.5.7/wpa_supplicant.conf.sample | ||
+ | # for many more options that you can use in this file. | ||
+ | |||
+ | # This line enables the use of wpa_cli which is used by rc.wireless | ||
+ | # if possible (to check for successful association) | ||
+ | ctrl_interface=/var/run/wpa_supplicant | ||
+ | # By default, only root (group 0) may use wpa_cli | ||
+ | ctrl_interface_group=0 | ||
+ | eapol_version=1 | ||
+ | ap_scan=1 | ||
+ | fast_reauth=1 | ||
+ | |||
+ | # WPA protected network, supply your own ESSID and WPAPSK here: | ||
+ | network={ | ||
+ | scan_ssid=0 | ||
+ | ssid="MyTuxHome" | ||
+ | proto=WPA | ||
+ | key_mgmt=WPA-PSK | ||
+ | pairwise=CCMP TKIP | ||
+ | group=CCMP TKIP WEP104 WEP40 | ||
+ | psk=155f6b3c59f181ab936add6612e55b0c5148257a9ede9dbeb5756f7c3eadd0ef | ||
+ | } | ||
+ | |||
+ | # Plaintext connection (no WPA, no IEEE 802.1X), | ||
+ | # nice for hotel/airport types of WiFi network. | ||
+ | # You'll need a recent version of wireless-tools for this! | ||
+ | network={ | ||
+ | ssid="any" | ||
+ | key_mgmt=NONE | ||
+ | priority=2 | ||
+ | } | ||
+ | </code> | ||
+ | Pentru obținerea cheii <tt>psk</tt> (Pre-Shared Key) trebuie rulată comanda: | ||
+ | <code> | ||
+ | # wpa_passphrase MyTuxHome 'passphrase' | ||
+ | </code> | ||
+ | care are ca rezultat: | ||
+ | <code> | ||
+ | network={ | ||
+ | ssid="MyTuxHome" | ||
+ | #psk="passphrase" | ||
+ | psk=155f6b3c59f181ab936add6612e55b0c5148257a9ede9dbeb5756f7c3eadd0ef | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | ==Fișierul <tt>/etc/rc.d/rc.inet1.conf</tt>== | ||
+ | Pentru configurarea parametrilor plăcii wireless poate fi folosit atât fișierul de configurare <tt>/etc/rc.d/rc.inet1.conf</tt>, cât și <tt>/etc/rc.d/rc.wireless.conf</tt>. Având în vedere că: 1.fișierul <tt>rc.inet1.conf</tt> are prioritate față de <tt>rc.wireless.conf</tt> (este citit și executat primul) și 2.este recomandat ca toate configurările interfețelor de rețea (wired și wireless) să fie menținute într-un singur fișier de configurare, acest tutorial menționează doar fișierul <tt>rc.inet1.conf</tt>. Un exemplu de fișier <tt>/etc/rc.d/rc.inet1.conf</tt> este prezentat mai jos: | ||
+ | <code> | ||
+ | # Config information for eth0: | ||
+ | IPADDR[0]="192.168.100.100" | ||
+ | NETMASK[0]="255.255.255.0" | ||
+ | USE_DHCP[0]="" | ||
+ | DHCP_HOSTNAME[0]="" | ||
+ | |||
+ | (...) | ||
+ | |||
+ | # Default gateway IP address: | ||
+ | GATEWAY="192.168.100.1" | ||
+ | |||
+ | (...) | ||
+ | |||
+ | # Config information for ath0: | ||
+ | IFNAME[4]="ath0" | ||
+ | IPADDR[4]="192.168.100.101" | ||
+ | NETMASK[4]="255.255.255.0" | ||
+ | USE_DHCP[4]="" | ||
+ | WLAN_ESSID[4]=MyTuxHome | ||
+ | WLAN_MODE[4]=Managed | ||
+ | WLAN_RATE[4]="54M auto" | ||
+ | WLAN_CHANNEL[4]="13" | ||
+ | WPAPSK="155f6b3c59f181ab936add6612e55b0c5148257a9ede9dbeb5756f7c3eadd0ef TxRate=0" | ||
+ | WLAN_WPA[4]="wpa_supplicant" | ||
+ | WPAOPTS="-Dwext -iath0 -c/etc/wpa_supplicant.conf" | ||
+ | WLAN_WPADRIVER[4]="madwifi" | ||
</code> | </code> | ||
− | |||
− | |||
==Testarea conectivității== | ==Testarea conectivității== | ||
+ | Pentru testarea conectivității pot fi folosite următoarele comenzi: | ||
+ | *Comanda <tt>wpa_cli</tt>, cu următoarele opțiuni: | ||
+ | <code> | ||
+ | > status | ||
+ | bssid=00:0e:2e:e1:58:56 | ||
+ | ssid=MyTuxHome | ||
+ | id=0 | ||
+ | pairwise_cipher=TKIP | ||
+ | group_cipher=TKIP | ||
+ | key_mgmt=WPA-PSK | ||
+ | wpa_state=COMPLETED | ||
+ | ip_address=192.168.100.101 | ||
+ | </code> | ||
+ | sau | ||
+ | <code> | ||
+ | > scan_results | ||
+ | bssid / frequency / signal level / flags / ssid | ||
+ | 00:0e:2e:e1:58:56 2472 217 [WPA-PSK-TKIP] MyTuxHome | ||
+ | 00:18:f8:71:42:fe 2462 171 [WEP] MSI | ||
+ | 00:19:db:95:49:fd 2442 166 MSI | ||
+ | </code> | ||
+ | *Comanda <tt>iwconfig</tt>: | ||
+ | <code> | ||
+ | ath0 IEEE 802.11g ESSID:"MyTuxHome" Nickname:"MyLinuxLaptop" | ||
+ | Mode:Managed Frequency:2.472 GHz Access Point: 00:0E:2E:E1:58:56 | ||
+ | Bit Rate:18 Mb/s Tx-Power:16 dBm Sensitivity=1/1 | ||
+ | Retry:off RTS thr:off Fragment thr:off | ||
+ | Encryption key:C167-36A8-B2E0-572A-B805-1E3F-A231-C050 Security mode:restricted | ||
+ | Power Management:off | ||
+ | Link Quality=59/70 Signal level=-36 dBm Noise level=-95 dBm | ||
+ | Rx invalid nwid:16 Rx invalid crypt:0 Rx invalid frag:0 | ||
+ | Tx excessive retries:0 Invalid misc:0 Missed beacon:0 | ||
+ | </code> | ||
+ | *Comanda <tt>iwlist</tt>: | ||
+ | <code> | ||
+ | # iwlist ath0 scanning | ||
+ | ath0 Scan completed : | ||
+ | Cell 01 - Address: 00:0E:2E:E1:58:56 | ||
+ | ESSID:"MyTuxHome" | ||
+ | Mode:Master | ||
+ | Frequency:2.472 GHz (Channel 13) | ||
+ | Quality=56/70 Signal level=-39 dBm Noise level=-95 dBm | ||
+ | Encryption key:on | ||
+ | Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s | ||
+ | 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s | ||
+ | 48 Mb/s; 54 Mb/s | ||
+ | Extra:bcn_int=100 | ||
+ | IE: WPA Version 1 | ||
+ | Group Cipher : TKIP | ||
+ | Pairwise Ciphers (1) : TKIP | ||
+ | Authentication Suites (1) : PSK | ||
+ | (...) | ||
+ | </code> | ||
+ | sau | ||
+ | <code> | ||
+ | # iwlist ath0 accesspoints | ||
+ | ath0 Peers/Access-Points in range: | ||
+ | 00:18:F8:71:42:FE : Quality=10/70 Signal level=-85 dBm Noise level=-95 dBm | ||
+ | 00:0E:2E:E1:58:56 : Quality=55/70 Signal level=-40 dBm Noise level=-95 dBm | ||
+ | </code> | ||
+ | *Comanda <tt>wpa_gui</tt> deschide o interfață grafică pentru conectarea, deconectarea, scanarea, adăugarea sau modificarea parametrilor de acces la o rețea wireless | ||
+ | *Aplicația Control Center > Internet & Network > Wireless Network permite, de asemenea, configurarea wireless. | ||
==Aplicații ajutătoare== | ==Aplicații ajutătoare== | ||
− | ==Bibligrafie și | + | *wicd (http://wicd.sourceforge.net/) |
− | http://madwifi.org/ | + | *NetGo (http://netgo.hjolug.org/) |
− | + | *KWaveControl (http://kwavecontrol.sourceforge.net/) | |
− | http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:madwifi/ | + | *Wlassistant (http://sourceforge.net/projects/wlassistant/) |
− | + | *Wifi-radar (http://wifi-radar.systemimager.org) | |
− | http://slackbuilds.org/repository/12.0/network/madwifi- | + | *Kwlan (http://www.kde-apps.org/content/show.php?content=37041) |
+ | ==Bibligrafie și legături utile== | ||
+ | *http://www.wi-fi.org/knowledge_center/wpa/ | ||
+ | *http://madwifi.org/ | ||
+ | *http://en.wikipedia.org/wiki/Wpa_supplicant | ||
+ | *http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:madwifi/ | ||
+ | *http://slackbuilds.org/repository/12.0/network/madwifi-driver/ | ||
+ | *http://slackbuilds.org/repository/12.0/network/madwifi-tools/ | ||
− | + | [[Category:Slackware Linux]] |
Latest revision as of 22:32, 4 February 2008
Acest tutorial prezintă modul de configurare a distribuției Slackware Linux 12.0 pentru a permite conectarea la un Wireless Access Point (WAP) instalat într-o rețea locală (LAN).
Contents
Schema de principiu a rețelei
ISP Cable Modem Computer Router Wireless Laptop
> --------> eth0
(public IP) eth1 ---------> WAN Port (192.168.100.1) (192.168.100.10) LAN ----------> eth0 (192.168.100.20) (192.168.100.100) Wireless ----------> ath0 (192.168.100.101)
Sistem de operare Slackware Linux 12.0 * Slackware Linux 12.0
- = Firmware bazat pe kernelul Linux 2.4.18
Configurarea router-ului wireless
Principalele configurări ale router-ului wireless (cele care au relevanță pentru acest tutorial) sunt următoarele:
- [WAN Settings] > Static IP Address [x]
- WAN Type > Wireless ISP (AP Enabled) [x]
- Wireless WAN Setting > Enable or disable Wireless module function : Enable [x]
- Basic Setting > Mode : AP; Band : 2.4 GHz (B+G); ESSID : MyTuxHome; Channel Number : 13
- Advanced Settings > Default
- Security
- Encryption : WPA pre-shared key
- WPA Unicast Cipher Suite : WPA-TKIP [x]
- Pre-shared Key Format : Passphrase
- Pre-shared Key : <passphrase>
- Static IP
- IP address assigned by your Service Provider : 192.168.100.10;
- Subnet Mask : 255.255.255.0;
- Service Provider Gateway Address : 192.168.100.1)
- DNS
- Domain Name Server (DNS) Address : ISP provided
- Secondary DNS Address (optional) : ISP provided
- DDNS > Disable [x]
- DHCP Server > Disable [x]
- [Wireless Settings] > Enable or disable Wireless module function : Enable [x]
- [Quality of Service (QoS)] > Enable QoS [x]
- [NAT Settings] > Enable or disable NAT module function : Enable [x]
- [Security Settings] > Enable or disable Firewall module function : Enable [x]
Configurarea distribuției Slackware
- Pe desktop (folosit și ca gateway / firewall / router pentru rețeaua locală) a fost instalată distribuția Slackware Linux 12.0, cu opțiunea "full" și kernel 2.6.22.9-smp (instalat din surse, conform acestui tutorial)
Interfețe de rețea:
- lspci | grep Ethernet
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) 05:06.0 Ethernet controller: Intel Corporation 82557/8/9 Ethernet Pro 100 (rev 05)
- Pe laptop a fost instalată distribuția Slackware Linux 12.0, cu opțiunea "full" și kernel 2.6.23.12-smp (instalat din surse, conform acestui tutorial)
Interfețe de rețea:
- lspci | grep Ethernet
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c) 05:01.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
- Pe desktop și laptop a fost configurat HAL (Hardware Abstraction Layer), conform acestui tutorial.
Instalarea plăcii de rețea wireless
Pentru instalarea plăcii de rețea wireless au fost folosite:
- Pachetul wpa_supplicant-0.5.8 (aflat în distribuția Slackware Linux)
- Driverul madwifi (ultima verisiune - 0.9.3.3) de pe site-ul oficial: http://madwifi.org/, instalat din surse
./configure
make
su -c make install
- Pachetul madwifi-tools (ultima versiune - 0.9.3.3) de aici: http://slackbuilds.org/repository/12.0/network/madwifi-tools/, instalat astfel:
$ wget http://downloads.sourceforge.net/madwifi/madwifi-0.9.3.3.tar.gz
$ wget -r ftp://ftp.slackbuilds.org/12.0/network/madwifi-tools/
$ mv /path/to/madwifi-0.9.3.3.tar.gz /path/to/ftp.slackbuilds.org/12.0/network/madwifi-tools
$ cd /path/to/ftp.slackbuilds.org/12.0/network/madwifi-tools
$ su
- chmod +x madwifi-tools.SlackBuild
- ./madwifi-tools.SlackBuild
- cd /tmp
- installpkg madwifi-tools-0.9.3.3-i486-1_SBo.tgz
După instalarea driverului madwifi, trebuie editat fișierul de configurare /etc/rc.d/rc.modules-2.6.x.x-smp și adăugate liniile:
/sbin/modprobe wlan
/sbin/modprobe ath_hal
/sbin/modprobe ath_pci
De asemenea, trebuie adăugată următoarea linie în fișierul /etc/rc.d/rc.local, pentru activarea automată a rutei implicite pentru placa wireless:
route add default gw 192.168.100.1 ath0
Fișierul /etc/wpa_supplicant.conf
Distribuția Slackware Linux 12.0 are suport pentru conexiunile wireless necripate sau cripate cu protocoalele WEP (Wired Equivalent Privacy) și WPA (Wi-Fi Protected Access). Un exemplu de fișier /etc/wpa_supplicant.conf este prezentat mai jos:
- See /usr/doc/wpa_supplicant-0.5.7/wpa_supplicant.conf.sample
- for many more options that you can use in this file.
- This line enables the use of wpa_cli which is used by rc.wireless
- if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
- By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0 eapol_version=1 ap_scan=1 fast_reauth=1
- WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=0 ssid="MyTuxHome" proto=WPA key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP WEP104 WEP40 psk=155f6b3c59f181ab936add6612e55b0c5148257a9ede9dbeb5756f7c3eadd0ef
}
- Plaintext connection (no WPA, no IEEE 802.1X),
- nice for hotel/airport types of WiFi network.
- You'll need a recent version of wireless-tools for this!
network={
ssid="any" key_mgmt=NONE priority=2
}
Pentru obținerea cheii psk (Pre-Shared Key) trebuie rulată comanda:
- wpa_passphrase MyTuxHome 'passphrase'
care are ca rezultat:
network={
ssid="MyTuxHome" #psk="passphrase" psk=155f6b3c59f181ab936add6612e55b0c5148257a9ede9dbeb5756f7c3eadd0ef
}
Fișierul /etc/rc.d/rc.inet1.conf
Pentru configurarea parametrilor plăcii wireless poate fi folosit atât fișierul de configurare /etc/rc.d/rc.inet1.conf, cât și /etc/rc.d/rc.wireless.conf. Având în vedere că: 1.fișierul rc.inet1.conf are prioritate față de rc.wireless.conf (este citit și executat primul) și 2.este recomandat ca toate configurările interfețelor de rețea (wired și wireless) să fie menținute într-un singur fișier de configurare, acest tutorial menționează doar fișierul rc.inet1.conf. Un exemplu de fișier /etc/rc.d/rc.inet1.conf este prezentat mai jos:
- Config information for eth0:
IPADDR[0]="192.168.100.100" NETMASK[0]="255.255.255.0" USE_DHCP[0]="" DHCP_HOSTNAME[0]=""
(...)
- Default gateway IP address:
GATEWAY="192.168.100.1"
(...)
- Config information for ath0:
IFNAME[4]="ath0" IPADDR[4]="192.168.100.101" NETMASK[4]="255.255.255.0" USE_DHCP[4]="" WLAN_ESSID[4]=MyTuxHome WLAN_MODE[4]=Managed WLAN_RATE[4]="54M auto" WLAN_CHANNEL[4]="13" WPAPSK="155f6b3c59f181ab936add6612e55b0c5148257a9ede9dbeb5756f7c3eadd0ef TxRate=0" WLAN_WPA[4]="wpa_supplicant" WPAOPTS="-Dwext -iath0 -c/etc/wpa_supplicant.conf" WLAN_WPADRIVER[4]="madwifi"
Testarea conectivității
Pentru testarea conectivității pot fi folosite următoarele comenzi:
- Comanda wpa_cli, cu următoarele opțiuni:
> status
bssid=00:0e:2e:e1:58:56
ssid=MyTuxHome
id=0
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=COMPLETED
ip_address=192.168.100.101
sau
> scan_results
bssid / frequency / signal level / flags / ssid
00:0e:2e:e1:58:56 2472 217 [WPA-PSK-TKIP] MyTuxHome
00:18:f8:71:42:fe 2462 171 [WEP] MSI
00:19:db:95:49:fd 2442 166 MSI
- Comanda iwconfig:
ath0 IEEE 802.11g ESSID:"MyTuxHome" Nickname:"MyLinuxLaptop"
Mode:Managed Frequency:2.472 GHz Access Point: 00:0E:2E:E1:58:56 Bit Rate:18 Mb/s Tx-Power:16 dBm Sensitivity=1/1 Retry:off RTS thr:off Fragment thr:off Encryption key:C167-36A8-B2E0-572A-B805-1E3F-A231-C050 Security mode:restricted Power Management:off Link Quality=59/70 Signal level=-36 dBm Noise level=-95 dBm Rx invalid nwid:16 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
- Comanda iwlist:
- iwlist ath0 scanning
ath0 Scan completed :
Cell 01 - Address: 00:0E:2E:E1:58:56 ESSID:"MyTuxHome" Mode:Master Frequency:2.472 GHz (Channel 13) Quality=56/70 Signal level=-39 dBm Noise level=-95 dBm Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s Extra:bcn_int=100 IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : TKIP Authentication Suites (1) : PSK
(...)
sau
- iwlist ath0 accesspoints
ath0 Peers/Access-Points in range:
00:18:F8:71:42:FE : Quality=10/70 Signal level=-85 dBm Noise level=-95 dBm 00:0E:2E:E1:58:56 : Quality=55/70 Signal level=-40 dBm Noise level=-95 dBm
- Comanda wpa_gui deschide o interfață grafică pentru conectarea, deconectarea, scanarea, adăugarea sau modificarea parametrilor de acces la o rețea wireless
- Aplicația Control Center > Internet & Network > Wireless Network permite, de asemenea, configurarea wireless.
Aplicații ajutătoare
- wicd (http://wicd.sourceforge.net/)
- NetGo (http://netgo.hjolug.org/)
- KWaveControl (http://kwavecontrol.sourceforge.net/)
- Wlassistant (http://sourceforge.net/projects/wlassistant/)
- Wifi-radar (http://wifi-radar.systemimager.org)
- Kwlan (http://www.kde-apps.org/content/show.php?content=37041)