Author Topic: How to enable IPv6  (Read 3565 times)

Dersch

  • Zen Monk
  • **
  • Posts: 87
  • Karma: +1/-0
    • View Profile
Re: How to enable IPv6
« Reply #15 on: August 24, 2016, 09:45:09 pm »
oh access problems

Code: [Select]
cat /var/log/zentyal/zentyal.log | grep /etc/zentyal/stubs/network/interfaces.mas
2016/08/24 19:34:09 INFO> Base.pm:1102 EBox::Module::Base::writeConfFileNoCheck - Using custom template for /etc/networ     k/interfaces: /etc/zentyal/stubs/network/interfaces.mas
2016/08/24 19:34:09 ERROR> Base.pm:1106 EBox::Module::Base::writeConfFileNoCheck - Falling back to default /usr/share/z     entyal/stubs/network/interfaces.mas due to exception when processing custom template /etc/zentyal/stubs/network/interfa     ces.mas: read_file: could not open file '/etc/zentyal/stubs/network/interfaces.mas' for reading: Keine Berechtigung
2016/08/24 20:00:21 INFO> Base.pm:1102 EBox::Module::Base::writeConfFileNoCheck - Using custom template for /etc/networ     k/interfaces: /etc/zentyal/stubs/network/interfaces.mas
2016/08/24 20:00:21 ERROR> Base.pm:1106 EBox::Module::Base::writeConfFileNoCheck - Falling back to default /usr/share/z     entyal/stubs/network/interfaces.mas due to exception when processing custom template /etc/zentyal/stubs/network/interfa     ces.mas: read_file: could not open file '/etc/zentyal/stubs/network/interfaces.mas' for reading: Keine Berechtigung
2016/08/24 20:10:28 INFO> Base.pm:1102 EBox::Module::Base::writeConfFileNoCheck - Using custom template for /etc/networ     k/interfaces: /etc/zentyal/stubs/network/interfaces.mas
2016/08/24 20:10:28 ERROR> Base.pm:1106 EBox::Module::Base::writeConfFileNoCheck - Falling back to default /usr/share/z     entyal/stubs/network/interfaces.mas due to exception when processing custom template /etc/zentyal/stubs/network/interfa     ces.mas: read_file: could not open file '/etc/zentyal/stubs/network/interfaces.mas' for reading: Keine Berechtigung


The owner is root

-rwxrwx--- 1 root root 1,6K Aug 24 19:23 /etc/zentyal/stubs/network/interfaces.mas

So i changed to chmod 0644, let's see
« Last Edit: August 24, 2016, 09:53:38 pm by Dersch »

Dersch

  • Zen Monk
  • **
  • Posts: 87
  • Karma: +1/-0
    • View Profile
Re: How to enable IPv6
« Reply #16 on: August 24, 2016, 10:13:52 pm »
Yes that was the problem. Thank you Julio!

julio

  • Guest
Re: How to enable IPv6
« Reply #17 on: August 24, 2016, 10:15:25 pm »
i am glad to help you!

Dersch

  • Zen Monk
  • **
  • Posts: 87
  • Karma: +1/-0
    • View Profile
Re: How to enable IPv6
« Reply #18 on: August 24, 2016, 10:47:25 pm »
One problem remains :) now em1 don't get a public ipv6 anymore. Vlan13 and 14 get a public. Em1 only get a local v6. If i revert back from stubs em1 get a public v6.
« Last Edit: August 24, 2016, 10:52:16 pm by Dersch »

julio

  • Guest
Re: How to enable IPv6
« Reply #19 on: August 24, 2016, 10:53:17 pm »
please post the actualy /etc/network/interfaces file.

Dersch

  • Zen Monk
  • **
  • Posts: 87
  • Karma: +1/-0
    • View Profile
Re: How to enable IPv6
« Reply #20 on: August 24, 2016, 10:54:10 pm »
Code: [Select]
cat /etc/network/interfaces
auto lo br0 br1 em1 vlan13 vlan14

iface lo inet loopback

iface em1 inet6 auto




iface em1 inet static
      address 192.168.10.1
      netmask 255.255.255.0
      broadcast 192.168.10.255





iface vlan13 inet static
vlan-raw-device p1p2
      address 192.168.13.2
      netmask 255.255.255.0
      broadcast 192.168.13.255


iface vlan14 inet static
vlan-raw-device p1p2
      address 192.168.14.2
      netmask 255.255.255.0
      broadcast 192.168.14.255


iface br1 inet manual
      bridge_ports p1p1
      bridge_fd 9
      bridge_hello 2
      bridge_maxage 12
      bridge_stp off


iface br0 inet static
      address 10.10.2.2
      netmask 255.255.255.0
      broadcast 10.10.2.255
      gateway 10.10.2.1
      bridge_ports em2
      bridge_stp off
      bridge_maxwait 0
      bridge_fd 0

Code: [Select]
em1       Link encap:Ethernet  Hardware Adresse 00:25:90:47:49:82
          inet Adresse:192.168.10.1  Bcast:192.168.10.255  Maske:255.255.255.0
          inet6-Adresse: fe80::225:90ff:fe47:4982/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX-Pakete:45289 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
          TX-Pakete:25903 Fehler:0 Verloren:0 Überläufe:0 Träger:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX-Bytes:43810200 (43.8 MB)  TX-Bytes:2219600 (2.2 MB)
          Speicher:f7200000-f7280000
« Last Edit: August 24, 2016, 10:58:32 pm by Dersch »

Dersch

  • Zen Monk
  • **
  • Posts: 87
  • Karma: +1/-0
    • View Profile
Re: How to enable IPv6
« Reply #21 on: August 24, 2016, 11:01:23 pm »
Sorry Julio, that was my problem of my pfsense....  :o

I had changed the RADVD by mistake today for the LAN interface where i wanted to change it at another place.

Everything is fine. Thanks for your help  ;D

Dersch

  • Zen Monk
  • **
  • Posts: 87
  • Karma: +1/-0
    • View Profile
Re: How to enable IPv6
« Reply #22 on: February 17, 2017, 12:09:50 pm »
Hi Julio, will this stubs changes keep alive after upgrading to Zentyal 5 or will it be broken?