"iptables v1.3.3: Unknown arg `--todev'"
This is due to bugs in WhiteRussian RC4, the neccassary iptable-modules don't get installed. Try something like the following patch, but correct the line-wrapping before applying. (Or even better, apply the neccassary changes manually. Is it somehow possible to attach files in this forum, to avoid garbling patches because of line-wrapping?)
Index: iptables/ipkg/iptables-mod-imq.control
===================================================================
--- iptables/ipkg/iptables-mod-imq.control (Revision 0)
+++ iptables/ipkg/iptables-mod-imq.control (Revision 0)
@@ -0,0 +1,5 @@
+Package: iptables-mod-imq
+Priority: optional
+Section: net
+Depends: kmod-imq
+Description: Iptables (IPv4) extensions for Intermediate Queuing Device QoS-support
Index: iptables/Config.in
===================================================================
--- iptables/Config.in (Revision 194)
+++ iptables/Config.in (Arbeitskopie)
@@ -17,6 +17,7 @@
select BR2_PACKAGE_IPTABLES_MOD_IPOPT
select BR2_PACKAGE_IPTABLES_MOD_IPSEC
select BR2_PACKAGE_IPTABLES_MOD_NAT
+ select BR2_PACKAGE_IPTABLES_MOD_IMQ
select BR2_PACKAGE_IPTABLES_MOD_ULOG
help
Extra Iptables extensions for IPv4 firewalling (meta-package)
@@ -69,6 +70,14 @@
help
Iptables (IPv4) extensions for different NAT targets
+config BR2_PACKAGE_IPTABLES_MOD_IMQ
+ tristate "iptables-mod-imq - Iptables extensions for Intermediate Queuing Device QoS-support"
+ default m if CONFIG_DEVEL
+ depends BR2_PACKAGE_IPTABLES
+ select BR2_PACKAGE_KMOD_IMQ
+ help
+ Iptables (IPv4) extensions for Intermediate Queuing Device QoS-support
+
config BR2_PACKAGE_IPTABLES_MOD_ULOG
tristate "iptables-mod-ulog - Iptables extensions for user-space packet logging"
default m if CONFIG_DEVEL
Index: iptables/Makefile
===================================================================
--- iptables/Makefile (Revision 194)
+++ iptables/Makefile (Arbeitskopie)
@@ -42,7 +42,7 @@
$(eval $(call PKG_template,IPTABLES_MOD_CONNTRACK,iptables-mod-conntrack,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,IPTABLES_MOD_EXTRA,iptables-mod-extra,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,IPTABLES_MOD_FILTER,iptables-mod-filter,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(eval $(call PKG_template,IPTABLES_MOD_IMQ,iptables-mod-img,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+$(eval $(call PKG_template,IPTABLES_MOD_IMQ,iptables-mod-imq,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,IPTABLES_MOD_IPOPT,iptables-mod-ipopt,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,IPTABLES_MOD_IPSEC,iptables-mod-ipsec,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,IPTABLES_MOD_NAT,iptables-mod-nat,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
@@ -70,7 +70,7 @@
DESTDIR="$(PKG_INSTALL_DIR)" \
all install install-devel
touch $@
-
+
$(IPKG_IPTABLES):
install -d -m0755 $(IDIR_IPTABLES)/usr/sbin
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/iptables $(IDIR_IPTABLES)/usr/sbin/