Configuration file locations for manual copy via SSH

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
User avatar
VAMET
Posts: 35
Joined: Thu Oct 23, 2014 7:25 pm
Location: Gdynia, Poland
Contact:

Configuration file locations for manual copy via SSH

Post by VAMET »

Dear Friends

I use version 1.6.2. I would like to ask, where are the locations of config files of below options saved in GUI, but I would like to access them in via ssh instead of GUI:

- DHCP IP Reservation Filter
- WiFi approved MAC Filter
- Firewall Port Forwarding

I would be glad for any help and support.

Thank you in advance for your help.

Sincerely
VAMET

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Configuration files location in ssh

Post by Lantis »

/etc/hosts and /etc/ethers
/etc/config/wireless
/etc/config/firewall
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

User avatar
VAMET
Posts: 35
Joined: Thu Oct 23, 2014 7:25 pm
Location: Gdynia, Poland
Contact:

Re: Configuration files location in ssh

Post by VAMET »

Dear Lantis
Lantis wrote:/etc/hosts and /etc/ethers
/etc/config/wireless
/etc/config/firewall
Thank you very much. Is there any way to download those files to my PC via WinSCP or other possibility?

Sincerely
VAMET

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Configuration files location in ssh

Post by Lantis »

Using WinSCP you can just copy them to your local computer that will be fine
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

quad1981
Posts: 1
Joined: Wed Oct 24, 2018 3:03 am

Re: Configuration file locations for manual copy via SSH

Post by quad1981 »

Hello,
Thanks for the information.

agrohe21
Posts: 95
Joined: Wed Aug 23, 2017 7:51 pm

Re: Configuration file locations for manual copy via SSH

Post by agrohe21 »

Has anyone written a script to automate this process? It seems all of these files are in the backup tar. It has to be possible. It would also seem possible to script the uci commands to restore other common settings.
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

chillhouse
Posts: 1
Joined: Sat Jan 01, 2022 2:50 am

Re: Configuration file locations for manual copy via SSH

Post by chillhouse »

Much thanks. Is there any method for downloading those documents to my PC by means of WinSCP or other chance?

rockyd
Posts: 49
Joined: Tue Oct 22, 2019 5:49 am

Re: Configuration file locations for manual copy via SSH

Post by rockyd »

chillhouse wrote:
Sat Jan 01, 2022 3:39 am
Is there any method for downloading those documents to my PC by means of WinSCP or other chance?
Select the file in WinSCP and click the download button, which is above the file list.

Post Reply