Wireless section: Many fixes and updates (mostly on AP part) to match
8.X. It's still a work in progress.
This commit is contained in:
parent
70dbb5089d
commit
d92f9c2d6e
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=36315
1 changed files with 83 additions and 66 deletions
|
@ -908,9 +908,9 @@ device wlan_scan_sta # 802.11 STA mode scanning</programlisting>
|
|||
about the wireless device in the boot messages, like
|
||||
this:</para>
|
||||
|
||||
<screen>ath0: <Atheros 5212> mem 0xff9f0000-0xff9fffff irq 17 at device 2.0 on pci2
|
||||
ath0: Ethernet address: 00:11:95:d5:43:62
|
||||
ath0: mac 7.9 phy 4.5 radio 5.6</screen>
|
||||
<screen>ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 11 at device 0.0 on cardbus1
|
||||
ath0: [ITHREAD]
|
||||
ath0: AR2413 mac 7.9 RF2413 phy 4.5</screen>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
|
@ -939,7 +939,7 @@ ath0: mac 7.9 phy 4.5 radio 5.6</screen>
|
|||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> up scan</userinput>
|
||||
SSID BSSID CHAN RATE S:N INT CAPS
|
||||
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
|
||||
dlinkap 00:13:46:49:41:76 11 54M -90:96 100 EPS WPA WME
|
||||
freebsdap 00:11:95:c3:0d:ac 1 54M -83:96 100 EPS WPA</screen>
|
||||
|
||||
|
@ -1211,7 +1211,7 @@ wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
point:</para>
|
||||
|
||||
<programlisting>wlans_ath0="wlan0"
|
||||
ifconfig_wlan0="ssid <replaceable>your_ssid_here</replaceable> inet <replaceable>192.168.1.100</replaceable> netmask <replaceable>255.255.255.0</replaceable>"</programlisting>
|
||||
ifconfig_wlan0="inet <replaceable>192.168.1.100</replaceable> netmask <replaceable>255.255.255.0</replaceable> ssid <replaceable>your_ssid_here</replaceable>"</programlisting>
|
||||
</sect5>
|
||||
</sect4>
|
||||
|
||||
|
@ -1716,8 +1716,8 @@ wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
|||
<command>ifconfig</command>:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> ssid my_net wepmode on weptxkey 3 wepkey 3:0x3456789012 \
|
||||
inet <replaceable>192.168.1.100</replaceable> netmask <replaceable>255.255.255.0</replaceable></userinput></screen>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> inet <replaceable>192.168.1.100</replaceable> netmask <replaceable>255.255.255.0</replaceable> \
|
||||
ssid <replaceable>my_net</replaceable> wepmode on weptxkey <replaceable>3</replaceable> wepkey <replaceable>3:0x3456789012</replaceable></userinput></screen>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
@ -1782,16 +1782,17 @@ Associated with 00:13:46:49:41:76</screen>
|
|||
|
||||
<para>On the box <hostid>A</hostid>:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> ssid <replaceable>freebsdap</replaceable> mediaopt adhoc inet <replaceable>192.168.0.1</replaceable> netmask <replaceable>255.255.255.0</replaceable></userinput>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable> wlanmode adhoc</userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> inet <replaceable>192.168.0.1</replaceable> netmask <replaceable>255.255.255.0</replaceable> ssid <replaceable>freebsdap</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
||||
ether 00:11:95:c3:0d:ac
|
||||
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
|
||||
media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (autoselect <adhoc>)
|
||||
status: associated
|
||||
ssid freebsdap channel 2 bssid 02:11:95:c3:0d:ac
|
||||
authmode OPEN privacy OFF txpowmax 36 protmode CTS bintval 100</screen>
|
||||
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <adhoc>
|
||||
status: running
|
||||
ssid freebsdap channel 2 (2417 Mhz 11g) bssid 02:11:95:c3:0d:ac
|
||||
country US ecm authmode OPEN privacy OFF txpower 21.5 scanvalid 60
|
||||
protmode CTS wme burst</screen>
|
||||
|
||||
<para>The <literal>adhoc</literal> parameter indicates the
|
||||
interface is running in the IBSS mode.</para>
|
||||
|
@ -1799,25 +1800,26 @@ Associated with 00:13:46:49:41:76</screen>
|
|||
<para>On <hostid>B</hostid>, we should be able to detect
|
||||
<hostid>A</hostid>:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> up scan</userinput>
|
||||
SSID BSSID CHAN RATE S:N INT CAPS
|
||||
freebsdap 02:11:95:c3:0d:ac 2 54M -90:-96 100 IS</screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable> wlanmode adhoc</userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> up scan</userinput>
|
||||
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
|
||||
freebsdap 02:11:95:c3:0d:ac 2 54M -64:-96 100 IS WME</screen>
|
||||
|
||||
<para>The <literal>I</literal> in the output confirms the
|
||||
machine <hostid>A</hostid> is in ad-hoc mode. We just have to
|
||||
configure <hostid>B</hostid> with a different IP
|
||||
address:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> ssid <replaceable>freebsdap</replaceable> mediaopt adhoc inet <replaceable>192.168.0.2</replaceable> netmask <replaceable>255.255.255.0</replaceable></userinput>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> inet <replaceable>192.168.0.2</replaceable> netmask <replaceable>255.255.255.0</replaceable> ssid <replaceable>freebsdap</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
||||
ether 00:11:95:d5:43:62
|
||||
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
|
||||
media: IEEE 802.11 Wireless Ethernet autoselect <adhoc> (autoselect <adhoc>)
|
||||
status: associated
|
||||
ssid freebsdap channel 2 bssid 02:11:95:c3:0d:ac
|
||||
authmode OPEN privacy OFF txpowmax 36 protmode CTS bintval 100</screen>
|
||||
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <adhoc>
|
||||
status: running
|
||||
ssid freebsdap channel 2 (2417 Mhz 11g) bssid 02:11:95:c3:0d:ac
|
||||
country US ecm authmode OPEN privacy OFF txpower 21.5 scanvalid 60
|
||||
protmode CTS wme burst</screen>
|
||||
|
||||
<para>Both <hostid>A</hostid> and <hostid>B</hostid> are now
|
||||
ready to exchange informations.</para>
|
||||
|
@ -1851,43 +1853,54 @@ Associated with 00:13:46:49:41:76</screen>
|
|||
check if your wireless device supports the host-based access
|
||||
point mode (also know as hostap mode):</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable> list caps</userinput>
|
||||
ath0=783ed0f<WEP,TKIP,AES,AES_CCM,IBSS,HOSTAP,AHDEMO,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,TKIPMIC,WPA1,WPA2,BURST,WME></screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> list caps</userinput>
|
||||
drivercaps=6f85edc1<STA,FF,TURBOP,IBSS,HOSTAP,AHDEMO,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,MBSS,WPA1,WPA2,BURST,WME,WDS,BGSCAN,TXFRAG>
|
||||
cryptocaps=1f<WEP,TKIP,AES,AES_CCM,TKIPMIC></screen>
|
||||
|
||||
<para>This output displays the card capabilities; the
|
||||
<literal>HOSTAP</literal> word confirms this wireless card
|
||||
can act as an Access Point. Various supported ciphers are
|
||||
also mentioned: WEP, TKIP, WPA2, etc., these informations
|
||||
also mentioned: WEP, TKIP, AES, etc., these informations
|
||||
are important to know what security protocols could be set
|
||||
on the Access Point.</para>
|
||||
|
||||
<para>The wireless device can now be put into hostap mode and
|
||||
configured with the correct SSID and IP address:</para>
|
||||
<para>The wireless device can only be put into hostap mode
|
||||
during the creation of the network pseudo-device, so
|
||||
previous created device must be destroyed first:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable> ssid <replaceable>freebsdap</replaceable> mode 11g mediaopt hostap</userinput> inet <replaceable>192.168.0.1</replaceable> netmask <replaceable>255.255.255.0</replaceable></screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> destroy</userinput></screen>
|
||||
|
||||
<para>then regenerated with the correct option before setting
|
||||
the other parameters:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable> wlanmode hostap</userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> inet <replaceable>192.168.0.1</replaceable> netmask <replaceable>255.255.255.0</replaceable> ssid <replaceable>freebsdap</replaceable> mode 11g channel 1</userinput></screen>
|
||||
|
||||
<para>Use again <command>ifconfig</command> to see the status
|
||||
of the <devicename>ath0</devicename> interface:</para>
|
||||
of the <devicename>wlan0</devicename> interface:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable></userinput>
|
||||
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
|
||||
inet6 fe80::211:95ff:fec3:dac%ath0 prefixlen 64 scopeid 0x4
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
||||
ether 00:11:95:c3:0d:ac
|
||||
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
|
||||
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
|
||||
status: associated
|
||||
ssid freebsdap channel 1 bssid 00:11:95:c3:0d:ac
|
||||
authmode OPEN privacy OFF txpowmax 38 bmiss 7 protmode CTS burst dtimperiod 1 bintval 100</screen>
|
||||
status: running
|
||||
ssid freebsdap channel 1 (2412 Mhz 11g) bssid 00:11:95:c3:0d:ac
|
||||
country US ecm authmode OPEN privacy OFF txpower 21.5 scanvalid 60
|
||||
protmode CTS wme burst dtimperiod 1 -dfs</screen>
|
||||
|
||||
<para>The <literal>hostap</literal> parameter indicates the
|
||||
interface is running in the host-based access point
|
||||
mode.</para>
|
||||
|
||||
<para>The interface configuration can be done automatically at
|
||||
boot time by adding the following line to
|
||||
boot time by adding the following lines to
|
||||
<filename>/etc/rc.conf</filename>:</para>
|
||||
|
||||
<programlisting>ifconfig_ath0="ssid <replaceable>freebsdap</replaceable> mode 11g mediaopt hostap inet <replaceable>192.168.0.1</replaceable> netmask <replaceable>255.255.255.0</replaceable>"</programlisting>
|
||||
<programlisting>wlans_ath0="wlan0"
|
||||
create_args_wlan0="wlanmode hostap"
|
||||
ifconfig_wlan0="inet <replaceable>192.168.0.1</replaceable> netmask <replaceable>255.255.255.0</replaceable> ssid <replaceable>freebsdap</replaceable> mode 11g channel <replaceable>1</replaceable>"</programlisting>
|
||||
</sect3>
|
||||
|
||||
<sect3>
|
||||
|
@ -1903,23 +1916,25 @@ ath0=783ed0f<WEP,TKIP,AES,AES_CCM,IBSS,HOSTAP,AHDEMO,TXPMGT,SHSLOT,SHPREAMBLE
|
|||
possible from another wireless machine to initiate a scan to
|
||||
find the AP:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable> up scan</userinput>
|
||||
SSID BSSID CHAN RATE S:N INT CAPS
|
||||
freebsdap 00:11:95:c3:0d:ac 1 54M 22:1 100 ES</screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> up scan</userinput>
|
||||
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
|
||||
freebsdap 00:11:95:c3:0d:ac 1 54M -66:-96 100 ES WME</screen>
|
||||
|
||||
<para>The client machine found the Access Point and can be
|
||||
associated with it:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable> ssid <replaceable>freebsdap</replaceable> inet <replaceable>192.168.0.2</replaceable> netmask <replaceable>255.255.255.0</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable></userinput>
|
||||
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||
inet6 fe80::211:95ff:fed5:4362%ath0 prefixlen 64 scopeid 0x1
|
||||
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> inet <replaceable>192.168.0.2</replaceable> netmask <replaceable>255.255.255.0</replaceable> ssid <replaceable>freebsdap</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
||||
ether 00:11:95:d5:43:62
|
||||
media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
|
||||
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
|
||||
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
|
||||
status: associated
|
||||
ssid freebsdap channel 1 bssid 00:11:95:c3:0d:ac
|
||||
authmode OPEN privacy OFF txpowmax 36 protmode CTS bintval 100</screen>
|
||||
ssid freebsdap channel 1 (2412 Mhz 11g) bssid 00:11:95:c3:0d:ac
|
||||
country US ecm authmode OPEN privacy OFF txpower 21.5 bmiss 7
|
||||
scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
|
||||
roam:rate 5 protmode CTS wme burst</screen>
|
||||
</sect3>
|
||||
|
||||
<sect3>
|
||||
|
@ -1957,7 +1972,7 @@ freebsdap 00:11:95:c3:0d:ac 1 54M 22:1 100 ES</screen>
|
|||
<para>The configuration is done in the
|
||||
<filename>/etc/hostapd.conf</filename> file:</para>
|
||||
|
||||
<programlisting>interface=ath0 <co id="co-ap-wpapsk-iface">
|
||||
<programlisting>interface=wlan0 <co id="co-ap-wpapsk-iface">
|
||||
debug=1 <co id="co-ap-wpapsk-dbug">
|
||||
ctrl_interface=/var/run/hostapd <co id="co-ap-wpapsk-ciface">
|
||||
ctrl_interface_group=wheel <co id="co-ap-wpapsk-cifacegrp">
|
||||
|
@ -2041,8 +2056,8 @@ wpa_pairwise=CCMP TKIP <co id="co-ap-wpapsk-pwise"></programlisting>
|
|||
|
||||
<screen>&prompt.root <userinput>/etc/rc.d/hostapd forcestart</userinput></screen>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable></userinput>
|
||||
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2290
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2290
|
||||
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
|
||||
inet6 fe80::211:95ff:fec3:dac%ath0 prefixlen 64 scopeid 0x4
|
||||
ether 00:11:95:c3:0d:ac
|
||||
|
@ -2055,7 +2070,7 @@ wpa_pairwise=CCMP TKIP <co id="co-ap-wpapsk-pwise"></programlisting>
|
|||
associated with it, see <xref
|
||||
linkend="network-wireless-wpa"> for more details. It is
|
||||
possible to see the stations associated with the AP using
|
||||
the <command>ifconfig <replaceable>ath0</replaceable> list
|
||||
the <command>ifconfig <replaceable>wlan0</replaceable> list
|
||||
sta</command> command.</para>
|
||||
</sect4>
|
||||
</sect3>
|
||||
|
@ -2073,8 +2088,9 @@ wpa_pairwise=CCMP TKIP <co id="co-ap-wpapsk-pwise"></programlisting>
|
|||
<para>The wireless device can now be put into hostap mode and
|
||||
configured with the correct SSID and IP address:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable> ssid <replaceable>freebsdap</replaceable> wepmode on weptxkey 3 wepkey 3:0x3456789012 mode 11g mediaopt hostap \
|
||||
inet <replaceable>192.168.0.1</replaceable> netmask <replaceable>255.255.255.0</replaceable></userinput></screen>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable> wlanmode hostap</userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> inet <replaceable>192.168.0.1</replaceable> netmask <replaceable>255.255.255.0</replaceable> \
|
||||
ssid <replaceable>freebsdap</replaceable> wepmode on weptxkey <replaceable>3</replaceable> wepkey <replaceable>3:0x3456789012</replaceable> mode 11g</userinput></screen>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
@ -2096,22 +2112,23 @@ wpa_pairwise=CCMP TKIP <co id="co-ap-wpapsk-pwise"></programlisting>
|
|||
</itemizedlist>
|
||||
|
||||
<para>Use again <command>ifconfig</command> to see the status
|
||||
of the <devicename>ath0</devicename> interface:</para>
|
||||
of the <devicename>wlan0</devicename> interface:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable></userinput>
|
||||
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
||||
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
|
||||
inet6 fe80::211:95ff:fec3:dac%ath0 prefixlen 64 scopeid 0x4
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput>
|
||||
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
||||
ether 00:11:95:c3:0d:ac
|
||||
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
|
||||
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
|
||||
status: associated
|
||||
ssid freebsdap channel 1 bssid 00:11:95:c3:0d:ac
|
||||
authmode OPEN privacy ON deftxkey 3 wepkey 3:40-bit txpowmax 36 protmode CTS dtimperiod 1 bintval 100</screen>
|
||||
status: running
|
||||
ssid freebsdap channel 4 (2427 Mhz 11g) bssid 00:11:95:c3:0d:ac
|
||||
country US ecm authmode OPEN privacy ON deftxkey 3 wepkey 3:40-bit
|
||||
txpower 21.5 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs</screen>
|
||||
|
||||
<para>From another wireless machine, it is possible to initiate
|
||||
a scan to find the AP:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable> up scan</userinput>
|
||||
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable></userinput>
|
||||
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> up scan</userinput>
|
||||
SSID BSSID CHAN RATE S:N INT CAPS
|
||||
freebsdap 00:11:95:c3:0d:ac 1 54M 22:1 100 EPS</screen>
|
||||
|
||||
|
|
Loading…
Reference in a new issue