What's new

Using Entware on Asus Gt-Ac5300

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

stevef9432203

Regular Contributor
Have any of you FORUM Gurus looked at using Entware on the ac-gt5300 router?

After trying in install Entware on usb media, with errors; Found that Asus has "/opt" defined in the stock code!@#!
Dang what a PITA. Is it possible to change the Entware install path or have Entware been hard coded to the /opt prefix?
 
You can't. Broadcom uses a custom organization for /opt that isn't compatible with Entware. You'd have to do a lot of manual tinkering to get it to work.
 
You can't. Broadcom uses a custom organization for /opt that isn't compatible with Entware. You'd have to do a lot of manual tinkering to get it to work.
That is why the question on if it was possible to use a different prefix path than /opt. Done enough System Administrator work to rebuild packages to modify base paths, IE

/ to /usr/local/ Common problem to build apps. Some times one is lucky enough to have base directory path Env variables

Sent from my SAMSUNG-SM-T677A using Tapatalk
 
Recompiling everything will be a good amount of work. Might as well modify the firmware code and recompile it without Broadcom's useless /opt content instead- that's what I did on my firmware (you could probably check my commits to apply them to the GPL code). The files Broadcom store in /opt aren't even used by Asuswrt anyway.
 
When then actually post gpl code that is some what current...
OK some interesting news -It appears as though you can make persistant changes to the root_fs IE "/" if one is very careful.

It should allow in to install Entware with a minor changes in the setup scripts.

Sent from my SAMSUNG-SM-T677A using Tapatalk
 
OK some interesting news -It appears as though you can make persistant changes to the root_fs IE "/" if one is very careful.

The use of an UBI filesystem does open a few possibilities, but due to the risks involved, it's not the type of matches I'm willing to handle to anyone else, less they set fire to the whole router... :)
 
The use of an UBI filesystem does open a few possibilities, but due to the risks involved, it's not the type of matches I'm willing to handle to anyone else, less they set fire to the whole router... :)
Very true, all most as bad as rm -rf /. But has possibilities.

Sent from my SAMSUNG-SM-T677A using Tapatalk
 
Working Entware on gt-ac5300


stevef@GT-AC5300:/tmp/home/root# uname -a Linux GT-AC5300 4.1.27 #2 SMP PREEMPT Wed Dec 13 21:43:25 CST 2017 aarch64 stevef@GT-AC5300:/tmp/home/root# opkg list | grep lighttpd
lighttpd - 1.4.45-7 - A flexible and lightweight web server
lighttpd-mod-access - 1.4.45-7 - Access restrictions module
lighttpd-mod-accesslog - 1.4.45-7 - Access logging module
lighttpd-mod-alias - 1.4.45-7 - Directory alias module lighttpd-mod-auth - 1.4.45-7 - Authentication module
lighttpd-mod-authn_file - 1.4.45-7 - File-based authentication module
lighttpd-mod-authn_ldap - 1.4.45-7 - LDAP-based authentication module lighttpd-mod-authn_mysql - 1.4.45-7 - Mysql-based authentication module
lighttpd-mod-cgi - 1.4.45-7 - CGI module lighttpd-mod-cml - 1.4.45-7 - Cache Meta Language module
lighttpd-mod-compress - 1.4.45-7 - Compress output module
lighttpd-mod-deflate - 1.4.45-7 - Compress dynamic output module lighttpd-mod-evasive - 1.4.45-7 - Evasive module
lighttpd-mod-evhost - 1.4.45-7 - Enhanced Virtual-Hosting module
lighttpd-mod-expire - 1.4.45-7 - Expire module lighttpd-mod-extforward - 1.4.45-7 - Extract client module lighttpd-mod-fastcgi - 1.4.45-7 - FastCGI module lighttpd-mod-flv_streaming - 1.4.45-7 - FLV streaming module
lighttpd-mod-magnet - 1.4.45-7 - Magnet module
lighttpd-mod-mysql_vhost - 1.4.45-7 - Mysql virtual hosting module
lighttpd-mod-proxy - 1.4.45-7 - Proxy module
lighttpd-mod-redirect - 1.4.45-7 - URL redirection module
lighttpd-mod-rewrite - 1.4.45-7 - URL rewriting module
lighttpd-mod-rrdtool - 1.4.45-7 - RRDtool module
lighttpd-mod-scgi - 1.4.45-7 - SCGI module
lighttpd-mod-secdownload - 1.4.45-7 - Secure and fast download module
lighttpd-mod-setenv - 1.4.45-7 - Environment variable setting module
lighttpd-mod-simple_vhost - 1.4.45-7 - Simple virtual hosting module
lighttpd-mod-ssi - 1.4.45-7 - SSI module
lighttpd-mod-status - 1.4.45-7 - Server status display module
lighttpd-mod-trigger_b4_dl - 1.4.45-7 - Trigger before download module
lighttpd-mod-userdir - 1.4.45-7 - User directory module
lighttpd-mod-usertrack - 1.4.45-7 - User tracking module
lighttpd-mod-webdav - 1.4.45-7 - WebDAV module
rtorrent-easy-install - 0.2-3 - This pakage helps to configure rtorrent with rutorrent web interface. Please note, we assuming no lighttpd installed\configured on your system before!. Just answer a few question to get torrent-client working.
stevef@GT-AC5300:/tmp/home/root#

Sent from my SAMSUNG-SM-T677A using Tapatalk
 
I wouldn't put anything that one wants persistent in /tmp...

science project has /tmp mapped to tmpfs, which is RAM, so when rebooting, content is wiped - /var/tmp is persistent however, but still, /tmp and /var/tmp is really meant for temporary files...

Maybe /var/opt is a better location and consistent across different linux distro's...
 
I wouldn't put anything that one wants persistent in /tmp...

science project has /tmp mapped to tmpfs, which is RAM, so when rebooting, content is wiped - /var/tmp is persistent however, but still, /tmp and /var/tmp is really meant for temporary files...

Maybe /var/opt is a better location and consistent across different linux distro's...
Did not. Moved /opt contents to usb directory and symlinked opt to /tmp/opt/

Sent from my SAMSUNG-SM-T677A using Tapatalk
 
Yes. It does. THANKS

Sent from my SAMSUNG-SM-T677A using Tapatalk
Mr. Rmerlin,
Would you be offended if I modified your entware install scripts to work on the GT-AC5300? I truly enjoy the Entware backup of the scripts directory..

Sent from my SAMSUNG-SM-T677A using Tapatalk
 
Mr. Rmerlin,
Would you be offended if I modified your entware install scripts to work on the GT-AC5300? I truly enjoy the Entware backup of the scripts directory..

Sent from my SAMSUNG-SM-T677A using Tapatalk
Not at all, it's GPL.

Sent from my P027 using Tapatalk
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top