You are here

Mikrotik hAP ac lite flashed but can't connect

17 posts / 0 new
Last post
KD9VGH
Mikrotik hAP ac lite flashed but can't connect
I recently flashed my Mikrotik hAP ac lite. I am doing this on windows. I got all the way to creating the node (callsign-1). router rebooted but now I can't connect to the node. I reset my IPv4 address to obtain automatically. When trying to connect to http://localnode I get the error below:

 
KD1HA
KD1HA's picture
Did you place the Ethernet
Did you place the Ethernet cable back to the LAN port 2,3,or4? A common era.  
KD9VGH
Yes. I placed it in 2
Yes. I placed it in 2
nc8q
nc8q's picture
I reset my IPv4 address to obtain automatically.
KD9VGH:
Did you obtain an IP address on your 'windows'?
If yes, what IP address?
If no, set your 'windows' to an appropriate IP address, then
can you PING the hAP-ac-lite on address 192.168.1.1?

"I get the error below:"
I see nothing 'below' in your post.

73, Chuck
 
K7EOK
You start with the fixed IP
You start with the fixed IP address, and then after the hAP returns you still have the same IP address for one more step, then the third time you need DHCP.  It sounds like you are using a direct cable from a pc to the hAP.  Once your computer makes a connection with a fixed IP address, sometimes the network card will not release that setting until you physically remove the ethernet cable from the port on the computer.  After resetting your card to have DHCP unplug the cable, and then plug back in also moving the other end to 2/3/4 and wait.  When rebooting the hAP and connecting the cable Windows will take some time to recognize the new ip address 10.x.x.x, do ipconfig like Chuck tells you.   Ed
KD9VGH
Tried resetting the router
I appreciate the replies. I may have jumped the gun. but I tried to start from the beginning. I followed the instructions to do a reboot on the hAP.
  • With the power off, I held down the reset button and plugged the power back in.
  • The USR light came on solid then started flashing.
  • Once the flashing stopped and the light went solid I released the button.
I believe that resets the hAP. I then started again. I have a dumb switch connected to my computer. I have a cable from the switch to the hAP.
  • I plugged the cable into port 1.
  • I set my Ethernet to a static IP of 192.168.1.50.
  • I started the PXE server. Unchecked the box "Filename if ....." and loaded the rb.elf file. Clicked the Online button.
  • Held down the reset button and plugged in the power. Waited until the PXE server to finish. Here is what it said:
4:37:11 PM DHCPc:discovering for another DHCPd on LAN
4:37:11 PM ROOT=C:\Users\Jeff\Desktop\TinyPXE\files\
4:37:11 PM DHCPd 192.168.1.50:67 started...
4:37:11 PM TFPTd 192.168.1.50:69 started...
4:37:11 PM httpd error, Socket Error # 10013
Access denied.
4:37:16 PM DHCPc:another DHCPd detected on your LAN @ 192.168.0.1
4:37:16 PM DHCPc:it is recommended that you enable ProxyDHCP
4:39:33 PM DHCPd:REQUEST received, MAC:08-55-31-4B-9E-4A, XID:869D679C
4:39:33 PM DHCPd:BOOTP REQUEST
4:39:33 PM DHCPd:ACK sent, IP:192.168.1.61, XID:869D679C
4:39:33 PM TFTPd:DoReadFile:rb.elf B:1452 T:0
4:40:40 PM DHCPd:DISCOVER received, MAC:08-55-31-4B-9E-4A, XID:125B50E3
4:40:40 PM DHCPd:OFFER sent, IP:192.168.1.51, XID:125B50E3
4:40:40 PM DHCPd:REQUEST received, MAC:08-55-31-4B-9E-4A, XID:125B50E3
4:40:40 PM DHCPd:ACK sent, IP:192.168.1.51, XID:125B50E3
4:42:19 PM TFTPd stopped...
4:42:19 PM DHCPd stopped...
I changed the cable to port 2 and in my webbrowser (Chrome) entered the address 192.168.1.1. The page says "THIS SITE CAN'T BE REACHED"

Any help is appreciated
nc8q
nc8q's picture
another DHCPd detected on your LAN @ 192.168.0.1
?:

