Moode Forum
wire guard - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8)
+--- Thread: wire guard (/showthread.php?tid=7052)



wire guard - wikko13 - 10-30-2024

hi ,

it is possible to install wireguard client to moode ?

best regards

Wikko13


RE: wire guard - Tim Curtis - 10-30-2024

Try installing the package

sudo apt install wireguard


RE: wire guard - wikko13 - 10-30-2024

(10-30-2024, 02:39 PM)Tim Curtis Wrote: Try installing the package

sudo apt install wireguard

I have installed wireguard on moode and I generated confi file wg_config.conf from my router fritzbox.
This file is now on my Downloads folder on C:
How can I move this wg_config.conf file from C:/ to one order on moode e.c. /home ?
then I will start folows commands:

nmcli connection import type wireguard file wg_config.conf

#!/bin/bash
nmcli connection up wg_config

#!/bin/bash
nmcli connection down wg_config


regards


RE: wire guard - Tim Curtis - 10-30-2024

Easiest is to just put it on a USB stick thats formatted as fat32 or exfat.
When you plug the stick into moode USB port it will be auto-mounted to the /media directory.


RE: wire guard - wikko13 - 10-30-2024

(10-30-2024, 10:10 PM)Tim Curtis Wrote: Easiest is to just put it on a USB stick thats formatted as fat32 or exfat.
When you plug the stick into moode USB port it will be auto-mounted to the /media directory.

Hi Tom,

stick into moode USB port is now auto-mounted.
which commad should I use to change to /mcMedia directory ?

regards
"Error: Failed to add 'wg_config' connection: Insufficient privileges " what is wrong ?


RE: wire guard - Nutul - 10-31-2024

(10-30-2024, 11:17 PM)wikko13 Wrote:
(10-30-2024, 10:10 PM)Tim Curtis Wrote: Easiest is to just put it on a USB stick thats formatted as fat32 or exfat.
When you plug the stick into moode USB port it will be auto-mounted to the /media directory.

Hi Tom,

stick into moode USB port is now auto-mounted.
which commad should I use to change to /mcMedia directory ?

regards
"Error: Failed to add 'wg_config' connection: Insufficient privileges " what is wrong ?

Where do you want the .conf file to be copied to?

cp /media/<your usb drive here>/wg_config.conf <destination path>

IF the path is outside your home, most probably you need to prefix the cp command with sudo, and the password you'll be asked for is the password you specified when configuring moode's image prior to flashing it...


RE: wire guard - wikko13 - 10-31-2024

(10-31-2024, 05:41 PM)Nutul Wrote:
(10-30-2024, 11:17 PM)wikko13 Wrote:
(10-30-2024, 10:10 PM)Tim Curtis Wrote: Easiest is to just put it on a USB stick thats formatted as fat32 or exfat.
When you plug the stick into moode USB port it will be auto-mounted to the /media directory.

Hi Tom,

stick into moode USB port is now auto-mounted.
which commad should I use to change to /mcMedia directory ?

regards
"Error: Failed to add 'wg_config' connection: Insufficient privileges " what is wrong ?

Where do you want the .conf file to be copied to?

cp /media/<your usb drive here>/wg_config.conf <destination path>

IF the path is outside your home, most probably you need to prefix the cp command with sudo, and the password you'll be asked for is the password you specified when configuring moode's image prior to flashing it...
Hi Nutul, Hi Tom,

all problems ar solved !!

Its works perfect !!

many thanks for both frends of moodyaudio