ipv6 for PI2 Image

Hello!

 

I flash the PI Image and emoncms is running.

I enable ipv6 with adding "ipv6" to "/etc/modules" and restart.

ifconfig bring:
eth0      Link encap:Ethernet  HWaddr b8:27:eb:b8:05:86
          inet addr:192.168.0.81  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::ba27:ebff:feb8:586/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:686 errors:0 dropped:0 overruns:0 frame:0
          TX packets:159 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:62728 (61.2 KiB)  TX bytes:27039 (26.4 KiB)
 

So the IPv6 address exists ... I can also ping the PI with "ping fe80::ba27:ebff:feb8:586"

 

But I can´t connect with putty "[fe80::ba27:ebff:feb8:586]" and can´t oben in webbrowser with the IPv6 address.

 

Have I set other parameters in the PI2?

 

Thank you!

 

goldberg's picture

Re: ipv6 for PI2 Image

This is a non-routable link-local IPv6 address. Are you trying to ping, putty, or web-browse from a device on the same network as the PI2 ?

 

 

unique24's picture

Re: ipv6 for PI2 Image

Hello!

 

Of course same local network. So it should normally work.

I can ping from the windows PC the Pi2, but cannot connect via putty or webbrowser!

 

Did the image miss some files?

dBC's picture

Re: ipv6 for PI2 Image

Try adding:

AddressFamily any

to /etc/ssh/sshd_config  and restart sshd.

In theory that's the default behaviour for vanilla sshd, but a lot of Unixes build daemons with their own favourite defaults just to keep you guessing.

Likewise apache has config options for controlling how it handles ipv4 and ipv6 sockets and address mapping between them, and again different Unixes build with different default behaviour.

unique24's picture

Re: ipv6 for PI2 Image

From another forum I get an info and it works.

Solution I post here:

http://openenergymonitor.org/emon/node/10163#comment-30450

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.