Did your disable the Wi-Fi adapter on your computer?
Your computer may be discovering a Wi-Fi Access Point and
getting an IP address from that instead of your hAP-ac-lite.

73, Chuck
 
K7EOK
It looks like you are trying
It looks like you are trying to do this while already connected to another router, perhaps your home network.  Your PC can only be on one network at a time and most likely your home network has an address 192.168.0.1 for the router so everything is confused if you want to point at your home router or the AREDN device.  Disconnect from your home network (including any wifi) and start again.

Ed
KD9VGH
Finally Flashed
Thank you to all that were will to help me. I finally flashed my hAP. I have a 2nd computer and connected a cable from the hAP to the ethernet port of that one. I went through the steps and got it to work. Again I appreciate the help.

Jeff KD9VGH
VA3BHY
VA3BHY's picture
Mikrotik hap ac lite Unable to flash / overwite the RouterOS
Hello. I am hoping you can assist. I spent a good amount of time working on this MikroTik hap ac lite2 (RB952Ui-5ac2nD-US) trying to flush its firmware and replace it with the AREDN. I followed the procedure as written on the website. 

1. Download the AREDN software for MikroTik hAP ac2 kernel file:   aredn-3.25.2.0-ipq40xx-mikrotik-mikrotik_hap-ac2-initramfs-kernel.bin
2. Rename this file to rb.elf
3. Download and setup my PXE server
4. Edit the config.ini and add rfc951=1 just below the DHCP then save and exit
5. Copy the rb.elf to the files folder of the Tiny PXE server
6. Connect my PC NIC to a dumb switch.
7. Connect Port 1 (WAN) of my Mikrotik Router to the dumb switch. The power supply disconnected.
8. Assign a static IP to my PC NIC - first I tried assigning 192.168.1.10 / 24 Gateway: 192.168.1.1
9. Launch the PXE server. Bind to the IP address of the PC 192.168.1.10 
IP pool start / size: DHCP start 192.168.1.11 number of address: 10
Change the Boot file filename name to rb.elf
Unchecked the filename if user-class=gPXE or iPXE
Place the PXE server online
10. With the unit powered off, I press and hold the reset button on the router then insert the power plug powering on the router. I continue holding the reset button until I see  TFTPd: DoReadFile: rb.elf in the Tiny PXE log window then only then I release the reset button.
11. The router reboots. I place the PXE server to off line
12. I move the patch cord of the router from Port 1 (WAN) to Port 2 LAN 
13. On my PC I open command prompt and ping 192.168.1.1 - I got no reply 100% packet loss
14. I changed the IP address of my PC from static to DHCP - and I noticed I got 192.168.88.254 / 24 assigned to my PC right away with a default gateway of 192.168.88.1 
15. I open chrome browser, type http://192.168.88.1 - and the MikroTik RouterOS opens up instead of the AREDN interface. I failed.

So I tried again, repeating steps 7 to 12 except this time
on Step 8 - I assign a static IP of 192.168.88.10 / 24 Gateway: 192.168.88.1

Step 9 Bind The PXE server to the PC address of 192.168.88.10
IP pool start / size: DHCP start 192.168.88.11 number of address: 10
Change the Boot file filename name to rb.elf
Unchecked the filename if user-class=gPXE or iPXE
Place the PXE server online
With the unit powered off, I press and hold the reset button on the router then insert the power plug powering on the router. I continue holding the reset button until I see  TFTPd: DoReadFile: rb.elf in the Tiny PXE log window then only then I release the reset button.

The router reboots. I place the PXE server to off line

I move the patch cord of the router from Port 1 (WAN) to Port 2 LAN 

On my PC I open command prompt and ping 192.168.88.1 - I got reply with 0% packet loss

I changed the IP address of my PC from static to DHCP - and I noticed I got 192.168.88.254 / 24 assigned to my PC right away with a default gateway of 192.168.88.1

I open chrome browser, type http://192.168.88.1 - and the MikroTik RouterOS opens up instead of the AREDN interface. I failed AGAIN

__________________________________________________________________________

So I stayed on Mikrotik RouterOS went to System > Routerboard > Bootdevice: try-ethernet-once-then-nand and unchecked Protected routerboot option then I click apply and save then exit then power off the router

