Hello,I am trying to get running hip in this router with OpenWRT. I followed the steps described in the HIP enabled OpenWRT Linux Distro document in the hip-openwrt-branch, but when I execute the hipd command it fails. It seems that the modules are not properly loaded, if I execute the lsmod command any of them are loaded.
If I try to load one I get this error: root@OpenWrt:~# insmod cbcinsmod: cannot insert '/lib/modules/2.6.22/cbc.ko': Invalid parameters (8): Invalid argument
root@OpenWrt:~# insmod blkcipherinsmod: cannot insert '/lib/modules/2.6.22/blkcipher.ko': Invalid parameters (8): Invalid argument
The output of the hipd command is the following: root@OpenWrt:~# /usr/sbin/hipd debug(hipd.c:311@hipd_main): foreground info(hipd.c:320@hipd_main): hipd pid=891 startingdebug(init.c:90@hip_set_os_dep_variables): sysname=Linux nodename=OpenWrt release=2.6.22 version=#8 Fri Aug 1 19:31:27 EEST 2008 machine=mips debug(init.c:821@hip_probe_kernel_modules): Probing for 19 modules. When the modules are built-in, the errors can be ignored
debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe xfrm6_tunnel debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe xfrm4_tunnel debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe ip6_tunnel debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe ipip debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe ip4_tunnel debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe xfrm_user debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe dummy debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe esp6 debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe esp4 debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe ipv6 debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe crypto_null debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe cbc debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe blkcipher debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe des debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe aes debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe xfrm4_mode_beet debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe xfrm6_mode_beet debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe sha1 debug(init.c:826@hip_probe_kernel_modules): /sbin/modprobe capability debug(init.c:837@hip_probe_kernel_modules): Probing completed debug(dh.c:164@hip_init_cipher): Generating DH keys debug(dh.c:139@hip_regen_dh_keys): DH key for group 1 generated debug(dh.c:139@hip_regen_dh_keys): DH key for group 2 generated debug(dh.c:139@hip_regen_dh_keys): DH key for group 3 generated debug(dh.c:142@hip_regen_dh_keys): 3 keys generateddebug(registration.c:41@hip_init_xxx_services): NEW SERVICE INITIALIZATION DONE.
info(init.c:168@hipd_init): Initializing HIP relay / RVS. debug(hiprelay.c:747@hip_relay_read_config): Read relay configuration file with following values: Whitelist enabled: YES Number of HITs in the whitelist: 0 Minimum lifetime: 112 Maximum lifetime: 158info(hiprelay.c:92@hip_relay_init): Read configuration file "/etc/hip/relay_config" successfully.
debug(init.c:183@hipd_init): Initializing the netdev_init_addresses debug(netdev.c:432@hip_netdev_init_addresses): Initializing addresses... debug(netdev.c:197@add_address_to_list): Unknown family debug(netdev.c:202@add_address_to_list): filtering this address debug(netdev.c:197@add_address_to_list): Unknown family debug(netdev.c:202@add_address_to_list): filtering this address debug(netdev.c:197@add_address_to_list): Unknown family debug(netdev.c:202@add_address_to_list): filtering this address debug(netdev.c:197@add_address_to_list): Unknown family debug(netdev.c:202@add_address_to_list): filtering this address debug(netdev.c:197@add_address_to_list): Unknown family debug(netdev.c:202@add_address_to_list): filtering this address debug(netdev.c:197@add_address_to_list): Unknown family debug(netdev.c:202@add_address_to_list): filtering this address debug(netdev.c:193@add_address_to_list): filter addr: 127.0.0.1 debug(netdev.c:109@filter_address): IPv4 addr: 127.0.0.1 debug(netdev.c:130@filter_address): Ignore: IPV4_LOOPBACK debug(netdev.c:202@add_address_to_list): filtering this address debug(netdev.c:193@add_address_to_list): filter addr: 130.233.46.20 debug(netdev.c:109@filter_address): IPv4 addr: 130.233.46.20 debug(netdev.c:200@add_address_to_list): address accepteddebug(netdev.c:244@add_address_to_list): added address, address_count at exit=1
debug(netdev.c:193@add_address_to_list): filter addr: 192.168.1.1 debug(netdev.c:109@filter_address): IPv4 addr: 192.168.1.1 debug(netdev.c:200@add_address_to_list): address accepteddebug(netdev.c:244@add_address_to_list): added address, address_count at exit=2 debug(netdev.c:195@add_address_to_list): filter addr: 0000:0000:0000:0000:0000:0000:0000:0001
debug(netdev.c:65@filter_address): IPv6 addr: ::1 debug(netdev.c:77@filter_address): Ignore: IPV6_LOOPBACK debug(netdev.c:202@add_address_to_list): filtering this addressdebug(netdev.c:195@add_address_to_list): filter addr: fe80:0000:0000:0000:021d:60ff:fedf:f7c9
debug(netdev.c:65@filter_address): IPv6 addr: fe80::21d:60ff:fedf:f7c9 debug(netdev.c:83@filter_address): Ignore: LINKLOCAL debug(netdev.c:202@add_address_to_list): filtering this addressdebug(netdev.c:195@add_address_to_list): filter addr: fe80:0000:0000:0000:021d:60ff:fedf:f7c9
debug(netdev.c:65@filter_address): IPv6 addr: fe80::21d:60ff:fedf:f7c9 debug(netdev.c:83@filter_address): Ignore: LINKLOCAL debug(netdev.c:202@add_address_to_list): filtering this addressdebug(netdev.c:195@add_address_to_list): filter addr: fe80:0000:0000:0000:021d:60ff:fedf:f7c9
debug(netdev.c:65@filter_address): IPv6 addr: fe80::21d:60ff:fedf:f7c9 debug(netdev.c:83@filter_address): Ignore: LINKLOCAL debug(netdev.c:202@add_address_to_list): filtering this addressdebug(netdev.c:195@add_address_to_list): filter addr: fe80:0000:0000:0000:0200:00ff:fe00:0000
debug(netdev.c:65@filter_address): IPv6 addr: fe80::200:ff:fe00:0 debug(netdev.c:83@filter_address): Ignore: LINKLOCAL debug(netdev.c:202@add_address_to_list): filtering this address debug(init.c:629@hip_init_nat_sock_udp): hip_init_nat_sock_udp() invoked. error(init.c:642@hip_init_nat_sock_udp): setsockopt udp encap failed error(init.c:235@hipd_init): raw sock udp error(hipd.c:324@hipd_main): hipd_init() failed! error(init.c:699@hip_exit): Signal: 1 debug(hadb.c:2307@hip_delete_all_sp): debug(hadb.c:2309@hip_delete_all_sp): DEBUG: DUMP SPI LISTS debug(hadb.c:2319@hip_delete_all_sp): DELETING HA HT debug(netdev.c:302@delete_all_addresses): address_count at entry=2 error(nlink.c:752@do_chflags): SIOCGIFFLAGSNo such device debug(nlink.c:783@set_up_device): setting dummy0 donedebug(registration.c:47@hip_uninit_xxx_services): NEW SERVICE UNINITIALIZATION DONE. info(init.c:734@hip_exit): Uninitializing RVS / HIP relay database and whitelist.
debug(hadb.c:2286@hip_uninit_hadb): debug(hadb.c:2288@hip_uninit_hadb): DEBUG: DUMP SPI LISTS info(hipd.c:619@hipd_main): hipd pid=891 exiting, retval=1 Does someone know how to fix it? Thanks in advance, Jordi