Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/wiki/includes/MagicWord.php on line 860
Konfiguration anpassen - t-hack.com - Hack X300T / X301T

Konfiguration anpassen

From t-hack.com - Hack X300T / X301T
Jump to: navigation, search
(New page: hier versuche ich auf die speziell für die IPTV-Konfiguration nötigen Dinge einzugehen, speziell die für T-home/T-Entertain.)
 
(igmp.txt)
 
Line 1: Line 1:
 
hier versuche ich auf die speziell für die IPTV-Konfiguration nötigen Dinge einzugehen, speziell die für T-home/T-Entertain.
 
hier versuche ich auf die speziell für die IPTV-Konfiguration nötigen Dinge einzugehen, speziell die für T-home/T-Entertain.
 +
 +
== Folgende Konfigurationsdateien werden für unser Anliegen im Verzeichnis /config angepasst/erweitert ==
 +
 +
*base.txt
 +
*dsl.txt
 +
*advanced_networking.txt
 +
*igmp.txt
 +
 +
 +
== base.txt ==
 +
Bei den Netzwerkkarten Nutze ich 3 des gleichen Typs. Im Grunde kannst Du jede beliebige Netzwerkkarte benutzen, allerdings für eth2 (also das IPTV-Netz) solltest Du eine Intel-Pro100 (ohne SE!!!!) oder 2Com nehmen, ansonsten kann es zu Problemen führen (selber erlebt!!!). <br>
 +
1.Auszug:<br>
 +
Für mein "normales" Netz habe ich bei mir den Adressbereich 192.168.0.1 bis 192.168.0.254 festgelegt(IP_NET_1); für das interne Netz vom IPTV 192.168.3.1 bis 192.168.3.254 (IP_NET_2).
 +
#------------------------------------------------------------------------------
 +
# Ether networks used with IP protocol:
 +
#------------------------------------------------------------------------------
 +
IP_NET_N='2'                  # number of IP ethernet networks, usually 1
 +
IP_NET_1='192.168.0.111/24'      # IP address of your n'th ethernet card and
 +
                                # netmask in CIDR (no. of set bits)
 +
IP_NET_1_DEV='eth0'            # required: device name like ethX
 +
 +
 
 +
IP_NET_2='192.168.3.1/24'      # IP address of your n'th ethernet card and
 +
                                # netmask in CIDR (no. of set bits)
 +
IP_NET_2_DEV='eth2'            # required: device name like ethX
 +
<br>
 +
2.Auszug:<br>
 +
  #--------------------------------------------------------------------------
 +
    # Known networks - Networks which are allowed to pass the packet
 +
    # filter (additional restrictions may be applied via black/white
 +
    # lists, port based filters, port forwarding opens additional holes, ...)
 +
    #--------------------------------------------------------------------------
 +
    MASQ_NETWORK='IP_NET_1,IP_NET_2'    # networks to masquerade (e.g. our LAN)
 +
    ROUTE_NETWORK=''          # same as masq_network, but packets
 +
<br>
 +
3.Auszug:<br>
 +
    PF_INPUT_N='3'
 +
    PF_INPUT_1='IP_NET_1 ACCEPT'        # allow all hosts in the local
 +
    PF_INPUT_2='IP_NET_2 ACCEPT'                                    # network access to the router
 +
    PF_INPUT_3='any 224.0.0.0/4 ACCEPT'
 +
<br>
 +
4.Auszug:<br>
 +
 
 +
                                          # otherwise drop packet
 +
PF_FORWARD_N='4'
 +
PF_FORWARD_1='tmpl:samba DROP'      # drop samba traffic if it tries
 +
                                        # to leave the subnet
 +
PF_FORWARD_2='IP_NET_1 ACCEPT'      # accept everything else
 +
PF_FORWARD_3='IP_NET_2 ACCEPT'
 +
PF_FORWARD_4='any 224.0.0.0/4 ACCEPT'      # accept everything else
 +
PF_POSTROUTING_N='2'
 +
PF_POSTROUTING_1='IP_NET_1 MASQUERADE'  # masquerade traffic leaving
 +
PF_POSTROUTING_2='IP_NET_2 MASQUERADE'                                        # the subnet
 +
 +
<br>
 +
5.Auszug:<br>
 +
Damit die Settopbox(en) eine feste IP-Adresse zugewiesen bekommen, müssen im Bereich "HOSTS" diese erfasst und festgelegt werden.
 +
Dafür benötigst Du die MAC-Adresse der Box(en).
 +
 +
 +
HOST_26_NAME='T-HOME-WZ'
 +
HOST_26_IP='192.168.3.4'
 +
HOST_26_MAC='00:D0:E0:XX:XX:XX' # WZ
 +
 +
HOST_27_NAME='T-HOME-BUERO'
 +
HOST_27_IP='192.168.3.5'
 +
HOST_27_MAC='00:D0:E0::XX:XX:XX' # Buero
 +
 +