After all these, I repeat the procedure from the top assigning 192.168.88.10 / 24 as my PC address. Again it failed. I got no AREDN and the RouterOS survived the procedure.

Please help.

73,
Al  (VA3BHY)



 
nc8q
nc8q's picture
RB952Ui-5ac2nD-US
Hi, Al:

I only read the first few lines and am quickly responding.
The RB952Ui-5ac2nD-US is a.k.a. hAP-ac-lite and is not a.k.a. hAP-ac2.
Also, the RB952Ui-5ac2nD-US takes the ath79 firmware and not the ipq40xx firmware:
aredn-3.25.2.0-ath79-mikrotik-mikrotik_routerboard-952ui-5ac2nd-initramfs-kernel.bin
or similar Nightly Builds.

The hAP ac² (RBD52G-5HacD2HnD) takes ipq40xx firmware:
aredn-3.25.2.0-ipq40xx-mikrotik-mikrotik_hap-ac2-initramfs-kernel.bin

The hAP-ac3 (RBD53iG-5HacD2HnD) takes ipq40xx firmware:
aredn-3.25.2.0-ipq40xx-mikrotik-mikrotik_hap-ac3-initramfs-kernel.bin

Let us identify exactly the model of device.

73, Chuck

 
VA3BHY
VA3BHY's picture
My first AREDN node is now working - Thanks Chuck
Chuck,
Thank you so much for your response and advise. I found the ath79 firmware for my router.
It is up and running. 
Now, the fun part begins. Programming and adding services to it.
I will start with a VoIP service.
It looks like I am the only one doing an AREDN here in my area.
I will look into using the internet to create a VPN tunnel to another node.
Thanks again for your quick assitance.

73,
Al
nc8q
nc8q's picture
I will start with a VoIP service. 
Hi, Al:

I recommend asking VE3KPG for a (wireguard) tunnel.
Or me.
If you do get a connection to a LAN with a ('World') supernode and
you advertise a VoIP phone, I will call you. ;-)

73, Chuck

VE3KPG-GATEWAY
Description Kawartha Packet Group, located near Hiawatha, Ontario - Winlink RMS Gateway,BBS/Node and IGate
Location 44.19307406409906,-78.2378194
VA3BHY
VA3BHY's picture
Connection to a super node.
Hi Chuck,
I contacted VA3YCL for a tunnel to his super node. I also asked for a mesh extension.
I will keep you posted.
Is it ok to have more than 1 tunnel running on my node?
May I ask you for a (wireguard) tunnel ?
My email is: va3bhy@gmail.com
Thanks.  

Al (VA3BHY)
 
nc8q
nc8q's picture
Is it ok to have more than 1 tunnel running on my node?
Hi, Al:

"Is it ok to have more than 1 tunnel running on my node?" Yes.

Supernodes only tunnel with supernodes and DtD with reguLar nodes.
For starting out, you should tunnel with a regular node...especially one
already linked into the 'World Map'.
https://worldmap.arednmesh.org/#1.5/35/-14

I do not know what a 'mesh extension' is.
Do you mean a phone extension on a PBX?

If you attach a VoIP phone to your AREDN LAN,
please advertise it with a unique hostname, such as
va3bhy-phone

I emailed you tunnel credentials.

73, Chuck
 
VA3BHY
VA3BHY's picture
I think my node is now connected to your node
Thanks for the information. I think I asked to tunnel to a supernode. I will cancel such request to VE3YCL.
I connected a voip phone on my ARDN LAN and advertised it as va3bhy-phone.
It is late now, but tomorrow, I will try to ring you.

73, Al

 
nc8q
nc8q's picture
https://worldmap.arednmesh
https://worldmap.arednmesh.org/#8/44.209/-79.022

Hi, Al:

You could tunnel with VE3YCL-Buckhorn-Hub which is not a supernode.
I suggest a tunnel with VE3KPG-GATEWAY, primary.
Else VE3PBO-PETERBOROUGH-HUB, secondary.

I 'see' your phone.
I set up extension 1082 on my PBX and sent you credentials.
It is early now, but today, I will try to ring you.
I can SIP: dial your phone by dialing 73+823249 (your callsign) from any PBX extension.

3s, Chuck
 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer