xref: /freebsd/share/man/man4/malo.4 (revision 2be1a816b9ff69588e55be0a84cbe2a31efc0f2f)
1.\"-
2.\" Copyright (c) 2008 Weongyo Jeong <weongyo@freebsd.org>
3.\" All rights reserved.
4.\""
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer,
10.\"    without modification.
11.\" 2. Redistributions in binary form must reproduce at minimum a disclaimer
12.\"    similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
13.\"    redistribution must be conditioned upon including a substantially
14.\"    similar Disclaimer requirement for further binary redistribution.
15.\" 3. Neither the names of the above-listed copyright holders nor the names
16.\"    of any contributors may be used to endorse or promote products derived
17.\"    from this software without specific prior written permission.
18.\"
19.\" NO WARRANTY
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 NONINFRINGEMENT, MERCHANTIBILITY
23.\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
24.\" THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
25.\" OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
28.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30.\" THE POSSIBILITY OF SUCH DAMAGES.
31.\"
32.\" $FreeBSD$
33.\"/
34.Dd April 13, 2008
35.Dt MALO 4
36.Os
37.Sh NAME
38.Nm malo
39.Nd "Marvell Libertas IEEE 802.11b/g wireless network driver"
40.Sh SYNOPSIS
41To compile this driver into the kernel,
42place the following lines in your
43kernel configuration file:
44.Bd -ragged -offset indent
45.Cd "device malo"
46.Cd "device pci"
47.Cd "device wlan"
48.Cd "device firmware"
49.Ed
50.Pp
51Alternatively, to load the driver as a
52module at boot time, place the following lines in
53.Xr loader.conf 5 :
54.Bd -literal -offset indent
55if_malo_load="YES"
56.Ed
57.Sh DESCRIPTION
58The
59.Nm
60driver provides support for Marvell Libertas 88W8335 based PCI
61and Cardbus network adapters.
62.Nm
63supports
64.Cm station ,
65.Cm adhoc ,
66and
67.Cm monitor
68mode operation.
69Only one virtual interface may be configured at any time.
70For more information on configuring this device, see
71.Xr ifconfig 8 .
72.Pp
73This driver requires the
74.Nm malofw
75be installed before it will work.
76The firmware files are not publicly available.
77A package of the firmware which can be installed via
78.Xr pkg_add 1
79with:
80.Bd -literal -offset indent
81http://weongyo.org/project/malo/malo-firmware-1.4.tar.gz
82.Ed
83.Sh HARDWARE
84The following cards are among those supported by the
85.Nm
86driver:
87.Pp
88.Bl -column -compact "Microcom Travelcard" "MALO111" "CardBus" "a/b/g" -offset 6n
89.Em "Card	Chip	Bus	Standard"
90Netgear WG311v3	88W8335	PCI	b/g
91Tenda TWL542P	88W8335	PCI	b/g
92U-Khan UW-2054i	88W8335	PCI	b/g
93.El
94.Sh EXAMPLES
95Join an existing BSS network (i.e., connect to an access point):
96.Pp
97.Bd -literal -offset indent
98ifconfig wlan create wlandev iwn0 inet 192.168.0.20 \e
99    netmask 0xffffff00
100.Ed
101.Pp
102Join a specific BSS network with network name
103.Dq Li my_net :
104.Pp
105.Dl "ifconfig wlan create wlandev iwn0 ssid my_net up"
106.Pp
107Join a specific BSS network with 64-bit WEP encryption:
108.Bd -literal -offset indent
109ifconfig wlan create wlandev iwn0 ssid my_net \e
110	wepmode on wepkey 0x1234567890 weptxkey 1 up
111.Ed
112.Pp
113Join a specific BSS network with 128-bit WEP encryption:
114.Bd -literal -offset indent
115ifconfig wlan create wlandev iwn0 wlanmode adhoc ssid my_net \e
116    wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
117.Ed
118.Ed
119.Sh SEE ALSO
120.Xr malofw 4 ,
121.Xr pci 4 ,
122.Xr cardbus 4 ,
123.Xr wlan 4 ,
124.Xr wlan_ccmp 4 ,
125.Xr wlan_tkip 4 ,
126.Xr wlan_wep 4 ,
127.Xr ifconfig 8 ,
128.Xr wpa_supplicant 8 .
129.Sh HISTORY
130The
131.Nm
132device driver first appeared in
133.Fx 8.0 .
134