Can't get gargoyle wlan work correct

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

Moderator: Moderators

Post Reply
Gamb
Posts: 3
Joined: Wed Apr 08, 2015 6:11 pm

Can't get gargoyle wlan work correct

Post by Gamb »

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:

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'
/etc/config/wireless:

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

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Can't get gargoyle wlan work correct

Post by nworbnhoj »

What is the physical connection between the fritzbox and the TL-WN821N? Which port are you pluggd into?
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

Gamb
Posts: 3
Joined: Wed Apr 08, 2015 6:11 pm

Re: Can't get gargoyle wlan work correct

Post by Gamb »

Thanks for your reply. Its plugged in lan1. Seems to me there is no difference in what port I use, as long its not the wan port because its disabled.

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Can't get gargoyle wlan work correct

Post by nworbnhoj »

Did you setup the Bridge with the instructions at http://wiki.openwrt.org/doc/recipes/bridgedap? Because I am not familiar with how this openWRT setup interacts with those made with the Gargoyle GUI.

I have not used the setup that you describe, but I would use the Gargoyle GUI and:
  • Connect the fritzbox to a TL-WN821N LAN port
  • System - Backup/Restore - Restore Default Configuration
  • Connection - Basic - Device Configuration - Gateway
  • Connection - Basic - Internet/WAN - Disabled
  • Connection - DHCP - untick LAN DHCP Server Enabled
Pardon my ignorance if I am completely off track.
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

Gamb
Posts: 3
Joined: Wed Apr 08, 2015 6:11 pm

Re: Can't get gargoyle wlan work correct

Post by Gamb »

I posted that I used that guide. I've done that via ssh. Of course the interfaces had different names on gargoyle but I only had to set the right options. The gui adapted that configuration like the one you described. dhcp is of course off because its the same subnet and the fritzbox is already running one.

Post Reply