Author Topic: Where in rootfs do I eliminate files?  (Read 4171 times)

Offline jamaroney

  • New
  • *
  • Posts: 1
Where in rootfs do I eliminate files?
« on: July 04, 2015, 10:59:45 AM »
Hi,

Total newb here, so I hope what I'm asking is not TOO stupid....

I successfully extracted DDWRT dd-wrt.v24_nokaid_generic.bin (14929) with old-extract.sh (extract-firmware.sh didn't work).

So, if I want to eliminate features (e.g., openvpn), where do I go in rootfs? Or do I do a search and simply eliminate all openvpn* files?

Thanks for any help.





Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5243
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Where in rootfs do I eliminate files?
« Reply #1 on: July 05, 2015, 02:06:59 AM »
The simple answer will be to just delete any files specifically related to OpenVPN. It may still be shown in the GUI, though you could look around to remove that too. DD-WRT isn't nearly as neat and tidy as OpenWRT, but is obviously a good option for many people.

It's easier to remove from DD-WRT than add to it. Trying to add binaries to it can be problematic due to the pruning of shared libraries of unused functions.

If you have a router compatible with Gargoyle, an OpenWrt based distribution, you might try it instead.
Software Engineer. Bitsum LLC.

Offline BenYeeHua

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 2243
  • Gender: Male
Re: Where in rootfs do I eliminate files?
« Reply #2 on: July 05, 2015, 08:31:29 AM »
Just saying that Gargoyle is now on experimental build(as it just move over to BB), you may choose 1.6 version if you are asking for stability, not wifi performance. :)

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5243
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Where in rootfs do I eliminate files?
« Reply #3 on: July 05, 2015, 03:03:14 PM »
Yes, that's true, though it will depend on what router he is running - Gargoyle's router support depends largely on the version. I'm a big fan of it myself, nice work.

Unfortunately, I, and the rest of the world, continue to be dismayed by the WiFi chipset vendors keeping their latest drivers closed source. This means the aftermarket firmwares are always behind the curve in capabilities and WiFi stability.
Software Engineer. Bitsum LLC.

Offline BenYeeHua

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 2243
  • Gender: Male
Re: Where in rootfs do I eliminate files?
« Reply #4 on: July 06, 2015, 04:50:33 AM »
Yup, but open source driver might also increase the chance of getting much more vulnerability showing up, and forcing average user that using aftermarket firmwares facing vulnerability, I guess? :)

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5243
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Where in rootfs do I eliminate files?
« Reply #5 on: July 06, 2015, 12:24:45 PM »
True that.
Software Engineer. Bitsum LLC.