1 (edytowany przez Cezary 2015-07-22 19:43:53)

Temat: TD-W8970 - neostrada VDSL

Witam,

Jestem początkujący z OpenWRT dlatego proszę o wyrozumiałość. Kupiłem ruter jak w temacie z myślą, że będę go używał z OpenWRT. Podczas konfiguracji i instalicja posługiwałem się oczywiście stroną eko.one.pl smile Zainstalowałem oprogramowanie CHAOS CALMER (15.05-rc3, r46163) ze strony Openwrt. Dokonałem konfiguracji zgodnie z zaleceniami Cezarego:

config interface 'lan'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ifname 'eth0.1'
        option macaddr 'e8:de:27:74:00:fc'
        option ipaddr '10.10.10.254'
        
config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0 2 4 5 6t'

config atm-bridge 'atm'
        option vpi '1'
        option vci '32'
        option encaps 'llc'
        option payload 'bridged'
        
config interface 'wan'
        option ifname 'ptm0.35'
        option encaps 'vc'
        option proto 'pppoe'
        option password 'naxxxxxxxxx75'
        option delegate '0'
        option macaddr 'e8:de:27:74:00:fd'
        option username 'Xxxxxxxxxxxxa.pl'

config interface 'wan6'
        option ifname '@wan'
        option proto 'dhcpv6'

config vdsl 'dsl'
        option annex 'a'
        option firmware '/lib/firmware/vdsl.bin'
        option tone 'av'
        option xfer_mode 'ptm'

Jednak nie łaczy mi się z VDSL. Poniżej zrzut z logów systemowych. Czy powinno walić tyle błędów. Znalazłem w Internecie posty z przed roku związane z "Timeout waiting for PADO packets" - myślałem, że to zostało porawione w aktualnych wydaniach. Czy ktoś miał może podobny problem? Z góry dzięki za pomoc.
       

