Hurricane Electric 3.X kernel ioctl: No such device

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
James2k
DD-WRT Guru


Joined: 23 Oct 2011
Posts: 549

PostPosted: Mon Aug 05, 2013 19:52    Post subject: Hurricane Electric 3.X kernel ioctl: No such device Reply with quote
Build: 22118 Big
Router: ASUS RT-N66U

When using the Hurricane Electric script on 3.x kernel:

http://www.dd-wrt.com/wiki/index.php/IPv6_setup_Hurricane_Electric_Tunnel_Broker

It fails when setting up the he-ipv6 interface with:

Code:

# The following commands are straight from HE's website
ip tunnel add he-ipv6 mode sit remote $SERVER_IP4_ADDR local $WANIP ttl 255
ip link set he-ipv6 up
ip addr add $CLIENT_IPV6_ADDR/64 dev he-ipv6
ip route add ::/0 dev he-ipv6
ip -f inet6 addr
TEMP_ADDR=`echo $ROUTED_64_ADDR'1'`


Quote:
ioctl: No such device
SIOCGIFFLAGS: No such device
Cannot find device "he-ipv6"
RTNETLINK answers: File exists
Cannot find device "he-ipv6"


Not quite sure why, ipv6 module appears to be loaded:

Quote:
insmod: cannot insert '/lib/modules/3.10.2/kernel/net/ipv6/ipv6.ko': File exists


What's changed in K26 compared to K3.x to cause the interface commands to fail? Possible missing module e.g. "sit"?

_________________
James

Main router:

Netgear R7000 overclocked to 1.2GHz - DD-WRT v3.0-r35965M kongac

IPv6 6in4 (HE.net), OpenVPN (with PBR and split tunnelling), Entware, dnsmasq with ipset

Easy ipset support for the R7000

VPN speed: Download: 77.96 Mbps Upload: 5.00 Mbps (AES-128-CBC HMAC-SHA1)

Yes you can get 50 Mbps+ with OpenVPN on a R7000 if you configure it properly!

Previous routers:

ASUS RT-N66U - The Dark Knight
WNR2000v3 - Bought on the cheap for someone else, neutered crap
WNR3500Lv1 - First venture into the DD-WRT world
Sponsor
James2k
DD-WRT Guru


Joined: 23 Oct 2011
Posts: 549

PostPosted: Mon Aug 05, 2013 20:42    Post subject: Reply with quote
I think I've found the problem:

Quote:
insmod: cannot insert '/lib/modules/3.10.2/kernel/net/ipv6/sit.ko': unknown symbol in module


Can anyone confirm if insmod fails on any lower K3.x build?

_________________
James

Main router:

Netgear R7000 overclocked to 1.2GHz - DD-WRT v3.0-r35965M kongac

IPv6 6in4 (HE.net), OpenVPN (with PBR and split tunnelling), Entware, dnsmasq with ipset

Easy ipset support for the R7000

VPN speed: Download: 77.96 Mbps Upload: 5.00 Mbps (AES-128-CBC HMAC-SHA1)

Yes you can get 50 Mbps+ with OpenVPN on a R7000 if you configure it properly!

Previous routers:

ASUS RT-N66U - The Dark Knight
WNR2000v3 - Bought on the cheap for someone else, neutered crap
WNR3500Lv1 - First venture into the DD-WRT world
James2k
DD-WRT Guru


Joined: 23 Oct 2011
Posts: 549

PostPosted: Tue Aug 06, 2013 17:36    Post subject: Reply with quote
This has been fixed in SVN, its simply the case of the ip_tunnel module not being loaded on boot, which is a dependency of the sit module, as BrainSlayer highlighted to me. The temp fix for now is to manually load these modules, you can put the following in your startup script, before you initalise any IPv6 tunnel script:

Code:

insmod ip_tunnel
insmod sit


The next build will automatically load the ip_tunnel module, which will fix this problem.

http://svn.dd-wrt.com/ticket/2965

_________________
James

Main router:

Netgear R7000 overclocked to 1.2GHz - DD-WRT v3.0-r35965M kongac

IPv6 6in4 (HE.net), OpenVPN (with PBR and split tunnelling), Entware, dnsmasq with ipset

Easy ipset support for the R7000

VPN speed: Download: 77.96 Mbps Upload: 5.00 Mbps (AES-128-CBC HMAC-SHA1)

Yes you can get 50 Mbps+ with OpenVPN on a R7000 if you configure it properly!

Previous routers:

ASUS RT-N66U - The Dark Knight
WNR2000v3 - Bought on the cheap for someone else, neutered crap
WNR3500Lv1 - First venture into the DD-WRT world
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum