hostap + ppp dialup question

Jouni Malinen j at w1.fi
Sun Jun 12 15:21:09 PDT 2016


On Tue, Jun 07, 2016 at 09:51:47AM -0400, Vojkan Zivkovic wrote:
> Raspberry Pi3 with built-in wifi is acting as Access Point using hostap, which is bridged to ppp0. I know it's 21st century, but this is a requirement! 
> I have a wifi enabled device that connects to the Access Point. I need to trigger a ppp connection to dial out every time a wifi device is connected to the AP. 
> Do you think this is feasible?

hostapd sends out an event message on the control interface whenever a
station associates with the AP. It should be possible to use hostapd_cli
with the -a command line argument to listen to those events and run a
script that can start/stop the PPP connection based on station
connection/disconnection.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list