Auteur Sujet: Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)  (Lu 306686 fois)

0 Membres et 1 Invité sur ce sujet

Xire

  • Abonné Bbox fibre
  • *
  • Messages: 45
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #72 le: 25 novembre 2017 à 22:36:24 »
J'ai tout testé et impossible de faire marcher la télé. J'ai une erreur S04

thefa

  • Abonné Orange Fibre
  • *
  • Messages: 89
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #73 le: 26 novembre 2017 à 00:00:13 »
Tu peux toujours essayer de poster ton .json ici et on verra si on voit quelque chose...

mike78530

  • Abonné Orange Fibre
  • *
  • Messages: 232
  • Toussus-le-Noble (78)
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #74 le: 27 novembre 2017 à 10:13:50 »
J'ai tout testé et impossible de faire marcher la télé. J'ai une erreur S04

Avant tout, active le vlan 832 sur le controller et après tu mets ta config comme il faut sans le controller jusqu'à que tout marche.

Normalement comme dans ton fichier de config tout est en place pour le vlan 832 il te reste qu'a rajouter la partie TV en utilisant le script manuellement (visiblement il est pas possible de lancer le script en 1 fois et que tout passe, donc faut prendre ligne par ligne et les valider via SSH)

Si tu as toujours l'erreur S04 voir l'article d'orange --> https://assistance.orange.fr/livebox-modem/toutes-les-livebox-et-modems/depanner/un-probleme-de-materiel/la-livebox-affiche-un-message-d-erreur/livebox-play-remettre-a-zero_19265-19420

si ca ne marche toujours pas merci de préciser le routeur utilisé, la disposition du réseau (les ports utilisés, avec ou sans livebox...) et de poster le contenu du config.boot


Pour ce qui est des config.gateway.json faire aussi très attention que le fichier utilise les sauts de lignes compatible "UNIX", c'est pour ca qu'il est préférable de poster le config.gatewway.json directement ici plutôt que de poster son contenu dans les balises code

jonlprd

  • Abonné Orange Fibre
  • *
  • Messages: 66
  • Antony (92)
    • Personal Blog
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #75 le: 27 novembre 2017 à 19:45:29 »
@thefa

Bonjour,

