xref: /openbsd-src/share/man/man4/pgt.4 (revision d13be5d47e4149db2549a9828e244d59dbc43f15)
1.\"	$OpenBSD: pgt.4,v 1.36 2011/09/03 22:59:08 jmc Exp $
2.\"
3.\" Copyright (c) 2006 Theo de Raadt.
4.\" Copyright (c) 2006 The DragonFly Project.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\"
10.\" 1. Redistributions of source code must retain the above copyright
11.\"    notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in
14.\"    the documentation and/or other materials provided with the
15.\"    distribution.
16.\" 3. Neither the name of The DragonFly Project nor the names of its
17.\"    contributors may be used to endorse or promote products derived
18.\"    from this software without specific, prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
24.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
26.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
30.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE.
32.\"
33.Dd $Mdocdate: September 3 2011 $
34.Dt PGT 4
35.Os
36.Sh NAME
37.Nm pgt
38.Nd Conexant/Intersil Prism GT Full-MAC IEEE 802.11a/b/g wireless network
39device
40.Sh SYNOPSIS
41.Cd "pgt* at cardbus?"
42.Cd "pgt* at pci?"
43.Sh DESCRIPTION
44The
45.Nm
46driver provides support for Conexant/Intersil GT-series devices
47which can support the Full-Mac firmwares, using the ISL3877,
48ISL3880, and ISL3890 chips.
49The
50.Nm
51driver will not (yet) work on similar devices using the ISL3886 or
52similar chips which use the Soft-Mac firmwares.
53.Pp
54These are the modes the
55.Nm
56driver can operate in:
57.Bl -tag -width "IBSS-masterXX"
58.It BSS mode
59Also known as
60.Em infrastructure
61mode, this is used when associating with an access point, through
62which all traffic passes.
63This mode is the default.
64.It IBSS mode
65Also known as
66.Em IEEE ad-hoc
67mode or
68.Em peer-to-peer
69mode.
70This is the standardized method of operating without an access point.
71Stations associate with a service set.
72However, actual connections between stations are peer-to-peer.
73.It Host AP
74In this mode the driver acts as an access point (base station)
75for other cards.
76.It monitor mode
77In this mode the driver is able to receive packets without
78associating with an access point.
79This disables the internal receive filter and enables the card to
80capture packets from networks which it wouldn't normally have access to,
81or to scan for access points.
82.El
83.Pp
84The
85.Nm
86driver can be configured to use hardware
87Wired Equivalent Privacy (WEP).
88It is strongly recommended that WEP
89not be used as the sole mechanism
90to secure wireless communication,
91due to serious weaknesses in it.
92.Pp
93The
94.Nm
95driver can be configured at runtime with
96.Xr ifconfig 8
97or on boot with
98.Xr hostname.if 5 .
99.Sh FILES
100The driver needs a set of firmware files which are loaded when
101an interface is brought up:
102.Pp
103.Bl -tag -width Ds -offset indent -compact
104.It Pa /etc/firmware/pgt-isl3877
105.It Pa /etc/firmware/pgt-isl3890
106.El
107.Pp
108These firmware files are not free because Conexant refuses
109to grant distribution rights.
110In fact they have rebuffed thousands
111of attempts to start a dialogue on this issue.
112As a result, even though
113.Ox
114includes the driver, the firmware files cannot be included and
115users have to download these files on their own.
116.Pp
117A prepackaged version of the firmware, designed to be used with
118.Xr pkg_add 1 ,
119can be found at:
120.Bd -literal -offset 3n
121http://firmware.openbsd.org/firmware/pgt-firmware-1.2.tgz
122.Ed
123.Sh HARDWARE
124The following cards are among those supported by the
125.Nm
126driver:
127.Bl -column "NETGEAR WG511 (Taiwanese, not Chinese)" "ISL3880" "CardBus" -offset 6n
128.It Em Card Ta Em Chip Ta Em Bus
129.It "3COM 3CRWE154G72" Ta ISL3880 Ta CardBus
130.It "D-Link DWL-g650 A1" Ta ISL3890 Ta PCI
131.It "I-O Data WN-G54/CB" Ta ISL3890 Ta PCI
132.It "I4 Z-Com XG-600" Ta ISL3890 Ta PCI
133.It "I4 Z-Com XG-900" Ta ISL3890 Ta PCI
134.It "Intersil PRISM Indigo" Ta ISL3877 Ta PCI
135.It "Intersil PRISM Duette" Ta ISL3890 Ta PCI
136.It "NETGEAR WG511 (Taiwanese, not Chinese)" Ta ISL3890 Ta CardBus
137.It "PLANEX GW-DS54G" Ta ISL3890 Ta PCI
138.It "SMC EZ Connect g 2.4GHz SMC2802W" Ta ISL3890 Ta PCI
139.It "SMC EZ Connect g 2.4GHz SMC2835W-v2" Ta ISL3890 Ta CardBus
140.It "SMC 2802Wv2" Ta ISL3890 Ta PCI
141.It "Soyo Aerielink" Ta ISL3890 Ta CardBus
142.It "ZyXEL ZyAIR G-100" Ta ISL3890 Ta CardBus
143.El
144.Sh EXAMPLES
145The following
146.Xr hostname.if 5
147example configures pgt0 to join whatever network is available on boot,
148using WEP key
149.Dq 0x1deadbeef1 ,
150channel 11, obtaining an IP address using DHCP:
151.Bd -literal -offset indent
152dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
153.Ed
154.Pp
155The following
156.Xr hostname.if 5
157example creates a host-based access point on boot:
158.Bd -literal -offset indent
159inet 192.168.1.1 255.255.255.0 NONE media autoselect \e
160	mediaopt hostap nwid my_net chan 11
161.Ed
162.Pp
163Configure pgt0 for WEP, using hex key
164.Dq 0x1deadbeef1 :
165.Bd -literal -offset indent
166# ifconfig pgt0 nwkey 0x1deadbeef1
167.Ed
168.Pp
169Return pgt0 to its default settings:
170.Bd -literal -offset indent
171# ifconfig pgt0 -bssid -chan media autoselect \e
172	nwid "" -nwkey
173.Ed
174.Pp
175Join an existing BSS network,
176.Dq my_net :
177.Bd -literal -offset indent
178# ifconfig pgt0 192.168.1.1 netmask 0xffffff00 nwid my_net
179.Ed
180.Sh SEE ALSO
181.Xr arp 4 ,
182.Xr cardbus 4 ,
183.Xr ifmedia 4 ,
184.Xr intro 4 ,
185.Xr netintro 4 ,
186.Xr pci 4 ,
187.Xr hostname.if 5 ,
188.Xr hostapd 8 ,
189.Xr ifconfig 8
190.Sh HISTORY
191The
192.Nm
193driver first appeared in
194.Ox 4.0 .
195.Sh AUTHORS
196.An -nosplit
197The
198.Nm
199driver was originally written for
200.Fx
201by
202.An Brian Fundakowski ,
203and then rewritten for
204.Ox
205by
206.An Marcus Glocker
207and
208.An Claudio Jeker .
209.Sh CAVEATS
210Host AP mode doesn't support power saving.
211Clients attempting to use power saving mode may experience significant
212packet loss (disabling power saving on the client will fix this).
213