openwrt / luci

LuCI - OpenWrt Configuration Interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<luci-proto-wireguard>Can not click Generate configuration

ksi1110 opened this issue · comments

commented

Function path: Network-Interfaces-wg (the WireGuard interface I created)-Edit-Peers-Edit-Generate configuration (cannot click).

I downloaded luci-proto-wireguard and qrencode in the system. After configuring the interface and peers, I cannot click the Generate configuration button; it remains grayed out.

Through troubleshooting, I found that the button is disabled within the element. However, after removing the "disabled" attribute, the Generate configuration button can be clicked.

I'm not familiar with frontend development and cannot determine the cause of this issue. Could someone knowledgeable in this area provide a solution?

image
image

image
image

image

You cannot generate a config unless the local config contains private key and optionally PSK.

commented

You cannot generate a config unless the local config contains private key and optionally PSK.

Thanks for replay, I was filled private key and pubkey, but still not work, I tried reinstall wireguard, It works finally,...