You are here

hAP AC3, what am I missing

11 posts / 0 new
Last post
KR7O
hAP AC3, what am I missing
Not able to get this device flashed, either through physical reset or try-ethernet-once-than-nand options using windows.

RouterOS 6.47.8, connected via switch as documented.
-Renamed the initramfs-kernel file to rb.elf.  rb.elf copied into the files folder
-rfc951=1 added to config.ini (complete file below)
-tiny pxe configured per install documentation

"Continue holding the reset button until you see TFTPd: DoReadFile: rb.elf in the Tiny PXE log window."
   I see communication with the device during this process, but never see TFTPd: DoReadFile:, even holding the reset button for around 1 minute.
   with the try-ethernet-once-than-nand technique, I see communication, but never see any read for over 30 minutes. 
      never see the device reboot
      after hard reboot, hAP comes up in factory configuration.

Have gone through multiple iterations of this.  How long does the upload take?  Am I missing something?

tiny pxe config.ini.  Do I need to hard code the full path to the rb.elf?
                 ;needed to tell TFTPd where is the root folder
                 root=files
                 ;bootp filename as in http://tools.ietf.org/html/rfc951
                 ;filename=ipxe-undionly.kpxe
                 filename=rb.elf

Complete config.inf

[arch]
;will over rule the bootp filename or opt67 if the client arch matches one of the below
;00006=bootia32.efi
;00007=bootx64.efi
;00009=bootx64.efi
[dhcp]
rfc951=1
;below is applicable only if proxydhcp=0
;rfc951=1
;needed to tell TFTPd where is the root folder
root=files
;bootp filename as in http://tools.ietf.org/html/rfc951
;filename=ipxe-undionly.kpxe
filename=rb.elf
;alternative bootp filename if request comes from ipxe or gpxe
altfilename=menu.ipxe
;start HTTPd
httpd=1
binl=0
start=0
dnsd=0
;if you have a dhcp server on your lan, set proxydhcp=1
proxydhcp=0
;default=1
bind=1
;tftpd=1 by default
;will share (netbios) the root folder as PXE
smb=0
;will log to log.txt
log=0
;opt1=
;opt3=
;opt6=
;opt28=
;opt15=
;opt17=
;opt43=
;opt51=
opt54=192.168.1.10
;opt67=
;opt66=
;opt252=
;poolstart=
;poolsize=
;alternative bootp filename if request comes thru proxydhcp (udp:4011)
;proxybootfilename=
;any extra dhcp options
;my gpxe / ipxe dhcp options
optextra=175.6.1.1.1.8.1.1
;the below will be executed when clicking on the online button
;online=online.bat
;offline=offline.bat
;if log=1, will log to log.txt - not recommended, rather, use the syslog feature
log=0
;syslog=127.0.0.1
[web]
port=80
;php.exe file.php param1=value1
;download php from https://windows.php.net/downloads/releases/
;php-5.6.38-nts-Win32-VC11-x86 tested with success
php=c:\php\php.exe
;cscript.exe file.vbs param1=value1 //nologo
vbs=C:\Windows\System32\cscript.exe
js=C:\Windows\System32\cscript.exe
;python.exe file.py param1=value1
py=C:\Python27\python.exe
ps1=C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe
;the below will be used if you turn on dnsd
;[mydomain.fr]
;ip=10.0.0.254
;[10.0.0.253]
;host=mydomain2.fr
;[frmDHCPServer]
;top=412
;left=768
[frmDHCPServer]
top=184
left=757




 
KR7O
update
After watching a couple of hAP2 upgrade videos at lunch, I am fairly confident that I am following the steps correctly.

73, Robert
 
w6bi
w6bi's picture
New settings..
Take a look at this, and verify it's set properly in your ac3:  https://docs.arednmesh.org/en/latest/arednGettingStarted/installing_firm...

Orv W6BI
 
KR7O
Protected routerboot
Hi Orv,

I presume that you are referring to to this.  If so, it is off.  I have some screen captures, but was not able to upload them at the time.  Have tried hard reboot and "try-ethernet-once-than-nand" methods.

73, Robert
K6CCC
K6CCC's picture
I have always used these
I have always used these instructions for all Mikrotik devices - including my hAPac3 - with 100% success.
https://www.arednmesh.org/content/installation-instructions-mikrotik-dev...
Since I am using Windows, I followed the document listed in post #2.
I do always put a dumb switch in between the node and the PC - although this is more for the PC rather than the node.
 
KR7O
Thanks
That document almost exactly matches the published AREDN procedure for windows.  The only thing that I noted that was different was to disable WIFI (which I have already tried based on instructions from Mikrotik related to the Netinstall procedure).  I have disabled all other network devices since they advise that other devices could block discovery.

I have also tried wiring straight to port 1 of the AC3 without any success.  I have re-downloaded both firmwares, TinyPXE and wiped the config.ini in case there was any corruption.

At this point I am tempted to attempt to reinstall/upgrade RouterOS with the Netinstall procedure.  What is the latest approved version for the AC3?

73, Robert
 
KR7O
Noticed the nightly build
Noticed the nightly build appeared to be a different kernel file.  Tried with no success.
K6CCC
K6CCC's picture
7.17 or 7.18 beta 2

What is the latest approved version for the AC3?
 

7.17 for the latest stable release and 7.18 beta 2 for the adventure some types...
https://mikrotik.com/download
The hAPac3 is an ARM 32 based device so conveniently the first one listed on the download page.

 
KR7O
7.17
Thanks.  Sorry, I my question was not clear.  I should have asked, what is the latest version of RouterOS approved/tested for the AC3 running AREDN firmware?  The install doc mentions that there might be issues with V7 and mentions possibly downgrading the version.

"If it is running version 7.x then you can try installing the AREDN® sysupgrade v7 firmware file. Or you can downgrade Mikrotik RouterOS prior to flashing the regular AREDN® sysupgrade file. Earlier versions of RouterOS and their NetInstall utilities can be found on the Mikrotik website."
KR7O
Resolved
After spending a bunch of time with this, including disabling firewall and anti-virus with no luck using Windows 10, I broke down and tried Linux (even though I have almost no experience with it).  Created a Mint bootable USB and after about an hour of research on commands I have a working node!

A couple of comments on the linux command line based on my NEWB experience:
sudo dnsmasq -i eth0 -u joe --log-dhcp --bootp-dynamic --dhcp-range=192.168.1.100,192.168.1.200 -d -p0 -K
 --dhcp-boot=rb.elf --enable-tftp --tftp-root=/tftp/
-u joe (need to change "joe" to your user name)
regarding root=/tftp/ (I needed to use sudo chmod -R 777 /tftp to allow permissions to copy files to this folder).  
       Pretty sure I had to use sudo for this (did not take notes).

I think that was about it.  I didn't see these two items mentioned on the Linux process, but these are 
probably items that would be obvious to someone familiar with Linux.

Still do not know why Windows didn't work, but I am over it!




 
w6bi
w6bi's picture
Linux procedure
Congrats, Bob.   I've found the Linux procedure to be pretty reliable when it comes to Mikrotik first installs.  
73
Orv W6BI
 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer