Remove a bunch of contractions.
This commit is contained in:
parent
218b77da65
commit
fe710655da
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=15045
1 changed files with 19 additions and 19 deletions
|
@ -517,9 +517,9 @@ host2.example.com link#1 UC 0 0
|
|||
<sect4><title>Requirements</title>
|
||||
<para>In order to set up a wireless access point with FreeBSD, you need to have
|
||||
a compatible wireless card. Currently, only cards with the Prism chipset are
|
||||
supported. You'll also need a wired network card that is supported by FreeBSD
|
||||
(this shouldn't be difficult to find, FreeBSD supports a lot of different
|
||||
devices). For this guide, we'll assume you want to &man.bridge.4; all traffic between
|
||||
supported. You will also need a wired network card that is supported by FreeBSD
|
||||
(this should not be difficult to find, FreeBSD supports a lot of different
|
||||
devices). For this guide, we will assume you want to &man.bridge.4; all traffic between
|
||||
the wireless device and the network attached to the wired network card.</para>
|
||||
</sect4>
|
||||
|
||||
|
@ -538,10 +538,10 @@ wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
channel 10 authmode OPEN powersavemode OFF powersavesleep 100
|
||||
wepmode OFF weptxkey 1</screen>
|
||||
|
||||
<para>Don't worry about the details now, just make sure it shows you
|
||||
<para>Do not worry about the details now, just make sure it shows you
|
||||
something to indicate you have a wireless card installed.</para>
|
||||
|
||||
<para>Next, you'll need to load a module in order to get the bridging part
|
||||
<para>Next, you will need to load a module in order to get the bridging part
|
||||
of FreeBSD ready for the access point. In order to load the &man.bridge.4; module,
|
||||
simply run the following command:</para>
|
||||
|
||||
|
@ -559,7 +559,7 @@ wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
<screen>&prompt.root; <userinput>sysctl net.link.ether.bridge_cfg="wi0 xl0"</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>sysctl net.inet.ip.forwarding=1</userinput></screen>
|
||||
|
||||
<para>Now it's time for the wireless card setup.</para>
|
||||
<para>Now it is time for the wireless card setup.</para>
|
||||
<para>The following commands will set the card into BSS mode (turning it
|
||||
into an access point):</para>
|
||||
|
||||
|
@ -573,8 +573,8 @@ wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
my_net with the -n flag. Check out &man.wicontrol.8; for more information.</para>
|
||||
|
||||
<para>The &man.ifconfig.8; line brings the wi0 interface up, and sets its SSID to my_net.
|
||||
This is a little redundant, but it's shown here to emphasize that you can do
|
||||
these settings in either place. You'll also notice a mediaopt hostap setting;
|
||||
This is a little redundant, but it is shown here to emphasize that you can do
|
||||
these settings in either place. You will also notice a mediaopt hostap setting;
|
||||
this setting is to tell &man.ifconfig.8; to put the interface into access point mode.</para>
|
||||
|
||||
<para>The second &man.wicontrol.8; line turns the interface into access point mode, instead
|
||||
|
@ -598,24 +598,24 @@ wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
|
||||
<para>There are a few different ways to configure a wireless client. These are based
|
||||
on the different wireless modes, generally BSS (infrastructure mode, which requires an
|
||||
access point), and IBSS (ad-hoc, or peer-to-peer mode). In our example, we'll use the
|
||||
access point), and IBSS (ad-hoc, or peer-to-peer mode). In our example, we will use the
|
||||
most popular of the two, BSS mode, to talk to an access point.</para>
|
||||
|
||||
<sect4>
|
||||
<title>Requirements</title>
|
||||
<para>There is only one real requirement for setting up FreeBSD as a wireless client.
|
||||
You'll need a wireless card that is supported by FreeBSD.</para>
|
||||
You will need a wireless card that is supported by FreeBSD.</para>
|
||||
</sect4>
|
||||
|
||||
<sect4>
|
||||
<title>Setting Up A Wireless FreeBSD Client</title>
|
||||
<para>You'll need to know a few things about the wireless network you are joining before
|
||||
<para>You will need to know a few things about the wireless network you are joining before
|
||||
you start. In this example, we are joining a network that has a name of my_net, and
|
||||
encryption turned off.</para>
|
||||
|
||||
<para>Note: In this example, we are not using encryption, which is a dangerous situation.
|
||||
In the next section, you'll learn how to turn on encryption, and why it is important to
|
||||
do so, and why some encryption technologies still don't completely protect you.</para>
|
||||
In the next section, you will learn how to turn on encryption, and why it is important to
|
||||
do so, and why some encryption technologies still do not completely protect you.</para>
|
||||
|
||||
<para>Make sure your card is recognized by FreeBSD:</para>
|
||||
|
||||
|
@ -631,7 +631,7 @@ wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
channel 10 authmode OPEN powersavemode OFF powersavesleep 100
|
||||
wepmode OFF weptxkey 1</screen>
|
||||
|
||||
<para>Now, we'll set the card to the correct settings for our network:</para>
|
||||
<para>Now, we will set the card to the correct settings for our network:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig wi0 inet 192.168.0.20 netmask 255.255.255.0 ssid my_net</userinput></screen>
|
||||
|
||||
|
@ -651,7 +651,7 @@ wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
should return some information, and you should see:</para>
|
||||
<screen>status: associated</screen>
|
||||
|
||||
<para>If it does not show associated, then you may be out of range of the access point, don't have
|
||||
<para>If it does not show associated, then you may be out of range of the access point, do not have
|
||||
encryption on, or possibly have a configuration problem.</para>
|
||||
|
||||
</sect4>
|
||||
|
@ -674,10 +674,10 @@ wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
<title>WEP</title>
|
||||
<para>WEP is an abbreviation for Wired Equivalency Protocol. WEP is an attempt to
|
||||
make wireless networks as safe and secure as a wired network. Unfortunately, it
|
||||
has been cracked, and is fairly trivial to break. This also means it isn't something
|
||||
has been cracked, and is fairly trivial to break. This also means it is not something
|
||||
to rely on when it comes to encrypting sensitive data. </para>
|
||||
|
||||
<para>It's better than nothing, so here's how to turn on WEP on your new FreeBSD
|
||||
<para>It is better than nothing, so here's how to turn on WEP on your new FreeBSD
|
||||
access point:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig wi0 inet up ssid my_net wepkey 0x1234567890 mediaopt hostap</userinput></screen>
|
||||
|
@ -702,7 +702,7 @@ wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
<sect3>
|
||||
<title>Tools</title>
|
||||
<para>There are a small number of tools available for use in debugging and setting
|
||||
up your wireless network, and here we'll attempt to describe some of them and what
|
||||
up your wireless network, and here we will attempt to describe some of them and what
|
||||
they do.</para>
|
||||
|
||||
<sect4>
|
||||
|
@ -725,7 +725,7 @@ wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
<sect4>
|
||||
<title>wicontrol, ancontrol, raycontrol</title>
|
||||
<para>These are the tools you use to control how your wireless card behaves on the
|
||||
wireless network. In the examples above, we've chosen to use &man.wicontrol.8;, since our
|
||||
wireless network. In the examples above, we have chosen to use &man.wicontrol.8;, since our
|
||||
wireless card is a wi0 interface. If you had a Cisco wireless device, it would come
|
||||
up as an0, and therefore you would use &man.ancontrol.8;.<para>
|
||||
|
||||
|
|
Loading…
Reference in a new issue