L'angolo di Ansuel: ricerca e sviluppo su DGA4130 (AGTEF) & DGA4132 (AGTHP)

  • 2281 Risposte
  • 1135126 Visite

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline Ansuel

  • VIP
  • *****
  • 3166
  • Sesso: Maschio
  • Il trucco è avere tanti modem da brikkare :P
devi fare restart non start

Offline condor74

  • Membro Anziano
  • ***
  • 159
@condor74 mi confermi che prima di 6.0 non c'era questo problema?
Confermo... mi salvo la config per ogni gui che installo per eventuali emergenze! dalla 6.2.4 non va più

Offline Ansuel

  • VIP
  • *****
  • 3166
  • Sesso: Maschio
  • Il trucco è avere tanti modem da brikkare :P
dalla 6.2.4 ?  la 6.2.0 dava il file config?

Offline condor74

  • Membro Anziano
  • ***
  • 159
si certo anche la 6.2.2

Offline emax

  • Membro Giovane
  • **
  • 65
ecco il mio Patch della GUI di Ansuel :

Per installarlo :
Codice: [Seleziona]
wget -P /tmp http://dga4130.tk/patch_gui_ansuel.tar.gz
tar -zxvf /tmp/patch_gui_ansuel.tar.gz -C /
/etc/init.d/nginx restart

Ho aggiunto alcuni miglioramenti estetici.
l'Installazione di Transmission FUNZIONA



Ciao,

è possibile far visualizzare l' Uptime sulla finestra della connessione DSL ?



Thanks

Offline shdf

  • Esperto
  • ****
  • 981
  • Sesso: Maschio
« Ultima modifica: 16 Marzo 2018, 15:49 da shdf »
Scusa, sono francese non parlo molto bene italiano
DGA4130 sbloccato firmware 2.2.0 + GUI TIM Unlocked
DGA4132 sbloccato firmware 2.2.0 + GUI TIM Unlocked

Offline emax

  • Membro Giovane
  • **
  • 65
« Ultima modifica: 16 Marzo 2018, 16:28 da MisterFTTH »

Offline shdf

  • Esperto
  • ****
  • 981
  • Sesso: Maschio
@Ansuel
i suggest you to show the "Update available" button at the top, only when there is an update available, else don't show it.

i did like this in gateway.lp :
Codice: [Seleziona]
if cui.outdated_ver == "1" then
html[#html + 1] = '<div class="btn" style="margin-right:10px; background-color:#5bb75b; color:#ffffff;" id="update">'
html[#html + 1] = T"New Update !"
html[#html + 1] = '</div>'
end

Maybe you can direct link that button to the update, no need to go in the gateway modal to click to update. we should do this directly.

No update available :


Update available:
Scusa, sono francese non parlo molto bene italiano
DGA4130 sbloccato firmware 2.2.0 + GUI TIM Unlocked
DGA4132 sbloccato firmware 2.2.0 + GUI TIM Unlocked

Offline Ansuel

  • VIP
  • *****
  • 3166
  • Sesso: Maschio
  • Il trucco è avere tanti modem da brikkare :P
the button now actually check for update... 

i agree on upgrade the gui directly when the button is clicked

Offline Ansuel

  • VIP
  • *****
  • 3166
  • Sesso: Maschio
  • Il trucco è avere tanti modem da brikkare :P
@shdf funny story...

have directory in config actually creates problem...

we are in a wonderfull world... in openwrt they (as a normal programmer would)  set all the tings to take the specific file...

in the technicolor world to create a config file they read all the entities in the config dir and create the config file...
as in the config dir there is another dir... the creation of the config crash...  ONE CHECK IS TOO MUCH TECHNICOLOR ON STRING THAT CHECK IF IT'S A FUC*ING FILE AND NOT A DIRECTORY -.-  BACK TO FIX...

Offline shdf

  • Esperto
  • ****
  • 981
  • Sesso: Maschio
have directory in config actually creates problem...
in the technicolor world to create a config file they read all the entities in the config dir and create the config file...
yes i know that, but you didn't listen to me :giggle:

but what i don't understand is why you just don't put your config files elsewhere, no need to "FIX" anything...this will probably create another bug later...
To add a simple feature we need 25 GUI version... :-\
« Ultima modifica: 17 Marzo 2018, 15:49 da shdf »
Scusa, sono francese non parlo molto bene italiano
DGA4130 sbloccato firmware 2.2.0 + GUI TIM Unlocked
DGA4132 sbloccato firmware 2.2.0 + GUI TIM Unlocked

Offline Ansuel

  • VIP
  • *****
  • 3166
  • Sesso: Maschio
  • Il trucco è avere tanti modem da brikkare :P
i won't learn anything by doing the easy way...  ahahah

Offline shdf

  • Esperto
  • ****
  • 981
  • Sesso: Maschio
another thing. all files in /etc/config goes in the config.bin export file. also those unecessary as web_back for example...so better not keep unused/unecessary files here too.
Scusa, sono francese non parlo molto bene italiano
DGA4130 sbloccato firmware 2.2.0 + GUI TIM Unlocked
DGA4132 sbloccato firmware 2.2.0 + GUI TIM Unlocked

Offline Ansuel

  • VIP
  • *****
  • 3166
  • Sesso: Maschio
  • Il trucco è avere tanti modem da brikkare :P
@shdf well the problem was deeper than i thought.... it's in the uci.so... someday i think i will have to fix this...

problem is only with directory it breaks the uci_cursor:list_configs() command (from uci.so)  think newer version of uci have this fixed (as i have in my router lots of dir in config)

i can upgrade uci.so with newer version but i first need to find every package that use the foreach config as in the SUPER MEGA SPECIAL VERSION of technicolor the function ask for 2 variable... but in the documentation foreach normally ask for 3...  sooo to really fix this problem (and i will if the stock luci webui doesn't like uci.so)  i need to rework some function that use foreach


PER TUTTI GLI ALTRI ( NON C'è MASTERCARD... SI FA SCHIFO COME BATTUTA) ho fixato l'errore del config  e come richiesto ho ridotto i log all'osso...
« Ultima modifica: 17 Marzo 2018, 18:08 da Ansuel »

Offline shdf

  • Esperto
  • ****
  • 981
  • Sesso: Maschio
i just updated to 6.3.99-3
and i installed transmission (i didn't applied my patch)



Ansuel...1 update, 1 new bug  :facepalm:  >:(  :D

EDIT:
i just checked my /etc/config/
and i see 2 files for transmission ?
/etc/config/transmission
/etc/config/transmission-opkg

I uninstalled transmission from the GUI and both files are still in the /etc/config/ folder, that's not normal...the config file in the previous package was removed as well.
And i can notice too as someone already said, all files updated by the GUI are all chmod 777 and with user:group 1000:1000 instead of root:root

Edit2:
i deleted the config files and reinstalled transmission, and it works.
« Ultima modifica: 17 Marzo 2018, 19:34 da shdf »
Scusa, sono francese non parlo molto bene italiano
DGA4130 sbloccato firmware 2.2.0 + GUI TIM Unlocked
DGA4132 sbloccato firmware 2.2.0 + GUI TIM Unlocked