xref: /openbsd-src/share/man/man4/upgt.4 (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1.\" $OpenBSD: upgt.4,v 1.24 2015/09/10 15:16:43 schwarze Exp $
2.\"
3.\" Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
4.\" Copyright (c) 2005-2007
5.\"     Damien Bergamini <damien.bergamini@free.fr>
6.\"
7.\" Permission to use, copy, modify, and distribute this software for any
8.\" purpose with or without fee is hereby granted, provided that the above
9.\" copyright notice and this permission notice appear in all copies.
10.\"
11.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18.\"
19.\"
20.\"
21.\" Copyright (c) 2006 Theo de Raadt.
22.\" Copyright (c) 2006 The DragonFly Project.  All rights reserved.
23.\"
24.\" Redistribution and use in source and binary forms, with or without
25.\" modification, are permitted provided that the following conditions
26.\" are met:
27.\"
28.\" 1. Redistributions of source code must retain the above copyright
29.\"    notice, this list of conditions and the following disclaimer.
30.\" 2. Redistributions in binary form must reproduce the above copyright
31.\"    notice, this list of conditions and the following disclaimer in
32.\"    the documentation and/or other materials provided with the
33.\"    distribution.
34.\" 3. Neither the name of The DragonFly Project nor the names of its
35.\"    contributors may be used to endorse or promote products derived
36.\"    from this software without specific, prior written permission.
37.\"
38.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
39.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
40.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
41.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
42.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
43.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
44.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
45.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
46.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
47.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
48.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
49.\" SUCH DAMAGE.
50.\"
51.Dd $Mdocdate: September 10 2015 $
52.Dt UPGT 4
53.Os
54.Sh NAME
55.Nm upgt
56.Nd Conexant/Intersil PrismGT SoftMAC USB IEEE 802.11b/g wireless network device
57.Sh SYNOPSIS
58.Cd "upgt* at uhub? port ?"
59.Sh DESCRIPTION
60The
61.Nm
62driver supports the USB 2.0 Conexant/Intersil PrismGT series wireless
63adapters based on the GW3887 chipset.
64.Pp
65These are the modes the
66.Nm
67driver can operate in:
68.Bl -tag -width "IBSS-masterXX"
69.It BSS mode
70Also known as
71.Em infrastructure
72mode, this is used when associating with an access point, through
73which all traffic passes.
74This mode is the default.
75.It monitor mode
76In this mode the driver is able to receive packets without
77associating with an access point.
78This disables the internal receive filter and enables the card to
79capture packets from networks which it wouldn't normally have access to,
80or to scan for access points.
81.El
82.Pp
83The
84.Nm
85driver can be configured to use
86Wired Equivalent Privacy (WEP) or
87Wi-Fi Protected Access (WPA-PSK and WPA2-PSK).
88WPA is the current encryption standard for wireless networks.
89It is strongly recommended that WEP
90not be used as the sole mechanism
91to secure wireless communication,
92due to serious weaknesses in it.
93The
94.Nm
95driver relies on the software 802.11 stack for both encryption and decryption
96of data frames.
97.Pp
98The
99.Nm
100driver can be configured at runtime with
101.Xr ifconfig 8
102or on boot with
103.Xr hostname.if 5 .
104.Sh FILES
105The driver needs a firmware file which is loaded when an interface is
106brought up:
107.Pp
108.Bl -tag -width Ds -offset indent -compact
109.It Pa /etc/firmware/upgt-gw3887
110.El
111.\".Pp
112.\"These firmware files are not free because Conexant/Intersil refuses
113.\"to grant distribution rights.
114.\"As a result, even though
115.\".Ox
116.\"includes the driver, the firmware files cannot be included and
117.\"users have to download these files on their own.
118.Pp
119A prepackaged version of the firmware can be installed using
120.Xr fw_update 1 .
121.Sh HARDWARE
122The following adapters should work:
123.Pp
124.Bl -tag -width Ds -offset indent -compact
125.It Belkin F5D7050 (version 1000)
126.It Cohiba Proto Board
127.It D-Link DWL-G120 Cohiba
128.It D-Link DWL-G122 rev A2
129.It FSC Connect2Air E-5400 USB D1700
130.It Gigaset USB Adapter 54
131.It Inventel UR045G
132.It IOGear GWU513
133.It Linksys WUSB54AG
134.It Linksys WUSB54G ver 2
135.It Medion MD40900
136.It Philips CPWUA054
137.It SMC EZ ConnectG SMC2862W-G
138.It Sagem XG703A
139.It Spinnaker DUT
140.It Spinnaker Proto Board
141.It Thomson SpeedTouch 121g
142.El
143.Sh EXAMPLES
144The following example scans for available networks:
145.Pp
146.Dl # ifconfig upgt0 scan
147.Pp
148The following
149.Xr hostname.if 5
150example configures upgt0 to join network
151.Dq mynwid ,
152using WPA key
153.Dq mywpakey ,
154obtaining an IP address using DHCP:
155.Bd -literal -offset indent
156nwid mynwid
157wpakey mywpakey
158dhcp
159.Ed
160.Sh SEE ALSO
161.Xr arp 4 ,
162.Xr ifmedia 4 ,
163.Xr intro 4 ,
164.Xr netintro 4 ,
165.Xr usb 4 ,
166.Xr hostname.if 5 ,
167.\".Xr hostapd 8 ,
168.Xr ifconfig 8
169.Sh HISTORY
170The
171.Nm
172driver first appeared in
173.Ox 4.3 .
174.Sh AUTHORS
175.An -nosplit
176The
177.Nm
178driver was written by
179.An Marcus Glocker Aq Mt mglocker@openbsd.org .
180.Pp
181The hardware specification was reverse engineered by the people at
182.Lk http://www.prism54.org .
183.Sh CAVEATS
184The
185.Nm
186driver just supports the USB 2.0 devices (GW3887 chipset) but not the
187USB 1.0 devices containing the NET2280, ISL3880, and ISL3886 chipsets.
188Some further efforts would be necessary to add USB 1.0 support to the
189driver.
190