I have a USG 3P. I tried copying your config.gateway.json file (I copied my hex credentials, of course, into the file), and I get no internet or TV :(

Do you think this is because you have a USG 4P, and I have a USG 3P?

I have looked at your config file, and you seem to have some special parameters set specifically for the USG 4P.

For example:

 "service": {
                "dns": {
                        "dynamic": {
                                "interface": {
                                        "eth2.832": {
                                                "service": {
                                                        "dyndns": {
                                                                "host-name": [
                                                                        "the.host.name"
                                                                ],
                                                                "login": "thelogin",
                                                                "password": "thepassword",
                                                                "server": "dynupdate.no-ip.com"
                                                        }
                                                }
                                        }
                                }
                        },
                        "forwarding": {
                                "cache-size": "10000",
                                "except-interface": [
                                        "eth2.832"
                                ],
                                "options": [
                                        "ptr-record=1.101.168.192.in-addr.arpa,UnifiSecurityGatewayPro4",
                                        "host-record=unifi,192.168.101.12"
                                ]
                        }
                },                                 

Im not sure that this will work.

The method of modifying the 3 files and placing the config.gateway.json has worked well for me. However my config.gateway.json only has internet + IPv6 functioning (no tv). For reference, here is my working config.gateway.json file

{
        "firewall": {
                "ipv6-name": {
                        "WAN_IN-6": {
                                "default-action": "drop",
                                "description": "packets from internet to intranet",
                                "rule": {
                                        "3001": {
                                                "action": "accept",
                                                "description": "allow established/related sessions",
                                                "state": {
                                                        "established": "enable",
                                                        "related": "enable"
                                                }
                                        },
                                        "3002": {
                                                "action": "drop",
                                                "description": "drop Invalid state",
                                                "state": {
                                                        "invalid": "enable"
                                                }
                                        },
                                        "3003": {
                                                "action": "accept",
                                                "description": "allow ICMPv6",
                                                "protocol": "icmpv6"
                                        }
                                }
                        },
                        "WAN_LOCAL-6": {
                                "default-action": "drop",
                                "description": "packets from internet to gateway",
                                "rule": {
                                        "3001": {
                                                "action": "accept",
                                                "description": "allow established/related sessions",
                                                "state": {
                                                        "established": "enable",
                                                        "related": "enable"
                                                }
                                        },
                                        "3002": {
                                                "action": "drop",
                                                "description": "drop Invalid state",
                                                "state": {
                                                        "invalid": "enable"
                                                }
                                        },
                                        "3003": {
                                                "action": "accept",
                                                "description": "allow ICMPv6",
                                                "protocol": "icmpv6"
                                        },
                                        "3004": {
                                                "action": "accept",
                                                "description": "allow DHCPv6 client/server",
                                                "destination": {
                                                        "port": "546"
                                                },
                                                "protocol": "udp",
                                                "source": {
                                                        "port": "547"
                                                }
                                        }
                                }
                        },
                        "WAN_OUT-6": {
                                "default-action": "accept",
                                "description": "packets to internet"
                        }
                }
                       
},
        "interfaces": {
                "ethernet": {
                        "eth0": {
                                "vif": {
                                        "832": {
                                                "dhcp-options": {
                                                        "client-option": [
                                                                "send vendor-class-identifier "sagem";",
                                                                "send user-class "\\053FSVDSL_livebox.Internet.softathome.Livebox4";",
                                                                "send rfc3118-auth 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00;",
                                                                "request subnet-mask, routers, domain-name-servers, domain-name, broadcast-address, dhcp-lease-time, dhcp-renewal-time, dhcp-rebinding-time, rfc3118-auth;"
                                                        ]
                                                },
                                                "egress-qos": "0:0 1:0 2:0 3:0 4:0 5:0 6:6 7:0",
                                                "firewall": {
                                                        "in": {
                                                                "ipv6-name": "WAN_IN-6",
                                                                "name": "WAN_IN"
                                                        },
                                                        "local": {
                                                                "ipv6-name": "WAN_LOCAL-6",
                                                                "name": "WAN_LOCAL"
                                                        },
                                                        "out": {
                                                                "ipv6-name": "WAN_OUT-6",
                                                                "name": "WAN_OUT"
                                                        }
                                                },
                                                "ipv6": {
                                                        "address": {
                                                                "autoconf": "''"
                                                        },
                                                        "dup-addr-detect-transmits": "1"
                                                }
                                        }
                                }
                        },
                        "eth1": {
                                "ipv6": {
                                        "dup-addr-detect-transmits": "1",
                                        "router-advert": {
                                                "cur-hop-limit": "64",
                                                "link-mtu": "0",
                                                "managed-flag": "false",
                                                "max-interval": "600",
                                                "other-config-flag": "false",
                                                "prefix": {
                                                        "::/64": {
                                                                "autonomous-flag": "true",
                                                                "on-link-flag": "true",
                                                                "valid-lifetime": "2592000"
                                                        }
                                                },
                                                "reachable-time": "0",
                                                "retrans-timer": "0",
                                                "send-advert": "true"
                                        }
                                }
                        }
                }
        }
}

Any advice would be great! :)

Merci

thefa

  • Abonné Orange Fibre
  • *
  • Messages: 89
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #76 le: 27 novembre 2017 à 20:21:30 »
@jonlprd, the first thing you need to pay attention to, I think is the ethx ports: the USG 3 and USG 4 have LAN and WANS in different places !!

mike78530

  • Abonné Orange Fibre
  • *
  • Messages: 232
  • Toussus-le-Noble (78)
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #77 le: 27 novembre 2017 à 21:03:47 »
I have looked at your config file, and you seem to have some special parameters set specifically for the USG 4P.

For example:

 "service": {
                "dns": {
                        "dynamic": {
                                "interface": {
                                        "eth2.832": {
                                                "service": {
                                                        "dyndns": {
                                                                "host-name": [
                                                                        "the.host.name"
                                                                ],
                                                                "login": "thelogin",
                                                                "password": "thepassword",
                                                                "server": "dynupdate.no-ip.com"
                                                        }
                                                }
                                        }
                                }
                        },
                        "forwarding": {
                                "cache-size": "10000",
                                "except-interface": [
                                        "eth2.832"
                                ],
                                "options": [
                                        "ptr-record=1.101.168.192.in-addr.arpa,UnifiSecurityGatewayPro4",
                                        "host-record=unifi,192.168.101.12"
                                ]
                        }
                },                                 

Im not sure that this will work.


it will not work for your USG, that's the reason why a config.gateway.json is personal, because it containt special parameters only for my network configuration

BTW I updated the 1st page for TV integration

jonlprd

  • Abonné Orange Fibre
  • *
  • Messages: 66
  • Antony (92)
    • Personal Blog
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #78 le: 27 novembre 2017 à 21:12:15 »
it will not work for your USG, that's the reason why a config.gateway.json is personal, because it containt special parameters only for my network configuration

BTW I updated the 1st page for TV integration

Ok, good to know. I will go through the steps again and see if it works. Since my IPv6 and internet are working right now, can I just skip to the TV part of the tutorial? Or did you add additional steps I should follow?

mike78530

  • Abonné Orange Fibre
  • *
  • Messages: 232
  • Toussus-le-Noble (78)
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #79 le: 27 novembre 2017 à 21:26:04 »
Ok, good to know. I will go through the steps again and see if it works. Since my IPv6 and internet are working right now, can I just skip to the TV part of the tutorial? Or did you add additional steps I should follow?

Be sure that you have put all 3 files on the USG.

Disconnect your controller

Download the script, execute each line by using SSH terminal

Check if tv is working

Generate a config.gateway.json and move it to your controller

Plug back your controller, uncheck Vlan 832 in the GUI

Reboot devices

jonlprd

  • Abonné Orange Fibre
  • *
  • Messages: 66
  • Antony (92)
    • Personal Blog
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #80 le: 28 novembre 2017 à 01:47:04 »
Ok, I have done these exact steps and it seems to be almost working. On my Livebox TV, I can now see the programme tv (since internet is working, I guess?), but the channels are not functioning.

When I was executing the commands via ssh, I received one error:

Citer
[ service nat rule 6020 source group network-group corporate_network ]
calling cfgPathExists() without config session


Seems like I am very close to getting this to work!

My Livebox TV is in another room, so it is not connected directly to the USG ETH2 port. I have attached a diagram of my home network to help show how I am connecting everything. The Livebox TV is connected to switch port #2 in my living room. I noticed in my controller that I have the ability to select which network to use on a specific port. Should I select 'TV' or leave it set as 'All' (see second screenshot)? It seems that I receive no internet connection on my Livebox TV when I set it to use the TV network.

thefa

  • Abonné Orange Fibre
  • *
  • Messages: 89
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #81 le: 30 novembre 2017 à 07:34:29 »
Are you able to test with the TV box connected directly to LAN2 on the USG? If this works, then the remaining would be LAN configuration, I think.

thefa

  • Abonné Orange Fibre
  • *
  • Messages: 89
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #82 le: 30 novembre 2017 à 07:48:01 »
Look at this message here :
https://lafibre.info/remplacer-livebox/unifi-security-gateway-en-remplacement-de-la-livebox/msg484204/#msg484204

What you are trying to do is a mix between my setup with a fully isolated LAN for TV, starting from the USG, and what Mike does : a VLAN over the same shared physical LAN...

This is why I would really focus on getting TV box to work directly connected to LAN2, to be sure that this is ok. Then, we'd look at the LAN config...

Sorry I can't be more assertive 😀

mike78530

  • Abonné Orange Fibre
  • *
  • Messages: 232
  • Toussus-le-Noble (78)
Le guide complet pour USG/USG PRO (Internet, TV, Livebox & IPV6)
« Réponse #83 le: 30 novembre 2017 à 08:27:47 »
Are you able to test with the TV box connected directly to LAN2 on the USG? If this works, then the remaining would be LAN configuration, I think.

Hi, agreed with thefa. Put directly your liveboxTV on ETH2 or you can directly put it on ETH1, without controller, without VLAN on your LAN. Do proper modification to your config file.

Your LAN configuration is very special because you are connecting your USG's ETH1 & ETH2 on the same switch that involve using VLAN but let’s go easy. Meanwhile, I see on your screenshot is that you applied VLAN832 on your LAN that is not correct.

VLAN832 is only on ETH0 or ETHx only if you connect your Livebox (the router)
VLAN 838/840 should be only applied on ETH0

do your test (remove VLAN TV on your LAN), do never connect your controller and if it's not working please post your config.boot