MarkbSeptember 21, 2017 at 1:16 am #222001
New owner of the AR-300M and really liking it so far. I plan to use it whilst travelling Europe to repeat free wifi hotspots in combination with an external USB antenna booster which has roughly a 2 mile radius with a clear line of sight. This is all working correctly with the only problem being the stock firmware the router comes with only detects it as 20dbi when it infact has a max transmit power of 32dbi. I’m not sure if its possible to fix this, if its any relevance its a Ralink USB 28xx.
The inlcuded OpenWRT reports the power correctly but of course lacks the functionality to save hotspots and connect to them automatically. One solution i have found around this is to use LEDE with the travelmate package but i had to use the NOR flash because i couldnt find a working NAND version of LEDE.
The test LEDE version found at Glinet wouldnt load any of the packages so i gave up on that. I’m not sure if there are any plans to fix this?
As a result of using NOR i have to first boot up into NAND and enter a terminal where i issue the bootcount 3 command to boot into NOR at next reboot which is a bit tedious and takes time to do. I did try enabling boot_dev to on but it just continues to boot to NAND regardless of the switch position.
Is there anything further i can do to boot in NOR easier atleast until proper LEDE support comes along.
ThanksGlitchSeptember 21, 2017 at 1:44 am #222031
>>>> external USB antenna booster which has roughly a 2 mile radius
Can you provide a link/more details/some pictures, please!alzhaoSeptember 21, 2017 at 10:23 am #222561
Using the switch to control which firmware you want to boot to is documented here: http://www.gl-inet.com/docs/mini/ar300m/#using-the-firmware
Our stock has repeater manager which can store hotspot info and connect to them automatically, doesn’t it?MarkbSeptember 21, 2017 at 8:25 pm #223121
>>>> Using the switch to control which firmware you want to boot to is documented here: http://www.gl-inet.com/docs/mini/ar300m/#using-the-firmware
Unfortunately this doesnt work. As above it will just boot to NAND regardless of switch position with boot_dev set to on. The only way i have been able to boot to NOR is by issuing the bootcount 3 command and rebooting.
>>>> Our stock has repeater manager which can store hotspot info and connect to them automatically, doesn’t it?
It does indeed but as above only allows a maximum transmit power of 20 where OpenWRT and LEDE allow 30. This is preventing me from connecting to extreme distance hotspots in the stock firmware but the same hotspots connect fine in OpenWRT and LEDE which i can only assume is due to the extra power output.MarkbSeptember 22, 2017 at 4:15 am #223511
The link posted above will take you to the external USB booster i’m using. Its nothing fantastic in terms of speed, you can do a lot better with a SMA type antenna connecting directly to the router but that would cost a lot more. The USB antenna is just a cheap alternative for what would otherwise cost me £80+ in the UK.
Also the settings i attached above are for anyone that might be able to help and not directly aimed at anyone.GlitchSeptember 22, 2017 at 4:14 pm #224091
Thanks! I missed the link first time!bluewavenetSeptember 30, 2017 at 11:28 pm #234411
Setting bootcount 3 in rc.local does not work either as LEDE, presumably kernel, sets it back to bootcount=0 as soon as the init.d process has finished ie as rc.local completes.
A workaround for this is to add the following to /etc/rc.local of the NOR image:
echo sleep 1 > /tmp/bootnor
echo fw_setenv bootcount 3 >> /tmp/bootnor
chmod +x /tmp/bootnor
This created a script file and sets it to run in the background.
Now if you want to boot NAND again all you have to do is manually set bootcount=0
Possibly if power is removed in the short interval between init.d completing and the one second sleep ending then you might still have bootcount=0, defeating this workaround, so just add the extra lines to rc.local in the NAND image as well.
This will effectively swap the default from NAND to NOR
All I need now is a method of using the now redundant NAND as storage to be used when booted from NOR 😉ejnijhofDecember 31, 2017 at 12:39 pm #361751
After flashing both the ‘clean NAND Open WRT’ and the LEDE NOR firmware 17, and activating via SSH the switch by the procedure of fw_setenv boot_dev on, followed by reboot, the AR300M only boots in NAND. Until…. I dismantle the circuit board and put the 3 way switch in the most right position (towards the antenna). This position can’t be used when the circuit board is put in the housing.
Second strange thing: the Failsafe boot option (holding reset during boot) ends in ‘Page not found’. Port 80 at 192.168.1.1 is active and open.
You must be logged in to create new replies.