HOST_30_NAME='T-HOME-SZ'
 +
HOST_30_IP='192.168.3.6'
 +
HOST_30_MAC='00:1A:C3:XX:XX:XX' # Schlafzimmer
 +
 +
<br>
 +
6.Auszug:<br>
 +
 +
Zusätzlich kannst Du beim DHCP-Server zusätzliche Ranges für weitere Geräte festlegen.
 +
Dafür habe ich im Homenetzwerk 192.168.0.244(DNSDHCP_RANGE_1_START) bis 247(DNSDHCP_RANGE_1_END) und im IPTV-Netzwerk 192.168.3.10 (DNSDHCP_RANGE_2_START) bis .20 (DNSDHCP_RANGE_2_END)vorgesehen. Natürlich kannst Du eigene bereiche festlegen
 +
 +
    # Parameters for local Networks
 +
    # -----------------------------
 +
    DNSDHCP_RANGE_1_START='192.168.0.244'    # start-IP of n'th ethernet,
 +
    DNSDHCP_RANGE_1_END='192.168.0.247'      # end-IP of n'th ethernet,
 +
    DNSDHCP_RANGE_1_DNS_SERVER=''            # if empty the IP of interface
 +
    DNSDHCP_RANGE_1_NTP_SERVER=''            # if empty and OPT_CHRONY='yes'
 +
    DNSDHCP_RANGE_1_GATEWAY=''                # if empty the IP of interface
 +
    DNSDHCP_RANGE_2_START='192.168.3.10'    # start-IP of n'th ethernet,
 +
    DNSDHCP_RANGE_2_END='192.168.3.20'      # end-IP of n'th ethernet,
 +
    DNSDHCP_RANGE_2_DNS_SERVER=''            # if empty the IP of interface
 +
    DNSDHCP_RANGE_2_NTP_SERVER=''            # if empty and OPT_CHRONY='yes'
 +
    DNSDHCP_RANGE_2_GATEWAY=''                # if empty the IP of interface
 +
 +
== dsl.txt ==
 +
so sieht meine dsl.txt aus. Klar, dass bei PPOE_USER Deine Anschlusskennung + Mitbenutzer und bei PPOE_PASS Dein T-Online-PW stehen:
 +
 +
#------------------------------------------------------------------------------
 +
# Optional package: PPPoE
 +
#------------------------------------------------------------------------------
 +
OPT_PPPOE='yes'                  # use ppp over ethernet: yes or no
 +
PPPOE_NAME='T-Entertain'                # circuit name, don't use spaces
 +
PPPOE_USEPEERDNS='yes'          # use dns server of your provider: yes or no
 +
PPPOE_ETH='eth1.7'                # eth card connected to ADSL modem,
 +
PPPOE_TYPE='in_kernel'              # async, sync or in_kernel
 +
  PPPOE_DEBUG='no'                # enable pppd debugging, 'yes' or 'no'
 +
PPPOE_USER='''<font color="#FF0000">deine Anschlusskennung</font>''#0001@t-online.de'          # username
 +
PPPOE_PASS='''<font color="#FF0000">Dein Passwort</font>'' '            # password
 +
PPPOE_HUP_TIMEOUT='3600'        # idle time after which to hangup
 +
PPPOE_CHARGEINT='60'            # value of charge interval (in seconds)
 +
PPPOE_TIMES='Mo-Su:00-24:0.0:Y' # times/charges when LCR
 +
PPPOE_FILTER='yes'              # filter traffic to be able to hangup
 +
                                # even if someone is trying to scan us
 +
PPPOE_MTU='1492' # set MTU for PPPOE connection
 +
PPPOE_MRU='1492' # set MRU for PPPOE connection
 +
 +
#------------------------------------------------------------------------------
 +
# Optional package: FRITZDSL
 +
#------------------------------------------------------------------------------
 +
OPT_FRITZDSL='no'                  # use fritzdsl: yes or no
 +
FRITZDSL_NAME='DSL'                # circuit name, don't use spaces
 +
FRITZDSL_USEPEERDNS='yes'          # use dns server of your provider: yes or no
 +
FRITZDSL_TYPE='fcdsl'              # fcdsl, fcdsl2, fcdslusb, fcdslslusb
 +
                                    # or fcdslsl
 +
FRITZDSL_PROVIDER='U-R2'          # type of provider
 +
FRITZDSL_USER='anonymer'          # username
 +
FRITZDSL_PASS='surfer'            # password
 +
FRITZDSL_DEBUG='no'                # enable pppd debugging, 'yes' or 'no'
 +
FRITZDSL_HUP_TIMEOUT='600'        # idle time after which to hangup
 +
FRITZDSL_CHARGEINT='60'            # value of charge interval (in seconds)
 +
FRITZDSL_TIMES='Mo-Su:00-24:0.0:Y' # times/charges when LCR
 +
