1 The WiFi settings are configured in the file
\texttt{/etc/config/wireless
}
2 (currently supported on Broadcom only). When booting the router for the first time
3 it should detect your card and create a sample configuration that looks like this:
15 option encryption none
18 There are two types of config sections in this file. The '
\texttt{wifi-device
}' refers to
19 the physical wifi interface and '
\texttt{wifi-iface
}' configures a virtual interface on top
20 of that (if supported by the driver).
22 \paragraph{Options for the
\texttt{wifi-device
}:
}
25 \item \texttt{type
} \\
26 The driver to use for this interface.
28 \item \texttt{country
} \\
29 The country code used to determine the regulatory settings.
31 \item \texttt{channel
} \\
32 The wifi channel (
1-
14, depending on your country setting).
34 \item \texttt{maxassoc
} \\
35 Maximum number of associated clients
39 \paragraph{Options for the
\texttt{wifi-iface
}:
}
42 \item \texttt{mode
} \\
52 \item \texttt{adhoc
} \\
56 WDS point-to-point link
59 \item \texttt{network
} \\
60 Selects the interface section from
\texttt{/etc/config/network
} to be
61 used with this interface
63 \item \texttt{encryption
} \\
64 Encryption setting. Accepts the following values:
67 \item \texttt{psk
},
\texttt{psk2
} \\
70 \item \texttt{wpa
},
\texttt{wpa2
} \\
75 \item \texttt{key
} (wpa and psk) \\
76 Either the WPA key (PSK mode) or the RADIUS shared secret (WPA RADIUS mode)
78 \item \texttt{server
} (wpa) \\
79 The RADIUS server address
81 \item \texttt{port
} (wpa) \\
82 The RADIUS server port
86 \paragraph{Limitations:
}
89 \item \textbf{Broadcom
}: \\
90 Only the following mode combinations are supported:
93 \item 1x
\texttt{sta
},
0-
3x
\texttt{ap
}
94 \item 1-
4x
\texttt{ap
}
95 \item 1x
\texttt{adhoc
}
98 WDS links can only be used in pure AP mode and can't use WEP (except when sharing the
99 settings with the master interface, which is done automatically).