Not being able to setup 2nd "guest" network

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

cpucpu
Posts: 57
Joined: Fri Nov 18, 2016 1:31 am

Not being able to setup 2nd "guest" network

Post 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.

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

Re: Not being able to setup 2nd "guest" network

Post by Lantis »

If you duplicate the ap_gn_g config and modify it slightly it will just work
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.

cpucpu
Posts: 57
Joined: Fri Nov 18, 2016 1:31 am

Re: Not being able to setup 2nd "guest" network

Post by cpucpu »

Do you mean theorically, or have you tried it recently, because I already tried that and did not work.

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

Re: Not being able to setup 2nd "guest" network

Post by Lantis »

Theoretically. But you probably need to choose a new MAC address.
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.

cpucpu
Posts: 57
Joined: Fri Nov 18, 2016 1:31 am

Re: Not being able to setup 2nd "guest" network

Post 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?

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

Re: Not being able to setup 2nd "guest" network

Post by Lantis »

The second digit of the MAC address must be even
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.

cpucpu
Posts: 57
Joined: Fri Nov 18, 2016 1:31 am

Re: Not being able to setup 2nd "guest" network

Post 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.

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

Re: Not being able to setup 2nd "guest" network

Post by Lantis »

Wlan0-1 doesn't look right.
Type iwinfo and I think you'll find the second guest netwieibis wlan0-2
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.

cpucpu
Posts: 57
Joined: Fri Nov 18, 2016 1:31 am

Re: Not being able to setup 2nd "guest" network

Post 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.

cpucpu
Posts: 57
Joined: Fri Nov 18, 2016 1:31 am

Re: Not being able to setup 2nd "guest" network

Post 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.

Post Reply