Community discussions

MikroTik App
 
DitchRat95
newbie
Topic Author
Posts: 34
Joined: Tue Jul 19, 2022 5:43 pm

No internet on wlan

Sat Jul 23, 2022 9:25 am

Hi,
Thank you in advance for the help!
So I have a RB4011iGS+5HacQ2HnD(CAPsMAN) and a (CAP) RBD53iG-5HacD2HnD(hap ac3). I have created a capsman network with two vlans, the main network, and a guest network which I want only to be via WLAN. I have DHCP, IP pools set up and ports assigned, I am writing this on my laptop connected via wire to the hap AC3 on the main netowrk. When I connect to the WLANi get IP i just fot get internet, Will post config, plz help,
MTBMcongif.cfg.rsc
You do not have the required permissions to view the files attached to this post.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: No internet on wlan

Sat Jul 23, 2022 6:05 pm

You have many mistakes in your configuration...
As for the reason you don't have internet when connecting to either vlan10 or vlan20 is because you do not allow neither of these VLANs to make DNS queries to the router...

More specifically, the DNS queries are blocked because there is a rule
action=drop chain=input comment="defconf: drop all not coming from LAN" \
    in-interface-list=!LAN
which will drop anything not coming from LAN... so it will drop VLAN10 and VLAN20 when making DNS queries too...
Above that rule for those VLAN interfaces allow tcp/udp ports 53 and test again...

Also when Bridge VLAN filtering is disabled, all VLAN related settings under interface bridge port and interface bridge vlan are ignored...
 
DitchRat95
newbie
Topic Author
Posts: 34
Joined: Tue Jul 19, 2022 5:43 pm

Re: No internet on wlan

Sun Jul 24, 2022 4:57 am

You have many mistakes in your configuration...
As for the reason you don't have internet when connecting to either vlan10 or vlan20 is because you do not allow neither of these VLANs to make DNS queries to the router...

Any other direction too clean it up would be much appreciated!

More specifically, the DNS queries are blocked because there is a rule
action=drop chain=input comment="defconf: drop all not coming from LAN" \
    in-interface-list=!LAN
which will drop anything not coming from LAN... so it will drop VLAN10 and VLAN20 when making DNS queries too...
Above that rule for those VLAN interfaces allow tcp/udp ports 53 and test again...

Also when Bridge VLAN filtering is disabled, all VLAN related settings under interface bridge port and interface bridge vlan are ignored...
when I try to enable it on the Bridge it will only let me enter one vlan id?
My main concern at this point had been to get it up and functional, then work on work on cleaning it up, tightening security, signal strengths, changing hap ac3 to just be access point for guest network and guest network shut off per schedule to shut off during certain hours.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: No internet on wlan

Sun Jul 24, 2022 6:33 pm

So, did it work after changing the config according to my previous suggestion ?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19103
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: No internet on wlan

Mon Jul 25, 2022 4:14 pm

The first thing I would do to simplify is get rid of capsman, and get the config working and if you decide you really need it, then complicate your life then.
(I dont review any config with capsman, I simply move to those that dont - my limitation )
(If you dont believe me have a look at the wifi forum and all the issues, and they spill over as capsman questions are huge in volume in the beginner forum as well )
(unless you have a large group of mt wifi, and until you know MT configs cold, best to avoid in most cases )
 
DitchRat95
newbie
Topic Author
Posts: 34
Joined: Tue Jul 19, 2022 5:43 pm

Re: No internet on wlan

Sun Jul 31, 2022 6:28 am

So the issue actually ended up being in my ip pool setup which led to the dns issue. So now I can connect to the internet via cabel or WiFi, everything gets ip addresses. New issue though when I go to connect to the guest WiFi (only on iphones, Android and laptops work fine) it asks for a user name??? Why!?
 
User avatar
Ca6ko
Member
Member
Posts: 499
Joined: Wed May 04, 2022 10:59 pm
Location: Kharkiv, Ukraine

Re: No internet on wlan

Sun Jul 31, 2022 10:35 pm

it asks for a user name??? Why!?
Because that is what you have enabled in the security settings.
In the Authentication Type settings, only WPA2 PSK should be selected, Encription aes ccm
 
DitchRat95
newbie
Topic Author
Posts: 34
Joined: Tue Jul 19, 2022 5:43 pm

Re: No internet on wlan

Mon Aug 01, 2022 4:09 am

K, found a iphone that dosen't ask for a user name but still when i go to connect it just says unable to join network, changed the security to your recommened settings to no avail.
Thank you for all your help my friend!
 
User avatar
Ca6ko
Member
Member
Posts: 499
Joined: Wed May 04, 2022 10:59 pm
Location: Kharkiv, Ukraine

Re: No internet on wlan  [SOLVED]

Mon Aug 01, 2022 1:12 pm

 
DitchRat95
newbie
Topic Author
Posts: 34
Joined: Tue Jul 19, 2022 5:43 pm

Re: No internet on wlan

Tue Sep 06, 2022 11:02 pm

So yes the authentication type was the issue. Thank you vary much for the help.
So I have a bridge w two vlan's, one is the Home network WiFi and the other guest WiFi. I seem to be able to reach devices from my capdatapath to the MTB-M network but not vise-versa, I would like the guest to be completely isolated from anything but internet and client to client. I thought I had addressed it in the firewall but apparently not.

Who is online

Users browsing this forum: gigabyte091, Majestic-12 [Bot], sinisa, zuna80 and 33 guests