[Openswan Users] Openswan and Openwrt

Ken Bantoft ken at xelerance.com
Mon Sep 8 12:21:04 EDT 2008


Yup, that's the one.  It's patched as part of the builds currently -  
this distro has modprobe, just doesn't support -q option.   When did  
MODPROBE= become available?

Ken

--- openswan-2.6.16dr4.orig/programs/_startnetkey/_startnetkey.in	 
2008-07-25 23:39:41.000000000 +0200
+++ openswan-2.6.16dr4/programs/_startnetkey/_startnetkey.in	 
2008-07-25 23:40:05.000000000 +0200
@@ -180,7 +180,7 @@
  		   done

  		# xfrm_user is the old name for xfrm4_tunnel - backwards  
compatibility
-		@MODPROBE@ -q xfrm_user 2> /dev/null
+		@MODPROBE@ xfrm_user 2> /dev/null

  		# padlock must load before aes module
  		@MODPROBE@ -q padlock 2>/dev/null


On 7-Sep-08, at 9:34 PM, Paul Wouters wrote:

> On Sun, 7 Sep 2008, Ken Bantoft wrote:
>
>> Kamikaze, a local version  was the base  (not pushed upstream).   
>> There's a small patch to the startup scripts for logging and  
>> modprobe -q, but otherwise no modifications.
>
> modprobe -q ?
>
> For openwrt, compile with MODPROBE=insmod, and it should work  
> without any
> patches.
>
> Paul



More information about the Users mailing list