-
-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with AVM fritzbox wiregurad config [Bug]: #1585
Comments
If your wg config is of a nonstandard format, the parser may fail to handle it. Please share your wg0.conf (with keys removed) similar to this #1430 (reply in thread) Previously fixed with #1432 |
hi, here it is, ist direct from the FritzBox and works on a Win11 PC with Wireguard (if it helps)
bz edit (formatting) |
Thanks. RaspAP expects a single DNS value in the client config, see this as an example. Multiple values are unusual, hence the error. In the short term, removing the second DNS value should allow you to start the wg service (I'm guessing the FQDN resolves to your router's IPv4 address). |
Hi again, ive changed the .conf like the linked example:
Wireguard Log:
|
The first line in the service output is the clue:
You can either rename this file, or edit it on another device and (re)upload it via RaspAP. This will ensure that the file is saved in the correct location. Using 3 backticks to format code blocks ``` makes output easier to read 😉 |
hi ok, i just clicked on the Code Button... next try by renamed it t wg0.conf resolved:
|
@er34zer this will be available in the next release. thanks for reporting! |
Code of Conduct
Issue reporting checklist
Operating System
Raspberry Pi OS (64-bit) Lite Bookworm
Quick install or Manual setup?
Quick install
Onboard wireless chipset or external adapter?
Onboard wireless chipset
Hardware
Raspberry Pi 4 Model B
RaspAP version
3.1.3 (Latest)
Other software or services running with RaspAP?
Yes (specify below)
Contact details (optional)
[email protected]
Bug description
every time load the Wireguard configfile from a Fritzbox i get a Bug:
"
An exception occurred
Stack trace:
TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, array given
at htmlspecialchars(general.php:96)
... 7 more
"
after that no new .conf can be loaded. The only way is > format SD > load RaspiOSlite > install RaspAP via SSH...
Steps to reproduce
Screenshots
Additional context
Everything else working REAL GOOD!
[snip] log removed
The text was updated successfully, but these errors were encountered: