Modify

Opened 8 years ago

Last modified 2 years ago

#524 investigate enhancement

ipv6 support

Reported by: ilvalle@… Owned by: john.crispin@…
Priority: normal Milestone:
Component: fon-network Version: N/A
Severity: unknown
Cc: mail@… Hardware: both

Description

I like to use aiccu with my fonera 2.0n but I need a kernel that support the ipv6 module! Now with the 2.3.5-rc2 I got:

Fonera:~/run/mountd/sda1/opk/lib# insmod modules/2.6.21/ipv6.ko 
insmod: cannot insert 'modules/2.6.21/ipv6.ko': unknown symbol in module (-1): No such file or directory
Fonera:~/run/mountd/sda1/opk/lib# dmesg 
[...]
ipv6: Unknown symbol __ipv6_addr_type
ipv6: Unknown symbol fib_rules_unregister
ipv6: Unknown symbol fib_rules_lookup
ipv6: Unknown symbol inet6_lookup
ipv6: Unknown symbol secure_tcpv6_sequence_number
ipv6: Unknown symbol ipv6_skip_exthdr
ipv6: Unknown symbol inet6_hash_connect
ipv6: Unknown symbol ipv6_ext_hdr
ipv6: Unknown symbol fib_rules_register
ipv6: Unknown symbol __inet6_lookup_established
ipv6: Unknown symbol __inet6_hash
ipv6: Unknown symbol fib_rules_dump
ipv6: Unknown symbol inet6_lookup_listener

Attachments (0)

Change History (18)

comment:1 Changed 8 years ago by iurgi

  • Milestone changed from Firmware 2.3.5 to Firmware 2.3.7.0
  • Priority changed from major to trivial

comment:2 Changed 8 years ago by matthijs

  • Hardware set to both
  • Milestone Firmware 2.3.7.0 deleted
  • Priority changed from trivial to normal
  • Status changed from new to investigate
  • Type changed from request to enhancement
  • Version set to N/A

You can't just add the ipv6 mdule, the kernel is missing required hooks. To get this working, you'll need to compile your own firmware and add the ipv6 module.

We we can have a look at including ipv6 support in the main firmware. However, this will also require a lot of extra support in the other software (firewall settings, network configuration, etc.)

comment:3 Changed 7 years ago by matthijs

  • Severity set to unknown

The reporter contacted me privately and offered (limited) help implementing this. He has already published a custom firmware version with ipv6 support here: http://disi.unitn.it/~valleri/fon/

He suggested the following things need to happen to get ipv6 completely supported.

  • kernel upgrade to 2.6.27 due to some bug (see #928)
  • gui for aiccu configuration (already present)
  • multiple account ( for now it works only with sixxs)
  • gui for radvd configuration
  • ipv6 firwall integration
  • ipv6 information in the front-page

So, don't count on this being implemented soon (though I'd like to have it in eventually).

comment:4 Changed 7 years ago by matthijs

Uh, the previous comment should say "kernel upgrade to 2.6.21.7", not 2.6.27 :-)

comment:5 Changed 7 years ago by afrinc

As suggested, here is my expression of interest to see fonera 2.0n supporting IPv6 : I really want IPv6 support on the fonera which is supported by openwrt, and probably all major routers…

comment:6 Changed 7 years ago by matthijs

(In [1922]) kernel: Upgrade to 2.6.21.7 on 2.0n.

This is the most recent kernel in the 2.6.21 range, which contains a bunch of bugfixes. This should fix some ipv6 kernel issue, clearing the way for ipv6 support in the future (though this does not mean ipv6 will happen anytime soon). This upgrade might improve the general stability, though it does not fix any known issues for the 2.0n.

Because the 2.0n wifi driver is included as a binary compiled for 2.6.21, this commit breaks the wifi driver.

Closes: #928 References: #524

comment:7 Changed 6 years ago by matthijs

  • Cc mail@… added

#1126 is a duplicate of this ticket.

comment:8 Changed 6 years ago by cmertes@…

It's IPv6 Day, maybe a good time to ask if this has already gone up on the todo list a little.

comment:9 Changed 6 years ago by matthijs

Nope, there's still other stuff to be fixed first...

comment:10 Changed 5 years ago by anonymous

shouldn't this be on the roadmap for 2.3 ? since ISP's are planning rollouts for this and next year, so it would be nice to be able to use that on the fonera.

comment:11 Changed 5 years ago by matthijs

There have been some internal discussions and studies about implementing ipv6 in Foneras, but it is not as simple as it sounds. In particular, it seems that not all routers / modems / ISPs offer prefix delegation (or have it disabled by default), which is the proper way for the Fonera to obtain a public ipv6 address range for its private and public networks (given that using NAT with ipv6 isn't the "proper" way, and also needs a bleeding edge (3.7 or 3.8 IIRC) kernel since support for that was only recently developed.

In other words: it's on the internal agenda, but there's no fixed plans or roadmaps for the actual firmware yet.

comment:12 Changed 5 years ago by cmertes@…

So when we finally get IPv6, this will also mean that all computers and other nodes behind the Fonera will automatically get public IP addresses that can be accessed from outside? That's awesome :) It's also quite a blow to my security concept but still, it's awesome ;)

comment:13 Changed 5 years ago by matthijs

That is the ideal situation yes. See also the homenet ipv6 proposal, which outlines how routers should behave to make this happen.

Also note that having a public IP address, does not automatically mean it is actually reachable from the internet: Using firewall rules to only open up specific ports and leave all clients inaccessible by default is probably the most sane default.

comment:14 Changed 5 years ago by cmertes@…

Sounds reasonable, yes. But I can definitely see how this is not implemented on a rainy Wednesday afternoon ...

comment:15 Changed 5 years ago by fon@…

Just to add to this - I tried the build matthijs linked too and it appears to have broken PPPoE - I couldn't auth to my VDSL provider!

I have just taken a copy of the latest trunk (rev 2299), made sure the IPv6 kernel modules are available and built it.

Obviously this is a bit beyond most people's reach and I'm aware I'm playing with an development build, so I may have to revert and use the latest tag.

Also, I emailed fonera support and their report is they want to support it but there is no timescale for when we can expect it :(

comment:16 Changed 4 years ago by Masanori

From Oliver Thylmann End of next week the Fonera will cost 29 EURs. So if you want to get your fonera for free, I ssggeut you go at it now. You have a few days left until you will not get it for free anymore

comment:17 Changed 2 years ago by dllud

Any updates on this ticket? OpenWRT now has full IPv6 support. Doesn't this make things much easier?

comment:18 Changed 2 years ago by matthijs

It would, if updating to a new OpenWRT version was easy. However, the Fon-specific firmware has deviated from OpenWRT in a lot of fundamental places, so migrating would be a lot of work. The Fonera firmwares are not seeing much development anymore, so it seems unlikely this feature will ever be implemented.

AFAIK you can run a stock OpenWRT firmware on your Fonera router, though, so that might be worth trying.

Add Comment

Modify Ticket

Action
as investigate The owner will remain john.crispin@….
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.