Integrazione con wiki internazionale modding Technicolor
Alcuni personaggi sparsi per mezzo mondo stanno collaborando alla realizzazione di una wiki sufficientemente precisa su tutto quanto ci sia di noto riguardo il modding di device simili a questo.
La wiki è disponibile a questo indirizzo: hack-technicolor.readthedocs.io (https://hack-technicolor.readthedocs.io)
NOTA: questa guida va letta tutta PRIMA di procedere
ln -s / rootlink
Per l'immagine eccola qua (http://www.mediafire.com/file/7w5o5qhcuoi7hh4/41GATE31.zip/file), detro c'e' il collegamento + in una cartella editabile (permessi lettura e scrittura) un file con le istruzione per il pulsante, volendo si potrebbe editare lo script invece del file button; per le dimensioni ho messo 100MB per chi avesse una chiavetta da 128MB, quindi dentro si puo mettere qualcosa di più come in un kit (gui, script vari…)
http://192.168.1.254/status.cgi?3g_pin=********&act=nvset&samba_enabled=1&samba_workgroup=WORKGROUP%5c%0a%09security%20%3d%20share%5c%0a%09guest%20account%20%3d%20root%5c%0a%09interfaces%20%3d%20lo%20br-lan%5c%0a%5c%0a%5bohnonotagain%5d&service=usb_status
:noob: | In realtà a questo punto potreste anche saltare alle info utili in fondo a questa guida e fermarvi. Esplorando i file avete già modo di cambiare tutte le configurazioni che volete, applicare delle mod o curiosare in giro. Avrete in pratica "sbloccato" il vostro FASTGate senza averne ottenuto un accesso permanente da utente root. Valutate attentamente se può convenirvi proseguire oltre, io vi suggerisco caldamente di farlo. |
config dropbear 'esempio'
option Interface 'lan'
option Port '22'
option IdleTimeout '600'
option PasswordAuth 'on'
option RootPasswordAuth 'on'
option RootLogin '1'
option enable '1'
config button 'wps'
...
option handler 'sed -i '\''s#/root:.*$#/root:/bin/ash#'\'' /etc/passwd && echo root:root | chpasswd && sed -i '\''s/#//'\'' /etc/inittab && (uci -q delete dropbear.afg || true) && uci add dropbear dropbear && uci rename [email protected][-1]=afg && uci set dropbear.afg.enable='\''1'\'' && uci set dropbear.afg.Interface='\''lan'\'' && uci set dropbear.afg.Port='\''22'\'' && uci set dropbear.afg.IdleTimeout='\''600'\'' && uci set dropbear.afg.PasswordAuth='\''on'\'' && uci set dropbear.afg.RootPasswordAuth='\''on'\'' && uci set dropbear.afg.RootLogin='\''1'\'' && uci commit dropbear && /etc/init.d/dropbear enable && /etc/init.d/dropbear restart && uci set button.wps.handler='\''wps_button_pressed.sh'\'' && uci commit && wget http://58.162.0.1/done || true'
Nota: nel comando qui sopra sono anche incluse le altre modifiche descritte e commentate nei precedenti paragrafi 4 e 5, quelli per rendere effettive le modifiche appena fatte e infine un callback che potete intercettare nel caso vogliate una conferma della avvenuta esecuzione del comando.
Il driver del bcm43664 sul dga4131 sembra non lamentarsi quando lo si setta in modalità STA con "wl -i wl1 ap 0", cosa che invece fanno il bcm6362 e il bcm4360 sul tg789vac v2.Codice: [Seleziona][email protected]:~# wl -i wl0 cap
ap led wme 802.11d 802.11h mbss4 ampdu ampdu_tx ampdu_rx amsdurx amsdutx wmf rxchain_pwrsave radio_pwrsave bcm_dcs wds dwds stbc-tx stbc-rx-1ss pspretend wnm bsstrans probresp_mac_filter
[email protected]:~# wl -i wl1 cap
ap sta wet wet_tunnel toe led wme 802.11d 802.11h rm cqa ccx cac mbss8 ampdu ampdu_tx ampdu_rx amsdurx amsdutx rxchain_pwrsave radio_pwrsave bcm_dcs proptxstatus psta psr wds dwds traffic-mgmt traffic-mgmt-dwm p2po anqpo vht-prop-rates multi-user-beamformer single-user-beamformer multi-user-beamformee single-user-beamformee 160 dfrts txpwrcache stbc-tx stbc-rx-1ss pspretend probresp_mac_filter mfp wnm bsstrans bgdfs dyn160
uci set network.wan.dns='1.1.1.1,8.8.8.8'
I DNS credo vadano aggiunti come lista, ad esempio:Grazie matteone2, così funziona, lo imposta come DNS primario e resta anche al riavvio. Provato con dnsleak. Invece per Wolf noi non ho trovato soluzioni.
uci add_list network.wan.dns='1.1.1.1'
Qualcuno riesce a postare l'osik di questo router?Non so cos'è OSIK, qui di seguito la pagina delle impostazioni wifi, ma non vedo modo di impostare quale banda assegnare ad un specifico device questa la pagina wifi:
[email protected]:~# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd60:66db:0317::/48'
network.globals.default_ps='0'
network.lan=interface
network.lan.ifname='eth0 eth1 eth2 eth3'
network.lan.type='bridge'
network.lan.proto='static'
network.lan.netmask='255.255.255.0'
network.lan.ipaddr='192.168.1.254'
network.lan.ip6assign='64'
network.lan.force_link='0'
network.lan.ip6class='6rd'
network.lan.ipv6='1'
network.lan.ip6hint='0'
network.lan.ip6weight='1'
network.lan.stp='1'
network.lan.pppoerelay=''
network.Guest=interface
network.Guest.proto='static'
network.Guest.netmask='255.255.255.0'
network.Guest.ipaddr='192.168.78.1'
network.Guest.ifname='wl0_2'
network.Guest.ip6assign='64'
network.Guest.ip6class='6rd'
network.Guest.ipv6='1'
network.Guest.ip6hint='1'
network.Guest.ip6weight='0'
network.Guest.force_link='0'
network.Guest.pppoerelay=''
network.bcmsw=switch
network.bcmsw.reset='1'
network.bcmsw.enable_vlan='0'
network.bcmsw.qosimppauseenable='0'
network.bcmsw.jumbo='0'
network.sfp=interface
network.sfp.proto='static'
network.sfp.ifname='eth4'
network.sfp.ipaddr='169.0.0.2'
network.sfp.netmask='255.255.255.0'
network.wan=interface
network.wan.proto='dhcp'
network.wan.reqopts='1 3 6 15 33 42 43 51 121 249 212'
network.wan.vendorid='Technicolor_DGA4131FWB/dslforum.org'
network.wan.authfail='0'
network.wan.iface6rd='6rd'
network.wan.zone6rd='wan'
network.wan.mtu='1500'
network.wan.initboot='1'
network.wan.ipv6='0'
network.wan.notused='10:13:31:B8:2E:11'
network.wan.ifname='ptm0'
network.wan.auto='1'
network.mgmt=interface
network.mgmt.vendorid='Technicolor_DGA4131FWB/dslforum.org'
network.vlan_ptm0=device
network.vlan_ptm0.type='8021q'
network.vlan_ptm0.ifname='ptm0'
network.vlan_ptm0.mtu='1500'
network.vlan_ptm0.name='vlan_ptm0'
network.vlan_ptm0.vid='100'
network.wantag=interface
network.wantag.proto='dhcp'
network.wantag.reqopts='1 3 6 15 33 42 51 121 249 212'
network.wantag.vendorid='Technicolor_DGA4131FWB/dslforum.org'
network.wantag.authfail='0'
network.wantag.iface6rd='6rd'
network.wantag.zone6rd='wan'
network.wantag.mtu='1500'
network.wantag.initboot='1'
network.wantag.ipv6='0'
network.wantag.ifname='@vlan_wan'
network.wantag.auto='0'
network.wwan=interface
network.wwan.proto='mobiled'
network.wwan.session_id='0'
network.wwan.profile='1'
network.wwan.auto='0'
network.wwan.enabled='0'
network.vlan_wan=interface
network.vlan_wan.ifname='vlan_ptm0'
network.if0atm=device
network.if0atm.enable='1'
network.if0atm.name='atm0'
network.if0atm.macaddr='10:13:31:B8:2E:10'
network.if1atm=device
network.if1atm.enable='1'
network.if1atm.name='atm1'
network.if1atm.macaddr='10:13:31:B8:2E:11'
network.config=config
network.hotspot=interface
network.hotspot.type='bridge'
network.hotspot.proto='static'
network.gre=interface
network.gre.peeraddr='10.254.3.85'
network.gre.mtu='1400'
network.gre.df='1'
network.gre.zone='wan'
network.gre.tunlink='wan'
network.gre.ttl='100'
network.gre.proto='gretap'
network.gre.network='hotspot'
la eth4 credo sia a livello logico la porta SFPconfig helper 'help_irc'
option family 'ipv4'
option proto 'tcp'
option helper 'irc'
option dest_port '6667'
config helper 'help_pptp'
option helper 'pptp'
option family 'ipv4'
option dest_port '1723'
option proto 'tcp'
:clap: :clap: :clap: Grazie LuKePicciPerò hombre non devi nascondere le info vitali della schermata root scusa è.
Ma grazie mille è fantastico ci sono riuscito sono entrato!
config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr 'xy:xy:Bxy:xy:xy:F0'
config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr 'Xy:91:X1:su:su:F1'
config interface 'wan'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused 'xy:wy:xy:xy:F1'
option auto '1'
option ifname 'ptm0'
e anche in fastweb config garp 'garp'
option mgmt '127.0.0.1/8'
option wanmac 'xy:xy:xy:xy:f0'
ma al riavvio nell'interfaccia rimane lo stesso mac
config button 'wps'
option button 'BTN_2'
option action 'pressed'
option handler 'wps_button_pressed.sh'
ho abilitato anche la wireless e in questo modo se clicco sul + lampeggia in verde e provo a fare il login ma root root sempre access deniedconfig dropbear
option enable '0'
option Interface 'wan'
option PasswordAuth 'on'
option RootPasswordAuth 'off'
option RootLogin '0'
option AllowedClientIPs '59.0.121.0/24 1.253.131.0/24 10.0.120.0/23 10.1.120.0/24 10.3.120.0/24 10.5.120.0/24 10.0.248.0/24 10.1.248.0/24 10.3.248.0/24 30.253.131.0/24 10.252.120.0/24 26.0.123.0/24 26.0.125.0/24'
option Port '22'
option IdleTimeout '600'
config dropbear 'lan'
option Interface 'lan'
option Port '22'
option IdleTimeout '600'
option enable '1'
option RootPasswordAuth 'on'
option RootLogin '1'
option PasswordAuth 'on'
C:\Users\Ryzen7>ssh [email protected]
The authenticity of host '192.168.1.254 (192.168.1.254)' can't be established.
RSA key fingerprint is SHA256:hzH6M.....................................................................
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.254' (RSA) to the list of known hosts.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Using username "root".
Server refused our key
[email protected]'s password:[\code]
----
| . |(SUPPONGO VCC MA NON SO SE ALIMENTATA A 5,5 O 3,3)
| . |GND
| . |RX
| . |TX
----
https://ibb.co/SKVqnRXOpenWrt login: root
Password:
login: can't execPlease press Enter to activate this console.
root:x:0:0:root:/root:/bin/ash
daemon:*:1:1:daemon:/var:/bin/false
ftp:*:55:55:ftp:/home/ftp:/bin/false
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
dnsmasq:x:453:453:dnsmasq:/var/run/dnsmasq:/bin/false
mosquitto:x:200:200:mosquitto:/var/run/mosquitto:/bin/false
lanadmin:x:550:550:lanadmin:/home/lanadmin:/usr/bin/restricted-clash
mvfs:*:499:1::/:/bin/sh
L'unica parte che dovresti aver modificato è quella nella prima riga.ssh-rsa AAA…......…lunga chiave pubblica su una sola riga…….. nomeutente1
ssh-rsa AAA...……….lunga chiave ubblica su una riga………. nomeutente2
C:\Users\pc>ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (C:\Users\pc/.ssh/id_rsa):
C:\Users\pc/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\pc/.ssh/id_rsa.
Your public key has been saved in C:\Users\pc/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:3Oz6a/aXJsYwKlKUPIO+0gUpN+5yMHNLTzgfK4maUgg [email protected]
The key's randomart image is:
+---[RSA 2048]----+
| |
| |
| + . |
|E . * *. o |
|.. = = oS o |
|. = B = .o |
| . X @ o ..+ . |
|..+ X = ..o + + |
|+. + o ..+o+.+ |
+----[SHA256]-----+
C:\Users\pc>
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDpUpsex9XIx8gb1mG/C8mtX7pmfxZTegabZPXBTWgrx07/1LAEacFnMA0csjeCf5ZK72pv/UKLQw5K5yJJA7jVf7qsg6e2Xz25cRZ7zNWH1k+qA4jqzA2Q8UtmKFOGuIprHHW/Gc8ST+ddjbgYWqXRzCAOX1h10jPND7vUoamEYVwmXs9zJVB71cSVVkjta27/l4PbH5pYQP76a4yR/Wgge8Xz8E04cSYMw21/pNQPmoaUX7lWWnBoLPMVjK8p/X7VkOH3NrmdcQDPZS4/DWrqCtDxJyax6zm1YEX4850AdLCbU7Hqw5U//JjAGN2fbgrCyMpIajHutW5zWm4drfMl [email protected]
C:\Users\pc>ssh [email protected]
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
root:x:0:0:root:/root:/bin/ash
daemon:*:1:1:daemon:/var:/bin/false
ftp:*:55:55:ftp:/home/ftp:/bin/false
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
dnsmasq:x:453:453:dnsmasq:/var/run/dnsmasq:/bin/false
mosquitto:x:200:200:mosquitto:/var/run/mosquitto:/bin/false
lanadmin:x:550:550:lanadmin:/home/lanadmin:/usr/bin/restricted-clash
mvfs:*:499:1::/:/bin/sh
shadows
root:$5liEJpfo7NYE:17880:0:99999:7:::
daemon:*:0:0:99999:7:::
ftp:*:0:0:99999:7:::
network:*:0:0:99999:7:::
nobody:*:0:0:99999:7:::
dnsmasq:x:0:0:99999:7:::
mosquitto:x:0:0:99999:7:::
lanadmin:$6$51a5GGUvDNZcJXSR$afWz7t.ErQVKxmkRgstvMLwCKy.v9.kwjqWb6FEOIDrtf8Fwh.0ColEUU2jhyKiJyAM.cnxvuXOU1P/50ade20:17880:0:99999:7:::
ptm0 Link encap:Ethernet HWaddr A4:xx:xx:xx:xx:F0 (non modificato e non risulta in network)
inet6 addr: fe80::a691:b1ff:febd:6ff0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5768 (5.6 KiB) TX bytes:528 (528.0 B)
vlan_ptm0 Link encap:Ethernet HWaddr E8:xx:xx:xx:xx:B3 (modificato)
inet6 addr: fe80::ead1:1bff:fefd:5fb3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4688 (4.5 KiB) TX bytes:258 (258.0 B)
rtfd --all o mtd erase rootfs_data (sono uguali)
e rebootare il dispositivo
E tutte le modifiche fatte nelle varie cartelle (/etc... /var...) come anche i file aggiunti e i vari script che ho messo sopra in /home, spariscono e il modem ritorna alle origini. come uscito di fabbrica, giusto??? o i file aggiunti a mano devo rimuoverli manualmente? (non intendo le modifiche solamente)config rule 'telnetlan'
option name 'Refuse_TELNET_LAN'
option src 'lan'
option proto 'tcp'
option dest_port '23'
option target 'REJECT'
option enabled '1'
config rule 'telnetwan'
option name 'Refuse_TELNET_WAN'
option src 'wan'
option proto 'tcp'
option dest_port '23'
option target 'REJECT'
option enabled '1'
[email protected]:~# rtfd --all
Stopping /etc/rc.d/S99wifi-doctor-agent ...
Stopping /etc/rc.d/S99wfa-testsuite-daemon ...
killall: wfa-testsuite-daemon: no process killed
Stopping /etc/rc.d/S99thermalProtection ...
Stopping /etc/rc.d/S99sudo ...
Stopping /etc/rc.d/S99speedtest ...
Stopping /etc/rc.d/S99sfpmon ...
telnet: can't connect to remote host (169.0.0.1): No route to host
Stopping /etc/rc.d/S99redirecthelper ...
Stopping /etc/rc.d/S99pinholehelper ...
Stopping /etc/rc.d/S99ngwfdd ...
Stopping /etc/rc.d/S99mountd ...
Stopping /etc/rc.d/S99mmpbxd ...
stopped process in pidfile '/var/run/led-fw-interface.lua.pid' (pid 10319)
Stopping /etc/rc.d/S98sysntpd ...
Stopping /etc/rc.d/S98mmpbxbrcmdect ...
Stopping /etc/rc.d/S98dlnad ...
Stopping /etc/rc.d/S97mud ...
Stopping /etc/rc.d/S96tod ...
stopped process in pidfile '/var/run/time_change_monitor.lua.pid' (pid 11488)
stopped process in pidfile '/var/run/tod.lua.pid' (pid 11491)
Stopping /etc/rc.d/S96mvfs ...
Stopping /etc/rc.d/S96led ...
Stopping /etc/rc.d/S95miniupnpd-tch ...
Stopping /etc/rc.d/S95fseventd ...
Stopping /etc/rc.d/S95done ...
Stopping /etc/rc.d/S95ddns ...
Stopping /etc/rc.d/S94rootdevice ...
Stopping /etc/rc.d/S90lte-doctor-logger ...
Stopping /etc/rc.d/S85ra ...
Stopping /etc/rc.d/S80nginx ...
Stopping /etc/rc.d/S79sscert ...
Stopping /etc/rc.d/S70wol ...
RTNETLINK answers: No such process
RTNETLINK answers: No such file or directory
Stopping /etc/rc.d/S70mldproxy ...
Stopping /etc/rc.d/S70iqos ...
Stopping /etc/rc.d/S70igmpproxy ...
Stopping /etc/rc.d/S70cwmpd ...
Stopping /etc/rc.d/S65qos ...
Stopping /etc/rc.d/S65mobiled ...
Stopping /etc/rc.d/S65kernelpanic ...
Stopping /etc/rc.d/S61samba-nmbd ...
Stopping /etc/rc.d/S60samba ...
Stopping /etc/rc.d/S60pppoe-relay-tch ...
Stopping /etc/rc.d/S60neighm ...
Stopping /etc/rc.d/S60mcsnooper ...
Stopping /etc/rc.d/S50xinetd ...
Stopping /etc/rc.d/S50transformer ...
Stopping /etc/rc.d/S50telnet ...
Stopping /etc/rc.d/S50pppoe-relay ...
Stopping /etc/rc.d/S50intercept ...
Stopping /etc/rc.d/S50ethoam ...
Failed to open device /dev/tms
Node 0: tmsOPEN API call failed
Failed to open device /dev/tms
Node 0: tmsOPEN API call failed
Failed to open device /dev/tms
Node 0: tmsOPEN API call failed
Failed to open device /dev/tms
Node 0: tmsOPEN API call failed
Failed to open device /dev/tms
Node 0: tmsOPEN API call failed
Don't stop /etc/rc.d/S50dropbear
Stopping /etc/rc.d/S50dhcpopassthrud ...
Stopping /etc/rc.d/S50cupsd ...
Stopping /etc/rc.d/S50cron ...
Stopping /etc/rc.d/S35odhcpd ...
Stopping /etc/rc.d/S30wansensing ...
Stopping /etc/rc.d/S25portmirror ...
Stopping /etc/rc.d/S21softswitch ...
Stopping /etc/rc.d/S21mwan ...
iptables v1.4.21: Couldn't load target `mwan_pre':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.21: Couldn't load target `mwan_post':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.21: Couldn't load target `mwan_output':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.21: Couldn't load target `mwan_post':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
Stopping /etc/rc.d/S21conntrackd ...
Stopping /etc/rc.d/S20usbmode ...
Stopping /etc/rc.d/S20power ...
Don't stop /etc/rc.d/S20network
Stopping /etc/rc.d/S20faultmgmt ...
start-stop-daemon: warning: killing process 3540: No such process
Stopping /etc/rc.d/S20ethernet ...
Stopping /etc/rc.d/S20bulkdata ...
Stopping /etc/rc.d/S19xdsl ...
/etc/rc.common: eval: line 1: xdslctl1: not found
Stopping /etc/rc.d/S19pre-mwan ...
Stopping /etc/rc.d/S19hostapd ...
Stopping hostapd
Stopping /etc/rc.d/S19firewall ...
Warning: Option 'lan'.wan is unknown
Warning: Option 'mgmt'.wan is unknown
Warning: Section 'mgmt' cannot resolve device of network 'mgmt'
Warning: Option 'wan'.wan is unknown
Warning: Section 'wan' cannot resolve device of network 'wan'
Warning: Section 'wan' cannot resolve device of network '6rd'
Warning: Option 'wwan'.wan is unknown
Warning: Section 'wwan' cannot resolve device of network 'wwan'
Warning: Option 'Guest'.wan is unknown
Warning: Option 'hotspot'.wan is unknown
Warning: Section 'hotspot' cannot resolve device of network 'hotspot'
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
Warning: Section 'wanapi' has no target specified, defaulting to DNAT
Warning: Section 'SNAT_PING' has no src_dip option specified
Warning: Section @zone[1] (mgmt) has no device, network, subnet or extra options
Warning: Section @zone[3] (wwan) has no device, network, subnet or extra options
Warning: Section @zone[5] (hotspot) has no device, network, subnet or extra options
* Flushing IPv4 filter table
* Flushing IPv4 nat table
* Flushing IPv4 mangle table
* Flushing IPv4 raw table
* Flushing IPv6 filter table
* Flushing IPv6 mangle table
* Flushing IPv6 raw table
* Flushing conntrack table ...
Stopping /etc/rc.d/S19dnsmasq ...
Stopping /etc/rc.d/S19brcm_kthrd_prios ...
Stopping /etc/rc.d/S18xtm ...
Stopping /etc/rc.d/S18ipset ...
Stopping /etc/rc.d/S18hostmanager ...
Stopping /etc/rc.d/S17bcmubusbridge ...
start-stop-daemon: warning: killing process 2194: No such process
Stopping /etc/rc.d/S15swmdk ...
Stopping /etc/rc.d/S12syslog_fwd ...
Stopping /etc/rc.d/S12sysctl-tch ...
Stopping /etc/rc.d/S12log ...
Stopping /etc/rc.d/S12ledfw ...
Stopping /etc/rc.d/S11warmboot ...
Stopping /etc/rc.d/S11sysctl ...
Stopping /etc/rc.d/S11sensors ...
Stopping /etc/rc.d/S11restore ...
Stopping /etc/rc.d/S11prozone ...
Stopping /etc/rc.d/S11platform-gpl ...
Stopping /etc/rc.d/S11ltemodule ...
Stopping /etc/rc.d/S10watchdog-tch ...
Command failed: Not found
Stopping /etc/rc.d/S10system ...
Stopping /etc/rc.d/S10phypower ...
Stopping /etc/rc.d/S10cgevent ...
Don't stop /etc/rc.d/S10boot
Stopping /etc/rc.d/S10bcm_modules ...
Stopping /etc/rc.d/S10bcm-device-nodes ...
Stopping /etc/rc.d/S06cgred ...
Stopping /etc/rc.d/S05cgconfig ...
Stopping /etc/rc.d/S00sysfixtime ...
Processes stopped !
find: /proc/14760: No such file or directory
killing askfirst...
killing ubusd...
killing netifd...
killing dnsmasq...
killing dnsmasq...
killall: dnsmasq: no process killed
Still some processes alive, hard kill them (14870 14867)
Per qualche assurdo motivo, anche questo comando non resettava completamente allo stato di fabbrica il router. Alcuni file e cartelle che avevo messo in giro rimanevano. Come anche le varie configurazioni di dropbear e samba. Infatti anche dopo questo comando, aver levato la spina e riattacata, riuscivo a pingare ancora la porta per l'SSH, cosa che nei router usciti allo stato di fabbrica non dovrebbe. Quindi subito penso che che effettivamente quel comando era "QUASI" simile a quello che lanciava la GUI di Ansuel e non aveva fatto alcunchè. Ma la cosa ancora più assurda, avevo il modem rosso lampeggiante e nonostante tutto riuscivo a collegarmi alla rete. Mentre andando nella pagina del FastGate ricevevo un Internal Server Error. Infatti non potevo riaprire samba tramite l'url e non potevo collegarmi al fastgate poichè l'url mi dava forbidden... quindi ero decisamente nel panico. Pensavo di averlo brickato. Senza poter entrare nella SHELL e provare l'ultimo comando suggeritomi. Quindi per scopo puramente scientifico, provo a fare anche il reset di fabbrica dal bottoncino da dietro. Riesco ad accedere alla pagina del FastGate (eureka!!!), ma il led rimaneva ancora rosso lampeggiante e nonostante tutto potevo navigare in rete. Nella pagina del fastgate mi dava tutti i parametri di connessione, ma alla voce "Modem>>Stato linea" veniva il led rosso come anche appariva visivamente. Quindi ero già a livelli di tensione ALTISSIMA perchè sapevo che mi rimaneva l'ultimo comando e sapevo inoltre che se non fossi riuscito a ripristinare il tutto, l'unica soluzione era il reflash.[email protected]:~# mtd erase rootfs_data
Unlocking rootfs_data ...
Erasing rootfs_data ...
[email protected]:~# reboot
A differenza degli ultimi due comandi, quest'ultimo ha fatto il suo lavoro (tra l'altro se i due comandi erano uguali, questa roba l'avrei dovuta avere anche nel responso precendente, invece no). Ha ripristinato tutto il modem allo stato di fabbrica. Tutte le cartelle e i file messi in giro erano spariti. Ho dovuto riabilitare samba tramite l'url e riconfigurare dropbear per riaccettare le connessioni via SSH. Quindi sembrava tutto promettente. Mi rimanevano solo i led da vedere. Dopo aver riaspettato per la terza volta, ulteriori 5 minuti, solo che questa volta ho aspettato ben 2 minuti, perchè i led son tornati tutti ON e bianchi. FIUuuuuuuuuuuuuuu! xDho anche bank_2 ma è sostanzialmente vuota, nel senso che contiene delle cartelle si, ma vuote anch'esseGiuro che non lancerò più alcun comando di reset o erase prima che qualcuno mi spieghi come ripristinare sto banco mancante (con assoluta certezza testata, non sarò più il tester xD, i've done my part xD). Visionerò l'interno dei file tramite chiavetta senza più intervenire... come DIO sul creato xD
Bella raga, un grazie ad entrambi per aver provato e testimoniato il tutto. Sono info utilissime :clap:Felice di essere stata la cavia per questo test. Anche se al mio router ora gli manca un "baco" XD... quindi a meno che non ci siano soluzioni su come ripristinare questo fatto qua... lascierò tutto così com è fino a quando cambio provider. Poi quando lo restituirò farò la faccia da p*rla mentre glielo restituisco xD
uci add_list network.wan.dns='1.1.1.1'
uci commit network
/etc/init.d/network reload
e in effeti testando su dns leak risultano in uso.Mon May 27 17:32:52 2019 daemon.notice wansensing: WAN Sensing L3 Checking
Mon May 27 17:32:52 2019 daemon.notice wansensing: The L3 Checking : sensing on l2type=VDSL,event=timeout
daemon.info transformer[3691]: async run: /usr/share/transformer/scripts/user_reload.sh
daemon.info transformer[3691]: async run: /usr/bin/speedlog test
cron.info crond[2346]: USER root pid 14747 cmd /usr/bin/thermalProtection
cron.info crond[2346]: USER root pid 14748 cmd /usr/bin/bulkdata transfer profile_2 profile_1
cron.info crond[2346]: USER root pid 16882 cmd /usr/bin/thermalProtection
user.info cmproxy[5851]: Request method: GET
user.info cmproxy[5851]: Request uri: /perftest/check/check/?reportURL=https://10.0.120.127/&retries=3
user.info cmproxy[5851]: Script name: /perftest
user.info cmproxy[5851]: Query string: reportURL=https://10.0.120.127/&retries=3
user.info cmproxy[5851]: Content length: 0
user.info cmproxy[5851]: Authorize: ZmFzdGdhdGU6RkBzdHczYk1J
...
chissà cosa sono questi nel crontab...
15 23 * * * /usr/bin/bulkdata transfer profile_2 profile_1
0 0 * * * /usr/bin/bulkdata transfer profile_4 profile_3
Inizia a seguire la guida in prima pagina.
config interface 'wan'
...
option proto 'pppoe'
option username 'utentepppoe'
option password 'passwordpppoe'
option authfail '0'
option auto '1'
option ifname '@vlan_wan'
config wifi-iface 'wl0_3'
option device 'radio_2G'
option state '1'
option network 'hotspot'
option ssid 'WOW FI - FASTWEB'
option mode 'ap'
env.custovar.wan_if='wan' <- qui deve esserci l'interfaccia su cui ha aggiunto le credenziali pppoe
env.custovar.wan_tag='0' < - questa suppongo debba essere ad 1 se hai configurato tutto usando quella che nelle config di default si chiama wan_tag
ethernet.globals.eth4lanwanmode='0' <-- questo deve essere 0 se e solo se la connessione ad internet avviene attraverso la quarta porta ethernet
wansensing.global.enable='0' <-- questo deve essere a 0 almeno che tu non lo stia usando su fastweb
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fddd:2913:eabf::/48'
option default_ps '0'
config interface 'lan'
option ifname 'eth0 eth1 eth2 eth3'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
option ipaddr '192.168.1.1'
config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''
config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'
config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'
config interface 'wan'
option proto 'pppoe'
option username 'utentepppoe'
option password 'passwordpppoe'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused 'A4:91:B1:B5:6F:D7'
option ifname '@vlan_wan'
option auto '1'
config interface 'mgmt'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
config device 'vlan_eth4'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_eth4'
option vid '835'
config interface 'wantag'
option proto 'pppoe'
option username 'utentepppoe'
option password 'passwordpppoe'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option auto '1'
config interface 'wwan'
option auto '1'
option proto 'mobiled'
option session_id '0'
option profile '1'
config interface 'vlan_wan'
option ifname 'vlan_eth4'
config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr 'A4:91:B1:B5:6F:D6'
config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr 'A4:91:B1:B5:6F:D7'
config config 'config'
config device 'vlan_eth4'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_eth4'
option vid '835'
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd56:d2bc:a9cf::/48'
option default_ps '0'
config interface 'lan'
option ifname 'eth0 eth1 eth2 eth3'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''
config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'
config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'
config interface 'wan'
option proto 'pppoe'
option username 'utentepppoe'
option password 'passwordpppoe'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused 'A4:91:B1:B5:6F:D7'
option ifname '@vlan_wan'
option auto '1'
config interface 'mgmt'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '835'
config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '1'
config interface 'wwan'
option auto '1'
option proto 'mobiled'
option session_id '0'
option profile '1'
config interface 'vlan_wan'
option ifname 'vlan_ptm0'
config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr 'A4:91:B1:B5:6F:D6'
config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr 'A4:91:B1:B5:6F:D7'
config config 'config'
Puoi dare i soliti comandi reload stop start e restart, usa quello più opportuno.
env.custovar.wan_if='wantag'
env.custovar.wan_tag='1'
Poi torna in /etc/config/network e SPOSTA - non copia - option ifname '@vlan_wan' dalla sezione wan a quella wantag - dove come vedi manca.
Certamente. tutti i comandi si danno da shell a riga di comando.
Usage:
dynamic_dns_updater.sh [options] -- command
Commands:
start Start SECTION or NETWORK or all
stop Stop NETWORK or all
Parameters:
-n NETWORK Start/Stop sections in background monitoring NETWORK, force VERBOSE=0
-S SECTION SECTION to start
use either -N NETWORK or -S SECTION
-h show this help and exit
-V show version and exit
-v LEVEL VERBOSE=LEVEL (default 1)
'0' NO output to console
'1' output to console
'2' output to console AND logfile
+ run once WITHOUT retry on error
'3' output to console AND logfile
+ run once WITHOUT retry on error
+ NOT sending update to DDNS service
uci set ledfw.broadband.provisioning_status=completed
uci commit
-- The default case is NDIS dongles. Here we handle the PPP dongles
if device.pid == "1001" -- E3351
or device.pid == "1c05" -- E173
or device.pid == "1436" then -- E1800
device.sessions[1] = { proto = "ppp" }
runtime.log:warning("DEBUG (libat) - setting proto = ppp")
end
config button 'wifi'
option button 'BTN_1'
option action 'pressed'
option handler 'wifionoff.sh && button_wifi_pressed.sh &'
Con router originale intendo)Come avevo detto intendevo con router originale, senza alcuna modifica. Infatti avevo già provveduto a fare la modifica nel mio con 'wifionoff.sh', interessante lasciare anche '&& button_wifi_pressed.sh' così posso capire se ha recepito il comando, grazie!
...
Riprova a seguire al guida, quando arrivi al punto in cui devi modificare il file /etc/config/button, nell'azione del tasto wps, metti soltanto "mtd erase rootfs_data".
config tod 'global'
option enabled '1'
option tod_enabled '1'
option tracelevel '4'
option time_change_monfreq '10'
Salve, mi interessava cambiare i dns, ma nonostante il cambio in /etc/config/network tramite comando uci, da dns leak vedo sempre i dns fastweb.
Inoltre vorrei capire come disabilitare wow fi, gestione remota da parte di fastweb, impostare dyndns e come fare backup della configurazione.
Grazie per la pazienza
Credo che il primo post in cui viene spiegata la procedura sia molto chiaro e semplice. Se ci dici cos'hai fatto riusciamo a intervenire, per esempio, in che modo hai scritto i contenuti sulla usb? La pagina web che devi aprire dopo aver fatto il login e inserito la chiavetta cosa dice?Allora, non usando tutti i giorni linux ho virtualizzato da notebook Mint 19 cinnamon, ho fatto da terminale root -i per avere i diritti, poi ln -s / .....
Lo colleghi al router e spegni il dhcp. Nient'altro. Non mi ricordo se il dhcp si può spegnere direttamente dalla webui originale, altrimenti lo sblocchi e disattivi dnsmasq.Si, è disattivabile da GUI originale, tant'è che l'ho usato come access point proprio così
@FrancYescO mi sa che ti bastava tenerlo un po' fuori al balcone faceva lo stesso effetto.conta che avevo fatto la stessa cosa con un'asciugacapelli ma non avevo avuto riscontri, voleva proprio essere cotto...
config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
list pppoerelay ''
list ifname 'eth0'
list ifname 'eth1'
list ifname 'eth2'
list ifname 'eth3'
config interface 'wan'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option auto '0'
option notused 'XXXXXXXX'
option proto 'bridge'
list ifname 'eth4'
list ifname 'ptm0'
config port 'eth4'
option enable '1'
option speed 'auto'
option duplex 'full'
option wan '1'
option td 'shapingconf'
config interface 'wan'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused 'XXXXXXXXXXX
option proto 'bridge'
option type 'bridge'
option ifname 'ptm0 eth4'
option auto '1'
bridge name bridge id STP enabled interfaces
br-lan id1 yes eth0
eth1
eth2
eth3
wl0
wl0_1
wl0_3
wl1
wl1_1
wl1_2
wl1_3
br-wan id2 no ptm0
eth4
config port 'eth4'
option enable '1'
option speed 'auto'
option duplex 'full'
option wan '1' // <--- QUESTA
option td 'shapingconf'
Questi soc broadcom hanno un datapath di routing ottimizzato e accelerato in hardware, "Runner", che ha bisogno di sapere qual è la direzione di routing da ottimizzare. Non so bene quali sono le possibili configurazioni ma credo che il motivo del non funzionamento del bridge con ptm0 sia da ricercare in queste ultime.
___________
| |
ISP-----------ptm0 eth3/4--------wan-router-ethernet
|___________|
config mountd mountd
option timeout 600
option path /mnt/usb/
config filesystem ext2
option options 'errors=continue'
option fstype 'ext2'
config filesystem ext3
option options 'errors=continue'
option fstype 'ext3'
config filesystem ext4
option options 'errors=continue'
option fstype 'ext4'
config filesystem fat
option options 'umask=0000,noatime,errors=continue,iocharset=utf8'
option fstype 'vfat'
config filesystem hfsplus
option options 'noatime,uid=000,gid=000,umask=000,force,iocharset=utf8'
option fstype 'ufsd'
config filesystem hfsplusjournal
option options 'noatime,uid=000,gid=000,umask=000,force,iocharset=utf8'
option fstype 'ufsd'
config filesystem ntfs
option options 'noatime,sparse,nocase,nobuf,uid=000,gid=000,umask=000,force,iocharset=utf8'
option fstype 'ufsd'
@Rizlas quando aggiungi un server dns non stai né disabilitando quelli ottenuti in automatico (quelli fastweb) né imponendo che le query vengano indirizzate prioritariamente al server che hai aggiunto tu. A prescindere dai risultati di dnsleak, se riesci ad accedere ad un sito normalmente bloccato tramite dns allora sei a posto, altrimenti studiati le configurazioni di dnsmasq per cambiarne il comportamento come più ti aggrada.
config cgevent 'generic'
option enable 0
#config control 'mem_oom'
# option register_file '/cgroups/cpumemblk/printsharing/memory.oom_control'
# list exe_script '/lib/cgevent/samba'
#config control 'mem_usage'
# option register_file '/cgroups/cpumemblk/printsharing/memory.usage_in_bytes'
# option threhold '100M'
# list exe_script '/lib/cgevent/samba'
xdslctl info --show
xdslctl: ADSL driver and PHY status
Status: Showtime
Last Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 23235 Kbps, Downstream rate = 105959 Kbps
Bearer: 0, Upstream rate = 23235 Kbps, Downstream rate = 102541 Kbps
Bearer: 1, Upstream rate = 0 Kbps, Downstream rate = 0 Kbps
Link Power State: L0
Mode: VDSL2 Annex B
VDSL2 Profile: Profile BrcmPriv1
TPS-TC: PTM Mode(0x0)
Trellis: U:ON /D:ON
Line Status: No Defect
Training Status: Showtime
Down Up
SNR (dB): 6.3 5.9
Attn(dB): 14.5 0.0
Pwr(dBm): 14.5 -17.8
xdslctl profile --show
Modulations:
G.Dmt Enabled
G.lite Enabled
T1.413 Enabled
ADSL2 Enabled
AnnexL Enabled
ADSL2+ Enabled
AnnexM Disabled
VDSL2 Enabled
Gfast Disabled
VDSL2 profiles:
8a Enabled
8b Enabled
8c Enabled
8d Enabled
12a Enabled
12b Enabled
17a Enabled
30a Disabled
US0 Enabled
Phone line pair:
Inner pair
Capability:
bitswap On
sra On
trellis On
sesdrop On
CoMinMgn On
24k On
phyReXmt(Us/Ds) Off/On
Ginp(Us/Ds) On/On
TpsTc AvPvAa
monitorTone: On
dynamicD: On
dynamicF: Off
SOS: On
Training Margin(Q4 in dB): -1(DEFAULT)
PHY TYPE CFG:
PHY switch Enabled
Bootup PHY Non Gfast
[email protected]:/media/yyy/9c477327-e47f-4180-827c-9f7bb3bf3055# mount|grep 9c47
[email protected]:/media/yyy/9c477327-e47f-4180-827c-9f7bb3bf3055# ls -la
total 169580
drwxrwxrwx 4 root root 4096 Aug 7 23:34 .
drwxrwxrwx 4 root root 4096 Aug 7 23:34 ..
-rw------- 1 root root 5463417 Aug 8 00:07 GUI.tar.bz2
-rw------- 1 root root 10638 Aug 7 23:54 lime.arm.3.4.ko
drwx------ 2 root root 16384 Aug 7 21:26 lost+found
-rw-r--r-- 1 root root 83886080 Aug 7 23:40 mtd3-bank_1
-rw-r--r-- 1 root root 83886080 Aug 7 23:39 mtd4-bank_2
-rw-r--r-- 1 root root 131072 Aug 7 23:37 mtd5.dd
[email protected]:/media/yyy/9c477327-e47f-4180-827c-9f7bb3bf3055# cd ..
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[email protected]:/media/yyy# mount /dev/sdb1 tm/
mount: /media/yyy/tm: /dev/sdb1 already mounted or mount point busy.
ma questo credo sia dovuto al fatto che in DE le partizioni vengono montate con fuse.se apri due shell e nella prima: (tm = dir temporanea)
[email protected]:/media/yyy# mount /dev/sdb1 tm/
in seconda shell
[email protected]:/home/yyy# cd /media/yyy/tm
torna nella prima shell
[email protected]:/media/yyy# umount tm/
umount: /media/yyy/tm: target is busy.
questo è il comportamento che descrivevo primaconfig cgevent 'generic'
option enable 0
#cgevent control examples
#config control 'mem_oom'
# option register_file '/cgroups/cpumemblk/printsharing/memory.oom_contr$
# list exe_script '/lib/cgevent/samba'
#config control 'mem_usage'
# option register_file '/cgroups/cpumemblk/printsharing/memory.usage_in_$
# option threhold '30M'
# list exe_script '/lib/cgevent/samba'
#!/bin/sh
. $IPKG_INSTROOT/lib/functions.sh
pinter_path="/var/spool/samba"
smb_share() {
local path
config_get path $1 path
pinter_path=$path
}
config_load samba
config_foreach smb_share sambashare
rm -rf $pinter_path
/etc/init.d/samba restart
.... partizione di rootfs_data che si applica in sovrapposizione al contenuto del firmware all'avvio. I file modificati li trovi in /overlay/bank_*, quelli originali non del firmware sono in /rom, il risultato dell'applicazione di /overlay/bank_* sopra /rom lo trovi regolarmente in / (la root) che è quella su cui di solito agisci.
cat /proc/mtd
dev: size erasesize name
mtd0: 20000000 00020000 "brcmnand.0"
mtd1: 02c60000 00020000 "rootfs"
mtd2: 05920000 00020000 "rootfs_data"
mtd3: 05000000 00020000 "bank_1"
mtd4: 05000000 00020000 "bank_2"
mtd5: 00020000 00020000 "eripv2"
mtd6: 00040000 00020000 "rawstorage"
per come ho capito abbiamo i 2 firmware in bank_1 e bank_2 (con la roulette russa di quale usiamo)/dev/mtdblock2 on /overlay type jffs2 (rw,relatime,compr=zlib)mtd5 - "eripv2" chiavi segrete
overlayfs:/overlay/bank_1 on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay/bank_1)
Per la connessione, in prima pagina ci sono una serie di link per configurare la pppoe, il voip ecc.. Tieni conto che alla fine dovranno somigliare a quelle che vedi nel firmware tiscali del 789.
config interface 'wan'
option proto 'pppoe'
option username 'user tiscali'
option password 'password tiscali'
option authfail '0'
option auto '1'
option ifname '@vlan_wan'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused 'indirizzo mac'
config interface 'wan'
option proto 'pppoe'
option keepalive '5,10'
option macaddr 'indirizzo mac'
option graceful_restart '1'
option auto '1'
option ifname 'waneth4'
option username 'user tiscali'
option password 'password tiscali'
Poi cerca la sezione relativa a vlan_ptm0 o vlan_eth4 a seconda di quanto detto prima, e assicurati che vid sia impostato a quello che vuole il tuo operatore: 835 per tim, tiscali e wind, 1036 per Vodafone.mi sono impiantato.
config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '835'
config device 'waneth4'
option enabled '1'
option type '8021q'
option name 'waneth4'
option macaddr 'A4:91:B1:D5:F6:E0'
option ifname 'eth4'
option vid '835'
config network 'sip_net'
option user_friendly_name 'SIP network'
option cac '-1'
option transparent_soc_transmission '0'
option local_port '5060'
option domain_name 'ims.tiscali.net'
option primary_proxy_port '0'
option primary_registrar 'ims.tiscali.net'
option primary_registrar_port '5060'
option secondary_registrar 'ims.tiscali.net'
option secondary_proxy_port '0'
option transport_type 'UDP'
option reg_expire '3600'
option reg_expire_T_before '1'
option reg_back_off_timeout '60'
option realm_check '0'
option 401_407_waiting_time '0'
option dtmf_relay 'auto'
option dtmf_relay_translation '0'
option timer_T1 '500'
option timer_T2 '4000'
option timer_T4 '5000'
option timer_B '32000'
option timer_D '50000'
option timer_F '32000'
option timer_J '32000'
option provisional_timer '180'
option remote_hold_tone_enabled '0'
option sdp_direction_call_hold 'sendonly'
option sdp_direction_call_hold_answer 'recvonly'
option uri_clir_format 'standard'
option privacy_handling 'apply'
option rejection_response '486'
option no_answer_response '480'
option call_waiting_provisional_response '182'
option call_waiting_reject_response '486'
option reliable_provisional_response 'supported'
option re_registration_mode 'ims'
option forking_mode 'default'
option ingress_media_timeout '1000'
option session_timer 'enabled'
option min_session_expires '90'
option session_expires '1800'
option fail_behaviour 'stop'
option min_period_proxy_redundancy '0'
option escape_hash '1'
option escape_star '0'
option control_qos_field 'dscp'
option control_qos_value 'ef'
option realtime_qos_field 'dscp'
option realtime_qos_value 'ef'
option from_anonymous_handling 'withheld'
option sip_over_ipv6 '0'
option include_sip_instance '0'
option waiting_time_for_registration_on_400_or_503_response '60'
option update_support '1'
option use_domain_in_contact '0'
option use_domain_in_via '0'
option sdp_direction_attribute_media_level_only '0'
option registration_delay '0'
option enable_re_register_on_cancel_timeout '1'
option rport_in_via '1'
option optimized_authentication '0'
option repeat_ringing_interval '60'
option re_register_on_403 '0'
option check_ttl_for_dns_record '1'
option stick_to_outbound_proxy '1'
option switch_next_proxy_on_failure_response '0'
option dns_query_timeout '5000'
option conference_release_call_after_transfer '1'
option disconnect_on_bye_response '0'
option cancel_invite_timer '32000'
option user_agent 'MediaAccess TG789vac v2 Build 16.3.7636-2921'
option primary_proxy 'srvmi.p.ims.tiscali.net'
option interface 'wan'
config profile 'sip_profile_0'
option network 'sip_net'
option display_name '0039XXXXX'
option user_name '0039XXXX'
option password 'XXXXXX'
option uri '0039XXXX'
option enabled '1'
config network 'sip_net'
option user_friendly_name 'SIP network'
option cac '-1'
option transparent_soc_transmission '0'
option interface 'wan'
option local_port '5060'
option primary_proxy '192.168.1.100'
option primary_proxy_port '5060'
option secondary_proxy_port '5060'
option primary_registrar '192.168.1.100'
option primary_registrar_port '5060'
option secondary_registrar_port '5060'
option transport_type 'UDP'
option reg_expire '3600'
option reg_expire_T_before '72'
option reg_back_off_timeout '180'
option reg_back_off_timeout_algorithm 'random'
option reg_back_off_timeout_max '900'
option reg_back_off_timeout_min '600'
option realm_check '0'
option 401_407_waiting_time '0'
option dtmf_relay 'rfc2833'
option dtmf_relay_translation '0'
option timer_T1 '500'
option timer_T2 '4000'
option timer_T4 '5000'
option timer_B '32000'
option timer_D '50000'
option timer_F '32000'
option timer_J '32000'
option provisional_timer '430'
option remote_hold_tone_enabled '1'
option sdp_direction_call_hold 'sendonly'
option sdp_direction_call_hold_answer 'inactive'
option uri_clir_format 'standard'
option privacy_handling 'apply'
option rejection_response '486'
option no_answer_response '486'
option call_waiting_provisional_response '180'
option call_waiting_reject_response '486'
option reliable_provisional_response 'when_supported'
option re_registration_mode 'standard'
option forking_mode 'replace'
option ingress_media_timeout '1000'
option early_media_detection '1'
option session_timer 'disabled'
option min_session_expires '90'
option session_expires '180'
option fail_behaviour 'stop'
option min_period_proxy_redundancy '0'
option escape_hash '1'
option escape_star '0'
option accept_call_from_unconfigured_proxy '1'
option control_qos_field 'dscp'
option control_qos_value 'cs5'
option realtime_qos_field 'dscp'
option realtime_qos_value 'cs5'
option sip_over_ipv6 '0'
option include_sip_instance '0'
option waiting_time_for_registration_on_400_or_503_response '300'
option update_support '1'
option use_domain_in_contact '0'
option use_domain_in_via '0'
option sdp_direction_attribute_media_level_only '0'
option stick_to_outbound_proxy '0'
option registration_delay '0'
option enable_re_register_on_cancel_timeout '0'
option rport_in_via '1'
option optimized_authentication '0'
option repeat_ringing_interval '60'
option re_register_on_403 '0'
option re_register_on_504 '1'
option switch_next_proxy_on_failure_response '0'
option dns_query_timeout '5000'
option switch_back_to_primary_proxy_timer '0'
option conference_release_call_after_transfer '1'
option disconnect_on_bye_response '0'
option rtp_local_port_min '4000'
option rtp_local_port_max '4015'
option cancel_invite_timer '32000'
option dnd_response '486'
option hide_userinfo_and_port_in_subscription_request '0'
option interface_update_delay '15'
option user_agent 'MediaAccess DGA4131FWB Build 17.2.0412-2141'
config profile 'sip_profile_0'
option network 'sip_net'
option enabled '0'
option password 'password'
option user_name 'username'
option uri 'profile_0'
option display_name 'displayname'
config device 'vlan_eth4'
option enabled '1'
option type '8021q'
option name 'vlan_eth4'
option macaddr 'XXXX'
option ifname 'eth4'
option vid '835'
bzcat /tmp/GUI.tar.bz2 | tar -C / -xvf -
/etc/init.d/rootdevice force
come lo lancio?profilo | DGA4131 | 589vn |
17a | 10.5 | 6.5 |
35b | 14.5 | non supportato |
Inoltre, c'è un modo per spegnere la lucina rossa lampeggiante di stato?ci sono 3 led rossi. quale sta lampeggiando? broadband wireless o wps?
@darklight è normale che in 35b l'attenuazione aumenti perchè media su più bande, di cui l'ultima, quella che usa il 35b è tipicamente più attenuata delle altre.mi sembra strano però che adesso il 4131 abbia una sincronizzazione peggiore del 589, a parità di profilo. Non era così in passato.
@Sberta da logread puoi vedere i cosa sta succedendo al demone voip, assicurati che per lo meno si sia registrato.
Per la lucina rossa, ne abbiamo parlato qualche pagina fa, avevo anche postato la mia configuraione che funziona regolarmente in un caso analogo al tuo, se dovessi avere problemi qualcuno aveva anche postato il workaround per chi lo usa come modem dsl..
config led 'broadband'
option provisioning_status 'completed'
config mountd mountd
option timeout 600
option path /mnt/usb/
config filesystem ext2
option options 'errors=continue'
option fstype 'ext2'
config filesystem ext3
option options 'errors=continue'
option fstype 'ext3'
config filesystem ext4
option options 'errors=continue'
option fstype 'ext4'
config filesystem fat
option options 'umask=0000,noatime,errors=continue,iocharset=utf8'
option fstype 'vfat'
config filesystem hfsplus
option options 'noatime,uid=000,gid=000,umask=000,force,iocharset=utf8'
option fstype 'ufsd'
config filesystem hfsplusjournal
option options 'noatime,uid=000,gid=000,umask=000,force,iocharset=utf8'
option fstype 'ufsd'
config filesystem ntfs
option options 'noatime,sparse,nocase,nobuf,uid=000,gid=000,umask=000,force,iocharset=utf8'
option fstype 'ufsd'
/sys/bus/usb/devices/usbX/
Corrispondente alla chiavetta, i primi 4 sono hub usb quindi suppongo ti interessi il 5 e successivicat /proc/filesystems
(roba)
vfat
che appunto è FAT32 (spero di non contravvenire a nessuna regola ma qua è spiegato bene https://www.gabrielemerli.com/?p=1189)cat /proc/cpuinfo
Processor : ARMv7 Processor rev 1 (v7l)
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1
Hardware : BCM963138
come era stato detto famiglia 63xx[email protected]:~# /etc/init.d/mmpbxd restart && logread -f | grep mmpbxd
stopped process in pidfile '/var/run/led-fw-interface.lua.pid' (pid 7169)
Sat Aug 10 23:07:56 2019 user.debug mmpbxd[6992]: caught signal 15
Sat Aug 10 23:07:56 2019 user.debug mmpbxd[6992]: [MMAPP] :C: mmAppCleanup:197 - Start to quit MMPBX!
Sat Aug 10 23:07:58 2019 user.debug mmpbxd[6992]: /var/lib/jenkins/swm-wc1/workspace/Build/build/openwrt/build_dir/target-arm_cortex-a9_uClibc-0.9.33.2_eabi/async-1.0/src/asyncnew.c:649 : Thread was not canceled !!!
Sat Aug 10 23:08:00 2019 user.debug mmpbxd[6992]: [MMAPP] :C: mmAppCleanup:243 - Quit MMPBX done!
pid 26057's current scheduling policy: SCHED_OTHER
pid 26057's current scheduling priority: 0
pid 26057's new scheduling policy: SCHED_RR
pid 26057's new scheduling priority: 75
pid 26058's current scheduling policy: SCHED_OTHER
pid 26058's current scheduling priority: 0
pid 26058's new scheduling policy: SCHED_RR
pid 26058's new scheduling priority: 75
pid 26059's current scheduling policy: SCHED_OTHER
pid 26059's current scheduling priority: 0
pid 26059's new scheduling policy: SCHED_RR
pid 26059's new scheduling priority: 75
pid 26068's current scheduling policy: SCHED_OTHER
pid 26068's current scheduling priority: 0
pid 26068's new scheduling policy: SCHED_RR
pid 26068's new scheduling priority: 75
Sat Aug 10 23:08:06 2019 user.debug mmpbxd[26316]: [MEMM] Info: Pooldescr [memm_pooldesc] reallocated to increase its size (107 elements)
Sat Aug 10 23:08:06 2019 user.debug mmpbxd[26316]: [MMAPP] :E: mmAppSetPriority:1816 - Configured priority value 0 or negative, priority not modified for mmapp
Sat Aug 10 23:08:06 2019 user.debug mmpbxd[26316]: [MMAPP] :E: mmAppSetRefMediaFileGenPriority:1879 - Configured priority value 0 or negative, priority not modified for refmediafilegen
Sat Aug 10 23:08:06 2019 user.debug mmpbxd[26316]: [MMAPP] :E: mmAppSetUbusPriority:1851 - Configured priority value 0 or negative, priority not modified for mmubus
Sat Aug 10 23:08:06 2019 user.debug mmpbxd[26316]: [MMUCI] :E: mmUciCommonAllocateContext:248 - Error loading the UCI config from file for mmpbxbrcmsi3226x: UCI_ERR_NOTFOUND
Sat Aug 10 23:08:06 2019 user.debug mmpbxd[26316]: [MMUCI] :E: mmUciCommonAllocateContext:248 - Error loading the UCI config from file for mmpbxbrcmsi3217x: UCI_ERR_NOTFOUND
Sat Aug 10 23:08:09 2019 user.debug mmpbxd[26316]: [REFMEDIAFILEGENIMPL]:E: refMediaFileGenImplInit:225 - Configured priority value 0 or negative, priority not modifiedfor mmpbxrefmediafilegen
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [FXS1] CALL_WAITING activated
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [FXS2] CALL_WAITING activated
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [0039mio numero] CALL_RETURN deactivated
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [profile_1] CALL_RETURN deactivated
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [0039mio numero] BARGE_IN deactivated
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [profile_1] BARGE_IN deactivated
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [0039mio numero] CLIP activated
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [profile_1] CLIP activated
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [**0] CLIP activated
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [**1] CLIP activated
Sat Aug 10 23:08:09 2019 user.info mmpbxd[26316]: [**2] CLIP activated
Sat Aug 10 23:08:09 2019 user.debug mmpbxd[26316]: [MMPBX] :E: loadAudioNotificationConfig:2614 - Notification does not specify any event_descriptions
Sat Aug 10 23:08:09 2019 user.debug mmpbxd[26316]: [MMPBX] :E: loadAudioNotificationConfig:2614 - Notification does not specify any event_descriptions
Sat Aug 10 23:08:09 2019 user.debug mmpbxd[26316]: [MMPBX] :E: loadAudioNotificationConfig:2614 - Notification does not specify any event_descriptions
pid 26052's current affinity mask: 3
pid 26052's new affinity mask: 1
pid 26057's current affinity mask: 3
pid 26057's new affinity mask: 1
pid 26058's current affinity mask: 3
pid 26058's new affinity mask: 1
pid 26059's current affinity mask: 3
pid 26059's new affinity mask: 1
pid 26068's current affinity mask: 3
pid 26068's new affinity mask: 1
pid 26316's current affinity mask: 3
pid 26316's new affinity mask: 1
pid 26318's current affinity mask: 3
pid 26318's new affinity mask: 1
pid 26319's current affinity mask: 3
pid 26319's new affinity mask: 1
pid 26320's current affinity mask: 3
pid 26320's new affinity mask: 1
pid 26336's current affinity mask: 3
pid 26336's new affinity mask: 1
pid 26337's current affinity mask: 3
pid 26337's new affinity mask: 1
pid 26338's current affinity mask: 3
pid 26338's new affinity mask: 1
pid 26052's current scheduling policy: SCHED_OTHER
pid 26052's current scheduling priority: 0
pid 26052's new scheduling policy: SCHED_FIFO
pid 26052's new scheduling priority: 99
uci: Parse error (EOF with unterminated ') at line 33, byte 333
Sat Aug 10 23:08:41 2019 user.info mmpbxd[26316]: SIP Registration: SIP: 0039mio numero : Deregister
uci: Parse error (EOF with unterminated ') at line 33, byte 333
curl -k https://raw.githubusercontent.com/Ansuel/gui-dev-build-auto/master/GUI_dev.tar.bz2 --outpu
t /tmp/GUI_dev.tar.bz2
bzcat /tmp/GUI_dev.tar.bz2 | tar -C / -xvf -
/etc/init.d/rootdevice debug
Root Script: Setting root flag
Root Script: Reset unlock bit
Root Script: Save root password if modified
Root Script: Setting & Enabling Dropbear SSH Server
Root Script: Restarting Dropbear SSH Server
Root Script: Disable reboot after crash, this gives race condition...
Root Script: Installing in progress...
Root Script: Start rooting
Root Script: Setting root flag
Root Script: Reset unlock bit
Root Script: Save root password if modified
Root Script: Setting & Enabling Dropbear SSH Server
Root Script: Restarting Dropbear SSH Server
Root Script: Executing /etc/modgui_scripts/01_prereq.sh
Root Script: Disable watchdog
Root Script: Executing /etc/modgui_scripts/02_specific.sh
uci: Invalid argument
Root Script: Applying specific model fixes...
uci: Invalid argument
Collected errors:
* wfopen: /tmp/3.4_ipk/wget_1.17.1-1_brcm63xx-tch.ipk: No such file or directory.
* pkg_init_from_file: Failed to extract control file from /tmp/3.4_ipk/wget_1.17.1-1_brcm63xx-tch.ipk.
rm: can't remove '/tmp/3.4_ipk': No such file or directory
rm: can't remove '/tmp/4.1_ipk': No such file or directory
uci: Invalid argument
Root Script: Checking downgrade limitation bit
Root Script: Removing ripdrv and resuming root process...
Root Script: Executing /etc/modgui_scripts/03_various.sh
Root Script: Enabling hardware serial console...
Root Script: Fixing sysupgrade if needed...
Root Script: Restoring and enabling few transformer mappers...
Root Script: Transformer lib check
Root Script: Creating custom GUI utils symlinks...
Root Script: Add checkversion to cron...
Root Script: Executing /etc/modgui_scripts/04_config.sh
Root Script: Check original config
Root Script: Unlocking web interface if needed
Root Script: Check if variant_friendly_name set
Root Script: Remove https check
Root Script: Check for CSS themes
uci: Invalid argument
Root Script: Check driver setting
Root Script: Check Dropbear config file
Root Script: Adding Dropbear wan config
Root Script: Check eco paramaters
Root Script: Restarting power management
Root Script: Create GUI type in config
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
Root Script: Add new web options
Root Script: New DHCPRelay Option
Root Script: Disable trace from igmpproxy
Root Script: Create new option for led definitions
Root Script: LedEventing new md5sum: ae62bfe6297c81c5c2024ec94b922c84
Root Script: LedEventing md5sum: c2994cf472060f933bfb703c9c15535d
Root Script: Creating and checking real version
Root Script: Implementing WoL
Cannot find device "lan"
Cannot find device "lan"
Warning: Option 'lan'.wan is unknown
Warning: Option 'mgmt'.wan is unknown
Warning: Section 'mgmt' cannot resolve device of network 'mgmt'
Warning: Option 'wan'.wan is unknown
Warning: Option 'wwan'.wan is unknown
Warning: Section 'wwan' cannot resolve device of network 'wwan'
Warning: Option 'Guest'.wan is unknown
Warning: Option 'hotspot'.wan is unknown
Warning: Option 'Allow_DHCP_Renew_mgmt'._key is unknown
Warning: Option 'Allow_DHCP_Renew_wan'._key is unknown
Warning: Option 'Allow_Ping_mgmt'._key is unknown
Warning: Option 'Allow_Ping_wan'._key is unknown
Warning: Option 'Allow_DHCPv6'._key is unknown
Warning: Option 'Allow_Encapsulated_IPv6'._key is unknown
Warning: Option 'Allow_ICMPv6_Input'._key is unknown
Warning: Option 'Allow_ICMPv6_Forward'._key is unknown
Warning: Option 'Deny_HTTPS_lan'._key is unknown
Warning: Option 'Deny_HTTP_lan'._key is unknown
Warning: Option 'Deny_HTTPS_lan_v6'._key is unknown
Warning: Option 'access_2_LAN_IP'._key is unknown
Warning: Option 'access_2_GUEST_IP'._key is unknown
Warning: Option 'Deny_Guest_lan_gateway'._key is unknown
Warning: Option 'Deny_lan_2_Guest'._key is unknown
Warning: Option 'Deny_Guest_2_lan'._key is unknown
Warning: Option 'Access_Guest_ICMP'._key is unknown
Warning: Option 'SpeedTest_Allow_8888'._key is unknown
Warning: Option 'SpeedTest_Allow_7548'._key is unknown
Warning: Option 'redirectdmz'._key is unknown
Warning: Option 'MARK_CPE_DNSQUERY_SRCIP'._key is unknown
Warning: Option 'MARK_SPEEDTEST_DATA_SRCIP'._key is unknown
Warning: Option 'MARK_DATA_SRCIP'._key is unknown
Warning: Option 'MARK_BULKDATA_SRCIP'._key is unknown
Warning: Option 'MARK_LAN_TO_WAN'._key is unknown
Warning: Option 'MARK_WAN_TO_LAN'._key is unknown
Warning: Option 'MARK_GUEST_TO_WAN'._key is unknown
Warning: Option 'MARK_WWAN_TO_LAN'._key is unknown
Warning: Option 'Allow_ACS_1'._key is unknown
Warning: Option 'Allow_ACS_2'._key is unknown
Warning: Option 'Allow_restricted_sip_1'._key is unknown
Warning: Option 'Allow_restricted_sip_2'._key is unknown
Warning: Option 'Allow_restricted_sip_3'._key is unknown
Warning: Option 'Allow_restricted_sip_4'._key is unknown
Warning: Option 'Allow_restricted_sip_5'._key is unknown
Warning: Option 'Allow_restricted_sip_6'._key is unknown
Warning: Option 'Allow_restricted_sip_7'._key is unknown
Warning: Option 'Allow_restricted_sip_8'._key is unknown
Warning: Option 'Allow_restricted_sip_9'._key is unknown
Warning: Option 'Allow_restricted_sip_10'._key is unknown
Warning: Option 'Allow_restricted_sip_11'._key is unknown
Warning: Option 'Allow_restricted_sip_12'._key is unknown
Warning: Option 'Allow_restricted_sip_13'._key is unknown
Warning: Option 'Allow_restricted_sip_14'._key is unknown
Warning: Option 'Allow_restricted_sip_15'._key is unknown
Warning: Option 'Allow_restricted_sip_16'._key is unknown
Warning: Option 'Allow_restricted_sip_17'._key is unknown
Warning: Option 'Allow_restricted_sip_18'._key is unknown
Warning: Option 'Access_Guest_DHCP'._key is unknown
Warning: Option 'Access_Guest_DNS'._key is unknown
Warning: Option 'Access_Guest_DNS_input'._key is unknown
Warning: Option 'Access_Guest_ICMPv6'._key is unknown
Warning: Option 'Access_Guest_Browser'._key is unknown
Warning: Option 'telnetlan'._key is unknown
Warning: Option 'telnetguest'._key is unknown
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
does not specify a protocol, assuming TCP+UDP
Warning: Section 'wanapi' has no target specified, defaulting to DNAT
Warning: Section 'SNAT_PING' has no src_dip option specified
Warning: Section @zone[1] (mgmt) has no device, network, subnet or extra options
Warning: Section @zone[3] (wwan) has no device, network, subnet or extra options
* Clearing IPv4 filter table
* Clearing IPv4 nat table
* Clearing IPv4 mangle table
* Clearing IPv4 raw table
* Populating IPv4 filter table
* Zone 'lan'
* Zone 'mgmt'
* Zone 'wan'
* Zone 'wwan'
* Zone 'Guest'
* Zone 'hotspot'
* Rule 'Allow-DHCP-Renew-mgmt'
* Rule 'Allow-DHCP-Renew-wan'
* Rule 'Allow-Ping-mgmt'
* Rule 'Allow-Ping-wan'
* Rule 'Allow-Encapsulated-IPv6'
* Rule 'Deny-HTTPS-lan'
* Rule 'Deny-HTTP-lan'
* Rule 'Only-allow-access-to-LAN-IP'
* Rule 'Only-allow-access-to-GUEST-IP'
* Rule 'Deny-Guest-lan-gateway'
* Rule 'Deny-lan-2-Guest'
* Rule 'Deny-Guest-2-lan'
* Rule 'Allow-Guest-ICMP'
* Rule 'SpeedTest_Allow_8888'
* Rule 'SpeedTest_Allow_7548'
* Rule 'Allow-ACS-1'
* Rule 'Allow-ACS-2'
* Rule 'Allow-restricted-sip-from-wan-again-1'
* Rule 'Allow-restricted-sip-from-wan-again-2'
* Rule 'Allow-restricted-sip-from-wan-again-3'
* Rule 'Allow-restricted-sip-from-wan-again-4'
* Rule 'Allow-restricted-sip-from-wan-again-5'
* Rule 'Allow-restricted-sip-from-wan-again-6'
* Rule 'Allow-restricted-sip-from-wan-again-7'
* Rule 'Allow-restricted-sip-from-wan-again-8'
* Rule 'Allow-restricted-sip-from-wan-again-9'
* Rule 'Allow-restricted-sip-from-wan-again-10'
* Rule 'Allow-restricted-sip-from-wan-again-11'
* Rule 'Allow-restricted-sip-from-wan-again-12'
* Rule 'Allow-restricted-sip-from-wan-again-13'
* Rule 'Allow-restricted-sip-from-wan-again-14'
* Rule 'Allow-restricted-sip-from-wan-again-15'
* Rule 'Allow-restricted-sip-from-wan-again-16'
* Rule 'Allow-restricted-sip-from-wan-again-17'
* Rule 'Allow-restricted-sip-from-wan-again-18'
* Rule 'Allow-Guest-DHCP'
* Rule 'Allow-Guest-DNS'
* Rule 'Allow-Guest-DNS-input'
* Rule 'Access-Guest-Browser'
* Rule 'Refuse_TELNET_LAN'
* Rule 'Refuse_TELNET_GUEST'
* Rule 'Default action for outgoing NAT'
* Rule 'Default action for outgoing NAT for Guest'
* Redirect #0
* Forward 'lan' -> 'wan'
* Forward 'lan' -> 'wwan'
* Forward 'Guest' -> 'wan'
* Forward 'Guest' -> 'wwan'
* Populating IPv4 nat table
* Zone 'lan'
* Zone 'mgmt'
* Zone 'wan'
* Zone 'wwan'
* Zone 'Guest'
* Zone 'hotspot'
* Redirect #0
* Populating IPv4 mangle table
* Zone 'lan'
* Zone 'mgmt'
* Zone 'wan'
* Zone 'wwan'
* Zone 'Guest'
* Zone 'hotspot'
* Populating IPv4 raw table
* Zone 'lan'
* Zone 'mgmt'
* Zone 'wan'
* Zone 'wwan'
* Zone 'Guest'
* Zone 'hotspot'
* Clearing IPv6 filter table
* Clearing IPv6 mangle table
* Clearing IPv6 raw table
* Populating IPv6 filter table
* Zone 'lan'
* Zone 'mgmt'
* Zone 'wan'
* Zone 'wwan'
* Zone 'Guest'
* Zone 'hotspot'
* Rule 'Allow-DHCPv6'
* Rule 'Allow-Encapsulated-IPv6'
* Rule 'Allow-ICMPv6-Input'
* Rule 'Allow-ICMPv6-Forward'
* Rule 'Deny-HTTPS-lan-v6'
* Rule 'Deny-Guest-lan-gateway'
! Skipping due to different family of ip address
* Rule 'Deny-lan-2-Guest'
* Rule 'Deny-Guest-2-lan'
* Rule 'SpeedTest_Allow_8888'
* Rule 'SpeedTest_Allow_7548'
* Rule 'Allow-Guest-ICMPv6'
* Rule 'Access-Guest-Browser'
* Rule 'Refuse_TELNET_LAN'
* Rule 'Refuse_TELNET_GUEST'
* Rule 'Allow incoming IPv6 when firewall off'
* Rule 'Default action for outgoing NAT'
* Rule 'Default action for outgoing NAT for Guest'
* Forward 'lan' -> 'wan'
* Forward 'lan' -> 'wwan'
* Forward 'Guest' -> 'wan'
* Forward 'Guest' -> 'wwan'
* Populating IPv6 mangle table
* Zone 'lan'
* Zone 'mgmt'
* Zone 'wan'
* Zone 'wwan'
* Zone 'Guest'
* Zone 'hotspot'
* Populating IPv6 raw table
* Zone 'lan'
* Zone 'mgmt'
* Zone 'wan'
* Zone 'wwan'
* Zone 'Guest'
* Zone 'hotspot'
* Set tcp_ecn to off
* Set tcp_syncookies to on
! Unable to write value: No such file or directory
* Set tcp_window_scaling to on
* Running script '/etc/firewall.user'
* Running script '/lib/functions/firewall-ext-tch.sh'
* Running script '/lib/functions/tod.sh'
iptables: Chain already exists.
ip6tables: Chain already exists.
* Running script '/lib/functions/firewall-wol.sh'
! Skipping due to path error: No such file or directory
* Running script '/lib/functions/firewall-cwmpd.sh'
* Running script '/usr/share/miniupnpd-tch/firewall.include'
* Running script '/lib/functions/firewall-mmpbx.sh'
* Running script '/lib/functions/weburl-tch.sh'
* Running script '/lib/functions/firewall-dropbear.sh'
* Running script '/lib/functions/firewall-telnet.sh'
Root Script: Apply new xDSL options
Root Script: Adding fast cache options
Root Script: Checking if wan_mode option exists...
Root Script: Inizialize and start DoSprotect...
Root Script: Checking if intercept is enabled and disabling if it is...
Root Script: Disabling coredump reboot...
Root Script: Restoring nginx additional options if needed...
Root Script: Adding missing voicednd rule if needed
Root Script: Doing various checks and generating hashes...
uci: Invalid argument
Root Script: Setting update branch to STABLE
ash: 9: unknown operand
Root Script: Stable GUI not found in /root
Root Script: Stable GUI not found in /tmp, checking for GUI_dev...
Root Script: Found GUI_dev in /tmp, copying in /root to generate a valid hash
Root Script: Updating GUI in /root folder from /tmp
Root Script: Assuming first time install, cleaning /www dir and re-extracting .bz2
Root Script: Detected upgrade!
Root Script: Old GUI hash:
Root Script: New GUI hash: 1c5ccb47d3f748bc0781b601b090ca98
Root Script: Updating version saved to 9.3.73
uci: Invalid argument
Root Script: Resetting version info...
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
uci: Invalid argument
Root Script: Decrypting any encrypted password present in config
Root Script: Executing /etc/modgui_scripts/05_app.sh
Root Script: Trafficmon inizialization
Root Script: Enable DLNAd
Root Script: Enable new upnp
Root Script: Move Aria2 dir
Root Script: Checking opkg feeds config
Root Script: No opkg file supported
Root Script: Reinstalling Telstra GUI if needed...
uci: Invalid argument
Root Script: Executing /etc/modgui_scripts/06_network.sh
Root Script: Detecting ISP and cleanup...
Root Script: Adding ipoe in network config...
Root Script: Removing default loopback DNS Servers...
Root Script: Purify WAN network config...
Root Script: Fix DNS bug
Root Script: Checking and fixing dnsmasq daemon naming...
Root Script: Sync DHCP configuration for new GUI
Root Script: Attempt to clean the wansensing script from hardcoded interfaces...
Root Script: Cleaning cups firewall rule...
Root Script: Checking detected ISP and setting CWMP...
Root Script: Apply CVE 2019-11477 workaround
Root Script: Checking atmdevice interface naming...
Root Script: Restarting dnsmasq if needed...
Root Script: Executing /etc/modgui_scripts/99_postreq.sh
Root Script: Applying modifications
Root Script: Resetting cwmp and watchdog
Root Script: Process done.
Root Script: Restarting transformer
Root Script: Stopping nginx
Root Script: Restarting nginx...
trovato un bug credo...
dmesg mi da questo output
109963.872000] [[0;33;41mBLOG ERROR blog_request :blog_key corruption when deleting flowfor net_p=d11ede38 (ed altri numeri)
Aug 11 11:02:00
daemon.err
transformer[403]
[truncated] getter([email protected], ipv6uniqueglobaladdr) threw an error: ...share/transformer/mappings/rpc/network.interface.map:39: attempt to concatenate field 'ip' (a nil value)
config network 'sip_net'
option user_friendly_name 'SIP network'
option cac '-1'
option transparent_soc_transmission '0'
option local_port '5060'
option domain_name 'ims.tiscali.net'
option primary_proxy_port '0'
option primary_registrar 'ims.tiscali.net'
option primary_registrar_port '5060'
option secondary_registrar 'ims.tiscali.net'
option secondary_proxy_port '0'
option transport_type 'UDP'
option reg_expire '3600'
option reg_expire_T_before '1'
option reg_back_off_timeout '60'
option realm_check '0'
option 401_407_waiting_time '0'
option dtmf_relay 'auto'
option dtmf_relay_translation '0'
option timer_T1 '500'
option timer_T2 '4000'
option timer_T4 '5000'
option timer_B '32000'
option timer_D '50000'
option timer_F '32000'
option timer_J '32000'
option provisional_timer '180'
option remote_hold_tone_enabled '0'
option sdp_direction_call_hold 'sendonly'
option sdp_direction_call_hold_answer 'recvonly'
option uri_clir_format 'standard'
option privacy_handling 'apply'
option rejection_response '486'
option no_answer_response '480'
option call_waiting_provisional_response '182'
option call_waiting_reject_response '486'
option reliable_provisional_response 'supported'
option re_registration_mode 'ims'
option forking_mode 'default'
option ingress_media_timeout '1000'
option session_timer 'enabled'
option min_session_expires '90'
option session_expires '1800'
option fail_behaviour 'stop'
option min_period_proxy_redundancy '0'
option escape_hash '1'
option escape_star '0'
option control_qos_field 'dscp'
option control_qos_value 'ef'
option realtime_qos_field 'dscp'
option realtime_qos_value 'ef'
option from_anonymous_handling 'withheld'
option sip_over_ipv6 '0'
option include_sip_instance '0'
option waiting_time_for_registration_on_400_or_503_response '60'
option update_support '1'
option use_domain_in_contact '0'
option use_domain_in_via '0'
option sdp_direction_attribute_media_level_only '0'
option registration_delay '0'
option enable_re_register_on_cancel_timeout '1'
option rport_in_via '1'
option optimized_authentication '0'
option repeat_ringing_interval '60'
option re_register_on_403 '0'
option check_ttl_for_dns_record '1'
option stick_to_outbound_proxy '1'
option switch_next_proxy_on_failure_response '0'
option dns_query_timeout '5000'
option conference_release_call_after_transfer '1'
option disconnect_on_bye_response '0'
option cancel_invite_timer '32000'
option user_agent 'MediaAccess TG789vac v2 Build 16.3.7636-2921'
option primary_proxy 'srvmi.p.ims.tiscali.net'
option interface 'wan'
config profile 'sip_profile_0'
option network 'sip_net'
option display_name '0039XXXXX'
option user_name '0039XXXX'
option password 'XXXXXX'
option uri '0039XXXX'
option enabled '1'
config network 'sip_net'
option user_friendly_name 'SIP network'
option cac '-1'
option transparent_soc_transmission '0'
option interface 'wan'
option local_port '5060'
option primary_proxy '192.168.1.100'
option primary_proxy_port '5060'
option secondary_proxy_port '5060'
option primary_registrar '192.168.1.100'
option primary_registrar_port '5060'
option secondary_registrar_port '5060'
option transport_type 'UDP'
option reg_expire '3600'
option reg_expire_T_before '72'
option reg_back_off_timeout '180'
option reg_back_off_timeout_algorithm 'random'
option reg_back_off_timeout_max '900'
option reg_back_off_timeout_min '600'
option realm_check '0'
option 401_407_waiting_time '0'
option dtmf_relay 'rfc2833'
option dtmf_relay_translation '0'
option timer_T1 '500'
option timer_T2 '4000'
option timer_T4 '5000'
option timer_B '32000'
option timer_D '50000'
option timer_F '32000'
option timer_J '32000'
option provisional_timer '430'
option remote_hold_tone_enabled '1'
option sdp_direction_call_hold 'sendonly'
option sdp_direction_call_hold_answer 'inactive'
option uri_clir_format 'standard'
option privacy_handling 'apply'
option rejection_response '486'
option no_answer_response '486'
option call_waiting_provisional_response '180'
option call_waiting_reject_response '486'
option reliable_provisional_response 'when_supported'
option re_registration_mode 'standard'
option forking_mode 'replace'
option ingress_media_timeout '1000'
option early_media_detection '1'
option session_timer 'disabled'
option min_session_expires '90'
option session_expires '180'
option fail_behaviour 'stop'
option min_period_proxy_redundancy '0'
option escape_hash '1'
option escape_star '0'
option accept_call_from_unconfigured_proxy '1'
option control_qos_field 'dscp'
option control_qos_value 'cs5'
option realtime_qos_field 'dscp'
option realtime_qos_value 'cs5'
option sip_over_ipv6 '0'
option include_sip_instance '0'
option waiting_time_for_registration_on_400_or_503_response '300'
option update_support '1'
option use_domain_in_contact '0'
option use_domain_in_via '0'
option sdp_direction_attribute_media_level_only '0'
option stick_to_outbound_proxy '0'
option registration_delay '0'
option enable_re_register_on_cancel_timeout '0'
option rport_in_via '1'
option optimized_authentication '0'
option repeat_ringing_interval '60'
option re_register_on_403 '0'
option re_register_on_504 '1'
option switch_next_proxy_on_failure_response '0'
option dns_query_timeout '5000'
option switch_back_to_primary_proxy_timer '0'
option conference_release_call_after_transfer '1'
option disconnect_on_bye_response '0'
option rtp_local_port_min '4000'
option rtp_local_port_max '4015'
option cancel_invite_timer '32000'
option dnd_response '486'
option hide_userinfo_and_port_in_subscription_request '0'
option interface_update_delay '15'
option user_agent 'MediaAccess DGA4131FWB Build 17.2.0412-2141'
config profile 'sip_profile_0'
option network 'sip_net'
option enabled '0'
option password 'password'
option user_name 'username'
option uri 'profile_0'
option display_name 'displayname'
mmpbxd[8428]: [MMRVSIPIMPL::REGTERMOBJ]:I: registerStateChanged:937 - regTerm=0x100ab20, hProfile=0x100d070, networkRegisterType 0, oldState Registering eState Msg Send Failure, eReason 8
@darklight quell'errore dovrebbe essere risolto nell'ultima versione della GUI ma credo ci sia comunque qualcosa che manchi per ipv6... Tu sei connesso sia in ipv4 che 6?ping6 2600::
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
767 192K forwarding_rule all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: user chain for forwarding */
604 176K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED /* !fw3 */
0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID /* !fw3 */
163 15671 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 /* !fw3: forwarding * -> * */
0 0 zone_lan_forward all -- br-lan * 0.0.0.0/0 0.0.0.0/0 /* !fw3 */
non ha alcun senso tutto quello che viene dopo il quote è gia stato tutto accettato.ufsd non è compilato con il supporto exFAT. Se usi una chiavetta la velocità è penosa forse dipende dall'alimentazione, bisognerebbe provare con un hub alimentato, con disco usb2 NTFS a +20 mega vado non ho un usb3 da rischiare. A proposito non trovo il modulo xhci-hcd, con che cosa è gestito l'usb3?
[email protected]:/mnt/1# sync
[email protected]:/mnt/1# echo 3 > /proc/sys/vm/drop_caches
[email protected]:/mnt/1# time dd if=/mnt/1/1GB.zip of=/dev/null
2048000+0 records in
2048000+0 records out
real 0m 10.48s
user 0m 0.55s
sys 0m 5.56s
[email protected]:/mnt/1# ls -lh
-rw-r--r-- 1 root root 1000.0M Aug 12 16:52 1GB.zip
scrittura[email protected]:/mnt/1# sync
[email protected]:/mnt/1# echo 3 > /proc/sys/vm/drop_caches
[email protected]:/mnt/1# time dd if=/dev/zero of=writetest1000 bs=1M count=1000 conv=fsync
1000+0 records in
1000+0 records out
real 2m 6.14s
user 0m 0.01s
sys 0m 6.54s
[email protected]:/mnt/1# ls -lh
-rw-r--r-- 1 root root 1000.0M Aug 12 16:58 writetest1000
[email protected]:/mnt# sync && echo 3 > /proc/sys/vm/drop_caches
[email protected]:/mnt# time dd if=/dev/zero of=1/writetest1000 bs=1M count=1000 conv=fsync
1000+0 records in
1000+0 records out
real 0m 11.33s
user 0m 0.01s
sys 0m 6.27s
[email protected]:/mnt# sync && echo 3 > /proc/sys/vm/drop_caches
[email protected]:/mnt# time dd if=/mnt/1/1GB.zip of=/dev/null
2048000+0 records in
2048000+0 records out
real 0m 8.70s
user 0m 0.59s
sys 0m 6.13s
@darklight In che senso "come si chiama?", intendi il nome dell'harddisk?si o quanto meno quello del meccanico interno
fwupgrade_state_done = "green_solid"
nel file stateMachines.lua esattamente in questo punto: writing_firmware_green_flashing_quickly = { --status: writing firmware
fwupgrade_state_failed = "serviceko_red_flashing",
fwupgrade_state_done = "green_solid",
}
(Linea 194 di questo file https://github.com/Ansuel/tch-nginx-gui/blob/master/decompressed/ledfw_support-specificDGA4131/etc/ledfw/stateMachines.lua)config userredirect 'userredirectFFFA'
option family 'ipv4'
option dest_ip '192.168.1.255'
option src 'wan'
option dest 'lan'
list proto 'UDP'
option name 'WOL'
option target 'DNAT'
option src_dport '9'
option dest_port '9'
option enabled '1'
tutto questo perchè l'interfaccia di fastweb non accetta come ip di forwarding interno il broadcast
src/gz chaos_calmer_base https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/base
src/gz chaos_calmer_packages https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/packages
src/gz chaos_calmer_luci https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/luci
src/gz chaos_calmer_routing https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/routing
src/gz chaos_calmer_telephony https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/telephony
src/gz chaos_calmer_management https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/management
[email protected]:~# cat /etc/opkg/*.conf
# add your custom package feeds here
#
# src/gz example_feed_name http://www.example.com/path/to/files
src/gz chaos_calmer http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx-tch/VBNTJ/packages
[email protected]:~#
ora provo ad aggiungere quelle linee
mi da' questo:
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/base/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/base/Packages.gz
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/packages/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/packages/Packages.gz
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/luci/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/luci/Packages.gz
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/routing/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/routing/Packages.gz
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/telephony/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/telephony/Packages.gz
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/management/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/management/Packages.gz
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx-tch/VBNTJ/packages/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63Collected errors:
* opkg_install_cNo packages removed.
Unknown package 'libuci-lua'.
Unknown package 'luci'.
Unknown package 'rpcd'.
stall_cmd: Cannot install package rpcd.
config dropbear 'esempio'
option Interface 'lan'
option Port '22'
option IdleTimeout '600'
option PasswordAuth 'on'
option RootPasswordAuth 'on'
option RootLogin '1'
option enable '1'
Dai una occhiata qui, dovresti trovarci gli spunti che ti occorrono https://www.ilpuntotecnico.com/forum/index.php/topic,80598.msg251454.html#msg251454
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd2b:170f:fefe::/48'
option default_ps '0'
config interface 'lan'
option ifname 'eth0 eth1 eth2 eth3'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''
config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'
config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'
config interface 'wan'
option proto 'dhcp'
option proto 'pppoe'
option username '****'
option password '****'
option authfail '0'
option auto '1'
option ifname '@vlan_wan'
config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '835'
config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option auto '0'
config interface 'wwan'
option proto 'mobiled'
option session_id '0'
option profile '1'
option auto '1'
option enabled '1'
config interface 'vlan_wan'
option ifname 'vlan_ptm0'
config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr '10:13:31:F9:12:1E'
config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr '10:13:31:F9:12:1F'
config route 'default_wan_route'
option netmask '0.0.0.0'
option target '0.0.0.0'
option metric '1'
option interface 'wan'
config interface '6rd'
option ip4prefixlen '0'
option ip6prefixlen '32'
option ip6prefix '2001:0b07:0000:0000:0000:0000:0000:0000'
option tunlink 'wan'
option proto '6rd'
option peeraddr '81.208.50.214'
option auto '1'
config interface 'hotspot'
option proto 'static'
option type 'bridge'
config interface 'gre'
option network 'hotspot'
option mtu '1400'
option peeraddr '10.254.3.85'
option proto 'gretap'
option df '1'
option tunlink 'wan'
option zone 'wan'
option ttl '100'
config config 'config'
[…] nella sezione relativa all'interfaccia 'wan' aggiornando i valori delle settings esistenti con questi, se l'opzione già c'è cambiane il valore, se manca aggiungila.Poi dai una nuova occhiata alla sezione wan del file che hai condiviso.
config envvars 'var'
option company_name 'Technicolor'
option prod_friendly_name 'MediaAccess DGA4131FWB'
option variant_friendly_name 'DGA4131FWB'
option prod_name 'MediaAccess DG'
option prod_number 'Technicolor DGA4131FWB'
option ssid_prefix 'FASTWEB-'
option ssid_prefix_5G 'FASTWEB-'
option dhcp_option60 'Technicolor_DGA4131FWB/dslforum.org'
option hardware_version 'VBNT-O'
option oui '101331'
option prod_description 'Technicolor Internet Gateway Device'
option friendly_sw_version_activebank '17.2.0412-2141001-20181215141731-d7f55d25ae48aa5b3ea0648c032fc93dc2628c32'
option friendly_sw_version_passivebank '17.2.0279-2141016-20180622114404-583e252f8fec6c74076fc258ebb4d1201f21868f'
option local_eth_mac '12:13:31:F9:12:1E'
option local_wifi_mac '12:13:31:F9:12:1F'
option banksize '83886080'
option serial 'CP1831JC2TR'
option mask_override_igd_bank_1 'bank_1'
option mask_override_igd_bank_2 'bank_2'
option ssid_mac_postfix_r0 'F9121F'
option default_key_r0_s0 'TRCFMGWHHH'
option default_wep_key_r0_s0 '207243C51E'
option default_wps_ap_pin_r0_s0 '51022006'
option default_key_r0_s1 'T7NE34HKMR'
option default_wep_key_r0_s1 '66C67626A2'
option default_wps_ap_pin_r0_s1 '51022006'
option default_key_r0_s2 'M38T6A81NE'
option default_wep_key_r0_s2 'DAB9045E8D'
option default_wps_ap_pin_r0_s2 '51022006'
option default_key_r0_s3 'TN8NFMAHTY'
option default_wep_key_r0_s3 '7FD875DB72'
option default_wps_ap_pin_r0_s3 '51022006'
option ssid_mac_postfix_r1 'F91227'
option default_key_r1_s0 'RY9ERAYNN4'
option default_wep_key_r1_s0 'ABE6A26A41'
option default_wps_ap_pin_r1_s0 '51022006'
option default_key_r1_s1 'JZCFJR6TWM'
option default_wep_key_r1_s1 'E7AAC89797'
option default_wps_ap_pin_r1_s1 '51022006'
option default_key_r1_s2 '6PGARC7CE2'
option default_wep_key_r1_s2 '4D95C7300B'
option default_wps_ap_pin_r1_s2 '51022006'
option default_key_r1_s3 '3HAZZM96MK'
option default_wep_key_r1_s3 'AB218E4298'
option default_wps_ap_pin_r1_s3 '51022006'
option provisioning_code 'Loopback'
option bootloader_version '17.19.1058-0000000-20170508093010-b91cf4e98e3e4e8d3c46306855ce85449a59781f'
option bootloader_oid '59103a8386dfefcb063cac8d'
config envvars 'custovar'
option wan_tag '0'
option wan_if 'mgmt'
config ripcontent 'rip'
option eth_mac '10:13:31:F9:12:1E'
option wifi_mac '10:13:31:F9:12:1F'
option usb_mac '00:90:D0:00:00:02'
option chip_id '0044B7BE'
option variant_id '0'
option pba_tocom '3764250B'
option fia 'ZE'
option factory_id 'CP'
option company_id 'TMBB'
option board_mnemonic 'VBNT-O'
option factory_date '170818'
option product_id '0'
option serial '1831JC2TR'
option modem_access_code '4942639276'
option sfp '1'
option sw_flag 'E1'
config wanconfig
option interface 'mgmt'
option ifname 'eth4'
option proto 'ip'
config wanconfig
option interface 'mgmt'
option ifname 'ptm0'
option proto 'ip'
config wanconfig
option interface 'mgmt'
option ifname 'atm0'
option proto 'ip'
config wanconfig
option interface 'mgmt'
option ifname 'atm1'
option proto 'ip'
config wanconfig
option interface 'wan'
option ifname 'eth4'
option proto 'ip'
config wanconfig
option interface 'wan'
option ifname 'ptm0'
option proto 'ip'
config wanconfig
option interface 'wan_tag'
option ifname 'vlan_ptm0'
option proto 'ip'
config wanconfig
option interface 'wan'
option ifname 'atm0'
option proto 'ip'
config wanconfig
option interface 'wan'
option ifname 'atm1'
option proto 'ip'
Bhè, a me che sono su OFS comunque non le da nel mytiscali…
Eccetto che per la tecnologia OF diretta (cagliari e Perugia, dove non sono nemmeno sicuro usino pppoe) le credenziali sono disponibili nel mytiscali gestici il tuo modem>configura
Su VULA Tim diretta mi pare ci sia un ulteriore funzione di "recupero password dial-up"
Bhè, a me che sono su OFS comunque non le da nel mytiscali…
@goleador le credenziali della PPP (se non sei su OF) sono quelle che come hai detto hai ricevuto via email all'inizio e che corrispondono anche a quelle di accesso al mytiscali se ti ci registri con la loro email
Collected errors:
* check_data_file_clashes: Package libuci-lua wants to install file /usr/lib/lua/uci.so
But that file is already provided by package * lua-uci
* opkg_install_cmd: Cannot install package luci.
config zone 'wan'
option name 'wan'
option input 'DROP'
option output 'ACCEPT'
option forward 'DROP'
option masq '1'
option mtu_fix '1'
option wan '1'
list masq_src 'lan'
list masq_src 'Guest'
option extra '-m mark --mark 0x10000000/0xf0000000'
list network 'wan'
list network '6rd'
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option cachelocal '1'
option cachesize '200'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option strictorder '1'
option dhcpscript '/lib/dnsmasq/dhcp-event.sh'
list hostname 'myfastgate'
option logqueries '1'
option logfacility '/var/log/dnsmasq'
list server '/tiscali.sys/10.139.156.110'
list server '/tiscali.sys/10.139.156.126'
list rebind_domain '/tiscali.sys/'
Sulla gui Ansuel, però, oltre ad i miei dns, mi segna pure quelli di Tiscali (credo vengano passati tramite PPPoE), come posso fare per rimuoverli? Vi vorrei anche chiedere: c'è un modo per passare direttamente tramite dhcp i miei DNS, senza usare il Fastgate come proxy?
Domain ims.tiscali.net
Username 0039**********
Password **************
Use out username 0039**********
Use outbound proxy srvmi.p.ims.tiscali.net
opkg update
opkg install luci
mi da questo errore:
Collected errors:
* check_data_file_clashes: Package libuci-lua wants to install file /usr/lib/lua/uci.so
But that file is already provided by package * lua-uci
* opkg_install_cmd: Cannot install package luci.
config mmpbxrvsipnet 'global'
option trace_level '0'
option radvision_trace_level '0'
config syslog 'syslog'
option registration '1'
option call_signalling '1'
option syslog_priority '6'
config network 'sip_net'
option user_friendly_name 'SIP network TISCALI'
option cac '-1'
option transparent_soc_transmission '0'
option interface 'wan'
option local_port '5060'
option primary_registrar_port '0'
option secondary_registrar 'ims.tiscali.net'
option secondary_proxy_port '0'
option transport_type 'UDP'
option reg_expire '3600'
option reg_expire_T_before '1'
option realm_check '0'
option 401_407_waiting_time '0'
option dtmf_relay 'auto'
option dtmf_relay_translation '0'
option timer_T1 '500'
option timer_T2 '4000'
option timer_T4 '5000'
option timer_B '32000'
option timer_D '50000'
option timer_F '32000'
option timer_J '32000'
option provisional_timer '180'
option remote_hold_tone_enabled '0'
option sdp_direction_call_hold 'sendonly'
option sdp_direction_call_hold_answer 'recvonly'
option uri_clir_format 'standard'
option privacy_handling 'apply'
option rejection_response '486'
option no_answer_response '480'
option call_waiting_provisional_response '182'
option call_waiting_reject_response '486'
option reliable_provisional_response 'supported'
option forking_mode 'default'
option ingress_media_timeout '1000'
option session_timer 'enabled'
option min_session_expires '90'
option fail_behaviour 'stop'
option min_period_proxy_redundancy '0'
option escape_hash '1'
option escape_star '0'
option control_qos_field 'dscp'
option control_qos_value 'ef'
option realtime_qos_field 'dscp'
option from_anonymous_handling 'withheld'
option sip_over_ipv6 '0'
option include_sip_instance '0'
option waiting_time_for_registration_on_400_or_503_response '60'
option update_support '1'
option use_domain_in_contact '0'
option use_domain_in_via '0'
option sdp_direction_attribute_media_level_only '0'
option registration_delay '0'
option enable_re_register_on_cancel_timeout '1'
option rport_in_via '1'
option optimized_authentication '0'
option repeat_ringing_interval '60'
option re_register_on_403 '1'
option check_ttl_for_dns_record '1'
option stick_to_outbound_proxy '1'
option switch_next_proxy_on_failure_response '0'
option dns_query_timeout '5000'
option conference_release_call_after_transfer '1'
option disconnect_on_bye_response '0'
option cancel_invite_timer '32000'
option user_agent 'MODEM'
option realtime_qos_value 'af42'
option secondary_registrar_port '5060'
option switch_back_to_primary_proxy_timer '0'
option reg_back_off_timeout '180'
option session_expires '180'
option re_registration_mode 'standard'
option primary_proxy_port '5060'
option primary_proxy 'srvmi.p.ims.tiscali.sys'
option domain_name 'ims.tiscali.net'
option primary_registrar 'ims.tiscali.net'
config profile 'sip_profile_0'
option network 'sip_net'
option display_name '0039**********'
option user_name '0039**********@ims.tiscali.net'
option password '**************'
option uri '0039**********'
option enabled '1'
Ok, e con quale config? Ora sono curioso
@a1polloCiao, grazie per l'interesse, i repository sono questi?
Il problema dell'installazione di LUCI era già stato dibattuto: dipende dai repository usati.
src/gz chaos_calmer_base https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/base
src/gz chaos_calmer_packages https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/packages
src/gz chaos_calmer_luci https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/luci
src/gz chaos_calmer_routing https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/routing
src/gz chaos_calmer_telephony https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/telephony
src/gz chaos_calmer_management https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/management
Guardando dentro mmpbx mi pare di aver intravisto qualcosa del genere ma non ho mai provato a creare i file di configurazione necessari per vedere che fa. Qualcuno aveva ottenuto questo risultato mettendoci asterisk di mezzo.Ok grazie mille proverò ad indagare allora.
Per luci per risolvere bad gateway dopo aver eseguito l'installazione:
opkg install --force-reinstall --force-overwrite libuci-lua
sed -i 's/require "uci_luci"/require "uci"/g' /usr/lib/lua/luci/model/uci.lua
Per la rimozione dopo averlo disinstallato:
cp /rom/usr/lib/lua/uci.so /usr/lib/lua/
In attesa che venga sistemato
Io LuCI l'avevo installato in questo modo e funziona tutt'ora perfettamentea me da problemi a scaricarla propriomi riporta errore del download
Io LuCI l'avevo installato in questo modo e funziona tutt'ora perfettamente
Per installare luci usate quelli vecchi di roleo o in alternativa quelli presenti nel github di BoLaMNpotrei avere i link ?
[email protected]:~# opkg update
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx-tch/VBNTJ/packages/Packages.gz
wget: server returned error: HTTP/1.1 404 Not Found
*** Failed to download the package list from http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx-tch/VBNTJ/packages/Packages.gz
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx-tch/VBNTJ/packages/Packages.gz, wget returned 1.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx-tch/VBNTJ/packages/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm63xx-tch/VBNTJCollected errors:
* opNo packages removed.
Unknown package 'libuci-lua'.
Unknown package 'luci'.
Unknown package 'rpcd'.
.
* opkg_install_cmd: Cannot install package rpcd.
mv: can't rename '/www/cgi-bin': No such file or directory
mv: can't rename '/www/luci-static': No such file or directory
mv: can't rename '/www/index.html': No such file or directory
rm: can't remove '/usr/lib/lua/uci.so': No such file or directory
sed: /usr/lib/lua/luci/model/uci.lua: No such file or directory
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
/usr/share/transformer/scripts/appInstallRemoveUtility.sh: line 422: /etc/init.d/uhttpd: not found
echo "src/gz chaos_calmer_base https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/base
src/gz chaos_calmer_packages https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/packages
src/gz chaos_calmer_luci https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/luci
src/gz chaos_calmer_routing https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/routing
src/gz chaos_calmer_telephony https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/telephony
src/gz chaos_calmer_management https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/management" > /etc/opkg/distfeeds.conf
dopo riprova
Ma avevi installato la GUI di Ansuel? Comunque i file della cartella rom sono quelli del firmware in sola lettura, è normale che non puoi modificarlila gui ce l'ho installata ma leggo di risposte in cui devo usare altri repository ma come faccio a usarli ??? dove devo modificare ? che comandi devo usare??
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/base/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/base/Packages.gz
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/packages/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/packages/Packages.gz
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/luci/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/luci/Packages.gz
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/routing/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/routing/Packages.gz
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/telephony/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/telephony/Packages.gz
Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/management/Packages.gz
*** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/management/Packages.gz
No packages removed.
Unknown package 'libuci-lua'.
Unknown package 'luci'.
Unknown package 'rpcd'.
kage libuci-lua.
* opkg_install_cmd: Cannot install package luci.
* opkg_install_cmd: Cannot install package rpcd.
mv: can't rename '/www/cgi-bin': No such file or directory
mv: can't rename '/www/luci-static': No such file or directory
mv: can't rename '/www/index.html': No such file or directory
rm: can't remove '/usr/lib/lua/uci.so': No such file or directory
sed: /usr/lib/lua/luci/model/uci.lua: No such file or directory
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
uci: Entry not found
/usr/share/transformer/scripts/appInstallRemoveUtility.sh: line 422: /etc/init.d/uhttpd: not found
[email protected]:~# Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/luci/P
ackages.gz
-ash: Downloading: not found
[email protected]:~# wget: can't execute 'openssl': No such file or directory
> wget: error getting response: Connection reset by peer
> *** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/a
gtef/brcm63xx-tch/packages/luci/Packages.gz
>
> Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/routin
g/Packages.gz
> wget: can't execute 'openssl': No such file or directory
-ash: wget:: not found
[email protected]:~# wget: error getting response: Connection reset by peer
-ash: wget:: not found
[email protected]:~# *** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/a
gtef/brcm63xx-tch/packages/routing/Packages.gz
-ash: GUI.tar.bz2: not found
[email protected]:~#
[email protected]:~# Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/teleph
ony/Packages.gz
-ash: Downloading: not found
[email protected]:~# wget: can't execute 'openssl': No such file or directory
> wget: error getting response: Connection reset by peer
> *** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/a
gtef/brcm63xx-tch/packages/telephony/Packages.gz
>
> Downloading https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/manage
ment/Packages.gz
> wget: can't execute 'openssl': No such file or directory
-ash: wget:: not found
[email protected]:~# wget: error getting response: Connection reset by peer
-ash: wget:: not found
[email protected]:~# *** Failed to download the package list from https://repository.ilpuntotecnico.com/files/roleo/public/a
gtef/brcm63xx-tch/packages/management/Packages.gz
-ash: GUI.tar.bz2: not found
[email protected]:~#
[email protected]:~# Collected errors:
-ash: Collected: not found
[email protected]:~# * opkg_download: Failed to download https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brc
m63xx-tch/packages/base/Packages.gz, wget returned 1.
-ash: GUI.tar.bz2: not found
[email protected]:~# * opkg_download: Failed to download https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brc
m63xx-tch/packages/packages/Packages.gz, wget returned 1.
-ash: GUI.tar.bz2: not found
[email protected]:~# * opkg_download: Failed to download https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brc
m63xx-tch/packages/luci/Packages.gz, wget returned 1.
-ash: GUI.tar.bz2: not found
[email protected]:~# * opkg_download: Failed to download https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brc
m63xx-tch/packages/routing/Packages.gz, wget returned 1.
-ash: GUI.tar.bz2: not found
[email protected]:~# * opkg_download: Failed to download https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brc
m63xx-tch/packages/telephony/Packages.gz, wget returned 1.
-ash: GUI.tar.bz2: not found
[email protected]:~# * opkg_download: Failed to download https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brc
m63xx-tch/packages/management/Packages.gz, wget returned 1.
[email protected]:~#
questo se faccio opkg update -_- Ma il modem ha una connessione attiva?certo tramite porta wan seno qua sul sito non ci potevo navigare
curl -k https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/packages/wget_1.17.1-1_brcm63xx-tch.ipk -o /tmp/wget_1.17.1-1_brcm63xx-tch.ipk
opkg install /tmp/wget_1.17.1-1_brcm63xx-tch.ipk
opkg update
curl -k https://repository.ilpuntotecnico.com/files/roleo/public/agtef/brcm63xx-tch/packages/base/openssl-util_1.0.2n-1_brcm63xx-tch.ipk -o /tmp/openssl-util_1.0.2n-1_brcm63xx-tch.ipk
opkg install /tmp/openssl-util_1.0.2n-1_brcm63xx-tch.ipk
opkg update
@andrea.antprima da gui ed e andata ma poi come ti e successo a te mi e uscito l'errore provandoci ad entrare quindi ho applicato il consiglio che mi diedi post indietro
l'hai installata da shell o da gui?
Riporto qui un dettaglio interessante riguardo questo dispositivo, nel caso qualcuno abbia voglia di indagare più a fondoa mervirebbe riuscire a fare cio ma e tutto spiegato in modo blando -_-
Sat Oct 26 16:12:31 2019 user.notice SQM: Starting SQM script: simple.qos on vlan_eth4, in: 1000000 Kbps, out: 300000 Kbps
Sat Oct 26 16:12:35 2019 daemon.info syslog: 14[KNL] interface ifb4vlan_eth4 activated
Sat Oct 26 16:12:35 2019 daemon.info syslog: 16[KNL] fe80::58f1:afff:fe27:afc6 appeared on ifb4vlan_eth4
Sat Oct 26 16:12:35 2019 user.notice SQM: simple.qos was started on vlan_eth4 successfully
@andrea.antho provato a fare delle prove col comando /wl ma niente non ci riesco. e alcuni comandi che altri eseguono a me riporta come non supported boh ♂️
Forse perché nessuno a provato ad usare questo router come client. Poi usare il 5ghz come client è quasi una contraddizione in termini. Tieni presente che il chip è molto "permaloso" e a volte fallisce (boot loop continuo del router) e non so se il rischio vale la candela.
Si, 512 entrambe
[ 24.319000] BcmAdsl_Initialize=0xBF0DF028, g_pFnNotifyCallback=0xBF11B704
[ 24.326000] AdslCoreSetSDRAMBaseAddr: pAddr=0x0FD00000 sdramPageAddr=0xCF800000
[ 24.395000] BcmAdslCoreCalibrate: (cnt1-cnt)=0x03934b16, adslCoreCyclesPerMs=999744, BCMOS_MSEC_PER_TICK =1
[ 24.415000] DYING GASP IRQ Disabled
[ 24.434000] DYING GASP IRQ Enabled
[ 24.491000] AdslCoreSetSdramImageAddr: lmem2=0x10500000, pgSize=0x800000 sdramSize=0x19E370
[ 24.499000] AdslCoreSetSdramImageAddr: lmem2(0x500000) vs ADSL_PHY_SDRAM_BIAS(0x500000); origAddr=0xCFD00000 newAddr=0xCFD00000
[ 24.511000] pSdramPHY=0xCFFFFFF8, 0x17AD0E 0xDEADBEEF
[ 24.516000] AdslCoreSetSdramImageAddr: sdramPageAddr=0xcf800000, sdramImageAddr=0xcfd00000, sdramPhyImageAddr=0x10500000
[ 24.528000] *** AdslCoreSetXfaceOffset: data[0]=0xFFFFFE6F data[1]=0x190 ***
[ 24.535000] *** XfaceOffset: 0x190 => 0x190 ***
[ 24.802000] *** AdslCoreSetSdramTrueSize: data[0]=0x3733DDFF data[1]=0xC8CC2200 ***
[ 24.809000] *** AdslCoreSetSdramTrueSize: data[0]=0xFFDD3337 data[1]=0x22CCC8 ***
[ 24.816000] *** PhySdramSize got adjusted: 0x19E370 => 0x22CCC8 ***
[ 24.823000] AdslCoreSharedMemInit: shareMemSize=865040(865040)
[ 24.829000] __AdslCoreHwReset: pAdslX=0xfc700190
[ 24.834000] __AdslCoreHwReset: pAdslX->sdramBaseAddr=0x0000d0af, pAdslX->gfcTable[]=0x0000d0cf, adslCorePhyDesc.sdramImageAddr=0xcfd00000
[ 24.868000] AdslCoreHwReset: pLocSbSta=d40b8000 bkupThreshold=3072
[ 24.875000] AdslCoreHwReset: AdslOemDataAddr = 0xCFE63D2C, time=19 ms
[ 24.885000] VersionInfo: A2pvfbH043g.d26q
#!/bin/sh
. $IPKG_INSTROOT/lib/functions.sh
pinter_path="/var/spool/samba"
smb_share() {
local path
config_get path $1 path
pinter_path=$path
}
config_load samba
config_foreach smb_share sambashare
echo $pinter_path
#rm -rf $pinter_path
/etc/init.d/samba restart
Oltre ca-certificates e wget non ti serve nient'altro per scaricare da https. L'errore che leggi non ha nulla a che fare col dns. Se ca-certificates si è installato correttamente allora non so quell'errore da cosa dipenda.
Però io ti sconsiglio di aggiungere la repo. Se vuoi installare qualcosa va a prenderti i soli pacchetti che ti servono più tutte le loro dipendenze e installali tu valutando per ognuno se è opportuno o meno installarlo. Se installi una app con opkg install mia-app lui ti porta dietro tutte le dipendenze, tra cui molto probabilmente delle librerie o altri pacchetti di cui tu hai già installata una versione "diversa" custom di technicolor. Se lasci che questo avvenga un po' alla volta vedi che alcune cose smettono di funzionare come devono. Come linea di principio, se vedi che di un certo pacchetto c'è già una versione adeguata o sai per certo che quella dipendenza non la userai mai fai in modo da bypassarne l'installazione.
[email protected]:/tmp# nslookup repository.ilpuntotecnico.com
Server: 62.101.93.101
Address 1: 62.101.93.101 anyres1.fastwebnet.it
Name: repository.ilpuntotecnico.com
Address 1: 2606:4700:30::681f:4c3a
Address 2: 104.31.76.58
Address 3: 104.31.77.58
[email protected]:/tmp# wget https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/base/badblocks_1.42.12-1_brcm63xx-tch.ipk
Connecting to repository.ilpuntotecnico.com (104.31.76.58:443)
wget: error getting response: Connection reset by peer
[email protected]:/tmp#
[email protected]:~# cd /tmp/
[email protected]:/tmp# wget https://www.fujifilm.com/support/digital_cameras/manuals/pdf/index/x/fujifilm_xm1_manual_it.pdf
Connecting to www.fujifilm.com (54.201.103.159:443)
[email protected]:/tmp# wget https://files.canon-europe.com/files/soft38021/manual/EOS%20550D_HG_IT_Flat.pdf
Connecting to files.canon-europe.com (84.53.184.18:443)
[email protected]:/tmp# wget https://www.nikonsupport.eu/europe/Manuals/vqUaOfFVeV/d90_it_06.pdf
Connecting to www.nikonsupport.eu (188.138.80.247:443)
wget: error getting response: Connection reset by peer
[email protected]:/tmp# wget http://gdlp01.c-wss.com/gds/7/0300027837/01/EOS_6D_Mark_II_Instruction_Manual_IT.pdf
Connecting to gdlp01.c-wss.com (23.0.35.174:80)
[email protected]:/tmp# wget https://www.cinquephoto.com/wp-content/uploads/2017/11/Manuale-Canon-EOS-200D.pdf
Connecting to www.cinquephoto.com (192.124.249.104:443)
[email protected]:/tmp#
src/gz base https://raw.githubusercontent.com/BoLaMN/brcm63xx-tch/master/packages/base
src/gz luci https://raw.githubusercontent.com/BoLaMN/brcm63xx-tch/master/packages/luci
src/gz management https://raw.githubusercontent.com/BoLaMN/brcm63xx-tch/master/packages/management
src/gz packages https://raw.githubusercontent.com/BoLaMN/brcm63xx-tch/master/packages/packages
src/gz routing https://raw.githubusercontent.com/BoLaMN/brcm63xx-tch/master/packages/routing
src/gz telephony https://raw.githubusercontent.com/BoLaMN/brcm63xx-tch/master/packages/telephony
[email protected]:/tmp# opkg install --force-downgrade libopenssl_1.0.2n-1_brcm63xx-tch.ipk
Downgrading libopenssl on root from 1.0.2q-2 to 1.0.2n-1...
Configuring libopenssl.
[email protected]:/tmp# wget https://www.nikonsupport.eu/europe/Manuals/vqUaOfFVeV/d90_it_06.pdf
Connecting to www.nikonsupport.eu (188.138.80.247:443)
[email protected]:/tmp# wget https://repository.ilpuntotecnico.com/files/roleo/public/agtef/1.1.0/brcm63xx-tch/packages/luci/Packages.gz
Connecting to repository.ilpuntotecnico.com (104.31.76.58:443)
wget: error getting response: Connection reset by peer
[email protected]:/tmp# opkg list-installed |grep ssl
libmosquitto-ssl - 1.4.10-2
libopenssl - 1.0.2n-1
openssl-util - 1.0.2n-1
[email protected]:/tmp# opkg list-installed |grep wget
wget - 1.17.1-1
[email protected]:/tmp# opkg list-installed | ca-certificates
-ash: ca-certificates: not found
[email protected]:/tmp#
[email protected]:/etc# opkg install ca-certificates
Installing ca-certificates (20161130+nmu1) to root...
Downloading https://raw.githubusercontent.com/BoLaMN/brcm63xx-tch/master/packages/base/ca-certificates_20161130+nmu1_all.ipk
Collected errors:
* check_data_file_clashes: Package ca-certificates wants to install file /etc/ssl/certs/578d5c04.0
But that file is already provided by package * https-certificates
* check_data_file_clashes: Package ca-certificates wants to install file /etc/ssl/certs/aee5f10d.0
But that file is already provided by package * https-certificates
* opkg_install_cmd: Cannot install package ca-certificates.
[email protected]:/etc# opkg list-installed | grep https-certificates
https-certificates - 0.1-1
[email protected]:/etc#
rm /etc/ssl/certs/578d5c04.0
rm /etc/ssl/certs/aee5f10d.0
opkg install ca-certificates
Application: scanner server (SANE)
Additional hardware
SANE-compatible USB scanner
Additional software
sane-backends, libusb, libgcc, libpthreads, xinetd
HowTo
Install sane-backends. Attach your scanner and check if SANE can find it:
scanimage -L
You should get something like this:
[email protected]:~# scanimage -L
device `hp:libusb:001:004' is a Hewlett-Packard ScanJet 63x0C flatbed scanner
[email protected]:~#
Edit /etc/sane.d/<your_backend>.conf if neccessary. Edit /etc/sane.d/saned.conf and add "+" to allow all IP addresses to use scanner. Add line:
sane-port 6566/tcp
to /etc/services. Create /etc/xinetd.d/sane:
service sane-port
{
socket_type = stream
server = /usr/sbin/saned
protocol = tcp
user = root
group = root
wait = no
disable = no
}
Start xinetd: /etc/init.d/xinetd start. You can now connect to saned using XSane or any other SANE frontend.
[email protected]:/etc/config# netstat -ltunp
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.1.254:22 0.0.0.0:* LISTEN 7428/dropbear
tcp 0 0 2001:b07:xxxx:xxxx::1:22 :::* LISTEN 7428/dropbear
config dropbear
option enable '0'
option Interface 'wan'
option PasswordAuth 'on'
option RootPasswordAuth 'off'
option RootLogin '0'
option AllowedClientIPs '.....lista di IP....'
option Port '22'
option IdleTimeout '600'
config dropbear 'lan'
option enable '1'
option PasswordAuth 'off'
option RootPasswordAuth 'off'
option RootLogin '1'
option Interface 'lan'
option Port '22'
option IdleTimeout '600'
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
arch all 100
arch mvebu 200
arch brcm63xx-tch 300
src/gz chaos_calmer_base http://downloads.openwrt.org/chaos_calmer/15.05.1/mvebu/generic/packages/base
src/gz chaos_calmer_packages http://downloads.openwrt.org/chaos_calmer/15.05.1/mvebu/generic/packages/packages
src/gz chaos_calmer_luci http://downloads.openwrt.org/chaos_calmer/15.05.1/mvebu/generic/packages/luci
src/gz chaos_calmer_routing http://downloads.openwrt.org/chaos_calmer/15.05.1/mvebu/generic/packages/routing
src/gz chaos_calmer_telephony http://downloads.openwrt.org/chaos_calmer/15.05.1/mvebu/generic/packages/telephony
src/gz chaos_calmer_management http://downloads.openwrt.org/chaos_calmer/15.05.1/mvebu/generic/packages/management
opkg updateconfig interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'xx:xx:xx::/48'
option default_ps '0'
config interface 'lan'
option ifname 'eth0 eth1 eth2 eth3'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
option ipv6 '0'
config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''
config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'
config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'
config interface 'wan'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused 'xx:xx:xx:xx:xx:xx'
option ifname 'ptm0'
option auto '1'
config interface 'mgmt'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '100'
config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '0'
config interface 'wwan'
option proto 'mobiled'
option session_id '0'
option profile '1'
option auto '0'
option enabled '0'
config interface 'vlan_wan'
option ifname 'vlan_ptm0'
config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr 'xx:xx:xx:xx:xx:xx'
config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr 'xx:xx:xx:xx:xx:xx'
config config 'config'
config interface 'hotspot'
option type 'bridge'
option proto 'static'
config interface 'gre'
option peeraddr 'xx.xx.xx.xx'
option mtu '1400'
option df '1'
option zone 'wan'
option tunlink 'wan'
option ttl '100'
option proto 'gretap'
option network 'hotspot'
config interface 'wan'
option ifname 'eth0 ptm0'
option type 'bridge'
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'xx:xx:xx::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.2.1'
option dns '1.1.1.1 1.0.0.1'
config device 'lan_dev'
option name 'eth0.1'
option macaddr 'xx:xx:xx:xx:xx:xx'
config interface 'wan'
option ifname 'eth0.100'
option proto 'dhcp'
config device 'wan_dev'
option name 'eth0.100'
option macaddr 'xx:xx:xx:xx:xx:xx' <------ inserisco il MAC della WAN del Fastgate
config interface 'wan6'
option ifname 'eth0.100'
option proto 'dhcpv6' <---------- in un secondo momento qua' cerchero' di configurare il 6rd manualmente senza prendere i parametri dall'opzione 212 del dhcp
option auto '0'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 6t'
config switch_vlan
option device 'switch0'
option vlan '100' <------------------ imposto la vlan 100 di fastweb
option ports '0t 6t' <---------------------- metto entrambe le porte tagged per encapsulation 802.1q
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'xx:xx:xx::/48'
option default_ps '0'
config interface 'lan'
option ifname 'eth1 eth2 eth3' # <------ modificato rispetto file config originale - rimossa eth0
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
option ipv6 '0'
config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''
config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'
config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'
config interface 'wan' # <------ modificato rispetto file config originale
option ifname 'eth0 ptm0' # <------ modificato rispetto file config originale
option type 'bridge' # <------ modificato rispetto file config originale
config interface 'mgmt'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '100'
config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '0'
config interface 'wwan'
option proto 'mobiled'
option session_id '0'
option profile '1'
option auto '0'
option enabled '0'
config interface 'vlan_wan'
option ifname 'vlan_ptm0'
config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr 'xx:xx:xx:xx:xx:xx'
config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr 'xx:xx:xx:xx:xx:xx'
config config 'config'
config interface 'hotspot'
option type 'bridge'
option proto 'static'
config interface 'gre'
option peeraddr 'xx.xx.xx.xx'
option mtu '1400'
option df '1'
option zone 'wan'
option tunlink 'wan'
option ttl '100'
option proto 'gretap'
option network 'hotspot'
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'xx:xx:xx::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '10.0.0.1'
config device 'lan_dev'
option name 'eth0.1'
option macaddr 'xx:xx:xx:xx:xx:xx'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
option peerdns '0'
option dns '1.1.1.1 1.0.0.1'
config device 'wan_dev'
option name 'eth0.2'
option macaddr 'xx:xx:xx:xx:xx:xx'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
option auto '0'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 6t'
[email protected]:~# netstat -ltunp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:51050 0.0.0.0:* LISTEN 5018/cwmpd
tcp 0 0 127.0.0.1:9034 0.0.0.0:* LISTEN 5529/cm
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 4184/smbd
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 5074/nginx.conf -g
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5074/nginx.conf -g
tcp 0 0 192.168.1.254:22 0.0.0.0:* LISTEN 4068/dropbear
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 4174/dnsmasq
tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN 5761/lighttpd
tcp 0 0 127.0.0.1:8889 0.0.0.0:* LISTEN 5761/lighttpd
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 5074/nginx.conf -g
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 4184/smbd
tcp 0 0 :::51050 :::* LISTEN 5018/cwmpd
tcp 0 0 :::8080 :::* LISTEN 5074/nginx.conf -g
tcp 0 0 :::80 :::* LISTEN 5074/nginx.conf -g
tcp 0 0 :::53 :::* LISTEN 4174/dnsmasq
tcp 0 0 :::23 :::* LISTEN 3639/telnetd
tcp 0 0 :::443 :::* LISTEN 5074/nginx.conf -g
udp 0 0 0.0.0.0:53 0.0.0.0:* 4174/dnsmasq
udp 0 0 0.0.0.0:67 0.0.0.0:* 4174/dnsmasq
udp 0 0 192.168.1.254:137 0.0.0.0:* 4211/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 4211/nmbd
udp 0 0 192.168.1.254:138 0.0.0.0:* 4211/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 4211/nmbd
udp 0 0 192.168.1.254:5351 0.0.0.0:* 6315/miniupnpd-igdv
udp 0 0 :::547 :::* 3393/odhcpd
udp 0 0 :::547 :::* 3393/odhcpd
udp 0 0 :::53 :::* 4174/dnsmasq
udp 0 0 :::123 :::* 5365/ntpd
config userredirect 'userredirectB27B'
option enabled '1'
option dest_mac 'aa:ab:ac:a2:5c:b1'
option src 'wan'
option dest 'lan'
option src_dport '432'
list proto 'tcp'
option name 'porta432'
option family 'ipv4'
option dest_port '80'
option target 'DNAT'
Se spieghi quello che vuoi fare, forse qualcuno ti può dare un consiglio appropriato.
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdd3:abfc:eefb::/48'
option default_ps '0'
config interface 'lan'
option ifname 'eth0 eth1 eth2 eth3'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''
config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'
config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'
config interface 'wan'
option proto 'pppoe'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused '20:B0:01:XX:XX:AF'
option ifname 'ptm0'
option auto '1'
config interface 'mgmt'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '100'
config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '1'
config interface 'wwan'
option auto '1'
option proto 'mobiled'
option session_id '0'
option profile '1'
option enabled '1'
config interface 'vlan_wan'
option ifname 'vlan_ptm0'
config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr '20:B0:01:XX:XX:AE'
config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr '20:B0:01:XX:XX:AF'
config config 'config'
config interface 'wan'
option proto 'pppoe'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option username 'utentepppoe'
option password 'passwordpppoe'
option authfail '0'
option auto '1'
option ifname 'vlan_ptm0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused '10:13:31:F5:28:8D'
config interface 'mgmt'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '100'
config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '1'
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd1b:e543:a24e::/48'
option default_ps '0'
config interface 'lan'
option ifname 'eth0 eth1 eth2 eth3'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay 'wanptm0'
config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''
config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'
config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'
config interface 'wan'
option proto 'pppoe'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option username 'utentepppoe'
option password 'passwordpppoe'
option authfail '0'
option graceful_restart '1'
option auto '1'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1492'
option initboot '1'
option ipv6 '0'
option macaddr '10:13:31:F5:28:8D'
option ifname 'wanptm0'
option peerdns '1'
config config 'config'
option wan_mode 'pppoe'
config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1492'
option name 'vlan_ptm0'
option vid '835'
config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '1'
option mtu '1492'
config interface 'wwan'
option proto 'mobiled'
option session_id '0'
option profile '1'
option auto '1'
option enabled '1'
config interface 'vlan_wan'
option ifname 'vlan_ptm0'
config device 'waneth4'
option enabled '1'
option type '8021q'
option name 'waneth4'
option vid '835'
option ipv6 '1'
config device 'wanptm0'
option enabled '1'
option type '8021q'
option name 'wanptm0'
option vid '835'
option ipv6 '0'
option macaddr '10:13:31:F5:28:8D'
option ifname 'ptm0'
config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr '10:13:31:F5:28:8C'
config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr '10:13:31:F5:28:8D'
config interface 'hotspot'
option type 'bridge'
option proto 'static'
config interface 'gre'
option peeraddr '10.254.3.85'
option mtu '1400'
option df '1'
option zone 'wan'
option tunlink 'wan'
option ttl '100'
option proto 'gretap'
option network 'hotspot'
config interface 'ipoe'
option proto 'dhcp'
option metric '1'
option reqopts '1 3 6 43 51 58 59'
option release '1'
option neighreachabletime '1200000'
option neighgcstaletime '2400'
option ipv6 '1'
Sun Dec 29 13:47:31 2019 user.warn ddns-scripts[24850]: myddns_ipv4: NO valid IP found
Sun Dec 29 13:47:31 2019 user.warn ddns-scripts[24850]: myddns_ipv4: Get registered/public IP for '*****' failed - retry 131/0 in 60 seconds
Ho la gui di Ansuel installata e il ddns si registra senza problemi all'inizio ma dopo inizia a fare così, cosa posso fare per sistemare?if [ $is_glue -eq 1 ]; then
__DATA=$(cat $DATFILE | grep "^$lookup_host" | grep -om1 "$__REGEX" )
else
#__DATA=$(cat $DATFILE | awk -F "address " '/has/ {print $2; exit}' ) # questa non funziona
__DATA=$(cat $DATFILE | grep -om1 "$__REGEX") # questa invece funziona
fi
rtfd --all
mtd erase rootfs_data
La soluzione, sfortunatamente almeno per me è stata solo temporanea, te l'ho scritta prima.. quella definitiva penso sia fare un reballing fatto bene e dissipare meglio per evitare ricapiti
RIP_ID_FACTORY_RELEASE_DATE no_crypt
dumping to file RIP_ID_FACTORY_RELEASE_DATE_0x0022-4f197d90 ....
00000000: 30 39 30 34 31 38 090418
RIP_ID_PART_NBR_VARIANT no_crypt
dumping to file RIP_ID_PART_NBR_VARIANT_0x0004-4f197d90 ....
00000000: 33 37 36 34 32 35 30 41 3764250A
RIP_ID_ICS no_crypt
dumping to file RIP_ID_ICS_0x0010-4f197d90 ....
00000000: 45 31 E1
RIP_ID_FIA no_crypt
dumping to file RIP_ID_FIA_0x0028-4f197d90 ....
00000000: 5A 45 ZE
/sys/devices/i2c-0/0-0048/temp1_input
/sys/devices/i2c-0/0-004f/temp1_input
ed è configurato così:thermal_protection.thermalprotection=thermalprotection
thermal_protection.thermalprotection.enabled='1'
thermal_protection.thermalprotection.upperthreshold='94'
thermal_protection.thermalprotection.lowerthreshold='90'
thermal_protection.thermalprotection.recurrence='5'
edit: ehm… ma io in /sys/devices/i2c-0/0-004f/ non ho il valore di temperatura….La avevo notata anche io questa cosa.. quando funziinava
lm75: probe of 0-004f failed with error -5
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'xx:xx:xx::/48'
option default_ps '0'
config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
list pppoerelay ''
list ifname 'eth0'
list ifname 'eth1'
list ifname 'eth2'
list ifname 'eth3'
list ifname 'wl0'
config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''
config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'
config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'
config interface 'wan'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused 'xx:xx:xx:xx:xx:xx'
option auto '1'
option password 'password'
option proto 'dhcp'
option ifname '@vlan_wan'
config interface 'mgmt'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '100'
config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '0'
config interface 'wwan'
option proto 'mobiled'
option session_id '0'
option profile '1'
option auto '0'
option enabled '0'
config interface 'vlan_wan'
option ifname 'vlan_ptm0'
config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr 'xx:xx:xx:xx:xx:xx'
config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr 'xx:xx:xx:xx:xx:xx'
config config 'config'
option wan_mode 'dhcp'
config interface 'ipoe'
option proto 'dhcp'
option metric '1'
option reqopts '1 3 6 43 51 58 59'
option release '1'
option neighreachabletime '1200000'
option neighgcstaletime '2400'
option ipv6 '1'
config device 'waneth4'
option enabled '1'
option type '8021q'
option name 'waneth4'
option vid '835'
config device 'wanptm0'
option enabled '1'
option type '8021q'
option name 'wanptm0'
option vid '835'
option ifname 'ptm0'
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'xx:xx:xx::/48'
option default_ps '0'
config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
list pppoerelay ''
list ifname 'eth1'
list ifname 'eth2'
list ifname 'eth3'
list ifname 'wl0'
config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''
config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'
config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'
config interface 'wan'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused 'xx:xx:xx:xx:xx:xx'
option auto '1'
option password 'password'
option proto 'bridge'
option type 'bridge'
option ifname 'eth0 @vlan_wan'
config interface 'mgmt'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '100'
config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '0'
config interface 'wwan'
option proto 'mobiled'
option session_id '0'
option profile '1'
option auto '0'
option enabled '0'
config interface 'vlan_wan'
option ifname 'vlan_ptm0'
config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr 'xx:xx:xx:xx:xx:xx'
config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr 'xx:xx:xx:xx:xx:xx'
config config 'config'
option wan_mode 'bridge'
config interface 'ipoe'
option proto 'dhcp'
option metric '1'
option reqopts '1 3 6 43 51 58 59'
option release '1'
option neighreachabletime '1200000'
option neighgcstaletime '2400'
option ipv6 '1'
config device 'waneth4'
option enabled '1'
option type '8021q'
option name 'waneth4'
option vid '835'
config device 'wanptm0'
option enabled '1'
option type '8021q'
option name 'wanptm0'
option vid '835'
option ifname 'ptm0'
Al contrario direi che i problemi non li ha proprio chi è in vula, perché lì mi pare utilizzino il VLANID 835 al posto del 100 dove il controllo sul vendor id non viene fatto... Ma aspetto qualcuno che confermi la cosa
dhcp lan
list dhcp_option 'tag:cpewan-id,vi-encap:3561,6,"Technicolor DGA4131FWB"'
list dhcp_option 'tag:cpewan-id,vi-encap:3561,5,"CP1939JC0WL"'
list dhcp_option 'tag:cpewan-id,vi-encap:3561,4,"20B001"'
config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '0'
[email protected]:~# tcpdump -i vlan_ptm0 -v -n port 67
tcpdump: listening on vlan_ptm0, link-type EN10MB (Ethernet), capture size 262144 bytes
18:42:30.944715 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 333)
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from xx:xx:xx:xx:xx:xx, length 305, xid 0xd688991a, Flags [none]
Client-Ethernet-Address xx:xx:xx:xx:xx:xx
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Requested-IP Option 50, length 4: xx.xx.xx.xx
T145 Option 145, length 1: 1
MSZ Option 57, length 2: 1500
Parameter-Request Option 55, length 9:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Vendor-Option
Lease-Time, RN, RB, Option 212
Classless-Static-Route
Vendor-Class Option 60, length 35: "Technicolor_DGA4131FWB/dslforum.org"
18:42:31.012953 IP (tos 0xd8, ttl 255, id 0, offset 0, flags [none], proto UDP (17), length 400)
10.0.72.165.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 372, hops 1, xid 0xd688991a, Flags [Broadcast]
Your-IP xx.xx.xx.xx
Client-Ethernet-Address xx:xx:xx:xx:xx:xx
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 10.254.3.253
Subnet-Mask Option 1, length 4: 255.255.255.128
Default-Gateway Option 3, length 4: xx.xx.xx.xx
Domain-Name-Server Option 6, length 8: 62.101.93.101,83.103.25.250
Domain-Name Option 15, length 13: "fastwebnet.it"
Vendor-Option Option 43, length 41: 1.39.104.116.116.112.58.47.47.53.57.46.48.46.49.50.49.46.49.57.49.58.56.48.56.48.47.65.67.83.45.115.101.114.118.101.114.47.65.67.83
Lease-Time Option 51, length 4: 28800
RN Option 58, length 4: 14400
RB Option 59, length 4: 14460
T212 Option 212, length 22: 32,8193,2823,0,0,0,0,0,0,20944,13014
[email protected]:~# tcpdump -i eth0 -v -n port 67
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
19:11:52.580182 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from xx:xx:xx:xx:xx:xx, length 300, xid 0x2dbd6f94, Flags [none]
Client-Ethernet-Address xx:xx:xx:xx:xx:xx
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Hostname Option 12, length 4: "ubnt"
Parameter-Request Option 55, length 5:
Subnet-Mask, BR, Default-Gateway, Domain-Name-Server
MTU
[email protected]# show interfaces ethernet eth0
address dhcp
description WAN
dhcp-options {
client-option "retry 60;"
client-option "send vendor-class-identifier "Technicolor_DGA4131FWB/dslforum.org";"
client-option "send vendor-class-identifier"Technicolor_DGA4131FWB/dslforum.org";"
client-option "send vendor-class-identifier"dslforum.org";"
client-option "send vendor-class-identifier "dslforum.org";"
client-option "send vendor-class-identifier"ubnt/dslforum.org";"
client-option "send vendor-class-identifier "ubnt/dslforum.org";"
default-route update
default-route-distance 1
name-server no-update
}
duplex auto
firewall {
in {
ipv6-name WANv6_IN
name WAN_IN
}
local {
ipv6-name WANv6_LOCAL
name WAN_LOCAL
}
out {
ipv6-name WANv6_OUT
name WAN_OUT
}
}
mac xx:xx:xx:xx:xx:xx
speed auto
[email protected]:~# tcpdump -i vlan_ptm0 port 67 -vv
tcpdump: listening on vlan_ptm0, link-type EN10MB (Ethernet), capture size 262144 bytes
18:29:31.151909 IP (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 333)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from xx:xx:xx:xx:xx:xx (oui Unknown), length 305, xid 0x977913db, Flags [none] (0x0 000)
Client-Ethernet-Address xx:xx:xx:xx:xx:xx (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Request
Requested-IP Option 50, length 4: 93.xx.xx.xx
T145 Option 145, length 1: 1
MSZ Option 57, length 2: 1500
Parameter-Request Option 55, length 9:
Subnet-Mask, Default-Gateway, Domain-Name-Server, Vendor-Option
Lease-Time, RN, RB, Option 212
Classless-Static-Route
Vendor-Class Option 60, length 35: "Technicolor_DGA4131FWB/dslforum.org"
18:29:31.320610 IP (tos 0xd8, ttl 255, id 0, offset 0, flags [none], proto UDP (17), length 400)
10.0.72.165.bootps > 255.255.255.255.bootpc: [udp sum ok] BOOTP/DHCP, Reply, length 372, hops 1, xid 0x977913db, Flags [Broadcast] (0x8000)
Your-IP 93.xx.xx.xx
Client-Ethernet-Address xx:xx:xx:xx:xx:xx (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: ACK
Server-ID Option 54, length 4: 10.254.3.253
Subnet-Mask Option 1, length 4: 255.255.255.128
Default-Gateway Option 3, length 4: 93.xx.xx.xx
Domain-Name-Server Option 6, length 8: 62.101.93.101,83.103.25.250
Domain-Name Option 15, length 13: "fastwebnet.it"
Vendor-Option Option 43, length 41: 1.39.104.116.116.112.58.47.47.53.57.46.48.46.49.50.49.46.49.57.49.58.56.48.56.48.47.65.67.83.45.115.101.114.118.1 01.114.47.65.67.83
Lease-Time Option 51, length 4: 28800
RN Option 58, length 4: 14400
RB Option 59, length 4: 14460
T212 Option 212, length 22: 32,8193,2823,0,0,0,0,0,0,20944,13014
dhcp_dslforumorg = yes;
macdsl_override = xx:xx:xx:xx:xx:xx; (il mac del Fastgate)
etherencapcfg {
use_dhcp = yes;
use_dhcp_if_not_encap_ether = no;
ipaddr = 0.0.0.0;
netmask = 0.0.0.0;
gateway = 0.0.0.0;
dns1 = 0.0.0.0;
dns2 = 0.0.0.0;
class_identifier = "Technicolor_DGA4131FWB/dslforum.org";
Se viene richiesto l'indirizzo MAC del modem DSL: l'indirizzo MAC del FRITZ!Box si trova sulla targhetta sulla confezione.
Tutti i miei dubbi nascono dal fatto che a quanto dice con il Fritz non prende alcun IPAvrà CWMP disabilitato.
16:55:01.919065 IP (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328)
0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok] BOOTP/DHCP, Request from xx:xx:xx:xx:xx:47 (oui Unk nown), length 300, xid 0x417ac2cf, secs 56, Flags [none] (0x0000)
Client-Ethernet-Address xxxx:xx:xx:xx:47 (oui Unknown)
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Requested-IP Option 50, length 4: 93.38.127.159
Parameter-Request Option 55, length 7:
Subnet-Mask, BR, Time-Zone, Default-Gateway
Domain-Name, Domain-Name-Server, Hostname
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: Starting hostapd version [V1.9.0-g19995fdc60ba64baf6bd740bb354f0239f312923].
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: Using RIP ID 0x0119 for radio wl0
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: Using RIP ID 0x0129 for radio wl1
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [WL_MGMT] found radio : brcm0
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.595000] wl_event_open
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.597000] wl_event_open COMPLETED
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [WLANECO] Register WLAN Eco Radio : brcm0 : error = 0
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [WL_MGMT] found radio : brcm_dhd0
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.614000] dhd_tch_event_open
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.617000] dhd_tch_event_open COMPLETED
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [BRCM_DHD] Watchdog initialized
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [BRCM_DHD] Watchdog thread initialized
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [WLANECO] Register WLAN Eco Radio : brcm_dhd0 : error = 0
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.697000] CONSOLE: 057447.357 wl1: wl_open
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.700000] CONSOLE: 057447.358 wlc_ucode_download: wl1: Loading non-MU ucode
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.708000] CONSOLE: 057447.374 wl1: CORE INIT : nfifo 32 mu_tx_enab 0
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.715000] CONSOLE: 057447.374 wl1: CORE INIT : mode 2 pktclassify 1 rxsplit 0 hdr conve 0 DMA_CT Enabled
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.725000] CONSOLE: 057447.387 wl1: wlc_enable_probe_req: state down, deferring setting of host flags
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.735000] CONSOLE: 057447.387 enable 1: q0 frmcnt 0, wrdcnt 0, q1 frmcnt 0, wrdcnt 0
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.742000] CONSOLE: 057447.402 wl1: wlc_ampdu_tx_set: AGG Mode = MAC+AQM txmaxpkts 512
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.750000] CONSOLE: 057447.407 wl1: wlc_ampdu_tx_set: AGG Mode = MAC+AQM txmaxpkts 512
Thu Jan 23 15:35:23 2020 user.notice postmortem: core dump for pid 31806 file hostapd.31806.4.1579790123.core ignored due to system.coredump.action setting
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.801000] wl_event_release
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.803000] dhd_tch_event_release
Thu Jan 23 15:36:23 2020 daemon.err nginx: 2020/01/23 15:36:23 [error] 5144#0: *77 lua entry thread aborted: runtime error: [string "/modals/wireless-modal.lp"]:146: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
coroutine 0:
[C]: in function 'ipairs'
[string "/modals/wireless-modal.lp"]:146: in function 'content'
/usr/lib/lua/web/web.lua:268: in function 'process'
content_by_lua(nginx.conf:109):4: in function <content_by_lua(nginx.conf:109):1>, client: 93.144.9.187, server: loc'
config coredump
option reboot '0'
sul file /etc/system#!/bin/sh
logger -p crit $1
echo $1 > /dev/console
REBOOT=`uci get wireless.global.reboot_on_fatal_error`
if [ "$?" != "0" ] || [ "$REBOOT" != "0" ] ; then # <- da qui capisco che potrebbe riavviarsi anche quando REBOOT vale 0
logger -p crit "REBOOTING BOARD"
echo "REBOOTING BOARD" > /dev/console
sleep 2
#Reboot with reason...
# boot_srr UERR
fi
ambient_on = {
staticLed("ambient1:white", false),
staticLed("ambient2:white", false),
staticLed("ambient3:white", false),
staticLed("ambient4:white", false),
staticLed("ambient5:white", false),
},
ambient_off = {
staticLed("ambient1:white", false),
staticLed("ambient2:white", false),
staticLed("ambient3:white", false),
staticLed("ambient4:white", false),
staticLed("ambient5:white", false),
Attenzione che dopo ogni aggiornamento della gui il file viene sovrascritto.
[email protected]:~# cat /etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
echo "none" > /sys/class/leds/ambient1\:white/trigger
echo "none" > /sys/class/leds/ambient2\:white/trigger
echo "none" > /sys/class/leds/ambient3\:white/trigger
echo "none" > /sys/class/leds/ambient4\:white/trigger
echo "none" > /sys/class/leds/ambient5\:white/trigger
echo "default-on" > /sys/class/leds/broadband:green/trigger
echo "none" > /sys/class/leds/broadband:red/trigger
exit 0
In questo modo spendo i led ambiente, accendo il verde, e spengo il rosso della DSL.Per avere un comportamento del genere credo che avesse la gui anche in bank2 con il controllo della bank attivato... bella testa.Sì è probabile che la prima installazione della custom GUI fosse stata fatta su bank_2, ma il problema è: perchè dopo la migrazione sul primo banco la custom gui lascia il secondo banco in uno stato inservibile? La migrazione automatica sul primo banco non è che avvenga solo durante l'installazione, si riverifica continuamente ogni volta che si prova a riavviare il banco 2 e questo è un problema enorme. Sarebbe meglio non fare alcuna migrazione e lasciare la gui in funzione sul banco su cui viene installata e stop, in modo da lasciare pulito l'altro (meglio se l'altro è il primo per il solito motivo). Finchè non sistemano questa cosa sarà pieno di casi di brick simili a quello di @Bales,
hhecking country codes in /etc/wlan/brcm_country_map_5G (wl1)
Checking0/0/804 --> NOK
Checking Q1/45 --> NOK
############################################################################
### ERROR. WLAN COUNTRY MAP FILES NOT CORRECT
### --> DISABLING WLAN
############################################################################
[ 17.027000] dhdpcie_bus_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 22.034000] dhdpcie_readshared: address (0xf7c70838) of pciedev_shared invalid
[ 22.040000] Waited 5000023 usec, dongle is not ready
[ 22.045000] dhd_bus_init :Shared area read failed
[ 22.050000] dhd_bus_start, dhd_bus_init failed -1
[ 22.055000] dhdpcie_init: dhd_bud_start() failed
[ 22.361000] dhd_detach(): thread:dhd_watchdog_thread:346 terminated OK
[ 22.367000] dhd_dpc_thread: Unexpected up_cnt 0
[ 22.367000] dhd_detach(): thread:dhd0_dpc:347 terminated OK
[ 22.378000] dhd_flow_rings not initialized!
[ 22.392000] dhdpcie_pci_probe: PCIe Enumeration failed
[ 22.396000] dhdpcie_init: can't find adapter info for this chip
[ 22.519000] DHD: dongle ram size is set to 1835008(orig 1835008) at 0x200000
[ 22.526000] dhd:0: fw path:/etc/wlan_dhd nv path:(null)
[ 22.531000] Creating CPU ring for queue number 7 with 128 packets descriptor=0xbe9f460c
[ 22.531000] Done initializing Ring 7 Base=0xffdf3000 End=0xffdf3800 calculated entries= 128 RDD Base=0x00c25000 descriptor=0xbe9f460c
[ 22.552000] RDPA returned tx wakeup reg = <0x80299004>, val = <0x10000000>
[ 22.559000] RDPA returned rx wakeup reg = <0x8029a004>, val = <0x26000000>
[ 22.566000] dhd_runner_psp_get radio0rxoffl not implemented
[ 22.572000] dhd_runner_attach: Rx Offload - Enabled, Ring Size = 1024
[ 22.581000] dhd_attach: wl0: pre-allocated buffer mode is disabled (allocskbsz=0)
[ 22.588000] dhd_attach(): thread:dhd_watchdog_thread:349 started
[ 22.595000] dhd_attach(): thread:dhd0_dpc:34a started
[ 22.600000] dhd_deferred_work_init: work queue initialized
[ 22.605000] Creating CPU ring for queue number 2 with 1024 packets descriptor=0xbec418f0
[ 22.605000] Creating CPU ring for queue number 3 with 1024 packets descriptor=0xbec4190c
[ 22.615000] wfd_bind: Dev wl%d wfd_idx 1 wl_radio_idx 0 Type fkb configured WFD thread wfd1-thrd minQId/maxQId (10/11), status (0) qmask 0xc
[ 22.628000] Instantiating WFD 1 thread
[ 22.640000] dhd:0: fw path:/etc/wlan_dhd nv path:(null)
[ 22.646000] dhd_bus_download_firmware: firmware path=/etc/wlan_dhd, nvram path=
[ 22.653000] update_firmware_path: DHD HDR feature is supported.
[ 22.660000] dhdpcie_ramsize_adj: Enter
[ 22.663000] dhdpcie_ramsize_adj: Adjust dongle RAMSIZE to 0x240000
[ 22.670000] dhdpcie_download_code_file: download firmware /etc/wlan_dhd/4366c0/rtecdc.bin
[ 23.013000] wl:srom/otp not programmed, using main memory mapped srom info(wombo board)
[ 23.020000] wl: ID=pci/1/1/0/
[ 23.023000] wl: ID=pci/1/1/0/
[ 23.026000] wl: loading /etc/wlan/bcm43664_map.bin
[ 23.037000] wl: reading /etc/wlan/bcmcmn_nvramvars.bin, file size=20
[ 23.043000] Replace or append with internal Mac Address
[ 23.050000] dhdpcie_bus_write_vars: Download, Upload and compare of NVRAM succeeded.
Ma non c'è un changelog ufficiale del 18.3 fastweb?
curl -k https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/base/openssl-util_1.0.2t-1_arm_cortex-a9_neon.ipk -o /tmp/openssl-util_1.0.2t-1_arm_cortex-a9_neon.ipk
opkg install /tmp/openssl-util_1.0.2t-1_arm_cortex-a9_neon.ipk
curl -k https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/base/libopenssl_1.0.2t-1_arm_cortex-a9_neon.ipk -o /tmp/libopenssl_1.0.2t-1_arm_cortex-a9_neon.ipk
opkg install /tmp/libopenssl_1.0.2t-1_arm_cortex-a9_neon.ipk
[email protected]:~# nano
nano: error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory
[email protected]:/proc/rip# asterisk
asterisk: /lib/libuuid.so.1: no version information available (required by asterisk)
[email protected]:/proc/rip# opkg install libuuid
Upgrading libuuid on root from 2.25.2-4 to 2.32-2...
Downloading https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/base/libuuid_2.32-2_arm_cortex-a9_neon.ipk
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Configuring libuuid.
[email protected]:/proc/rip# asterisk
asterisk: /lib/libuuid.so.1: no version information available (required by asterisk)
Asterisk already running on /var/run/asterisk/asterisk.ctl. Use 'asterisk -r' to connect.
[email protected]:/proc/rip# asterisk
asterisk: /lib/libuuid.so.1: no version information available (required by asterisk)
Asterisk already running on /var/run/asterisk/asterisk.ctl. Use 'asterisk -r' to connect.
[email protected]:/proc/rip# asterisk -r
asterisk: /lib/libuuid.so.1: no version information available (required by asterisk)
Asterisk 13.20.0, Copyright (C) 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 13.20.0 currently running on OpenWrt (pid = 17928)
OpenWrt*CLI> exit
Asterisk cleanly ending (0).
È un lusso che nella pratica nessun ISP ci riserva, grazie a dio almeno la versione ancora la mostrano da interfaccia..Mi ha tolto anche i pacchetti installati tipo l'adblock, i settaggi di dropbear ecc...ma SSID, PSK ecc sono rimaste. Insomma hanno tolto solo le "modifiche non autorizzate" per così dire.
Hai perso solo i DNS custom o anche altre opzioni? Tipo chesso SSID WiFi ... Insomma ti hanno fatto un reset completo?
No ma è un bell'update. Tra nuovo kenel, nuove libc, nuovo driver wifi e nuovo server SMB direi che questo update fa davvero tanto di buono. Speriamo di non trovare altri bug del cavolo. Intanto il bug della cancellazione file su usb si è ovviamente involontariamente risolto ora che hanno cannato samba.Bene, però speravo in qualche nuova funzione, anche solo la possibilità di modificare il DNS senza rootare. Che tu sappia è ancora basato su Chaos Calmer?
in effetti non l'ho mica capito perche' non si e' tirato da solo quello che serviva..
piu' che altro non vorrei che questi upgrade possano distruggere altro..
Mi ha tolto anche i pacchetti installati tipo l'adblock, i settaggi di dropbear ecc...ma SSID, PSK ecc sono rimaste. Insomma hanno tolto solo le "modifiche non autorizzate" per così dire.
/proc/banktable/inactive
bank_2
/proc/banktable/active
bank_1
/proc/banktable/notbooted
bank_2
/proc/banktable/booted
bank_1
[email protected]:~# rm -rf /overlay/`cat /proc/banktable/booted`
uci set dropbear.afg.IdleTimeout='600'
uci set dropbear.afg.PasswordAuth='on'
uci set dropbear.afg.RootPasswordAuth='on'
uci set dropbear.afg.RootLogin='1'
uci commit dropbear
/etc/init.d/dropbear enable
/etc/init.d/dropbear restart
rm /overlay/`cat /proc/banktable/booted`/etc/rc.local
" > /overlay/`cat /proc/banktable/booted`/etc/rc.local
chmod +x /overlay/`cat /proc/banktable/booted`/etc/rc.local
[email protected]:~# mkdir -p /overlay/`cat /proc/banktable/booted`/etc
[email protected]:~# chmod 755 /overlay/`cat /proc/banktable/booted` /overlay/`cat /proc/banktable/booted`/etc
[email protected]:~# echo -e "echo root:root | chpasswd
> sed -i 's#/root:.*\$#/root:/bin/ash#' /etc/passwd
> sed -i 's/#//' /etc/inittab
> uci -q set $(uci show firewall | grep -m 1 $(fw3 -q print | \
> egrep 'iptables -t filter -A zone_lan_input -p tcp -m tcp --dport 22 -m comment --comment \"!fw3: .+\" -j DROP' | \
> sed -n -e 's/^iptables.\+fw3: \(.\+\)\".\+/\1/p') | \
> sed -n -e \"s/\(.\+\).name='.\+'$/\1/p\").target='ACCEPT'
> uci add dropbear dropbear
> uci rename [email protected][-1]=afg
> uci set dropbear.afg.enable='1'
> uci set dropbear.afg.Interface='lan'
> uci set dropbear.afg.Port='22'
> uci set dropbear.afg.IdleTimeout='600'
> uci set dropbear.afg.PasswordAuth='on'
> uci set dropbear.afg.RootPasswordAuth='on'
> uci set dropbear.afg.RootLogin='1'
> uci commit dropbear
> /etc/init.d/dropbear enable
> /etc/init.d/dropbear restart
> rm /overlay/`cat /proc/banktable/booted`/etc/rc.local
> " > /overlay/`cat /proc/banktable/booted`/etc/rc.local
sed: unsupported command "
BusyBox v1.23.2 (2018-12-14 20:54:18 UTC) multi-call binary.
Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...
Search for PATTERN in FILEs (or stdin)
-H Add 'filename:' prefix
-h Do not add 'filename:' prefix
-n Add 'line_no:' prefix
-l Show only names of files that match
-L Show only names of files that don't match
-c Show only count of matching lines
-o Show only the matching part of line
-q Quiet. Return 0 if PATTERN is found, 1 otherwise
-v Select non-matching lines
-s Suppress open and read errors
-r Recurse
-i Ignore case
-w Match whole words only
-x Match whole lines only
-F PATTERN is a literal (not regexp)
-E PATTERN is an extended regexp
-m N Match up to N times per file
-A N Print N lines of trailing context
-B N Print N lines of leading context
-C N Same as '-A N -B N'
-e PTRN Pattern to match
-f FILE Read pattern from file
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K shutdown
::askconsole:/bin/restricted_shell
::askconsole:/bin/restricted_shellChe cos'è questa brutta novità?
Using username "root".
BusyBox v1.23.2 (2020-01-21 15:07:34 UTC) built-in shell (ash)
_______ __ __ __
|_ _|.-----.----.| |--.-----.|__|.----.-----.| |.-----.----.
| | | -__| __|| | || || __| _ || || _ | _|
|___| |_____|____||__|__|__|__||__||____|_____||__||_____|__|
N E X T G E N E R A T I O N G A T E W A Y
--------------------------------------------------------------------
NG GATEWAY SIGNATURE DRINK
--------------------------------------------------------------------
* 1 oz Vodka Pour all ingredients into mixing
* 1 oz Triple Sec tin with ice, strain into glass.
* 1 oz Orange juice
--------------------------------------------------------------------
Software program:
Copyright ▒ 2018 - Technicolor Delivery Technology SAS and/or its Group Company (Technicolor)
All Rights Reserved
This program contains proprietary information which is a trade secret of Technic olor
and also is protected by intellectual property as an unpublished work
under applicable Copyright laws/right of authorship.
This program is also subject to some patent and pending patent applications.
Technicolor▒ is registered trademark and trade name of Technicolor group company ,
and shall not be used in any manner without express written from Technicolor.
The use of the program and documentation is strictly limited to your own interna l
evaluation of the product embedding such program, unless expressly agreed otherw ise
by Technicolor under a specific agreement.
Recipient is to retain this program in confidence and is not permitted to use
or make copies thereof other than as permitted in a written agreement with Techn icolor,
unless otherwise expressly allowed by applicable laws.
Recipient is not allowed to make any copy, decompile, reverse engineer, disassem ble,
and attempt to derive the source code of, modify, or
create derivative works of the program, any update, or any part thereof.
Any violation or attempt to do so is a violation of the rights of Technicolor.
If you or any person under your control or authority breach this restriction,
you may be subject to prosecution and damages.
Product: vbnt-o_fastweb
Release: Cobalt (18.3.n)
Packages for e2fsprogs found, but incompatible with the architectures configured
Dai il comando
echo "dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
arch all 100
arch arm_cortex-a9 200
arch arm_cortex-a9_neon 300
src/gz homeware18_base https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/base
src/gz homeware18_packages https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/packages
src/gz homeware18_luci https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/luci
src/gz homeware18_routing https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/routing
src/gz homeware18_telephony https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/telephony
src/gz homeware18_core https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/target/packages" > /etc/opkg.conf
curl -k https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/base/openssl-util_1.0.2t-1_arm_cortex-a9_neon.ipk -o /tmp/openssl-util_1.0.2t-1_arm_cortex-a9_neon.ipk
opkg install /tmp/openssl-util_1.0.2t-1_arm_cortex-a9_neon.ipk
curl -k https://raw.githubusercontent.com/Ansuel/GUI_ipk/kernel-4.1/base/libopenssl_1.0.2t-1_arm_cortex-a9_neon.ipk -o /tmp/libopenssl_1.0.2t-1_arm_cortex-a9_neon.ipk
opkg install /tmp/libopenssl_1.0.2t-1_arm_cortex-a9_neon.ipk
Ma noi una repository opkg funzionante per dga4131 non l'abbiamo? Vorrei installare il pacchetto base/e2fsprogs e la sua dipedenza base/libext2fs.
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
package: htop
Name:
htop
Version:
2.2.0-2
Description:
Htop is an ncursed-based process viewer similar to top, but\\ it allows to scroll the list vertically and horizontally to\\ see all processes and their full command lines.\\ \\
Installed size:
52kB
Dependencies:
libc, libssp, libncurses6
Categories:
administration
Repositories:
community-packages
Il pacchetto l'ho installato dai feed, gli errori che mi hai segnalato me li da' quando installo strongswan, ma non danno problemi.Package: htop
Version: 2.2.0-1
Depends: libc, librt, libpthread, libncurses
Status: unknown ok not-installed
Section: admin
Architecture: arm_cortex-a9_neon
Size: 55523
Filename: htop_2.2.0-1_arm_cortex-a9_neon.ipk
Description: Htop is an ncursed-based process viewer similar to top, but
it allows to scroll the list vertically and horizontally to
see all processes and their full command lines.
Package: libncurses
Version: 6.1-1
Depends: libc, librt, libpthread, terminfo
Provides: libncursesw
Status: install ok installed
Section: libs
Architecture: arm_cortex-a9_neon
Size: 151037
Filename: libncurses_6.1-1_arm_cortex-a9_neon.ipk
Description: Terminal handling library (Unicode)
Installed-Time: 1579649989
[email protected]:~# htopLo stesso errore era statp riportato da @FrancYescO quando ha installato nano, a lui è bastato fare un update della versione preinstallata (5.9.xx) di libncurses, ma non si sa se questo può portare problemi ai pacchetti già presenti sul DGA4131
htop: error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory
Grazie @MarvelChe performance hai come NAS con e2fsprog installato?
funziona alla perfezione.
nqcsctrl +U "username" "username esteso" "descrizone utente" "password"
per avere conferma e veedere l'elenco degli utentinqcsctrl EU
-- NQ CIFS Server Control tool --
Usage: nqcsctrl <command> <parameters>
where parameterers are positional per command as:
'S' - stop NQ Server
'R' - restart NQ Server
'+S "<name>" "<local path>" "<description>" [P]' - add new share
'P' for a printer share
'-S "<name>" ' - remove share
'ES' - enumerate shares
'RO "<Share Name>" <ReadOnly Status>' - set shares
'+U "<name>" "<full name>" "<description>" "<password>" [A]' - add new user
'A' gives new user administrative rights
'-U "<name>" ' - remove user
'C "<name>" [D]' - close user connections
'D' for domain user
'EU' - enumerate users
'EC' - enumerate clients
'EF' - enumerate files
'SEL <encryption level>'- set encryption level
'MSG <newPolicy> - set message signing policy
service mud stop
service mud disable
è un servizio di indicizzazione dei metadata dei file, in 2 giorni non si è mai arrestato e l'hard disk stava in seek continuo.Scusate la mia ignoranza... una volta che ho eseguito l'exploit in teoria se ho capito bene posso accedere tramite ssh (putty) all'indirizzo 192.168.1.254. è corretto?di solito è root\root
Perchè mi chiede username e password (ho provato admin - admin) ma nulla.
config network 'sip_net'
option user_friendly_name 'SIP network'
option cac '-1'
option transparent_soc_transmission '0'
option interface 'wan'
option local_port '5060'
option primary_proxy 'core2.p.ims.tiscali.net'
option primary_proxy_port '0'
option secondary_proxy_port '0'
option primary_registrar 'ims.tiscali.net'
option primary_registrar_port '5060'
option secondary_registrar 'ims.tiscali.net'
option secondary_registrar_port '5060'
option transport_type 'UDP'
option reg_expire '3600'
option reg_expire_T_before '1'
option reg_back_off_timeout '60'
option reg_back_off_timeout_algorithm 'random'
option reg_back_off_timeout_max '900'
option reg_back_off_timeout_min '600'
option realm_check '0'
option 401_407_waiting_time '0'
option dtmf_relay 'auto'
option dtmf_relay_translation '0'
option timer_T1 '500'
option timer_T2 '4000'
option timer_T4 '5000'
option timer_B '32000'
option timer_D '50000'
option timer_F '32000'
option timer_J '32000'
option provisional_timer '180'
option remote_hold_tone_enabled '0'
option sdp_direction_call_hold 'sendonly'
option sdp_direction_call_hold_answer 'recvonly'
option uri_clir_format 'standard'
option privacy_handling 'apply'
option rejection_response '486'
option no_answer_response '480'
option call_waiting_provisional_response '182'
option call_waiting_reject_response '486'
option reliable_provisional_response 'supported'
option re_registration_mode 'ims'
option forking_mode 'default'
option ingress_media_timeout '1000'
option early_media_detection '1'
option session_timer 'enabled'
option min_session_expires '90'
option session_expires '1800'
option fail_behaviour 'stop'
option min_period_proxy_redundancy '0'
option escape_hash '1'
option escape_star '0'
option accept_call_from_unconfigured_proxy '1'
option control_qos_field 'dscp'
option control_qos_value 'ef'
option realtime_qos_field 'dscp'
option realtime_qos_value 'ef'
option sip_over_ipv6 '0'
option include_sip_instance '0'
option waiting_time_for_registration_on_400_or_503_response '60'
option update_support '1'
option use_domain_in_contact '0'
option use_domain_in_via '0'
option sdp_direction_attribute_media_level_only '0'
option stick_to_outbound_proxy '0'
option registration_delay '0'
option enable_re_register_on_cancel_timeout '0'
option rport_in_via '1'
option optimized_authentication '0'
option repeat_ringing_interval '60'
option re_register_on_403 '0'
option re_register_on_504 '1'
option switch_next_proxy_on_failure_response '0'
option dns_query_timeout '5000'
option switch_back_to_primary_proxy_timer '0'
option conference_release_call_after_transfer '1'
option disconnect_on_bye_response '0'
option rtp_local_port_min '4000'
option rtp_local_port_max '4015'
option cancel_invite_timer '32000'
option dnd_response '486'
option hide_userinfo_and_port_in_subscription_request '0'
option interface_update_delay '15'
option user_agent 'MediaAccess DGA4131FWB Build 17.2.0412-2141'
config profile 'sip_profile_0'
option network 'sip_net'
option enabled '1'
option password 'XXXXXX'
option user_name '[email protected]'
option uri 'XXXXXXXXX'
option display_name 'XXXXXXXXX'
E tu sbloccalo come se niente fosse e poi al massimo vedi cosa c'è che non va
config dropbear
option enable '0'
option Interface 'wan'
option PasswordAuth 'on'
option RootPasswordAuth 'off'
option RootLogin '0'
option AllowedClientIPs '59.0.121.0/24 1.253.131.0/24 10.0.120.0/23 10.1.120.0/24 10.3.120.0/24 10.5.120.0/24 10.0.248.0/24 10.1.248.0/24 10.3.248.0/24 30.253.131.0/24 10.252.120.0/24 26.0.123.0/24 26.0.125.0/24'
option Port '22'
option IdleTimeout '600'
config dropbear 'lan'
option enable '1'
option PasswordAuth 'on'
option RootPasswordAuth 'on'
option RootLogin '1'
option Interface 'lan'
option Port '22'
option IdleTimeout '600'
config dropbear 'afg'
option enable '1'
option Interface 'lan'
option Port '22'
option IdleTimeout '600'
option PasswordAuth 'on'
option RootPasswordAuth 'on'
option RootLogin '1'
Il file di dropbear è perfetto, vuol dire che è stato tutto eseguito come previsto. E' strano che non ti dia accesso su ssh.
PS forse prima avevi aspettato troppo tempo tra quando avevi dato il comando mtd erase (senza -r) e quando hai spento il router?
config network 'sip_net'
option user_friendly_name 'SIP network'
option cac '-1'
option transparent_soc_transmission '0'
option interface 'wan'
option local_port '5060'
option primary_proxy '192.168.1.100'
option primary_proxy_port '5060'
option secondary_proxy_port '5060'
option primary_registrar '192.168.1.100'
option primary_registrar_port '5060'
option secondary_registrar_port '5060'
option transport_type 'UDP'
option reg_expire '3600'
option reg_expire_T_before '72'
option reg_back_off_timeout '180'
option reg_back_off_timeout_algorithm 'random'
option reg_back_off_timeout_max '900'
option reg_back_off_timeout_min '600'
option realm_check '0'
option 401_407_waiting_time '0'
option dtmf_relay 'rfc2833'
option dtmf_relay_translation '0'
option timer_T1 '500'
option timer_T2 '4000'
option timer_T4 '5000'
option timer_B '32000'
option timer_D '50000'
option timer_F '32000'
option timer_J '32000'
option provisional_timer '430'
option remote_hold_tone_enabled '1'
option sdp_direction_call_hold 'sendonly'
option sdp_direction_call_hold_answer 'inactive'
option uri_clir_format 'standard'
option privacy_handling 'apply'
option rejection_response '486'
option no_answer_response '486'
option call_waiting_provisional_response '180'
option call_waiting_reject_response '486'
option reliable_provisional_response 'when_supported'
option re_registration_mode 'standard'
option forking_mode 'replace'
option ingress_media_timeout '1000'
option early_media_detection '1'
option session_timer 'disabled'
option min_session_expires '90'
option session_expires '180'
option fail_behaviour 'stop'
option min_period_proxy_redundancy '0'
option escape_hash '1'
option escape_star '0'
option accept_call_from_unconfigured_proxy '1'
option control_qos_field 'dscp'
option control_qos_value 'cs5'
option realtime_qos_field 'dscp'
option realtime_qos_value 'cs5'
option sip_over_ipv6 '0'
option include_sip_instance '0'
option waiting_time_for_registration_on_400_or_503_response '300'
option update_support '1'
option use_domain_in_contact '0'
option use_domain_in_via '0'
option sdp_direction_attribute_media_level_only '0'
option stick_to_outbound_proxy '0'
option registration_delay '0'
option enable_re_register_on_cancel_timeout '0'
option rport_in_via '1'
option optimized_authentication '0'
option repeat_ringing_interval '60'
option re_register_on_403 '0'
option re_register_on_504 '1'
option switch_next_proxy_on_failure_response '0'
option dns_query_timeout '5000'
option switch_back_to_primary_proxy_timer '0'
option conference_release_call_after_transfer '1'
option disconnect_on_bye_response '0'
option rtp_local_port_min '4000'
option rtp_local_port_max '4015'
option cancel_invite_timer '32000'
option dnd_response '486'
option hide_userinfo_and_port_in_subscription_request '0'
option interface_update_delay '15'
option user_agent 'MediaAccess DGA4131FWB Build 17.2.0412-2141'
config network 'sip_net'
option user_friendly_name 'SIP network'
option cac '-1'
option transparent_soc_transmission '0'
option interface 'wan'
option local_port '5060'
option domain_name 'ims.tiscali.net'
option primary_proxy 'core2.p.ims.tiscali.net'
option primary_proxy_port '0'
option secondary_proxy 'core1.p.ims.tiscali.net'
option secondary_proxy_port '0'
option primary_registrar 'ims.tiscali.net'
option primary_registrar_port '5060'
option secondary_registrar 'ims.tiscali.net'
option transport_type 'UDP'
option reg_expire '3600'
option reg_expire_T_before '72'
option reg_back_off_timeout '180'
option reg_back_off_timeout_algorithm 'random'
option reg_back_off_timeout_max '900'
option reg_back_off_timeout_min '600'
option realm_check '0'
option 401_407_waiting_time '0'
option dtmf_relay 'rfc2833'
option dtmf_relay_translation '0'
option timer_T1 '500'
option timer_T2 '4000'
option timer_T4 '5000'
option timer_B '32000'
option timer_D '50000'
option timer_F '32000'
option timer_J '32000'
option provisional_timer '430'
option remote_hold_tone_enabled '1'
option sdp_direction_call_hold 'sendonly'
option sdp_direction_call_hold_answer 'inactive'
option uri_clir_format 'standard'
option privacy_handling 'apply'
option rejection_response '486'
option no_answer_response '486'
option call_waiting_provisional_response '180'
option call_waiting_reject_response '486'
option reliable_provisional_response 'when_supported'
option re_registration_mode 'standard'
option forking_mode 'replace'
option ingress_media_timeout '1000'
option early_media_detection '1'
option session_timer 'disabled'
option min_session_expires '90'
option session_expires '180'
option fail_behaviour 'stop'
option min_period_proxy_redundancy '0'
option escape_hash '1'
option escape_star '0'
option accept_call_from_unconfigured_proxy '1'
option control_qos_field 'dscp'
option control_qos_value 'cs5'
option realtime_qos_field 'dscp'
option realtime_qos_value 'cs5'
option sip_over_ipv6 '0'
option include_sip_instance '0'
option waiting_time_for_registration_on_400_or_503_response '300'
option update_support '1'
option use_domain_in_contact '0'
option use_domain_in_via '0'
option sdp_direction_attribute_media_level_only '0'
option stick_to_outbound_proxy '0'
option registration_delay '0'
option enable_re_register_on_cancel_timeout '0'
option rport_in_via '1'
option optimized_authentication '0'
option repeat_ringing_interval '60'
option re_register_on_403 '0'
option re_register_on_504 '1'
option switch_next_proxy_on_failure_response '0'
option dns_query_timeout '5000'
option switch_back_to_primary_proxy_timer '0'
option conference_release_call_after_transfer '1'
option disconnect_on_bye_response '0'
option rtp_local_port_min '4000'
vac option rtp_local_port_max '4015'
option cancel_invite_timer '32000'
option dnd_response '486'
option hide_userinfo_and_port_in_subscription_request '0'
option interface_update_delay '15'
option user_agent 'MediaAccess DGA4131FWB Build 17.2.0412-2141'
config network 'sip_net'
option user_friendly_name 'SIP network'
option cac '-1'
option transparent_soc_transmission '0'
option local_port '5060'
option domain_name 'ims.tiscali.net'
option primary_proxy_port '0'
option primary_registrar 'ims.tiscali.net'
option primary_registrar_port '5060'
option secondary_registrar 'ims.tiscali.net'
option secondary_proxy_port '0'
option transport_type 'UDP'
option reg_expire '3600'
option reg_expire_T_before '1'
option realm_check '0'
option 401_407_waiting_time '0'
option dtmf_relay 'auto'
option dtmf_relay_translation '0'
option timer_T1 '500'
option timer_T2 '4000'
option timer_T4 '5000'
option timer_B '32000'
option timer_D '50000'
option timer_F '32000'
option timer_J '32000'
option provisional_timer '180'
option remote_hold_tone_enabled '0'
option sdp_direction_call_hold 'sendonly'
option sdp_direction_call_hold_answer 'recvonly'
option uri_clir_format 'standard'
option privacy_handling 'apply'
option rejection_response '486'
option no_answer_response '480'
option call_waiting_provisional_response '182'
option call_waiting_reject_response '486'
option reliable_provisional_response 'supported'
option forking_mode 'default'
option ingress_media_timeout '1000'
option session_timer 'enabled'
option min_session_expires '90'
option fail_behaviour 'stop'
option min_period_proxy_redundancy '0'
option escape_hash '1'
option escape_star '0'
option control_qos_field 'dscp'
option control_qos_value 'ef'
option realtime_qos_field 'dscp'
option from_anonymous_handling 'withheld'
option sip_over_ipv6 '0'
option include_sip_instance '0'
option waiting_time_for_registration_on_400_or_503_response '60'
option update_support '1'
option use_domain_in_contact '0'
option use_domain_in_via '0'
option sdp_direction_attribute_media_level_only '0'
option registration_delay '0'
option enable_re_register_on_cancel_timeout '1'
option rport_in_via '1'
option optimized_authentication '0'
option repeat_ringing_interval '60'
option re_register_on_403 '0'
option check_ttl_for_dns_record '1'
option stick_to_outbound_proxy '1'
option switch_next_proxy_on_failure_response '0'
option dns_query_timeout '5000'
option conference_release_call_after_transfer '1'
option disconnect_on_bye_response '0'
option cancel_invite_timer '32000'
option user_agent 'MediaAccess TG789vac v2 Build 16.3.7636-2921'
option interface 'wan'
option realtime_qos_value 'af42'
option secondary_registrar_port '5060'
option switch_back_to_primary_proxy_timer '0'
option reg_back_off_timeout '180'
option session_expires '180'
option re_registration_mode 'standard'
option primary_proxy 'core2.p.ims.tiscali.net'
config profile 'sip_profile_0'
option network 'sip_net'
option display_name '0039XXXXXXXXXXX'
option user_name '[email protected]'
option password 'XXXXXXXXXX'
option uri '0039XXXXXXXXXXX'
option enabled '1'
[email protected]:~# /etc/init.d/mmpbxd restart && logread - f | grep mmpbxd
Sat Apr 4 13:50:59 2020 user.debug mmpbxd[6893]: caught signal 15
Sat Apr 4 13:50:59 2020 user.debug mmpbxd[6893]: [MMAPP] :C: mmAppCleanup:197 - Start to quit MMPBX!
Sat Apr 4 13:51:01 2020 user.debug mmpbxd[6893]: /var/lib/jenkins/swm-wc1/workspace/Build/build/openwrt/build_dir/target-arm_cortex-a9_uClibc-0.9.33.2_eabi/async-1.0/src/asyncnew.c:649 : Thread was not canceled !!!
Sat Apr 4 13:51:03 2020 user.debug mmpbxd[6893]: [MMAPP] :C: mmAppCleanup:243 - Quit MMPBX done!
Sat Apr 4 13:51:09 2020 user.debug mmpbxd[11615]: [MEMM] Info: Pooldescr [memm_pooldesc] reallocated to increase its size (107 elements)
Sat Apr 4 13:51:09 2020 user.debug mmpbxd[11615]: [MMAPP] :E: mmAppSetPriority:1816 - Configured priority value 0 or negative, priority not modified for mmapp
Sat Apr 4 13:51:09 2020 user.debug mmpbxd[11615]: [MMAPP] :E: mmAppSetRefMediaFileGenPriority:1879 - Configured priority value 0 or negative, priority not modified for refmediafilegen
Sat Apr 4 13:51:09 2020 user.debug mmpbxd[11615]: [MMAPP] :E: mmAppSetUbusPriority:1851 - Configured priority value 0 or negative, priority not modified for mmubus
Sat Apr 4 13:51:09 2020 user.debug mmpbxd[11615]: [MMUCI] :E: mmUciCommonAllocateContext:248 - Error loading the UCI config from file for mmpbxbrcmsi3226x: UCI_ERR_NOTFOUND
Sat Apr 4 13:51:09 2020 user.debug mmpbxd[11615]: [MMUCI] :E: mmUciCommonAllocateContext:248 - Error loading the UCI config from file for mmpbxbrcmsi3217x: UCI_ERR_NOTFOUND
Sat Apr 4 13:51:12 2020 user.debug mmpbxd[11615]: [REFMEDIAFILEGENIMPL]:E: refMediaFileGenImplInit:225 - Configured priority value 0 or negative, priority not modifiedfor mmpbxrefmediafilegen
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [FXS1] CALL_WAITING activated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [FXS2] CALL_WAITING activated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [0039XXXXXXXX] CALL_RETURN deactivated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [profile_1] CALL_RETURN deactivated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [0039XXXXXXXX] BARGE_IN deactivated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [profile_1] BARGE_IN deactivated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [003903211993376] CLIP activated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [profile_1] CLIP activated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [**0] CLIP activated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [**1] CLIP activated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [**2] CLIP activated
Sat Apr 4 13:51:12 2020 user.info mmpbxd[11615]: [FXS1] WARMLINE deactivated
Sat Apr 4 13:51:12 2020 user.debug mmpbxd[11615]: [MMPBX] :E: loadAudioNotificationConfig:2614 - Notification does not specify any event_descriptions
Sat Apr 4 13:51:12 2020 user.debug mmpbxd[11615]: [MMPBX] &nbs