haiku/docs/userguide/sk/workshop-wlan.html

142 lines
10 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!--
*
* Copyright 2012-2016, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger <humdingerb@gmail.com>
* Translators:
* helix84
* Humdinger
*
-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="robots" content="all" />
<title>Workshop: Bezdrôtová sieť</title>
<link rel="stylesheet" type="text/css" href="../Haiku-doc.css" />
</head>
<body>
<div id="banner">
<div><span>Používateľská príručka</span></div>
</div>
<div class="nav">
<div class="inner">
<ul class="lang-menu">
<li class="now"><img src="../images/flags/sk.png" alt="" /> Slovenčina</li>
<li><a href="../ca/workshop-wlan.html"><img src="../images/flags/ca.png" alt="" />Català</a></li>
<li><a href="../de/workshop-wlan.html"><img src="../images/flags/de.png" alt="" />Deutsch</a></li>
<li><a href="../en/workshop-wlan.html"><img src="../images/flags/gb.png" alt="" />English</a></li>
<li><a href="../es/workshop-wlan.html"><img src="../images/flags/es.png" alt="" />Español</a></li>
<li><a href="../fr/workshop-wlan.html"><img src="../images/flags/fr.png" alt="" />Français</a></li>
<li><a href="../it/workshop-wlan.html"><img src="../images/flags/it.png" alt="" />Italiano</a></li>
<li><a href="../hu/workshop-wlan.html"><img src="../images/flags/hu.png" alt="" />Magyar</a></li>
<li><a href="../pl/workshop-wlan.html"><img src="../images/flags/pl.png" alt="" />Polski</a></li>
<li><a href="../pt_PT/workshop-wlan.html"><img src="../images/flags/pt_PT.png" alt="" />Português</a></li>
<li><a href="../pt_BR/workshop-wlan.html"><img src="../images/flags/pt_BR.png" alt="" />Português (Brazil)</a></li>
<li><a href="../ro/workshop-wlan.html"><img src="../images/flags/ro.png" alt="" />Română</a></li>
<li><a href="../fi/workshop-wlan.html"><img src="../images/flags/fi.png" alt="" />Suomi</a></li>
<li><a href="../sv_SE/workshop-wlan.html"><img src="../images/flags/sv_SE.png" alt="" />Svenska</a></li>
<li><a href="../zh_CN/workshop-wlan.html"><img src="../images/flags/zh_CN.png" alt="" /> 中文 [中文]</a></li>
<li><a href="../ru/workshop-wlan.html"><img src="../images/flags/ru.png" alt="" />Русский</a></li>
<li><a href="../uk/workshop-wlan.html"><img src="../images/flags/uk.png" alt="" />Українська</a></li>
<li><a href="../jp/workshop-wlan.html"><img src="../images/flags/jp.png" alt="" />日本語</a></li>
</ul>
<span>
«  <a href="workshop-email.html">Workshop: Managing Email</a> 
::  <a href="contents.html" class="uplink">Contents</a> 
::  <a href="applications.html">Applications</a>  »
</span></div>
</div>
<div id="content">
<div>
<div class="box-info">Preklad tejto stránky zatiaľ nie je dokončený. Dovtedy sa nedokončené časti zobrazia v anglickom origináli.</div>
<table class="index" id="index" summary="index">
<tr class="heading"><td>Obsah</td></tr>
<tr class="index"><td>
<a href="#firmware">Ako rozchodiť podporovaný hardvér</a><br />
<a href="#gui">Ako sa pripojiť k bezdrôtovej sieti</a><br />
<a href="#commandline">Ako sa pripojiť z príkazového riadka</a><br />
<a href="#tips">Tipy</a>
</td></tr>
</table>
<h1>Workshop: Bezdrôtová sieť</h1>
<p>Rozchodenie bezdrôtovej siete je nevyhnutné v dnešnej dobe neustáleho sieťového pripojenia. Pretože udržiavanie aktuálnej podpory rozličného a neustále sa meniaceho hardvéru a ovládačov je pre malý projekt celkom nemožné, Haiku sa pri implementácii sieťových ovládačov spolieha na vrstvu kompatibility <a href="http://www.freebsd.org">FreeBSD</a>.<br />
Tá nám zabezpečuje obrovské množstvo podporovaného hardvéru, hoci zrejme nie 100% všetkých, ktoré existujú. Pozrite si online <a href="https://www.haiku-os.org/guides/daily-tasks/wireless#hardware-notes">zoznam podporovaných modelov</a> alebo sa pozrite do <a href="http://www.freebsd.org/releases/9.3R/hardware.html#WLAN">Poznámok o hardvéri FreeBSD 9.3</a>.</p>
<div class="box-info">Momentálne sa očakáva, že budú fungovať iba zariadenia PCI, PCI-X, PCI-Express, Mini PCI a Mini PCI-Express.<br />
Zariadenia PCMCIA, CardBus, ExpressCard, USB a ISA ešte vyžadujú ďalšiu prácu, než budú funkčné.</div>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="firmware" name="firmware">Ako rozchodiť podporovaný hardvér</a></h2>
<p>Hoci sme prvú prekážku všeobecne podporovaného hardvéru prekonali, niektoré bezdrôtové ovládače vyžadujú binárne moduly firmvéru, aby správne fungovali. Haiku nemôže distribuovať niektoré z týchto proprietárnych súborov firmvéru z licenčných dôvodov. Haiku však obsahuje jednoduchý skript, ktorý stiahne a nainštaluje všetky proprietárne súbory za vás. Vo všeobecnosti, ak plánujete používať bezdrôtovú sieť, odporúča sa spustiť tento skript, aby ste zabezpečili, že váš systém má všetok tento firmvér k dispozícii, keď ho budete potrebovať.</p>
<p>Otvorte Terminál a napíšte:</p>
<pre class="terminal">install-wifi-firmwares.sh</pre>
<p>Teraz si prečítajte licencie a prijmite ich, aby sa nainštalovali všetky dostupné súbory firmvéru.</p>
<p>Ak nemáte prístup k internetu, aby ste mohli stiahnuť tieto súbory s firmvérom v Haiku, existuje aj offline spôsob, pozri <a href="#tips">tipy</a> below.</p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="gui" name="gui">Ako sa pripojiť k bezdrôtovej sieti</a></h2>
<p>By default, Haiku will join the first unencrypted wireless network it finds after booting up. To connect to a specific network, you use the Desktop applet <a href="desktop-applets/networkstatus.html">NetworkStatus</a>.</p>
<p>Right-click on its icon in the Deskbar and choose the network's public name (which is the "SSID" it broadcasts) from the context menu.</p>
<img src="images/workshop-wlan-images/join-network.png" alt="join-network.png" />
<p>A window opens where you enter the type of authentication (probably WPA/WPA2, WEP is not a secure encryption anymore!) and the password for that wireless network. Click <span class="button">OK</span> to start the login process.<br /> Depending on your hardware and network configuration this may take a while. You'll be kept informed of the progress by notifications:</p>
<img src="images/workshop-wlan-images/join-status.gif" alt="join-network.gif" />
<p>Once it reads "Ready" and the NetworkStatus icon in the Deskbar shows a green round light, the connection is established. If the notifications end in "No link" and a yellow triangle, something went wrong, probably an incorrect password.</p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="commandline" name="commandline">Ako sa pripojiť z príkazového riadka</a></h2>
<p>If you prefer to use the command line or would like to use scripting or the <span class="path">~/config/settings/boot/UserBootscript</span> to automate things to join a specific network on bootup, there's the command <tt>ifconfig</tt>.</p>
<p>Start a Terminal and enter the first line to scan for available wireless networks:</p>
<pre class="terminal">ifconfig /dev/net/iprowifi3945/0 scan
name address signal auth
haiku-top 01:d0:19:a6:88:42 30 WPA
ArcorInternet123 00:20:12:a4:29:e1 15 WPA</pre>
<p>The path to your wireless network adapter has to be adjusted, of course.<br />
The output shows the public name (SSID), MAC address, signal strength and authentication method of all found networks.</p>
<p>To join a network, use this line and insert the respective public name (SSID) and password:</p>
<pre class="terminal">ifconfig /dev/net/iprowifi3945/0 join {SSID} {heslo}</pre>
<p>Make sure the initial configuration of the wireless network adapter after booting up has finished, before issuing <tt>ifconfig</tt> commands or they might be ignored. Depending on your hardware and network configuration that may take a while. Watch those notifications...</p>
<h2>
<a href="#"><img src="../images/up.png" style="border:none;float:right" alt="index" /></a>
<a id="tips" name="tips">Tipy</a></h2>
<h3>Offline download of binary firmware files</h3>
<p>If you cannot obtain the binary firmware files via the <tt>install-wifi-firmwares.sh</tt> script (for example due to lack of internet connection within Haiku), you can also download <a href="http://www.haiku-os.org/files/download-data-for-wlan-firmwares.txt">this shell script</a>, and run it from another OS that has <tt>wget</tt> and <tt>zip</tt> installed.<br />
Windows users need to have <a href="http://gnuwin32.sourceforge.net/packages/wget.htm">wget</a> and <a href="http://gnuwin32.sourceforge.net/packages/zip.htm">zip</a> for Windows installed in their default locations and use <a href="https://www.haiku-os.org/files/download-data-for-wlan-firmwares.bat">this batch script</a>.<br />
The script will download the needed files and create a zip file that is to be extracted to Haiku's <tt>/boot</tt>. Once unpacked, open a Terminal and type:</p>
<pre class="terminal">install-wifi-firmwares.sh</pre>
<p>Review the licenses and accept them to install all of the now available firmware files.</p>
<h3>Avoiding connection loss</h3>
<p>Haiku's drivers for some WLAN chipsets like the iprowifi4965 are prone to lose connection when using WPA encryption. If you're affected by that, try to disable the "HT mode" (high throughput, 802.11n) before connecting to a network:</p>
<pre class="terminal">ifconfig /dev/net/iprowifi4965/0 -ht</pre>
<p>If that fixes the problem, put the line into <span class="path">~/config/settings/boot/UserBootscript</span> to have it applied automatically every boot-up.</p>
</div>
</div>
<div class="nav">
<div class="inner"><span>
«  <a href="workshop-email.html">Workshop: Spravovanie emailov</a> 
::  <a href="contents.html" class="uplink">Obsah</a> 
::  <a href="applications.html">Aplikácie</a>  »
</span></div>
</div>
</body>
</html>