2019-04-11 23:50:43 +01:00
|
|
|
# create_ap
|
|
|
|
|
|
|
|
> Create an AP (Access Point) at any channel.
|
2021-07-09 15:45:55 +01:00
|
|
|
> More information: <https://github.com/oblique/create_ap>.
|
2019-04-11 23:50:43 +01:00
|
|
|
|
|
|
|
- Create an open network with no passphrase:
|
|
|
|
|
2019-04-15 01:15:07 +01:00
|
|
|
`create_ap {{wlan0}} {{eth0}} {{access_point_ssid}}`
|
2019-04-11 23:50:43 +01:00
|
|
|
|
|
|
|
- Use a WPA + WPA2 passphrase:
|
|
|
|
|
2019-04-15 01:15:07 +01:00
|
|
|
`create_ap {{wlan0}} {{eth0}} {{access_point_ssid}} {{passphrase}}`
|
2019-04-11 23:50:43 +01:00
|
|
|
|
|
|
|
- Create an access point without Internet sharing:
|
|
|
|
|
2022-07-19 15:15:32 +01:00
|
|
|
`create_ap -n {{wlan0}} {{access_point_ssid}} {{passphrase}}`
|
2019-04-11 23:50:43 +01:00
|
|
|
|
|
|
|
- Create a bridged network with Internet sharing:
|
|
|
|
|
2019-04-15 01:15:07 +01:00
|
|
|
`create_ap -m bridge {{wlan0}} {{eth0}} {{access_point_ssid}} {{passphrase}}`
|
2019-04-11 23:50:43 +01:00
|
|
|
|
|
|
|
- Create a bridged network with Internet sharing and a pre-configured bridge interface:
|
|
|
|
|
2019-04-15 01:15:07 +01:00
|
|
|
`create_ap -m bridge {{wlan0}} {{br0}} {{access_point_ssid}} {{passphrase}}`
|
2019-04-11 23:50:43 +01:00
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Create an access port for Internet sharing from the same Wi-Fi interface:
|
2019-04-11 23:50:43 +01:00
|
|
|
|
2019-04-15 01:15:07 +01:00
|
|
|
`create_ap {{wlan0}} {{wlan0}} {{access_point_ssid}} {{passphrase}}`
|
2019-04-11 23:50:43 +01:00
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Choose a different Wi-Fi adapter driver:
|
2019-04-11 23:50:43 +01:00
|
|
|
|
2019-04-15 01:15:07 +01:00
|
|
|
`create_ap --driver {{wifi_adapter}} {{wlan0}} {{eth0}} {{access_point_ssid}} {{passphrase}}`
|