Page 1 of 2
Not being able to setup 2nd "guest" network
Posted: Fri Apr 28, 2017 8:23 pm
by cpucpu
I tried last year:
viewtopic.php?f=11&t=10121
I wanted to give it another try today with a different approach. Create the networks in the GUI, so that boileplate wifi code for archer c7 was generated, and then tweak the code. But no luck, this time the devices were connecting but no ip addresses were being assigned.
I would like to ask i someone could try it on a c7, perhaps there are specific tricks for this router.
Re: Not being able to setup 2nd "guest" network
Posted: Sat Apr 29, 2017 12:48 am
by Lantis
If you duplicate the ap_gn_g config and modify it slightly it will just work
Re: Not being able to setup 2nd "guest" network
Posted: Sat Apr 29, 2017 2:00 am
by cpucpu
Do you mean theorically, or have you tried it recently, because I already tried that and did not work.
Re: Not being able to setup 2nd "guest" network
Posted: Sat Apr 29, 2017 2:49 am
by Lantis
Theoretically. But you probably need to choose a new MAC address.
Re: Not being able to setup 2nd "guest" network
Posted: Sat Apr 29, 2017 12:42 pm
by cpucpu
I remember not knowing what that MAC address for the guest network was for. I think I'll try it again on monday. So any valid address will do?
Re: Not being able to setup 2nd "guest" network
Posted: Sat Apr 29, 2017 5:28 pm
by Lantis
The second digit of the MAC address must be even
Re: Not being able to setup 2nd "guest" network
Posted: Mon May 01, 2017 3:55 pm
by cpucpu
Hi, i just tried for the third time, i did the following:
-in wireless "config wifi-iface 'ap_gn_g'", edited:
Code: Select all
option network 'Guest'
option macaddr 'x2:xx:xx:xx:xx:xx'
-in network, added:
Code: Select all
config interface 'Guest'
option _orig_ifname 'wlan0-1'
option _orig_bridge 'false'
option proto 'static'
option ipaddr '192.168.1.249'
option netmask '255.255.255.248
-in dhcp "config dhcp 'lan'", edited:
Code: Select all
option start '2'
option limit '125'
and added:
Code: Select all
config dhcp 'guest'
option interface 'Guest'
option leasetime '12h'
option start '130'
option limit '125'
No luck, devices can't get IP address, seemingly DHCP is not assigning them for wireless devices:
Code: Select all
Connected Wireless Hosts
Hostname↓ Host IP Host MAC Band TX Bitrate RX Bitrate Signal
(unknown) 192.168.1.121 B2:F3:C1:DF:78:64 2.4GHz 21.7 Mbps 1.0 Mbps -74 dBm
(unknown) 192.168.1.149 88:9F:FA:8F:2D:5F 2.4GHz 52.0 Mbps 65.0 Mbps -59 dBm
(unknown) unknown 00:22:58:7C:88:86 2.4GHz 58.5 Mbps 72.2 Mbps -27 dBm
(unknown) unknown 02:A7:BC:76:BC:CA 2.4GHz 65.0 Mbps 1.0 Mbps -30 dBm
(unknown) unknown 40:B0:FA:D2:5D:7D 2.4GHz 1.0 Mbps 2.0 Mbps -81 dBm
(unknown) unknown BC:F5:AC:F3:1D:AF 2.4GHz 1.0 Mbps 1.0 Mbps -31 dBm
Hosts With Active Connections
Hostname↓ Host IP Host MAC Active TCP Cxns Recent TCP Cxns UDP Cxns
(unknown) 192.168.1.149 88:9F:FA:8F:2D:5F 0 0 28
(unknown) 192.168.1.194 00:30:67:BC:45:70 1 12 6
Gargoyle 127.0.0.1 unknown 0 0 36
As you can see most wireless devices dont get ip assigned. There 2 of them tough that do, i suppose those are static ip's.
Re: Not being able to setup 2nd "guest" network
Posted: Mon May 01, 2017 4:42 pm
by Lantis
Wlan0-1 doesn't look right.
Type iwinfo and I think you'll find the second guest netwieibis wlan0-2
Re: Not being able to setup 2nd "guest" network
Posted: Tue May 02, 2017 8:37 pm
by cpucpu
I had "wlan1-1" for 2.4G guest network.
So i updated that line accordingly but there was no difference. Ips still aren't being assigned.
Re: Not being able to setup 2nd "guest" network
Posted: Sat May 06, 2017 4:44 pm
by cpucpu
Does anyone know whether this router has ever worked this way? I may consider getting other if necessary, this fature was one of the reasons i got it.