|
Lines 838-845
Link Here
|
| 838 |
frequency and probe for available access points. Only |
838 |
frequency and probe for available access points. Only |
| 839 |
the superuser can initiate a scan:</para> |
839 |
the superuser can initiate a scan:</para> |
| 840 |
|
840 |
|
| 841 |
<screen>&prompt.root; <userinput>ifconfig wlan0 create wlandev ath0</userinput> |
841 |
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> create wlandev <replaceable>ath0</replaceable></userinput> |
| 842 |
&prompt.root; <userinput>ifconfig wlan0 up scan</userinput> |
842 |
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> up scan</userinput> |
| 843 |
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS |
843 |
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS |
| 844 |
dlinkap 00:13:46:49:41:76 11 54M -90:96 100 EPS WPA WME |
844 |
dlinkap 00:13:46:49:41:76 11 54M -90:96 100 EPS WPA WME |
| 845 |
freebsdap 00:11:95:c3:0d:ac 1 54M -83:96 100 EPS WPA</screen> |
845 |
freebsdap 00:11:95:c3:0d:ac 1 54M -83:96 100 EPS WPA</screen> |
|
Lines 921-927
Link Here
|
| 921 |
<para>One can also display the current list of known |
921 |
<para>One can also display the current list of known |
| 922 |
networks with:</para> |
922 |
networks with:</para> |
| 923 |
|
923 |
|
| 924 |
<screen>&prompt.root; <userinput>ifconfig wlan0 list scan</userinput></screen> |
924 |
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable> list scan</userinput></screen> |
| 925 |
|
925 |
|
| 926 |
<para>This information may be updated automatically by the |
926 |
<para>This information may be updated automatically by the |
| 927 |
adapter or manually with a <option>scan</option> request. |
927 |
adapter or manually with a <option>scan</option> request. |
|
Lines 1068-1074
Link Here
|
| 1068 |
to see the status of the interface |
1068 |
to see the status of the interface |
| 1069 |
<filename>ath0</filename>:</para> |
1069 |
<filename>ath0</filename>:</para> |
| 1070 |
|
1070 |
|
| 1071 |
<screen>&prompt.root; <userinput>ifconfig wlan0</userinput> |
1071 |
<screen>&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput> |
| 1072 |
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 |
1072 |
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 |
| 1073 |
ether 00:11:95:d5:43:62 |
1073 |
ether 00:11:95:d5:43:62 |
| 1074 |
inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255 |
1074 |
inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255 |
|
Lines 1213-1219
Link Here
|
| 1213 |
the information in |
1213 |
the information in |
| 1214 |
<filename>/etc/wpa_supplicant.conf</filename>:</para> |
1214 |
<filename>/etc/wpa_supplicant.conf</filename>:</para> |
| 1215 |
|
1215 |
|
| 1216 |
<screen>&prompt.root; <userinput>wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf</userinput> |
1216 |
<screen>&prompt.root; <userinput>wpa_supplicant -i <replaceable>wlan0</replaceable> -c /etc/wpa_supplicant.conf</userinput> |
| 1217 |
Trying to associate with 00:11:95:c3:0d:ac (SSID='freebsdap' freq=2412 MHz) |
1217 |
Trying to associate with 00:11:95:c3:0d:ac (SSID='freebsdap' freq=2412 MHz) |
| 1218 |
Associated with 00:11:95:c3:0d:ac |
1218 |
Associated with 00:11:95:c3:0d:ac |
| 1219 |
WPA: Key negotiation completed with 00:11:95:c3:0d:ac [PTK=CCMP GTK=CCMP] |
1219 |
WPA: Key negotiation completed with 00:11:95:c3:0d:ac [PTK=CCMP GTK=CCMP] |
|
Lines 1223-1233
Link Here
|
| 1223 |
to get the <acronym>IP</acronym> address from the |
1223 |
to get the <acronym>IP</acronym> address from the |
| 1224 |
<acronym>DHCP</acronym> server:</para> |
1224 |
<acronym>DHCP</acronym> server:</para> |
| 1225 |
|
1225 |
|
| 1226 |
<screen>&prompt.root; <userinput>dhclient wlan0</userinput> |
1226 |
<screen>&prompt.root; <userinput>dhclient <replaceable>wlan0</replaceable></userinput> |
| 1227 |
DHCPREQUEST on wlan0 to 255.255.255.255 port 67 |
1227 |
DHCPREQUEST on wlan0 to 255.255.255.255 port 67 |
| 1228 |
DHCPACK from 192.168.0.1 |
1228 |
DHCPACK from 192.168.0.1 |
| 1229 |
bound to 192.168.0.254 -- renewal in 300 seconds. |
1229 |
bound to 192.168.0.254 -- renewal in 300 seconds. |
| 1230 |
&prompt.root; <userinput>ifconfig wlan0</userinput> |
1230 |
&prompt.root; <userinput>ifconfig <replaceable>wlan0</replaceable></userinput> |
| 1231 |
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 |
1231 |
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 |
| 1232 |
ether 00:11:95:d5:43:62 |
1232 |
ether 00:11:95:d5:43:62 |
| 1233 |
inet 192.168.0.254 netmask 0xffffff00 broadcast 192.168.0.255 |
1233 |
inet 192.168.0.254 netmask 0xffffff00 broadcast 192.168.0.255 |