Android Smartphone : Sometimes no Internet access

Hello,

I use "TP-Link Archer C7 v2" router with OpenWrt 19.07.4 (OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01).

I have 2 SSID set up on 2 different VLAN (more details : 2 SSID WiFi on different VLANs (Archer C7 / Pfsense) : Problem when I activate the second custom interface)

VLAN are managed by PFSENSE and DHCP by a Windows Sever 2019.

This configuration works properly but I have a problem with a Android smartphone.

Sometimes, this smartphone is connected but it’s displayed : « connected, no Internet access ». There is an exclamation marks on the wireless icon.

Sometimes also, this smartphone doesn’t connect automatically. I have to choose manually the WiFI in the list in order for it to connect.

I tried several things (rule FW, disabled pfBlockerNG,…) but I always have the same problem.

I just tried to configure MSS clamping (After switching router some apps on Android phone won't load) but I don’t know if it’s a good idea.

Do you have any idea ?

Thanks & regards !
Romain

I'd fix your network configs first. You have DNS and gateways on all interfaces.

  • I can't imagine that's actually correct - that you have an Internet router on VLANs 10 and 20.
  • You don't need DNS on each interface, only the one pointing to the Internet

MSS Clamping is enabled in OpenWrt devices by default. I'm aware you noted this was not the case 4 times in another thread...are you using a custom build?

How?

Also, this brings up that you also Port 2 is both tagged for VLAN 20 an untagged for VLAN 1.

Then wouldn't you consult these configs?

???

  • Wait...you mentioned a PFSense package...is the OpenWrt your Internet Gateway and/or firewall?
  • If so explain in more detail.
1 Like

Hello lleachii,

Thank you for your help and I'm very sorry for the delay in responding. I was not able to connect before.

So,it's true that I corrected my configuration as suggested in the other post.
Here is my current configuration :


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 'fd49:2e10:9022::/48'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth1.1'
        option proto 'static'
        option netmask '255.255.255.248'
        option ipaddr '192.168.X.2'
        option gateway '192.168.X.1'
        list dns '192.168.X.1'
        list dns '10.76.X.X'

config interface 'wan'
        option ifname 'eth0.2'
        option proto 'dhcp'

config interface 'wan6'
        option ifname 'eth0.2'
        option proto 'dhcpv6'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0t 2 3 4 5'
        option vid '1'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '1 6t'
        option vid '2'

config switch_vlan
        option device 'switch0'
        option vlan '3'
        option ports '0t 2t'
        option vid '20'

config interface 'SSID_WIFI_1'
        option ifname 'eth1.20'
        option type 'bridge'
        option proto 'none'

config switch_vlan
        option device 'switch0'
        option vlan '4'
        option ports '0t 2t'
        option vid '10'

config interface 'SSID_WIFI_2'
        option proto 'none'
        option type 'bridge'
        option ifname 'eth1.10'

According to the configuration above, can you tell me if I need to modify something ?

The DHCP/DNS configuration it's OK. These configurations I know well :wink:.

PFSense is deployed on the ESXi as an appliance.

Currently, I don't understand why the Android Smartphone doesn't connect :frowning: . Not being very familiar with OpenWRT, I may have missed something in the configuration.

Thanks & regards.
Romain

You also missed why I noted it. I don't understand why your PFSence and Windows machine aren't responsible for these issues. I don't understand how your PFSence is a firewall, but your OpenWrt is the router. :thinking:

Hello lleachii,

My Pfsense is used as a router (many vlan) and FW.
My Windows Sever as a DC.
My OpenWRT is used just to deliver WIFI.

Be carreful, I don't saying that my PFsense and Windows server aren't responsible for these issues. I've already looked at their configurations and, for the moment, I didn't find any problems. So let me ask the question here, just in case someone has an idea :slight_smile:.

Can you explain to me please ?

Thanks and regards,