I got a wrt160nl, and installed ddwrt as instructed on the router database. VPN and some other toys all working.
I need to setup a good firewall and i'm using FWbuilder.
Current version supports ddwrt with nvram or jffs. I'm using jffs to store the firewall.
I create the firewall, compile and copy the files to my router (FWbuilder does everithing, but i check and everithing is ok).
My problem came when the firewall was triying to start.
First i got a lot of errors, all related to missing appz. (like IP, Find all of them and correct their paths on FWbuilder) but the one thing i cant change path, or even find a path its for the command SORT.
As far as i now, SORT it's part of coreutils. As i have figure out so far, DDWRT do not have coreutils, instead it uses BUSYBOX.
For some reason, on all forums, they said BUSYBOX supports the SORT command, but when i ask to my BUSYBOX it doesnt show support for SORT, and many other commands.
So my questions are.
1.- How can i get SORT working?
2.- the busybox on the firmware for wrt160nl was reduced or latest version remove some commands?
3.- can anyone maybe share with me the SORT command (So i can place it on jffs)?
If i shoose a template (after shoosing ddwrt jffs), the paths to appz are all wrong. If you need the correct paths, post a message and i publish them. (I'm currently at work and dont have access to my pc to see them)
Thanks for any help you can provide…
this is strange, I just checked and it looks like busybox on DD-WRT v24 SP1 is compiled with sort support. TRy to log in to the firewall and try command "sort -h". Do you get an error ?
If your copy of DD-WRT does not have sort for some reason, you need to bring this up with DD-WRT developers.
When you create firewall object from a template, you also need to make sure you set the "Host OS" right in it. Check if it is set to just "Linux", it should be "DD-WRT"
Hi there.. i also post a message on ddwrt forum. they said.
"We don't have the full Busybox in dd-wrt, some commands has been taken out to shrink the BusyBox memory footprint.
Soo as i suspected theres no full busybox.
Currently i'm trying to install the SORT command by ipkg, i have installed succesfully but everytime it executes (including sort -help) trows the following error.
"sort: can't resolve symbol '__fpending' in lib 'sort'."
i have tried the atheros, x86 and perl based SORT and all of them trow errors (Different errors).
As far as i know, the only reason to use sort it's related to check if the devices on FWB exist on the machine. It's there any7 chance to avoid the check?
you can change parts of the generated config with your own shell script if you need to, the Users Guide explains how to do it here:
dont know that much!
As starters… for what do i replace the SORT??
Can you giveme any hint about what shoud i do?
PS… i sow the link and it's not very clear (For noobs).
I dont know if the script will work correctly without sort. It needs special testing and may require modifications.