xref: /freebsd/share/man/man4/upgt.4 (revision 4262dbc57982383eb61a8b7806de6dd4b7802da8)
1b3be9d15SWeongyo Jeong.\" $OpenBSD: upgt.4,v 1.6 2008/04/17 14:01:22 jmc Exp $
2b3be9d15SWeongyo Jeong.\"
3b3be9d15SWeongyo Jeong.\" Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
4b3be9d15SWeongyo Jeong.\" Copyright (c) 2005-2007
5b3be9d15SWeongyo Jeong.\"     Damien Bergamini <damien.bergamini@free.fr>
6b3be9d15SWeongyo Jeong.\"
7b3be9d15SWeongyo Jeong.\" Permission to use, copy, modify, and distribute this software for any
8b3be9d15SWeongyo Jeong.\" purpose with or without fee is hereby granted, provided that the above
9b3be9d15SWeongyo Jeong.\" copyright notice and this permission notice appear in all copies.
10b3be9d15SWeongyo Jeong.\"
11b3be9d15SWeongyo Jeong.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12b3be9d15SWeongyo Jeong.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13b3be9d15SWeongyo Jeong.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14b3be9d15SWeongyo Jeong.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15b3be9d15SWeongyo Jeong.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16b3be9d15SWeongyo Jeong.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17b3be9d15SWeongyo Jeong.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18b3be9d15SWeongyo Jeong.\"
19b3be9d15SWeongyo Jeong.\"
20b3be9d15SWeongyo Jeong.\"
21b3be9d15SWeongyo Jeong.\" Copyright (c) 2006 Theo de Raadt.
22b3be9d15SWeongyo Jeong.\" Copyright (c) 2006 The DragonFly Project.  All rights reserved.
23b3be9d15SWeongyo Jeong.\"
24b3be9d15SWeongyo Jeong.\" Redistribution and use in source and binary forms, with or without
25b3be9d15SWeongyo Jeong.\" modification, are permitted provided that the following conditions
26b3be9d15SWeongyo Jeong.\" are met:
27b3be9d15SWeongyo Jeong.\"
28b3be9d15SWeongyo Jeong.\" 1. Redistributions of source code must retain the above copyright
29b3be9d15SWeongyo Jeong.\"    notice, this list of conditions and the following disclaimer.
30b3be9d15SWeongyo Jeong.\" 2. Redistributions in binary form must reproduce the above copyright
31b3be9d15SWeongyo Jeong.\"    notice, this list of conditions and the following disclaimer in
32b3be9d15SWeongyo Jeong.\"    the documentation and/or other materials provided with the
33b3be9d15SWeongyo Jeong.\"    distribution.
34b3be9d15SWeongyo Jeong.\" 3. Neither the name of The DragonFly Project nor the names of its
35b3be9d15SWeongyo Jeong.\"    contributors may be used to endorse or promote products derived
36b3be9d15SWeongyo Jeong.\"    from this software without specific, prior written permission.
37b3be9d15SWeongyo Jeong.\"
38b3be9d15SWeongyo Jeong.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
39b3be9d15SWeongyo Jeong.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
40b3be9d15SWeongyo Jeong.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
41b3be9d15SWeongyo Jeong.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
42b3be9d15SWeongyo Jeong.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
43b3be9d15SWeongyo Jeong.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
44b3be9d15SWeongyo Jeong.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
45b3be9d15SWeongyo Jeong.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
46b3be9d15SWeongyo Jeong.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
47b3be9d15SWeongyo Jeong.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
48b3be9d15SWeongyo Jeong.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
49b3be9d15SWeongyo Jeong.\" SUCH DAMAGE.
50b3be9d15SWeongyo Jeong.\"
517f8a5c5aSEd Maste.Dd February 18, 2025
52b3be9d15SWeongyo Jeong.Dt UPGT 4
53aa12cea2SUlrich Spörlein.Os
54b3be9d15SWeongyo Jeong.Sh NAME
55b3be9d15SWeongyo Jeong.Nm upgt
56b3be9d15SWeongyo Jeong.Nd Conexant/Intersil PrismGT SoftMAC USB IEEE 802.11b/g wireless network
57*4262dbc5SAlexander Ziaeedriver
58b3be9d15SWeongyo Jeong.Sh SYNOPSIS
59b3be9d15SWeongyo JeongTo compile this driver into the kernel,
60b3be9d15SWeongyo Jeongplace the following lines in your
61b3be9d15SWeongyo Jeongkernel configuration file:
62b3be9d15SWeongyo Jeong.Bd -ragged -offset indent
63b3be9d15SWeongyo Jeong.Cd "device ehci"
64b3be9d15SWeongyo Jeong.Cd "device uhci"
65b3be9d15SWeongyo Jeong.Cd "device ohci"
66b3be9d15SWeongyo Jeong.Cd "device usb"
67b3be9d15SWeongyo Jeong.Cd "device upgt"
68b3be9d15SWeongyo Jeong.Cd "device wlan"
69b3be9d15SWeongyo Jeong.Ed
70b3be9d15SWeongyo Jeong.Pp
71b3be9d15SWeongyo JeongAlternatively, to load the driver as a
72b3be9d15SWeongyo Jeongmodule at boot time, place the following line in
73b3be9d15SWeongyo Jeong.Xr loader.conf 5 :
74b3be9d15SWeongyo Jeong.Bd -literal -offset indent
75b3be9d15SWeongyo Jeongif_upgt_load="YES"
76b3be9d15SWeongyo Jeong.Ed
777f8a5c5aSEd Maste.Sh DEPRECATION NOTICE
787f8a5c5aSEd MasteThe
797f8a5c5aSEd Maste.Nm
807f8a5c5aSEd Mastedriver is slated to be removed in
817f8a5c5aSEd Maste.Fx 15.0 .
82b3be9d15SWeongyo Jeong.Sh DESCRIPTION
83b3be9d15SWeongyo JeongThe
84b3be9d15SWeongyo Jeong.Nm
85b3be9d15SWeongyo Jeongdriver supports the USB 2.0 Conexant/Intersil PrismGT series wireless
86b3be9d15SWeongyo Jeongadapters based on the GW3887 chipset.
87b3be9d15SWeongyo Jeong.Pp
88b3be9d15SWeongyo JeongThese are the modes the
89b3be9d15SWeongyo Jeong.Nm
90b3be9d15SWeongyo Jeongdriver can operate in:
91b3be9d15SWeongyo Jeong.Bl -tag -width "IBSS-masterXX"
92b3be9d15SWeongyo Jeong.It BSS mode
93b3be9d15SWeongyo JeongAlso known as
94b3be9d15SWeongyo Jeong.Em infrastructure
95b3be9d15SWeongyo Jeongmode, this is used when associating with an access point, through
96b3be9d15SWeongyo Jeongwhich all traffic passes.
97b3be9d15SWeongyo JeongThis mode is the default.
98b3be9d15SWeongyo Jeong.\" .It IBSS mode
99b3be9d15SWeongyo Jeong.\" Also known as
100b3be9d15SWeongyo Jeong.\" .Em IEEE ad-hoc
101b3be9d15SWeongyo Jeong.\" mode or
102b3be9d15SWeongyo Jeong.\" .Em peer-to-peer
103b3be9d15SWeongyo Jeong.\" mode.
104b3be9d15SWeongyo Jeong.\" This is the standardized method of operating without an access point.
105b3be9d15SWeongyo Jeong.\" Stations associate with a service set.
106b3be9d15SWeongyo Jeong.\" However, actual connections between stations are peer-to-peer.
107b3be9d15SWeongyo Jeong.\" .It Host AP
108b3be9d15SWeongyo Jeong.\" In this mode the driver acts as an access point (base station)
109b3be9d15SWeongyo Jeong.\" for other cards.
110b3be9d15SWeongyo Jeong.It monitor mode
111b3be9d15SWeongyo JeongIn this mode the driver is able to receive packets without
112b3be9d15SWeongyo Jeongassociating with an access point.
113b3be9d15SWeongyo JeongThis disables the internal receive filter and enables the card to
114b3be9d15SWeongyo Jeongcapture packets from networks which it wouldn't normally have access to,
115b3be9d15SWeongyo Jeongor to scan for access points.
116b3be9d15SWeongyo Jeong.El
117b3be9d15SWeongyo Jeong.Pp
118b3be9d15SWeongyo Jeong.Nm
119b3be9d15SWeongyo Jeongsupports software WEP.
120b3be9d15SWeongyo JeongWired Equivalent Privacy (WEP) is the de facto encryption standard
121b3be9d15SWeongyo Jeongfor wireless networks.
122b3be9d15SWeongyo JeongIt can be typically configured in one of three modes:
123b3be9d15SWeongyo Jeongno encryption; 40-bit encryption; or 104-bit encryption.
124b3be9d15SWeongyo JeongUnfortunately, due to serious weaknesses in WEP protocol
125b3be9d15SWeongyo Jeongit is strongly recommended that it not be used as the
126b3be9d15SWeongyo Jeongsole mechanism to secure wireless communication.
127b3be9d15SWeongyo JeongWEP is not enabled by default.
128b3be9d15SWeongyo Jeong.\".Pp
129b3be9d15SWeongyo Jeong.\"The transmit speed is user-selectable or can be adapted automatically by the
130b3be9d15SWeongyo Jeong.\"driver depending on the received signal strength and on the number of hardware
131b3be9d15SWeongyo Jeong.\"transmission retries.
132b3be9d15SWeongyo Jeong.Pp
133b3be9d15SWeongyo JeongThe
134b3be9d15SWeongyo Jeong.Nm
135b3be9d15SWeongyo Jeongdriver can be configured at runtime with
136b3be9d15SWeongyo Jeong.Xr ifconfig 8 .
137b3be9d15SWeongyo Jeong.Sh FILES
138b3be9d15SWeongyo Jeong.\".Pp
139b3be9d15SWeongyo Jeong.\"These firmware files are not free because Conexant/Intersil refuses
140b3be9d15SWeongyo Jeong.\"to grant distribution rights.
141b3be9d15SWeongyo Jeong.\"As a result, even though
142b3be9d15SWeongyo Jeong.\".Ox
143b3be9d15SWeongyo Jeong.\"includes the driver, the firmware files cannot be included and
144b3be9d15SWeongyo Jeong.\"users have to download these files on their own.
145b3be9d15SWeongyo JeongThis driver requires the
146b3be9d15SWeongyo Jeong.Nm upgtfw
14723c30ae8SChristian Bruefferfirmware to be installed before it will work.
148b3be9d15SWeongyo JeongThe firmware files are not publicly available.
149b3be9d15SWeongyo JeongA package of the firmware which can be installed via
150b3be9d15SWeongyo Jeong.Xr pkg_add 1
151818640aaSChristian Bruefferis available:
152b3be9d15SWeongyo Jeong.Bd -literal -offset indent
153b3be9d15SWeongyo Jeonghttp://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
154b3be9d15SWeongyo Jeong.Ed
155b3be9d15SWeongyo Jeong.Sh HARDWARE
156818640aaSChristian BruefferThe
157818640aaSChristian Brueffer.Nm
158818640aaSChristian Bruefferdriver supports USB 2.0 Conexant/Intersil PrismGT series wireless
159818640aaSChristian Bruefferadapters based on the GW3887 chipset, among them:
160b3be9d15SWeongyo Jeong.Pp
161818640aaSChristian Brueffer.Bl -bullet -compact
162818640aaSChristian Brueffer.It
163818640aaSChristian BruefferBelkin F5D7050 (version 1000)
164818640aaSChristian Brueffer.It
165818640aaSChristian BruefferCohiba Proto Board
166818640aaSChristian Brueffer.It
167818640aaSChristian BruefferD-Link DWL-G120 Cohiba
168818640aaSChristian Brueffer.It
169818640aaSChristian BruefferFSC Connect2Air E-5400 USB D1700
170818640aaSChristian Brueffer.It
171818640aaSChristian BruefferGigaset USB Adapter 54
172818640aaSChristian Brueffer.It
173818640aaSChristian BruefferInventel UR045G
174818640aaSChristian Brueffer.It
1750ad435f3SMark PeekNetgear WG111v1 (rev2)
1760ad435f3SMark Peek.It
177818640aaSChristian BruefferSMC EZ ConnectG SMC2862W-G
178818640aaSChristian Brueffer.It
179818640aaSChristian BruefferSagem XG703A
180818640aaSChristian Brueffer.It
181818640aaSChristian BruefferSpinnaker DUT
182818640aaSChristian Brueffer.It
183818640aaSChristian BruefferSpinnaker Proto Board
184b3be9d15SWeongyo Jeong.El
185b3be9d15SWeongyo Jeong.Sh EXAMPLES
186b3be9d15SWeongyo JeongJoin an existing BSS network (i.e., connect to an access point):
187b3be9d15SWeongyo Jeong.Bd -literal -offset indent
188b3be9d15SWeongyo Jeongifconfig wlan create wlandev upgt0 inet 192.168.0.20 \e
189b3be9d15SWeongyo Jeong    netmask 0xffffff00
190b3be9d15SWeongyo Jeong.Ed
191b3be9d15SWeongyo Jeong.Pp
192b3be9d15SWeongyo JeongJoin a specific BSS network with network name
193b3be9d15SWeongyo Jeong.Dq Li my_net :
194b3be9d15SWeongyo Jeong.Pp
195b3be9d15SWeongyo Jeong.Dl "ifconfig wlan create wlandev upgt0 ssid my_net up"
196b3be9d15SWeongyo Jeong.Pp
197b3be9d15SWeongyo JeongJoin a specific BSS network with 64-bit WEP encryption:
198b3be9d15SWeongyo Jeong.Bd -literal -offset indent
199b3be9d15SWeongyo Jeongifconfig wlan create wlandev upgt0 ssid my_net \e
200b3be9d15SWeongyo Jeong        wepmode on wepkey 0x1234567890 weptxkey 1 up
201b3be9d15SWeongyo Jeong.Ed
202b3be9d15SWeongyo Jeong.Sh SEE ALSO
203b3be9d15SWeongyo Jeong.Xr arp 4 ,
204b3be9d15SWeongyo Jeong.Xr netintro 4 ,
205b3be9d15SWeongyo Jeong.Xr usb 4 ,
206b3be9d15SWeongyo Jeong.Xr wlan 4 ,
207b3be9d15SWeongyo Jeong.Xr ifconfig 8
208b3be9d15SWeongyo Jeong.Sh HISTORY
209b3be9d15SWeongyo JeongThe
210b3be9d15SWeongyo Jeong.Nm
211b3be9d15SWeongyo Jeongdriver first appeared in
212b3be9d15SWeongyo Jeong.Ox 4.3 .
213b3be9d15SWeongyo Jeong.Sh AUTHORS
214b3be9d15SWeongyo Jeong.An -nosplit
215b3be9d15SWeongyo JeongThe
216b3be9d15SWeongyo Jeong.Nm
217b3be9d15SWeongyo Jeongdriver was written by
2186c899950SBaptiste Daroussin.An Marcus Glocker Aq Mt mglocker@openbsd.org .
219b3be9d15SWeongyo Jeong.Pp
220b3be9d15SWeongyo JeongThe hardware specification was reverse engineered by the people at
221b3be9d15SWeongyo Jeong.Pa http://www.prism54.org .
222b3be9d15SWeongyo Jeong.Sh CAVEATS
223b3be9d15SWeongyo JeongThe
224b3be9d15SWeongyo Jeong.Nm
225b3be9d15SWeongyo Jeongdriver just supports the USB 2.0 devices (GW3887 chipset) but not the
226b3be9d15SWeongyo JeongUSB 1.0 devices containing the NET2280, ISL3880, and ISL3886 chipsets.
227b3be9d15SWeongyo JeongSome further efforts would be necessary to add USB 1.0 support to the
228b3be9d15SWeongyo Jeongdriver.
229