FRITZDSL_FILTER='yes'              # filter traffic to be able to hangup
 +
                                    # even if someone is trying to scan us
 +
FRITZDSL_MTU='1492'                # set MTU for FRITZDSL connection
 +
FRITZDSL_MRU='1492'                # set MRU for FRITZDSL connection
 +
 +
 +
#------------------------------------------------------------------------------
 +
# Optional package: PPTP - DSL in Austria/Netherlands
 +
#------------------------------------------------------------------------------
 +
OPT_PPTP='no'                  # use PPTP: yes or no
 +
PPTP_NAME='DSL'                # circuit name, don't use spaces
 +
PPTP_USEPEERDNS='yes'          # use dns server of your provider: yes or no
 +
PPTP_ETH='eth1'                # ethernet card connected to ADSL modem
 +
PPTP_USER='anonymer'            # username
 +
PPTP_PASS='surfer'              # password
 +
PPTP_DEBUG='no'                # enable pppd debugging, 'yes' or 'no'
 +
PPTP_HUP_TIMEOUT='600'          # idle time after which to hangup
 +
PPTP_MODEM_TYPE='bcaa'          # 3 different types in Austria:
 +
#    bbaa / bcaa / xdsl
 +
                                # in the Netherlands use 'mxstream'
 +
PPTP_CHARGEINT='60'            # value of charge interval (in seconds)
 +
PPTP_TIMES='Mo-Su:00-24:0.0:Y'  # times/charges when LCR
 +
PPTP_FILTER='yes'              # filter traffic to be able to hangup
 +
                                # even if someone is trying to scan us
 +
 +
#----------------------------------------------------------------------------
 +
# optional package: PPPoE-Status
 +
#----------------------------------------------------------------------------
 +
OPT_POESTATUS='no'              # show pppoe status on console #3
 +
 +
#------------------------------------------------------------------------------
 +
# Optional package: PFC - Packet-Filter-Compiler
 +
#------------------------------------------------------------------------------
 +
OPT_PFC='no'                    # see documentation
 +
 +
 +
== advanced_networking.txt ==
 +
meine komplette advanced_networking.txt
 +
 +
OPT_BRIDGE_DEV='no'    # activate Bridging 802.1D
 +
BRIDGE_DEV_N='0'
 +
 +
#------------------------------------------------------------------------------
 +
# Optional package: EBTables (http://ebtables.sourceforge.net/)
 +
#------------------------------------------------------------------------------
 +
 +
OPT_EBTABLES='no'
 +
 +
#------------------------------------------------------------------------------
 +
# Optional package: Bonding (http://sourceforge.net/projects/bonding/)
 +
#------------------------------------------------------------------------------
 +
 +
OPT_BONDING_DEV='no'  #
 +
BONDING_DEV_N='0'
 +
 +
#------------------------------------------------------------------------------
 +
# Optional package: VLAN 802.1Q (http://www.candelatech.com/~greear/vlan.html)
 +
#------------------------------------------------------------------------------
 +
 +
OPT_VLAN_DEV='yes'      # activate VLAN 802.1Q
 +
VLAN_DEV_N='1'
 +
VLAN_DEV_1_DEV='eth1'
 +
VLAN_DEV_1_VID='7'
 +
 +
#------------------------------------------------------------------------------
 +
# Optional package: change device MTU
 +
#------------------------------------------------------------------------------
 +
 +
DEV_MTU_N='0'          # number of devices to change MTU of
 +
DEV_MTU_1='eth0 1496'  # change MTU of device eth0 to 1496
 +
 +
 +
== igmp.txt ==
 +
Hier meine "original" igmt.txt-Datei:
 +
 +
OPT_IGMP_PROXY='yes'                  # install IGMP_PROXY server: yes or no
 +
IGMP_PROXY_QUICKLEAVE_ON='no' # Enable Quickleave mode; sends Leave instantly; default: yes
 +
# Configuration of Upstream Interface (DSL-Modem)
 +
#
 +
IGMP_PROXY_UPLOAD_DEV='ppp0' # upstream interface; default: ppp0
 +
#
 +
# Configuration of Downstream Interface
 +
#
 +
IGMP_PROXY_DOWNLOAD_DEV='eth2' # interface to my iptv box
 +
#
 +
# IP Adressen für Multicast-Traffic
 +
#
 +
IGMP_PROXY_ALT_N='4' # number of IP addresses for multicast sources
 +
IGMP_PROXY_ALT_NET_1='239.35.0.0/16' # IPTV streams
 +
IGMP_PROXY_ALT_NET_2='217.0.119.0/24' # Required for T-Home
 +
IGMP_PROXY_ALT_NET_3='193.158.35.0/24' # Required T-Home
 +
IGMP_PROXY_ALT_NET_4='192.168.3.0/24' # address of my IPTV-box

Latest revision as of 21:03, 24 April 2008

Personal tools