Adding USB Storage post flashing

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

foxyboy
Posts: 71
Joined: Tue Dec 22, 2015 10:23 am
Location: Ireland

Re: Adding USB Storage post flashing

Post 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
Linksys WRT1200AC v1 Gargoyle 1.12
TP-Link Archer A7 v5 Gargoyle 1.13 PL

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Adding USB Storage post flashing

Post by Lantis »

it doesnt

that doesn't mean you can't recompile it yourself with support.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

foxyboy
Posts: 71
Joined: Tue Dec 22, 2015 10:23 am
Location: Ireland

Re: Adding USB Storage post flashing

Post 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 ?
Linksys WRT1200AC v1 Gargoyle 1.12
TP-Link Archer A7 v5 Gargoyle 1.13 PL

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Adding USB Storage post flashing

Post 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)
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

foxyboy
Posts: 71
Joined: Tue Dec 22, 2015 10:23 am
Location: Ireland

Re: Adding USB Storage post flashing

Post by foxyboy »

Ah, maybe if i read the changelog id have seen that :lol:
Linksys WRT1200AC v1 Gargoyle 1.12
TP-Link Archer A7 v5 Gargoyle 1.13 PL

foxyboy
Posts: 71
Joined: Tue Dec 22, 2015 10:23 am
Location: Ireland

Re: Adding USB Storage post flashing

Post 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
Linksys WRT1200AC v1 Gargoyle 1.12
TP-Link Archer A7 v5 Gargoyle 1.13 PL

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Adding USB Storage post flashing

Post 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
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

foxyboy
Posts: 71
Joined: Tue Dec 22, 2015 10:23 am
Location: Ireland

Re: Adding USB Storage post flashing

Post 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
Linksys WRT1200AC v1 Gargoyle 1.12
TP-Link Archer A7 v5 Gargoyle 1.13 PL

foxyboy
Posts: 71
Joined: Tue Dec 22, 2015 10:23 am
Location: Ireland

Re: Adding USB Storage post flashing

Post 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
Linksys WRT1200AC v1 Gargoyle 1.12
TP-Link Archer A7 v5 Gargoyle 1.13 PL

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Adding USB Storage post flashing

Post by Lantis »

No I don't think it did sorry. I'll do the change this weekend.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply