Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
62fc14b7
Commit
62fc14b7
authored
16 years ago
by
Florian Fainelli
Browse files
Options
Downloads
Patches
Plain Diff
Update wireless documentation
SVN-Revision: 11940
parent
6569108c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/wireless.tex
+29
-6
29 additions, 6 deletions
docs/wireless.tex
with
29 additions
and
6 deletions
docs/wireless.tex
+
29
−
6
View file @
62fc14b7
The WiFi settings are configured in the file
\texttt
{
/etc/config/wireless
}
(currently supported on Broadcom
and
Atheros). When booting the router for the first time
(currently supported on Broadcom
,
Atheros
and mac80211
). When booting the router for the first time
it should detect your card and create a sample configuration file. By default '
\texttt
{
option network lan
}
' is
commented. This prevents unsecured sharing of the network over the wireless interface.
...
...
@@ -42,6 +42,22 @@ config wifi-iface
option encryption "none"
\end{Verbatim}
\paragraph
{
Generic mac80211 wireless config:
}
\begin{Verbatim}
config wifi-device "wifi0"
option type "mac80211"
option channel "5"
config wifi-iface
option device "wlan0"
# option network lan
option mode "ap"
option ssid "OpenWrt"
option hidden "0"
option encryption "none"
\end{Verbatim}
\paragraph
{
Generic multi-radio Atheros wireless config:
}
\begin{Verbatim}
...
...
@@ -78,7 +94,7 @@ A full outline of the wireless configuration file with description of each field
\begin{Verbatim}
config wifi-device wifi device name
option type broadcom, atheros
option type broadcom, atheros
, mac80211
option country us, uk, fr, de, etc.
option channel 1-14
option maxassoc 1-128 (broadcom only)
...
...
@@ -88,7 +104,7 @@ config wifi-device wifi device name
config wifi-iface
option network the interface you want wifi to bridge with
option device wifi0, wifi1, wifi2, wifiN
option mode ap, sta, adhoc, or wds
option mode ap, sta, adhoc,
monitor,
or wds
option ssid ssid name
option bssid bssid address
option encryption none, wep, psk, psk2, wpa, wpa2
...
...
@@ -150,6 +166,9 @@ config wifi-iface
\item
\texttt
{
adhoc
}
\\
Ad-Hoc mode
\item
\texttt
{
monitor
}
\\
Monitor mode
\item
\texttt
{
wds
}
\\
WDS point-to-point link
...
...
@@ -181,7 +200,7 @@ config wifi-iface
The RADIUS server ip address
\item
\texttt
{
port
}
(wpa)
\\
The RADIUS server port
The RADIUS server port
(defaults to 1812)
\item
\texttt
{
hidden
}
\\
0 broadcasts the ssid; 1 disables broadcasting of the ssid
...
...
@@ -204,6 +223,7 @@ Only the following mode combinations are supported:
\item
1x
\texttt
{
sta
}
, 0-3x
\texttt
{
ap
}
\item
1-4x
\texttt
{
ap
}
\item
1x
\texttt
{
adhoc
}
\item
1x
\texttt
{
monitor
}
\end{itemize}
WDS links can only be used in pure AP mode and cannot use WEP (except when sharing the
...
...
@@ -211,10 +231,13 @@ Only the following mode combinations are supported:
\item
\textbf
{
Atheros
}
:
\\
\begin{itemize}
\item
1x
\texttt
{
sta
}
, 0-
4
x
\texttt
{
ap
}
\item
1-
4
x
\texttt
{
ap
}
\item
1x
\texttt
{
sta
}
, 0-
N
x
\texttt
{
ap
}
\item
1-
N
x
\texttt
{
ap
}
\item
1x
\texttt
{
adhoc
}
\end{itemize}
N is the maximum number of VAPs that the module allows, it defaults to 4, but can be
changed by loading the module with the maxvaps=N parameter.
\end{itemize}
\paragraph
{
Adding a new driver configuration
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment