Completely removing/uninstalling Entware and all packages

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
kylehase
DD-WRT Novice


Joined: 22 Jun 2014
Posts: 5

PostPosted: Fri Aug 13, 2021 4:58    Post subject: Completely removing/uninstalling Entware and all packages Reply with quote
I'm redesigning my network and no longer require any of the Entware packages installed but don't want to wipe my entire router. I also want to remove the USB thumbdrive (/opt) to use elsewhere.

I've edited the startup script to remove
Quote:
/opt/etc/init.d/rc.unslung start
but not sure if that, along with removing the USB drive, is sufficient.

Looking through the Entware installer script (generic.sh), the main things it does is run
Quote:
/opt/bin/opkg install entware-opt
but opkg is a binary so I'm not sure what changes it's making to the system with that command.

Is it enough to just remove the startup line and unmount/remove the USB stick? Should I manually uninstall all installed packages first, using "opkg remove..."? Do I need to edit system variables, like PATH?
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6447
Location: UK, London, just across the river..

PostPosted: Fri Aug 13, 2021 7:02    Post subject: Reply with quote
entware is installed only on the USB, nothing is installed on the router side as its FS is read only... so..
-you can unmount USB and remove it
-or delete all entware startup related scripts and delete opt folder
-just format USB and use it as a storage...

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913


Last edited by Alozaros on Sat Aug 14, 2021 15:55; edited 1 time in total
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14246
Location: Texas, USA

PostPosted: Fri Aug 13, 2021 13:12    Post subject: Re: Completely removing/uninstalling Entware and all package Reply with quote
kylehase wrote:
I've edited the startup script to remove
Quote:
/opt/etc/init.d/rc.unslung start
but not sure if that, along with removing the USB drive, is sufficient.
-----
Is it enough to just remove the startup line and unmount/remove the USB stick?

Yes.

https://www.snbforums.com/threads/how-do-i-remove-entware.12907/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum