Can't get gargoyle wlan work correct
Posted: Thu Apr 09, 2015 7:59 am
So here is my setup, I live in a four story house with multiple clients (notebooks, mobile phones and chromecasts).
I have multiple access points all over the house with the same SSID, same wpa2 psk but with different channels. All access points have a cable lan connection to the wired network. I use a fritz box router to connect the whole network to the internet. Firewall is running on the fritzbox.
I have two old TP-Link TL-WN821N. The firmware wasnt updated in the last 3 years and the wlan connection is bad.
So I installed the newest gargoyle on those two. WLAN connection is very good now but I cant get it to work like the other access points.
First I tried this config:
http://www.gargoyle-router.com/wiki/dok ... nt_ap_mode
I gave the gargoyle setup another SSID for test purpose.
When I was in the gargoyle wlan everything worked fine, I could connect to everything.
From the other wlan devices I couldn't connect to chromecasts inside the gargoyle wlan.
I tried to accept everything in the firewall, I tried other routings and I played with the config (I killed one of the TP-Links and cant access it anymore, safemode doesnt work on those
)
Later I tried this config because its a better fit to my needs:
http://wiki.openwrt.org/doc/recipes/bridgedap
Now my problem is the other way around. When I am in the gargoyle wlan, I cant access chromecasts in the other wlans.
Here some specs:
Fritzbox
IP 172.18.0.1
Subnet 255.255.255.0
DHCP from 172.18.0.20 to 172.18.0.254
APs
static IPs below 172.18.0.20, Gateway and DNS is always the Fritzbox
Gargoyle:
IP 172.18.0.2
Subnet 255.255.255.0
Gateway 172.18.0.1
DNS 172.18.0.1
Internet / WAN disabled
Wireless Mode: AP
Firewall is disabled in this mode I guess
/etc/config/network:
/etc/config/wireless:
I would be happy if someone can give me a tip whats wrong. I googled and tried to get this working for the last 3 days.
I have multiple access points all over the house with the same SSID, same wpa2 psk but with different channels. All access points have a cable lan connection to the wired network. I use a fritz box router to connect the whole network to the internet. Firewall is running on the fritzbox.
I have two old TP-Link TL-WN821N. The firmware wasnt updated in the last 3 years and the wlan connection is bad.
So I installed the newest gargoyle on those two. WLAN connection is very good now but I cant get it to work like the other access points.
First I tried this config:
http://www.gargoyle-router.com/wiki/dok ... nt_ap_mode
I gave the gargoyle setup another SSID for test purpose.
When I was in the gargoyle wlan everything worked fine, I could connect to everything.
From the other wlan devices I couldn't connect to chromecasts inside the gargoyle wlan.
I tried to accept everything in the firewall, I tried other routings and I played with the config (I killed one of the TP-Links and cant access it anymore, safemode doesnt work on those

Later I tried this config because its a better fit to my needs:
http://wiki.openwrt.org/doc/recipes/bridgedap
Now my problem is the other way around. When I am in the gargoyle wlan, I cant access chromecasts in the other wlans.
Here some specs:
Fritzbox
IP 172.18.0.1
Subnet 255.255.255.0
DHCP from 172.18.0.20 to 172.18.0.254
APs
static IPs below 172.18.0.20, Gateway and DNS is always the Fritzbox
Gargoyle:
IP 172.18.0.2
Subnet 255.255.255.0
Gateway 172.18.0.1
DNS 172.18.0.1
Internet / WAN disabled
Wireless Mode: AP
Firewall is disabled in this mode I guess
/etc/config/network:
Code: Select all
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd2e:4889:3d2b::/48'
config interface 'eth'
option ifname 'eth0'
option proto 'none'
config interface 'lan'
option ifname 'lan1 lan2 lan3 lan4'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '172.18.0.2'
option gateway '172.18.0.1'
option dns '172.18.0.1'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
Code: Select all
config interface 'loopback'
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option path 'platform/ath9k'
option htmode 'HT20'
option hwmode '11ng'
config wifi-iface 'ap_g'
option device 'radio0'
option mode 'ap'
option network 'lan'
option disassoc_low_ack '0'
option ssid 'fff2'
option encryption 'psk2'
option key 'XXXXXXX'