Wireguard server help: no GUI, USB storage not mounting

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
kentchristopher
DD-WRT Novice


Joined: 21 Jun 2012
Posts: 33

PostPosted: Fri Feb 23, 2024 11:18    Post subject: Wireguard server help: no GUI, USB storage not mounting Reply with quote
I'm experimenting with the setup of a Wireguard server on a TP-Link TL-WR703N, one of those travel routers with 4MB flash, 32MB RAM, and in this case a 400 MHz Atheros AR9330 procesor. Note: I've already established with a similar travel router running OpenWRT that this is a great use of old, low power hardware when the Wireguard throughput is limited by the WAN's upload speed, in my case to 12 Mbps.

I have the TL-WR703N running DD-WRT v3.0-r54517 std (12/15/23). Despite Wireguard being present on the device, there's no GUI for it (no Tunnels tab), which I'm assuming is by design given that this is one of the 4MB router exceptions that got Wireguard. The 'wg' command responds in telnet, so I'm assuming the thinking was that these routers get Wireguard but only configurable via command line. (I'd love to be wrong about that and learn that the GUI interface should work, but I don't know who/where to ask on that.)

Configuring from telnet is where I run into problems: the file system being read-only, I'm not sure how to save any keys and configuration. I've turned on USB core and storage support to try to use a USB stick, but the USB drive isn't mounting, regardless of filesystem and partitioning. I even tried formatting a drive with 3 ext2 partitions, 1 being 'opt' and 1 being 'jffs' to see if they'd automount, as suggested in documentation for USB storage support. Regardless of partition size/type, the USB page shows a drive of 3 MB with 100% usage, and "Not Available" in the section below, where the drive details should be. (I have no script set to Run on Mount.)

I've searched on the topic of USB drives not showing up and haven't found any solutions. One suggestion was to enable Samba, but that's of course not installed on this device.

So, I either need to figure out a way to get USB storage working, *OR* a way to save the relevant Wireguard settings to NVRAM. (Or get the GUI working.)

Any help appreciated.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Fri Feb 23, 2024 13:04    Post subject: Reply with quote
If Wireguard is enabled the GUI should also be enabled.

So as a first step clear your browser cache (usually CTRL+F5), and use private/incognito mode.
Or try another browser.

It is possible that that the build has grown too much and some things are not working any more.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kentchristopher
DD-WRT Novice


Joined: 21 Jun 2012
Posts: 33

PostPosted: Fri Feb 23, 2024 13:22    Post subject: Reply with quote
egc wrote:
If Wireguard is enabled the GUI should also be enabled.

So as a first step clear your browser cache (usually CTRL+F5), and use private/incognito mode.
Or try another browser.

It is possible that that the build has grown too much and some things are not working any more.


I've tried incognito and a total of 3 browsers now, and the Tunnels tab doesn't show up in any of them. There's the VPN tab under Services, but that only shows PPTP.

Would you suggest I try older or newer builds? This build (54517) is only 2 months old, and according to the Wireguard guide page, build 52242 or higher is mandatory, that build being released in April 2023. So I can't go too far back, or forward.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Fri Feb 23, 2024 13:32    Post subject: Reply with quote
I would try 52242, reset to defaults after uploading.
If that does not work you are out of luck I guess

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kentchristopher
DD-WRT Novice


Joined: 21 Jun 2012
Posts: 33

PostPosted: Fri Feb 23, 2024 14:17    Post subject: Reply with quote
egc wrote:
I would try 52242, reset to defaults after uploading.
If that does not work you are out of luck I guess


52252 also lacks the Tunnels page. I'll contact Brainslayer to ask if adding Wireguard to this router but without a GUI interface was intentional or not.

Otherwise, isn't it possible to configure Wireguard from the command line? Just a matter of how to save the configuration?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Fri Feb 23, 2024 14:34    Post subject: Reply with quote
It should be possible, after all the GUI is nothing more than a means to set nvram variables but there is no manual how to do it.

You can check if the setup scripts are in place, those scripts use the nvram variables to setup wg, routing and firewall rules:

Quote:
root@R7000:~# ls /etc/config | grep -iE 'eop|wireguard|oet'
eop-tunnel.prewall
root@R7000:~#

root@R7000:~# ls /usr/bin | grep -iE 'eop|wireguard|oet'
eop-tunnel-firewall.sh
eop-tunnel-raip.sh
wireguard-fwatchdog.sh
wireguard-restart.sh
wireguard-state.sh

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kentchristopher
DD-WRT Novice


Joined: 21 Jun 2012
Posts: 33

PostPosted: Sat Feb 24, 2024 17:32    Post subject: Reply with quote
It seems 3 of the scripts are missing.
Code:
root@DD-WRT:~# ls /etc/config | grep -iE 'eop|wireguard|oet'
root@DD-WRT:~# ls /usr/bin | grep -iE 'eop|wireguard|oet'
wireguard-fwatchdog.sh
wireguard-restart.sh
wireguard-state.sh

Anything I can do to add them? Or is this a case where if it's not in the build, out of luck?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Sat Feb 24, 2024 18:10    Post subject: Reply with quote
It is possible to manually add it but my guess is is that there is something amiss in compiling.

I would file a bug report.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Tue Feb 27, 2024 14:58    Post subject: Reply with quote
Should/could be solved in next public build
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14249
Location: Texas, USA

PostPosted: Wed Feb 28, 2024 0:41    Post subject: Reply with quote
Following up here. I was informed the issue was fixed. Please test 02-27-2024-r55209 and report back here and in your ticket. Thanks.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
kentchristopher
DD-WRT Novice


Joined: 21 Jun 2012
Posts: 33

PostPosted: Wed Feb 28, 2024 11:44    Post subject: Reply with quote
kernel-panic69 wrote:
Following up here. I was informed the issue was fixed. Please test 02-27-2024-r55209 and report back here and in your ticket. Thanks.


Upgraded to build 55209 with factory reset. The scripts are now present, but there's still no Tunnels tab in the GUI for configuring WireGuard.

I've modified the ticket with this info. If it would be better to create a new ticket specifically for the issue of the Tunnels tab not showing, please let me know.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3005
Location: Germany

PostPosted: Wed Feb 28, 2024 12:17    Post subject: Reply with quote
Browser cache deleted? (CTRL+F5)
_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
kentchristopher
DD-WRT Novice


Joined: 21 Jun 2012
Posts: 33

PostPosted: Wed Feb 28, 2024 12:43    Post subject: Reply with quote
ho1Aetoo wrote:
Browser cache deleted? (CTRL+F5)

Just tried that and using incognito tabs in two other browsers. No Tunnels tab in any of them. Thanks for the suggestion though.
hebeda
DD-WRT User


Joined: 18 Sep 2006
Posts: 463
Location: Leipzig, Germany

PostPosted: Wed Feb 28, 2024 16:24    Post subject: Reply with quote
your accesspoint has no wireguard gui support ...

just 4mb ram ... too small ..

also : do you use english language ? some languages just dont have the wireguard gui ...
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14249
Location: Texas, USA

PostPosted: Wed Feb 28, 2024 17:15    Post subject: Reply with quote
The .config file has CONFIG_EOPTUNNEL commented out, but I would have to check similar devices (TL-WA901NDv2, TL-WR940Nv3) to see if the tab is missing or not on current release as sometimes config files aren't 100% in sync with private build server...
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum