Password per wifi network?

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

Moderator: Moderators

Post Reply
web_knows
Posts: 9
Joined: Tue Oct 22, 2013 9:37 pm

Password per wifi network?

Post by web_knows »

Hello,

I can't figure out how to configure a password for my network 2.4GHz and a different password for the 5GHz network, it shows me only one field for password.

I'm using Gargoyle 1.9.2 on a TP-Link TL-WRD4300.

https://www.dropbox.com/s/s6anwtmdbjllgwy/Untitled.png

Thanks,
- Rivanor.

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Password per wifi network?

Post by ispyisail »

Guest Network?

Image

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Password per wifi network?

Post by ispyisail »

Image

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Password per wifi network?

Post by ispyisail »

No doubt more options will be available via command line if you want to go there.

Gargoyle unlike OpenWRT does not promise all options. Gargoyle is designed to be easy to use

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

Re: Password per wifi network?

Post by Lantis »

Reasons it has not been done:
viewtopic.php?f=13&t=5043#p23325
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.

web_knows
Posts: 9
Joined: Tue Oct 22, 2013 9:37 pm

Re: Password per wifi network?

Post by web_knows »

All answers were really useful and quick. Thank you!

d3fz
Posts: 277
Joined: Sun Aug 28, 2016 7:34 pm

Re: Password per wifi network?

Post by d3fz »

I use different passwords for each network, but that's not possible through the GUI, only via command line.

Use this for the 2.4GHz network:

Code: Select all

uci set wireless.ap_g.key='wpa2key_2.4GHz'

Use this for the 5GHz network:

Code: Select all

uci set wireless.ap_a.key='wpa2key_5GHz'
Then issue the following commands:

Code: Select all

uci commit wireless 
wifi
Note that whenever you make any changes to the wireless settings via GUI, the above settings will be overwritten and you'll need to repeat the process.
TP-Link Archer C7 v2 - Gargoyle 1.12.X
TP-Link WR842ND v2 - Gargoyle 1.10.X
TP-Link RE450 AC v2 - Stock FW 1.0.4
TP-Link WA850RE v1.2 - LEDE 17.01.1

Post Reply