Command line to generate hotspot password?

  • Hi all,

    I have a customer who wants to install a wifi hotspot in a self service coffee shop. He would like the access code (one hour) to be displayed in the receipt.

    Is there a way to generate 'on fly" an access code per command line? Without using the "voucher" file .

    So  Cash register -> ssh to pfsense -> get password -> print on receipt

    Thank's a lot