Page 2 of 3

Re: Adding USB Storage post flashing

Posted: Wed Sep 21, 2016 5:12 am
by foxyboy
lantis,

I am going to try and revist this as there have been quite a few AirOS releases since and im keen to have a standby router configured with usb capabilities.

Im going to flash the latest AirOS and then install 1.9.1.

Before I waste my time, can you tell me if the gargoyle 1.9.1 airrouter build has usb enabled ???

rgs

Re: Adding USB Storage post flashing

Posted: Wed Sep 21, 2016 6:04 am
by Lantis
it doesnt

that doesn't mean you can't recompile it yourself with support.

Re: Adding USB Storage post flashing

Posted: Thu Sep 22, 2016 5:20 am
by foxyboy
Thanks Lantis,

Having looked at this again last night i can confirm that the usb port is working with the latest AirOS 5.6.9 - it simply isnt mounted by default.

Given this should the airrouter build not include USB support by default ??

So I then uploaded the gargoyle 1.9.1 build and could not change plugin source - as as you point out that would be expected as usb support isnt in the build.

As you suggested I then decided to upload a custom build i came across
1.9.1.1 (r49398), by obsy http://eko.one.pl/?p=openwrt-gargoylepl-cc
which has the usb storage plugin included.
The strange thing with this was the usb storage was detected and i could setup a share on it no problem and access it from laptop.
I could NOT however change the 'Plugin Source' to the usb as the button simply wasnt present !

Am i missing something here or is this expected behaviour ?

Re: Adding USB Storage post flashing

Posted: Thu Sep 22, 2016 6:03 am
by Lantis
foxyboy wrote:Thanks Lantis,

Having looked at this again last night i can confirm that the usb port is working with the latest AirOS 5.6.9 - it simply isnt mounted by default.

Given this should the airrouter build not include USB support by default ??
Probably. If you do a custom build and it works, I'll move it.
So I then uploaded the gargoyle 1.9.1 build and could not change plugin source - as as you point out that would be expected as usb support isnt in the build.
Agreed
As you suggested I then decided to upload a custom build i came across
1.9.1.1 (r49398), by obsy http://eko.one.pl/?p=openwrt-gargoylepl-cc
which has the usb storage plugin included.
I never suggested this :P
The strange thing with this was the usb storage was detected and i could setup a share on it no problem and access it from laptop.
I could NOT however change the 'Plugin Source' to the usb as the button simply wasnt present !

Am i missing something here or is this expected behaviour ?
Obsy modifies his builds to suit his idea of how external storage should work.
I believe in this instance he disables this feature in favour of "extroot".
From his changelog:
Disabling the installation of plug-ins on external media (you should do extroota in order to install more packages)

Re: Adding USB Storage post flashing

Posted: Sun Sep 25, 2016 11:34 am
by foxyboy
Ah, maybe if i read the changelog id have seen that :lol:

Re: Adding USB Storage post flashing

Posted: Wed Oct 05, 2016 10:50 am
by foxyboy
Lantis,

I attempted to perform a custom build

Is it simply a matter of enabling everything in the USB Support section ?
make custom
set target as ar71xxx
and then enable everything in USB-Support ?


Rgs

Re: Adding USB Storage post flashing

Posted: Wed Oct 05, 2016 3:52 pm
by Lantis
I'd just move the entry from the profiles out of the default and into USB under targets/ar71xx
Then initiate a build on the ar71xx.usb target

Re: Adding USB Storage post flashing

Posted: Wed Nov 30, 2016 6:01 am
by foxyboy
Lantis,

Finally got round to this and happy to report it works as expected.

Moved "-ubnt-airrouter-squashfs-" from
../targets/ar71xx/profiles/default
to
../targets/ar71xx/profiles/usb

Can you do same so its included for future builds?

rgs

Re: Adding USB Storage post flashing

Posted: Thu Mar 23, 2017 2:58 pm
by foxyboy
Hi Lantis,

Before i break something...
Did usb support get into the 1.9.2 master ?
I just had a look at the firmware size and its a
tad on the small size.

rgs

Re: Adding USB Storage post flashing

Posted: Thu Mar 23, 2017 4:02 pm
by Lantis
No I don't think it did sorry. I'll do the change this weekend.