Project

General

Profile

Wireless autoconf » History » Version 2

Pau Escrich, 06/13/2011 05:47 PM

1 1 Pau Escrich
h1. Wireless autoconf
2 1 Pau Escrich
3 1 Pau Escrich
Wireless configuration for file: /etc/config/qmp
4 1 Pau Escrich
5 1 Pau Escrich
These are the default parameters sharing all wireless interfaces
6 2 Pau Escrich
> @config 'qmp' 'wireless'
7 2 Pau Escrich
> 	option 'driver' 'mac80211'
8 2 Pau Escrich
> 	option 'country' 'UZ'
9 2 Pau Escrich
> 	option 'bssid' '02:CA:FF:EE:BA:BE'
10 2 Pau Escrich
> @
11 1 Pau Escrich
driver can be `mac80211` for athXk, and `madwifi` for madwifi
12 1 Pau Escrich
13 1 Pau Escrich
And these are the config parameters for each wifi interface.
14 2 Pau Escrich
> @config 'wireless'
15 2 Pau Escrich
> 	option 'channel' '44'
16 2 Pau Escrich
> 	option 'mode' 'adhoc'
17 2 Pau Escrich
> 	option 'name' 'qmp'
18 2 Pau Escrich
> 	option 'mac' '00:80:48:6b:25:b5'
19 2 Pau Escrich
> 
20 2 Pau Escrich
> config 'wireless'
21 2 Pau Escrich
> 	option 'channel' '10'
22 2 Pau Escrich
> 	option 'mode' 'ap'
23 2 Pau Escrich
> 	option 'name' 'qmp.cat-AP'
24 2 Pau Escrich
> 	option 'mac' '00:80:48:6b:25:b6'@