Fri Jul  3 23:45:52 2015 daemon.notice netifd: Interface 'wan' is now down
Fri Jul  3 23:45:52 2015 kern.info kernel: [ 5685.256000] device ptm0 left promiscuous mode
Fri Jul  3 23:45:52 2015 daemon.notice netifd: Interface 'wan' is disabled
Fri Jul  3 23:45:52 2015 kern.info kernel: [ 5685.272000] device ptm0 entered promiscuous mode
Fri Jul  3 23:45:52 2015 kern.err kernel: [ 5685.276000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:52 2015 daemon.notice netifd: Interface 'wan' is enabled
Fri Jul  3 23:45:52 2015 daemon.notice netifd: Interface 'wan' is setting up now
Fri Jul  3 23:45:52 2015 kern.err kernel: [ 5685.304000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:53 2015 kern.err kernel: [ 5685.460000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:53 2015 daemon.info pppd[13527]: Plugin rp-pppoe.so loaded.
Fri Jul  3 23:45:53 2015 daemon.info pppd[13527]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Fri Jul  3 23:45:53 2015 daemon.notice pppd[13527]: pppd 2.4.7 started by root, uid 0
Fri Jul  3 23:45:53 2015 kern.err kernel: [ 5685.576000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:53 2015 kern.err kernel: [ 5685.608000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:53 2015 kern.err kernel: [ 5685.868000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:53 2015 kern.err kernel: [ 5685.968000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:54 2015 kern.err kernel: [ 5686.460000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:54 2015 kern.err kernel: [ 5686.476000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:54 2015 kern.err kernel: [ 5686.836000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:54 2015 kern.err kernel: [ 5686.968000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:54 2015 kern.err kernel: [ 5686.984000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:54 2015 kern.err kernel: [ 5687.280000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:55 2015 kern.err kernel: [ 5687.828000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:55 2015 kern.err kernel: [ 5687.904000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:45:58 2015 kern.err kernel: [ 5690.596000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:46:03 2015 kern.err kernel: [ 5695.616000] /home/buildbot/slave-local/lantiq_xrx200/build/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/linux-lantiq_xrx200/ltq-ptm-vr9/ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime
Fri Jul  3 23:46:08 2015 daemon.warn pppd[13527]: Timeout waiting for PADO packets
Fri Jul  3 23:46:08 2015 daemon.err pppd[13527]: Unable to complete PPPoE Discovery

2

Odp: TD-W8970 - neostrada VDSL

Masz  w ogóle /lib/firmware/vdsl.bin?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: TD-W8970 - neostrada VDSL

Herrero napisał/a:

Witam,
Zainstalowałem oprogramowanie CHAOS CALMER (15.05-rc3, r46163) ze strony Openwrt.

To źle zrobiłeś...
Nie wdając się w niepotrzebne uzasadnianie powiem Ci, że dla tego modelu najlepsze obrazy na CHAOS CALMER ma Cezary - posiadają już plik z firmware xDSL (vdsl.bin)
Moja propozycja:
Zaciągnij najnowszą wersję: http://dl.eko.one.pl/luci/chaos_calmer/ … rade.image
Wrzuć do /tmp i zrób "sysupgrade" : http://eko.one.pl/?p=openwrt-tdw8970
Potem skonfiguruj vdsl (wywal z /etc/config/network całą sekcję ATM), a do poprawnego działania działania wystarczy Ci tyle:

config interface 'wan'
    option ifname 'ptm0.35'
    option proto 'pppoe'
    option username 'xxx@neostrada.pl'
    option password 'xxx'
    option ipv6 '0'

Pozdrawiam

4

Odp: TD-W8970 - neostrada VDSL

Udało się. Dziękuję Cezary za pomoc. Dograłem vdsl.bin (taki Firmware_Speedport_W921V_1.21.000) i po paru minutach ruszyło. Nie wiem dlaczego to trwało tak długo.

Sat Jul  4 02:05:02 2015 daemon.notice netifd: Interface 'wan' is enabled
Sat Jul  4 02:05:02 2015 daemon.notice netifd: Interface 'wan' is setting up now
Sat Jul  4 02:05:02 2015 daemon.info pppd[2131]: Plugin rp-pppoe.so loaded.
Sat Jul  4 02:05:02 2015 daemon.info pppd[2131]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Sat Jul  4 02:05:02 2015 daemon.notice pppd[2131]: pppd 2.4.7 started by root, uid 0
Sat Jul  4 02:05:02 2015 daemon.info pppd[2131]: PPP session is 8490
Sat Jul  4 02:05:02 2015 daemon.warn pppd[2131]: Connected to 28:8a:1c:a1:d8:00 via interface ptm0.35
Sat Jul  4 02:05:02 2015 kern.info kernel: [  441.208000] pppoe-wan: renamed from ppp0
Sat Jul  4 02:05:02 2015 daemon.info pppd[2131]: Using interface pppoe-wan
Sat Jul  4 02:05:02 2015 daemon.notice pppd[2131]: Connect: pppoe-wan <--> ptm0.35
Sat Jul  4 02:05:03 2015 daemon.info pppd[2131]: CHAP authentication succeeded
Sat Jul  4 02:05:03 2015 daemon.notice pppd[2131]: CHAP authentication succeeded
Sat Jul  4 02:05:03 2015 daemon.notice pppd[2131]: peer from calling number 28:8A:1C:A1:D8:00 authorized
Sat Jul  4 02:05:03 2015 daemon.notice pppd[2131]: local  IP address 217.99.154.20
Sat Jul  4 02:05:03 2015 daemon.notice pppd[2131]: remote IP address 83.1.4.234
Sat Jul  4 02:05:03 2015 daemon.notice pppd[2131]: primary   DNS address 194.204.152.34
Sat Jul  4 02:05:03 2015 daemon.notice pppd[2131]: secondary DNS address 194.204.159.1
Sat Jul  4 02:05:03 2015 daemon.notice netifd: Network device 'pppoe-wan' link is up
Sat Jul  4 02:05:03 2015 daemon.notice netifd: Interface 'wan6' is enabled
Sat Jul  4 02:05:03 2015 daemon.notice netifd: Network alias 'pppoe-wan' link is up
Sat Jul  4 02:05:03 2015 daemon.notice netifd: Interface 'wan6' has link connectivity 
Sat Jul  4 02:05:03 2015 daemon.notice netifd: Interface 'wan6' is setting up now
Sat Jul  4 02:05:03 2015 daemon.notice netifd: Interface 'wan' is now up

Mam jeszcze kilka pytań. Wywaliłem atm jak radził kolega Scotch - jeszcze nie zmieniłem reszty. Czy taka konfiguracja jest ok? Jak zmieniałem hasło do NEO na stronie to dostałem komunikat, że powinienem się logować @neostrada.pl/ipv6. Czy tak się logujecie?

config interface 'wan'
        option ifname 'ptm0.35'
        option encaps 'vc'
        option proto 'pppoe'
        option password '***'
        option delegate '0'
        option macaddr 'e8:de:27:74:00:fd'
        option username '***@neostrada.pl'

config interface 'wan6'
        option ifname '@wan'
        option proto 'dhcpv6'

config vdsl 'dsl'
        option annex 'a'
        option firmware '/lib/firmware/vdsl.bin'
        option tone 'av'
        option xfer_mode 'ptm'

@Scotch
Osobiście bardzo cenię pracę Cezarego i jego wkład w upowszechnianie openwrt. Wiele się nauczyłem z jego stron - na prawdę podziwiam. Nie zainstalowałem jego obrazu od razu, bo chciałem sam popróbować.

@Cezary
A teraz pytanie na koniec, czy Twoje obrazy Cezary bardzo się różnią w stosunku do czystego openwrt. Czy instalować Twój obraz, czy dokonfigurowywać to co mam?

5

Odp: TD-W8970 - neostrada VDSL

Więc po kolei:

Skoro działa Ci net, to taka konfiguracja jest OK!
Ja tylko podałem Ci propozycję ustawień, których sam używam (po wielu próbach) - zresztą tak proponuje wiki: http://wiki.openwrt.org/toh/zyxel/p2812hnu-fx- ten Zyxel ma też lantiq na pokładzie.

#config atm-bridge 'atm' <-----//comment out this section from here//
#       option vpi '0'
#       option vci '35'
#       option encaps 'llc'
#       option payload 'bridged' <-----//comment out this section to here//

config interface 'wan'
        option ifname 'ptm0.35'   <-----//use vpi/vci params here example 'ptm8.32'  means vpi=8 vci=32//
        option proto 'pppoe'
        option macaddr 'fc:f5:28:17:xx:xx' <-----//taken from U-boot env//
        option username 'user' <-----//username//
        option password 'password' <-----//password//

config vdsl 'dsl'
        option annex 'a'  <-----//change annex here//
        option firmware '/lib/firmware/vdsl.bin'
        option tone 'av' <-----//probably if annex B is chosen, needs to be changed to 'bv'//
        option xfer_mode 'ptm'

Jeżeli (zgodnie z sugestią Orange) dodasz do nazwy użytkownika /ipv6, to otrzymasz adresy w tym standardzie (szybko jednak wrócisz do ipv4) smile - na wszelki wypadek poczytaj sobie: http://wiki.openwrt.org/doc/uci/network6 oraz forum orange.
Co do obrazów, to sam przetestowłem "prawie" wszystkie dostępne od początku dla tego modelu - więc rozumiem.
Czym różnią sie obrazy Cezarego od tych na openwrt.org???: http://eko.one.pl/?p=openwrt-luci. Poza tym aktualizacje na openwrt.org pojawiają się znacznie żadziej (twoja wersja: 3.18.17(r46163), wersja Cezarego: 3.18.18(r46365))

6

Odp: TD-W8970 - neostrada VDSL

@Scotch odpowiedział w sumie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.