Page 1 of 1

Connected - no internet

Posted: Wed Sep 27, 2017 2:30 am
by ziltoid
Hi,

I use Mikrotik CRS109-8G-1S-2Hnd as wireless access point. It has a WAN connection.

Problem is mac book connects to Mikrotik wireless network but has no internet access. I can fix this problem by logging into the Mikrotik administration page, select Wireless -> Registration -> Click on the connection -> Ping. After that there is a working internet connection. I have the same issue with Microsoft surface pro 4.

I have latest Samsung phones, and ereaders which can connect to the Mikrotik and have internet access immediately.

I configured the Mikrotik wireless network through the administration interface using Quick Set.

Thanks for any help.

Re: Connected - no internet

Posted: Wed Sep 27, 2017 1:33 pm
by djfrancis
Hi ziltoid, please post your config to help you. To do this, open winbox, access to your router, open new terminal and write this:
export compact
Regards

Re: Connected - no internet

Posted: Wed Sep 27, 2017 3:42 pm
by ekpesinyang
Hi,

I use Mikrotik CRS109-8G-1S-2Hnd as wireless access point. It has a WAN connection.

Problem is mac book connects to Mikrotik wireless network but has no internet access. I can fix this problem by logging into the Mikrotik administration page, select Wireless -> Registration -> Click on the connection -> Ping. After that there is a working internet connection. I have the same issue with Microsoft surface pro 4.

I have latest Samsung phones, and ereaders which can connect to the Mikrotik and have internet access immediately.

I configured the Mikrotik wireless network through the administration interface using Quick Set.

Thanks for any help.
What security profile are you implementing on the wireless, is it wpa or wpa2. Is it a hotspot billing. If clients are connected and they are not browsing can you check that the dns on your dhcp server is correct and also the IP address that is on the client is also correct. please send screen shots.

Re: Connected - no internet

Posted: Thu Sep 28, 2017 6:06 am
by ziltoid
Thanks a lot for the replies.

[admin@MikroTik] > export compact
# sep/28/2017 13:00:00 by RouterOS 6.40
# software id = E0W4-E4M6
#
# model = CRS109-8G-1S-2HnD
# serial number = 786B0623048E
/interface bridge
add admin-mac=6C:3B:6B:A7:56:81 auto-mac=no comment=defconf fast-forward=no name=bridge
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n basic-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps basic-rates-b=\
1Mbps,2Mbps,5.5Mbps,11Mbps channel-width=20/40mhz-Ce country=australia disabled=no distance=indoors frequency=auto mode=ap-bridge rate-set=\
configured ssid=MikroTik-A75689 wireless-protocol=802.11
/interface ethernet
set [ find default-name=ether2 ] name=ether2-master
set [ find default-name=ether3 ] master-port=ether2-master
set [ find default-name=ether4 ] master-port=ether2-master
set [ find default-name=ether5 ] master-port=ether2-master
set [ find default-name=ether6 ] master-port=ether2-master
set [ find default-name=ether7 ] master-port=ether2-master
set [ find default-name=ether8 ] master-port=ether2-master
set [ find default-name=sfp1 ] master-port=ether2-master
/ip neighbor discovery
set ether1 discover=no
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk eap-methods="" group-key-update=1h mode=dynamic-keys wpa-pre-shared-key=xxxxxxxx \
wpa2-pre-shared-key=xxxxxxxx
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=dhcp authoritative=after-2sec-delay disabled=no interface=bridge lease-time=3d name=defconf
/port
set 1 name=usb2
/interface bridge port
add bridge=bridge comment=defconf interface=ether2-master
add bridge=bridge comment=defconf interface=wlan1
/interface wireless access-list
add mac-address=1C:3E:84:34:F3:A8
add mac-address=30:07:4D:3D:22:B0
add mac-address=8C:F5:A3:EA:7D:C3
add mac-address=AC:BC:32:CC:39:A3
add interface=wlan1 mac-address=98:5F:D3:5C:D7:CB vlan-mode=no-tag
add interface=wlan1 mac-address=1C:1E:E3:92:C4:81
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether2-master network=192.168.88.0
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=ether1
add default-route-distance=2 dhcp-options=hostname,clientid disabled=no use-peer-dns=no use-peer-ntp=no
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment="defconf: accept established,related" connection-state=established,related
add action=drop chain=input comment="defconf: drop all from WAN" in-interface=ether1
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related" connection-state=established,related
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface=\
ether1
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" out-interface=ether1
# lte1 not ready
add action=masquerade chain=srcnat out-interface=*C
/lcd
set time-interval=hour
/lcd interface pages
set 0 interfaces=wlan1
/system clock
set time-zone-name=Australia/Sydney
/system logging
add topics=lte
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=bridge
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=bridge
/tool romon
set enabled=yes
[admin@MikroTik] >

ekpesinyang, I will check the clients settings when this problem occurs and will paste the results.

Re: Connected - no internet

Posted: Thu Oct 19, 2017 11:52 pm
by ziltoid
Sorry for the late reply.

ekpesinyang, this is the network settings.

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether ac:bc:32:cc:39:a3
inet6 fe80::14d1:d98e:3a76:a5fe%en0 prefixlen 64 secured scopeid 0x4
inet 192.168.88.233 netmask 0xffffff00 broadcast 192.168.88.255
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active


netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.88.1 UGSc 3 46 en0
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 16 251363 lo0
169.254 link#4 UCS 1 0 en0
169.254.188.27 link#4 UHLSW 0 10 en0
192.168.88 link#4 UCS 1 0 en0
192.168.88.1/32 link#4 UCS 1 0 en0
192.168.88.1 64:d1:54:c4:3:34 UHLWIir 11 341 en0 990
192.168.88.233/32 link#4 UCS 1 0 en0
192.168.88.249 f0:79:59:90:e0:19 UHLWIi 1 74 en0 1187
224.0.0/4 link#4 UmCS 1 0 en0
224.0.0.251 1:0:5e:0:0:fb UHmLWI 0 0 en0
255.255.255.255/32 link#4 UCS 0 0 en0



cat /etc/resolv.conf

#
# Mac OS X Notice
#
# This file is not used by the host name and address resolution
# or the DNS query routing mechanisms used by most processes on
# this Mac OS X system.
#
# This file is automatically generated.
#
search xx.xxx.com xxx.com
nameserver 192.168.88.1
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

Re: Connected - no internet  [SOLVED]

Posted: Mon Oct 30, 2017 2:23 pm
by ziltoid
This issue is resolved.

The devices arp tables had the wrong MAC address. There was another device on the network with the same IP address as the gateway. :roll: