Odp: Brak 'rootfs_data' po instalacji OpenWRT z poziomu Breed`a.
@stell_rat, a dlaczego, jeśli uda mi się skonfigurować VLAN`y i wpiąć je konkretnie w któregoś LAN`a to raczej nie powinno być z tym problemu - tak to widzę na chwilę obecną.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Brak 'rootfs_data' po instalacji OpenWRT z poziomu Breed`a.
Strony Poprzednia 1 2 3 4
Zaloguj się lub zarejestruj by napisać odpowiedź
@stell_rat, a dlaczego, jeśli uda mi się skonfigurować VLAN`y i wpiąć je konkretnie w któregoś LAN`a to raczej nie powinno być z tym problemu - tak to widzę na chwilę obecną.
Cóż ja nie mam Orange. Po prostu mnie zastanawia czy może być na LAN dwa VLAN nie tagowane zmostkowane z WAN. Bo jak tam napisali będzie działać albo TV albo VOD na raz. Ale próbuj pewnie się uda. Pozostaje też nadanie priorytetów do VLAN'u.
@Cezary, czemu nie idzie zainstalować z opkg igmpproxy?
root@OpenWrt:/etc# opkg install igmpproxy
Unknown package 'igmpproxy'.
Collected errors:
* opkg_install_cmd: Cannot install package igmpproxy.a dałeś wcześniej "opkg update"?
Ups ![]()
Faktycznie, dzięki!
Próbuje odpalić teraz TV na bazie tej konfiguracji - https://lafibre.info/remplacer-livebox/ … -fibre-tv/ z pewnymi zmianami jakie tutaj opisano https://trzepak.pl/viewtopic.php?f=20&a … 25#p473007 ale niestety coś nie gra
root@OpenWrt:~# /etc/rc.prio_vlan.sh
+ ip link set eth0.35 type vlan egress 0:0
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.838 type vlan egress 0:4
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.839 type vlan egress 0:5
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.35 type vlan egress 1:1
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.838 type vlan egress 1:4
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.839 type vlan egress 1:5
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.35 type vlan egress 2:2
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.838 type vlan egress 2:4
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.839 type vlan egress 2:5
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.35 type vlan egress 3:3
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.838 type vlan egress 3:4
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.839 type vlan egress 3:5
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.35 type vlan egress 4:4
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.838 type vlan egress 4:4
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.839 type vlan egress 4:5
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.35 type vlan egress 5:5
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.838 type vlan egress 5:4
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.839 type vlan egress 5:5
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.35 type vlan egress 6:6
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.838 type vlan egress 6:4
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.839 type vlan egress 6:5
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.35 type vlan egress 7:7
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.838 type vlan egress 7:4
ip: either "dev" is duplicate, or "type" is garbage
+ ip link set eth0.839 type vlan egress 7:5
ip: either "dev" is duplicate, or "type" is garbageTak wygląda plik:
root@OpenWrt:~# cat /etc/rc.prio_vlan.sh
#!/bin/sh
set -x
for i in 0 1 2 3 4 5 6 7 ; do
ip link set eth0.35 type vlan egress $i:$i >/dev/null
ip link set eth0.838 type vlan egress $i:4 >/dev/null
ip link set eth0.839 type vlan egress $i:5 >/dev/null
doneVLAN`y są ustawione:
root@OpenWrt:~# swconfig dev switch0 vlan 839 show
VLAN 839:
vid: 0
ports: 3t 6t
root@OpenWrt:~# swconfig dev switch0 vlan 838 show
VLAN 838:
vid: 0
ports: 3t 6t@EDIT:
Udało mi się prawidłowo odpalić /etc/rc.prio_vlan.sh - potrzeba bylo zainstalować ip-full
Niestety przy odpaleniu kolejnego skryptu tj. /etc/rc.dhclient_tv.sh
root@OpenWrt:~# cat /etc/rc.dhclient_tv.sh
dhclient -v -sf /usr/sbin/dhclient-script br-TVDekoder nie może uzyskać IP.
root@OpenWrt:~# /etc/rc.dhclient_tv.sh
Internet Systems Consortium DHCP Client 4.3.6
Copyright 2004-2017 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
can't create /var/db/dhclient.leases: No such file or directory
Listening on LPF/br-TV/34:ce:00:6a:7b:dd
Sending on LPF/br-TV/34:ce:00:6a:7b:dd
Sending on Socket/fallback
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
rm: can't remove '/etc/resolv.conf.dhclient': No such file or directory
cat: can't open '/etc/resolv.conf.*': No such file or directorymkdir -p /var/db ?
Nic nie zmienia, tworzy jedynie pusty plik.
Nie rozumiem tylko czemu w przypadku logu osoby z Francji ma ona coś takiego:
root @ GL-MT300N: / etc # /etc/rc.dhclient_tv.sh
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF / br-tv / e4: 95: 6e: 40: 7a: 63
Sending on LPF / br-tv / e4: 95: 6e: 40: 7a: 63
Sending on Socket / fallback
[b]DHCPREQUEST[/b] on br-tv to 255.255.255.255 port 67
DHCPACK from 10.93.124.254
/ usr / sbin / dhclient-script: line 134: hostname: not found
/ usr / sbin / dhclient-script: line 134: hostname: not found
cat: can not open '/etc/resolv.conf.*': No such file or directory
bound to 10.93.124.135 - renewal in 43157 seconds.A u mnie jest to:
root@OpenWrt:/tmp/db# /etc/rc.dhclient_tv.sh
Internet Systems Consortium DHCP Client 4.3.6
Copyright 2004-2017 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/br-TV/34:ce:00:6a:7b:dd
Sending on LPF/br-TV/34:ce:00:6a:7b:dd
Sending on Socket/fallback
[b]DHCPDISCOVER[/b] on br-TV to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
rm: can't remove '/etc/resolv.conf.dhclient': No such file or directory
cat: can't open '/etc/resolv.conf.*': No such file or directoryDHCPREQUEST a DHCPDISCOVER, kwestia innej wersji klienta DHCP?
Po prostu nie dostałeś adresu.
No więc wygląda na to że ten router chyba nie potrafi zrobić tego co potrzebuje.
W przypadku ustawienia VLANów w ten sposób:
config switch_vlan
option device 'switch0'
option vlan '35'
option vid '35'
option ports '1t 6t'
config switch_vlan
option device 'switch0'
option vlan '838'
option vid '838'
option ports '6t'
config switch_vlan
option device 'switch0'
option vlan '839'
option vid '839'
option ports '6t'Internet działa, ale po wykonaniu komendy /etc/rc.dhclient_tv.sh aby dekoder dostał IP, nadal jest go brak.
Przy poniższym ustawieniu VLANów
config switch_vlan
option device 'switch0'
option vlan '35'
option vid '35'
option ports '1t 6t'
config switch_vlan
option device 'switch0'
option vlan '838'
option vid '838'
option ports '1t 6t'
config switch_vlan
option device 'switch0'
option vlan '839'
option vid '839'
option ports '1t 6t'Dekoder dostaje "niby" IP ale niestety wtedy nie działa w ogóle internet, ani na telewizorze nie widać aby dekoder połączył się z routerem.
Cezary, czy to oznacza że nie uda się tego uruchomić na tym konkretnym routerze?
@EDIT:
Wygląda na to że po wykonaniu:
root@OpenWrt:~# /etc/rc.dhclient_tv.sh
Internet Systems Consortium DHCP Client 4.3.6
Copyright 2004-2017 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
can't create /var/db/dhclient.leases: No such file or directory
Listening on LPF/br-TV/34:ce:00:6a:7b:dd
Sending on LPF/br-TV/34:ce:00:6a:7b:dd
Sending on Socket/fallback
DHCPDISCOVER on br-TV to 255.255.255.255 port 67 interval 7
DHCPREQUEST on br-TV to 255.255.255.255 port 67
DHCPOFFER from 10.243.0.2
DHCPACK from 10.243.0.2
/usr/sbin/dhclient-script: line 134: hostname: not found
/usr/sbin/dhclient-script: line 134: hostname: not found
can't create /var/db/dhclient.leases: No such file or directory
bound to 10.243.4.125 -- renewal in 34213 seconds.Internet "pada", ale jeśli raz jeszcze wybiorę "połącz" na interfejsie WAN to ponownie zaczyna działać.
Dziwne jest to że nawet po odpaleniu " /etc/rc.dhclient_tv.sh" i następnie "ifstatus TV" to nie widać aby jakiekolwiek dane w tym interfejsie się uzupełniały (jest pusto, tj. brak IP)
Więc może to problem z samą obsługą switcha. Nie wiem, nie mam dostępu do takiej usługi wiec nie sprawdzę.
Hmm czemu w takim razie ifconfig, pokazuje takie coś:
br-TV Link encap:Ethernet HWaddr 34:CE:00:6A:7B:DD
inet addr:10.243.4.125 Bcast:10.243.15.255 Mask:255.255.240.0
inet6 addr: fe80::36ce:ff:fe6a:7bdd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:440 errors:0 dropped:0 overruns:0 frame:0
TX packets:819 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25420 (24.8 KiB) TX bytes:64394 (62.8 KiB)Mam rozumieć że to jest raczej kwestia tylko konfiguracji, a nie samego "routera" jako tako?
To co pokazałeś to tylko interfejs. A chodzi o to że switch może nie przepuszczać tagowanych ramek lub trzeba coś zrobić że przepuszczał.
Da się to w jakiś sposób "przefiltrować" lub "zobaczyć" czy/gdzie się to blokuje?
Jedna z możliwości to snifowanie ruchu np. wiresharkiem. Jak wiesz jak leci transmisja to możesz wywnioskować czego brakuje i który element to powoduje.
Aha, czyli można go w takim razie sprzedawać.
Bo to już raczej nie na moje możliwości.
@EDIT:
Ja to widzę tak, że interfejs faktycznie jest stworzony....tylko teraz w jaki sposób on powinien się wpiąć na 2 port LAN gdzie jest wpięty kabel od dekodera.
Zakładając że wydobyłeś LAN2 jako osobny interfejs to dodaj go do bridge br-TV.
No właśnie tego do końca nie rozumiem, bo w którymkolwiek tutorialu bym nie czytał nie widziałem opcji aby miał coś "grupować" i nie do końca wiem jak mam LAN2 oddzielnie wydzielić.
Bo rozumiem że eth0.1 jest jako całość LAN`u?
Coś musi być namieszane ostro bo podłączając pod LAN konsolę PS4 w ogóle nie chce dostać adresu z DHCP, laptop po WLAN działa poprawnie.
Proooszę: http://eko.one.pl/?p=openwrt-vlan#wydzielenieportu
br-lan to lan. A on się składa z eth0.1 (zwykle) + wlan0 (zwykle).
No więc tak, udało się odpalić aktualnie samo TV (bez VOD etc) tym sposobem - https://trzepak.pl/viewtopic.php?f=20&a … 77#p432124
Teraz pytanko, czy jest możliwe aby przenieść się z połączenia po RJ45 na WLAN?
Teraz mam tak:
......
config switch_vlan
option device 'switch0'
option vlan '100'
option vid '100'
option ports '3 6t'
.......
config switch_vlan
option device 'switch0'
option vlan '838'
option vid '838'
option ports '1t 6t'
config switch_vlan
option device 'switch0'
option vlan '839'
option vid '839'
option ports '1t 6t'
config interface 'tv'
option type 'bridge'
option proto 'none'
option ifname 'eth0.100 eth0.838 eth0.839'Mogę utworzyć VLAN`a do WiFi?
Podając np. wlan0.839 automatycznie zrobi się vlan na wifi. Ale musisz go zrobić po tym jak uruchomi się wifi, bo wcześniej nie ma jeszcze interfejsu. Czy zadziała u ciebie - sprawdź.
Miałem na routerze TP-Link Archer C7 V4 EU identyczny problem z VLANem 35 co ty, dzięki waszym sugestiom go rozwiązałem.
Dziękuję!
Kurde na jakim speedteście bym nie puścił to max do 300 i więcej nie idzie.
u ciebie idzie max 300 bo masz umowę na 600.
Ja mam umowę na 300 i u mnie teraz idzie max 150 - 240 (właśnie sprawdzałem). Robisz speedtest w czasie gdzy TP daje ci należne ci pasmo. Czyli jedną trzecią tego za co płacisz, ale zwykle z 90% prędkości maksymalnej.
Opisane to jest tu https://nasz.orange.pl/t5/Internet-domo … td-p/15020
Przeczytałem w swojej umowie na 300/30 podpisanej w zeszłym tygodniu. GWARANTUJĄ mi minimalną prędkość 100/10.
Strony Poprzednia 1 2 3 4
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Brak 'rootfs_data' po instalacji OpenWRT z poziomu Breed`a.
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc