Hi.
I am trying to change the firmware of the MIKROTIK HAP Lite.
I follow all the steps, and load Arend's firmware well (https://arednmesh.readthedocs.io/en/latest/arednGettingStarted/installin...). But when it is reset, it returns to the mikrotik firmware.
How can I solve the problem?
Regards.
I am trying to change the firmware of the MIKROTIK HAP Lite.
I follow all the steps, and load Arend's firmware well (https://arednmesh.readthedocs.io/en/latest/arednGettingStarted/installin...). But when it is reset, it returns to the mikrotik firmware.
How can I solve the problem?
Regards.
Which model do you have?
Joe AE6XE
73
Don
Hi, Don:
Please confirm that your device is a Mikrotik RB952Ui-5ac2ND.
Please confirm that your installing the firmware from a computer running the Microsoft Windows operating system.
Please specify which .elf and which .bin file you downloaded.
Please confirm that the Mikrotik port #1 and your computer are connected to a simple switch.
Please confirm that you are using the install procedure here:
https://arednmesh.readthedocs.io/en/latest/arednGettingStarted/installing_firmware.html#mikrotik-first-install-process ...
Windows Procedure
You will need to install and configure a PXE Server on your Windows computer.
Please confirm that you have installed Tiny PXE on your Windows computer.
Next, there are six numbered steps.
Have you complete all six steps?
If no, at which step was there a failure and what was the error message if any?
Following, if no errors...
Final Configuration Steps
There are three numbered steps.
Have you complete all three steps?
If no, at which step was there a failure and what was the error message if any?
I hope this helps,
Chuck
This with just running the router.
Microsoft Windows [Version 10.0.19041.685]
(c) 2020 Microsoft Corporation. All rights reserved.
C:\Users\User>ipconfig
Windows IP Configuration
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::9d0e:5568:d4ee:c966%4
Autoconfiguration IPv4 Address. . : 169.254.201.102
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Wireless LAN adapter Wi-Fi:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : hitronhub.home
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
C:\Users\User>
I have a Solar Wind TFTP server but I don't see anything so far for a PXE server
still lost
73
Don va7dgp
73
Don
You should (re)set your computer to be a DHCP client and move the ethernet cable to port 2 or 3 or 4 on the Mikrotik.
Browse to 192.168.1.1 and upload the .bin using the Administration page.
When I log into just the router. No ISP attached. I saw 192.168.1.1 I was able to get into the router.
I know about the Bin but I expected to see AREDN when I went to 192.168.1.1. I'm going load up a Linux box instead of a Windows box. It's the internet access if I just have the router on. If my home router on. I don't see 192.168.1.1.
I have a lot to learn.
I hope I didnèt see the EBF load.
73
later back to trying to get it online
73
Don va7dgp
I have tried repeatedly to flash the rb.elf file to a new hAP ac lite, without success. It always comes back up in MikroTik.
The one thing I do see, no matter what variety of instructions I follow, is this error:
TFFPTDd error, could not bind socket. Address and port are already in use.
Always using static IP on ethernet card. Have tried 192.168.1.10, 192.168.1.100, 192.168.88.50, 192.168.88.100 as static IPs. Follow all other instructions. However, I also note that to actually reset to factory I had to do it through Winbox, could not do it by holding reset button during power up.
Any suggestions are appreciated. Is there a way to load the rb.elf file using Winbox (copying to file folder on device and ???) ?
Thanks,
Carl, N7KUW
Yes, that is significant! Can you post a screen capture of you PXE session. I want to see what else it is saying.
7:33:45 PM DHCPc:discovering for another DHCPd on LAN
7:33:45 PM ROOT=C:\Users\PCname\Desktop\Mikrot AREDN\pxesrv\files\
7:33:45 PM DHCPd 192.168.1.10:67 started...
7:33:45 PM TFPTd error, Could not bind socket. Address and port are already in use.
7:33:45 PM HTTPd:80 started...
7:33:50 PM DHCPc:no other DHCPd discovered
7:34:08 PM DHCPd:REQUEST received, MAC:08-55-31-75-59-D3, XID:9E3507BA
7:34:08 PM DHCPd:BOOTP REQUEST
7:34:08 PM DHCPd:ACK sent, IP:192.168.1.21, XID:9E3507BA
7:34:08 PM DHCPd:REQUEST received, MAC:08-55-31-75-59-D3, XID:5D9F6FCC
7:34:08 PM DHCPd:BOOTP REQUEST
7:34:08 PM DHCPd:ACK sent, IP:192.168.1.21, XID:5D9F6FCC
7:34:38 PM DHCPd:DISCOVER received, MAC:08-55-31-75-59-D3, XID:47A2D24C
7:34:38 PM DHCPd:OFFER sent, IP:192.168.1.11, XID:47A2D24C
7:34:38 PM DHCPd:REQUEST received, MAC:08-55-31-75-59-D3, XID:47A2D24C
7:34:38 PM DHCPd:ACK sent, IP:192.168.1.11, XID:47A2D24C
7:38:33 PM TFTPd stopped...
7:38:33 PM HTTPd stopped...
7:38:33 PM DHCPd stopped...
I will note that I have three ethernet adapters, one of which is USB to ethernet, and that is the one I am using. I have tried this with all of the others disabled so this was the only active adapter. As you can see, I waited quite a long time to see if I could get a response and never did. The last entries are when I took PXE offline.
And please post screen captures of all the PXE setup and running screens. Not a photo of the screen, but a screen capture (far more readable). The Windows Snipping Tool works well for the purpose.
Carl
Option 6 (DNS) should be 0.0.0.0. PXE seems to be remembering a previous connection to an AREDN device.
I recommend using static address 192.168.1.x instead of 192.168.88.x as you will need the 192.168.1.x
later when uploading the sysupgrade.bin.
I hope this helps,
Chuck
192.168.1.50
192.168.1.100
192.168.88.50
192.168.88.100
Will set those two options as noted and try yet again.
Thanks
Docs PXE screenshot.
The screen shot was taken after I clicked offline, it was online when the attempt was made. No DNS entries were made in ethernet interface setup, those fields were left blank. Don't know where the 10.... came from.
Now the post I was writing as I was plowing my way through the process, just for info...
Took a bit to get back to this, but I'm still coming up short.
Different computer (not previously used)
Fresh download and install of PXE
Success in flashing the factory file!!!!!
Got to settings and uploaded bin file.
Appeared to be working. Went to settings and changed node name, it automatically did reset when I clicked save.
And... nothing. Can't ping, Can't connect to it.
Pushed and held reset button (while power applied) until USR light flashed rapidly.
After reset I get back to original AREDN login page - had not saved my changes.
So tried uploading the bin file again.
Same results, looks like I'm in setup, but doesn't really save change and after push and hold reset get back to initial AREDN screen.
hAP never comes back up on its own. USR light constant on.
Did a power cycle, no success.
-----------
Well, after 3 or 4 cycles of the above, I finally got it to come back up working with the initial change. Did take a bit of a power cycle. Hope this thing holds together and continues to work now that it is working, but it has been an incredible hassle to get it to this point to start with.
Thank you again for the help and suggestions.
Carl, N7KUW
Hello Carl,
I had the same issue with a new Hap AC lite, namely that there was supposedly another instance of 192.168.1.100 on the system. I was using a cisco switch and an HP laptop running Windows XP Pro (I find it simpler to use than windows 10, just saying). The "fix" was to try using a windows 10 machine. problem solved first try, all is good now
I've downloaded the two files from http://downloads.arednmesh.org/afs/www/?version=3.23.12.0&target=ipq40xx...
and renamed the "kernel" file rb.bin.
I'm using Tiny PXE server, pxesrv.exe
My laptop is set to fixed IP 192.168.1.100 and this is displayed as DHCP Server in Tiny PXE, with "Bind IP" checked,
subnet Mask 255.255.255.0,
Router 0.0.0.0
DNS Server 0.0.0.0
Boot File Filename "rb.bin"
Filename if user-class=gPXE or iPXE not checked.
After holding the reset button while applying power to the hAP, I see, in the Tiny PXE server window, "BOOTP REQUEST" and "DoReadFile rb.bin"
About 30 sec later, when the LEDs on the hAP light up I see "DISCOVER", "OFFER sent" IP:192.168.1.101" and "REQUEST received"
<quote>
10:18:58 PM DHCPc:discovering for another DHCPd on LAN
10:18:58 PM ROOT=C:\PXE server-tiny\files\
10:18:58 PM DHCPd 192.168.1.100:67 started...
10:18:58 PM TFPTd 192.168.1.100:69 started...
10:18:58 PM HTTPd:80 started...
10:19:03 PM DHCPc:no other DHCPd discovered
10:20:26 PM DHCPd:REQUEST received, MAC:18-FD-74-48-D3-4D, XID:5C484F8E
10:20:26 PM DHCPd:BOOTP REQUEST
10:20:26 PM DHCPd:ACK sent, IP:192.168.1.111, XID:5C484F8E
10:20:26 PM TFTPd:DoReadFile:rb.bin B:1452 T:0
10:21:02 PM DHCPd:DISCOVER received, MAC:18-FD-74-48-D3-4D, XID:B8CCEED4
10:21:02 PM DHCPd:OFFER sent, IP:192.168.1.101, XID:B8CCEED4
10:21:02 PM DHCPd:REQUEST received, MAC:18-FD-74-48-D3-4D, XID:B8CCEED4
10:21:02 PM DHCPd:ACK sent, IP:192.168.1.101, XID:B8CCEED4
10:21:15 PM TFTPd stopped...
10:21:15 PM DHCPd stopped...
10:21:15 PM HTTPd stopped...
</quote>
I remove the ethernet cable from the hAP port 1
change the laptop to "use DHCP"
plug the ethernet cable into hAP port 2,
disconnect and reconnect the laptop's ethernet cable so that it will make a DHCP request. (the hAP remains connected to the ethernet switch)
Then, using "ipconfig" in a CMD window, I see that the laptop has received IP address 192.168.88.254 -- not the expected 192.168.1.1
I can ping 192.168.88.1, but ping 192.168.1.1 returns "Destination net unreachable."
Any hints or suggestions?
Thank you!
and renamed the "kernel" file rb.bin.
That is the wrong file.
That file is for the hap ac2.
You said you had an hap ac lite.
73, Chuck
Two things are possibly wrong. Keeping the pxeserver going is undoing your hard work to upload the new firmware, and if you don't unplug the ethernet cable and move it your computer eithernet card will not release the ip address it had from the previous moment.
One more thing to be aware of is that you should not be on any other network during this process. If you went thru a switch, you are using a simple dumb switch that is NOT part of your normal network. I don't use a switch during this process as it's just more stuff and I can just unplug cables and replug them. And, SUPER important is TURN OFF YOUR WIFI while doing this process. Your ONLY network is you and the device you are flashing.
Ed
For a Mikrotik device you rename the xxxxxxxxxxkernel.bin file
rb.elf
and place the file rb.elf in the files folder for pxeserver to find when you run it. I do remember one person trying to rename it rb.elf.bin (didn't change the extension) and that hung them up for a while.
But you should already know all of this as you say you have done this before on other devices, so I don't know why this one is a bugger.
Ed
Your statement that you got a 192.168.88.x address tells me that you are back in RouterOS.