Die Fritz box erlaubt nur einen Stream pro IP Adresse. Dies funktioniert auch soweit in meiner Konfiguration
Wie fügt man bei QNAP neue Sub Interfaces hinzu, welche man dann anschließend in der TVHeadend Konfiguration verwenden kann?
Siehe auch: https://blag.nullteilerfrei.de…0-as-tuner-for-tvheadend/
Alles anzeigenTo use the full potential of the Fritz!Box you either need 4 network cards or add sub-interfaces to your main network interface. This is due to the fact that the Fritz!Box only allows one stream per IP address. ...
Adding sub-interfaces is as easy as adding this to your
/etc/network/interfaces
:
auto eth0:1
iface eth0:1 inet static
address 192.168.1.5
netmask 255.255.255.0
broadcast 192.168.1.255
auto eth0:2
iface eth0:2 inet static
address 192.168.1.6
netmask 255.255.255.0
broadcast 192.168.1.255auto eth0:3
iface eth0:3 inet static
address 192.168.1.7
netmask 255.255.255.0
broadcast 192.168.1.255
Leider hat ein einfaches hinzufügen dieser Einträge in /etc/network/interfaces nicht funktioniert:
Meine Fritz box läut auf 10.0.0.138, das NAS auf 10.0.0.142:
[/etc/network] # cat interfaces
# Configure Loopback
auto lo
iface lo inet loopback
auto eth0:1
iface eth0:1 inet static
address 10.0.0.171
netmask 255.255.255.0
broadcast 10.0.0.255
auto eth0:2
iface eth0:2 inet static
address 10.0.0.172
netmask 255.255.255.0
broadcast 10.0.0.255
auto eth0:3
iface eth0:3 inet static
address 10.0.0.173
netmask 255.255.255.0
broadcast 10.0.0.255
Alles anzeigen
Wenn ich bei TVHeadend diese in der Fritz box noch freie Adresse benutze (DVBInputs/TVAdapters/..Tuner1/Tuner bind IP address), erhalte ich folgende Fehlermeldung:
2022-04-22 10:10:03.039 mpegts: 418MHz in test - tuning on SAT>IP DVB-C Tuner #1 (10.0.0.138@UDP)
2022-04-22 10:10:03.039 subscription: 0001: "scan" subscribing to mux "418MHz", weight: 5, adapter: "SAT>IP DVB-C Tuner #1 (10.0.0.138@UDP)", network: "test", service: "Raw PID Subscription"
2022-04-22 10:10:03.039 satip: rtp - cannot bind 10.0.0.171:0 [e=Cannot assign requested address]
2022-04-22 10:10:03.049 satip: rtp - cannot bind 10.0.0.171:0 [e=Cannot assign requested address]
2022-04-22 10:10:03.089 satip: rtp - cannot bind 10.0.0.171:0 [e=Cannot assign requested address]
2022-04-22 10:10:08.039 mpegts: 418MHz in test - scan no data, failed
2022-04-22 10:10:08.039 subscription: 0001: "scan" unsubscribing
Wie kann ich solche subnetze konfigurieren? Ist mein Eintrag in interfaces noch zu ändern?
Wie finde ich die Mac Adressen für die eth0:1 bis eth0:3 raus?
Muss ich die jeweiligen IPs in der Fritz box für die Mac Adresse noch als fix definieren?
Vielen Dank!
__________________________
*edit* Leider hat es mit ip auch nicht geklappt: In TVHeadend gibt es bei Mux ein Fail, sobald ich 10.0.1.171 als IP beim Adapter eintrage
https://unix.stackexchange.com…ine-without-a-physical-ad
add:
sudo lsmod | grep dummy
sudo modprobe dummy
sudo ip link add eth10 type dummy
sudo ip link set name eth10 dev dummy0
sudo ifconfig eth10 hw ether 00:22:22:ff:ff:ff
sudo ip addr add 10.0.1.171/24 brd + dev eth10 label eth10:0
remove
sudo ip addr del 10.0.1.171/24 brd + dev eth10 label eth10:0
sudo ip link delete eth10 type dummy
sudo rmmod dummy
____________________________
Achtung! Keine manuellen Änderungen bei QNAP machen!
Container Station lässt sich seit dem nicht mehr starten:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request
Reason: Error reading from remote server
Fix: anderer browser verwenden oder cache leeren, Fehler hat nichts mit manuellen Änderungen zu tun