Re: [ninux.org] Flashare DSL-502T - IPV6 - fonera

2009-02-10 Per discussione paolo del bene


 lo compri su internet o te lo fai con saldatore alla mano, stagno,
 circuito, e componenti vari  come già ti dicevo io, ora guardati:


 http://wiki.openwrt.org/OpenWrtDocs/Hardware/D-Link/DSL-502T?highlight=%28OpenWrtDocs/Hardware%29
 1.6. How to Debrick

 You can generally use the methods on D-Link's site, or just change your
 mtd0/1/4 variables back to defaults and upload the dlink firmware.

 But if you've accidentally destroyed your mtd2 adam2 bootloader or mtd3
 config file you will need a JTAG cable.

 Also see this (old) thread for more details - it may be out of date:
 http://forum.openwrt.org/viewtopic.php?id=7742

 1.6.0.1. How to make a JTAG cable

 I grabbed one from ebay but you can make your own with 4/5 resistors, pin
 schematics are here:

 http://wiki.openwrt.org/AR7Port
 http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/JTAG_Cable

 The cable I purchased from Ebay was for the WRT54G, it had a 12 pin
 header, whereas my router had an already soldered 14 pin header, the WRT54G
 uses EJTAG 2.0 and the AR7 uses EJTAG 2.6, to make the JTAG cable work I
 simple connected pin 1 TRST with pin 8 VCC/VIO/VRED via a 100 ohm resistor
 (I didn't bother soldering it on) and then placed the 12 pin JTAG on top
 squashing it into place, bending back the extra 2 pins.

 My pins are numbered as so:
 1 (TRST) - 14
 2 - 13
 3 - 12
 4 - 11
 5 - 10
 6 - 9
 7 - 8 (VIO/VCCC/VREF)

 1.6.1. Bios settings

 My BIOS settings for my printer port were: ECP+EPP, 0x378.

 1.6.2. Using the Debrick utility to restore the bootloader and config

 Once you do this you can use 
 HairyDairyMaidshttp://wiki.openwrt.org/HairyDairyMaidsdebrick utility 
 4.8. Get it here:
 http://downloads.openwrt.org/utils/

 Under Windows: load giveio.sys by running loaddrv.exe and adding
 'giveio.sys' to the end of the line and clicking install+start.

 Under Linux (Ubuntu): Get the build essentials package, compile the
 binary using 'make' from the folder you extracted the files to, then you
 need to do this to read the parallel port: rmmod lp, modprobe parport, mknod
 /dev/parport0 c 99 0

 You can now do ./wrt54g -probeonly to test if the unit can be detected

 Grab Olegs Adam2 bootloader: http://star.oai.pp.ru/jtag/adam2-oleg.zip

 rename the adam2 file to CUSTOM.BIN then do:

 ./wrt54g -flash:custom /noerase /nobreak /nodma /window:0x9000
 /start:0x9000 /length:0x1 /nocwd

 Grab mtd3 config http://mcmcc.bat.ru/dlinkt/restore_mtd3_50xT.rar

 rename this to CUSTOM.BIN then do:

 ./wrt54g -flash:custom /noerase /nobreak /nodma /window:0x903f
 /start:0x903f /length:0x1 /nocwd

 You may not have to do /noerase /nobreak or /nocwd but /nodma is required


 Once this is done, set you lan IP as 10.8.8.1 subnet 255.0.0.0 (on Linux
 u need to do ifconfig eth0 10.8.8.1 to set your IP) and then reboot the
 router, ftp into 10.8.8.8 21 using the command prompt FTP (not anything
 else) and you will see an adam2 prompt (gratz!).

 ping 10.8.8.8 to see if adam2 is working

 1.6.3. Uploading the original firmware

 Now that ADAM2 is working, you can use adam2flash-502T.pl to install
 firmware of your choice, including the original D-Link firmware. See above.

 1.7. Acknowlegements

 (Moved from the top)

 Thanks Strider for starting the page off for me.

 Thank you nbd and all the OpenWRT developers for making this work-Z3r0
 (not the z3r0 on IRC)

 Thank you Mr Chandler for fixing some of the formatting.
 Note, as of 17th May '07 I am no longer maintaining this page as I no
 longer have a DSL-502T, if you would like to update this page please feel
 free to. (Z3r0)








Re: [ninux.org] Flashare DSL-502T - IPV6 - fonera

2009-02-10 Per discussione paolo del bene
2009/2/10 paolo del bene pdb.free.softw...@gmail.com


 lo compri su internet o te lo fai con saldatore alla mano, stagno,
 circuito, e componenti vari  come già ti dicevo io, ora guardati:



 http://wiki.openwrt.org/OpenWrtDocs/Hardware/D-Link/DSL-502T?highlight=%28OpenWrtDocs/Hardware%29
 1.6. How to Debrick

 You can generally use the methods on D-Link's site, or just change your
 mtd0/1/4 variables back to defaults and upload the dlink firmware.

 But if you've accidentally destroyed your mtd2 adam2 bootloader or mtd3
 config file you will need a JTAG cable.

 Also see this (old) thread for more details - it may be out of date:
 http://forum.openwrt.org/viewtopic.php?id=7742

 1.6.0.1. How to make a JTAG cable

 I grabbed one from ebay but you can make your own with 4/5 resistors,
 pin schematics are here:

 http://wiki.openwrt.org/AR7Port
 http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/JTAG_Cable

 The cable I purchased from Ebay was for the WRT54G, it had a 12 pin
 header, whereas my router had an already soldered 14 pin header, the WRT54G
 uses EJTAG 2.0 and the AR7 uses EJTAG 2.6, to make the JTAG cable work I
 simple connected pin 1 TRST with pin 8 VCC/VIO/VRED via a 100 ohm resistor
 (I didn't bother soldering it on) and then placed the 12 pin JTAG on top
 squashing it into place, bending back the extra 2 pins.

 My pins are numbered as so:
 1 (TRST) - 14
 2 - 13
 3 - 12
 4 - 11
 5 - 10
 6 - 9
 7 - 8 (VIO/VCCC/VREF)

 1.6.1. Bios settings

 My BIOS settings for my printer port were: ECP+EPP, 0x378.

 1.6.2. Using the Debrick utility to restore the bootloader and config

 Once you do this you can use 
 HairyDairyMaidshttp://wiki.openwrt.org/HairyDairyMaidsdebrick utility 
 4.8. Get it here:
 http://downloads.openwrt.org/utils/

 Under Windows: load giveio.sys by running loaddrv.exe and adding
 'giveio.sys' to the end of the line and clicking install+start.

 Under Linux (Ubuntu): Get the build essentials package, compile the
 binary using 'make' from the folder you extracted the files to, then you
 need to do this to read the parallel port: rmmod lp, modprobe parport, 
 mknod
 /dev/parport0 c 99 0

 You can now do ./wrt54g -probeonly to test if the unit can be detected

 Grab Olegs Adam2 bootloader: http://star.oai.pp.ru/jtag/adam2-oleg.zip

 rename the adam2 file to CUSTOM.BIN then do:

 ./wrt54g -flash:custom /noerase /nobreak /nodma /window:0x9000
 /start:0x9000 /length:0x1 /nocwd

 Grab mtd3 config http://mcmcc.bat.ru/dlinkt/restore_mtd3_50xT.rar

 rename this to CUSTOM.BIN then do:

 ./wrt54g -flash:custom /noerase /nobreak /nodma /window:0x903f
 /start:0x903f /length:0x1 /nocwd

 You may not have to do /noerase /nobreak or /nocwd but /nodma is
 required

 Once this is done, set you lan IP as 10.8.8.1 subnet 255.0.0.0 (on Linux
 u need to do ifconfig eth0 10.8.8.1 to set your IP) and then reboot the
 router, ftp into 10.8.8.8 21 using the command prompt FTP (not anything
 else) and you will see an adam2 prompt (gratz!).

 ping 10.8.8.8 to see if adam2 is working

 1.6.3. Uploading the original firmware

 Now that ADAM2 is working, you can use adam2flash-502T.pl to install
 firmware of your choice, including the original D-Link firmware. See above.

 1.7. Acknowlegements

 (Moved from the top)

 Thanks Strider for starting the page off for me.

 Thank you nbd and all the OpenWRT developers for making this work-Z3r0
 (not the z3r0 on IRC)

 Thank you Mr Chandler for fixing some of the formatting.
 Note, as of 17th May '07 I am no longer maintaining this page as I no
 longer have a DSL-502T, if you would like to update this page please feel
 free to. (Z3r0)









Re: [ninux.org] Flashare DSL-502T - IPV6 - fonera

2009-02-09 Per discussione ZioPRoTo (Saverio Proto)
Ciao Matteo,

scusa il ritardo nella risposta, ma qui la montagna di posta da
smaltire è sempre più alta

 Qualcuno mi potebbe prestare  l'adattatore dalla seriale (non mi
 ricordo il nome tecnico ma simile alla fonera) ad una usb?

io ne ho uno, se vieni al Fusolab alla prox riunione lo puoi usare, ma
non te lo posso lasciare perché lo uso spesso a lavoro.

 Per caso Openwrt ha un modulo  la ADSL2 ?

Non ho mai provato OpenWRT con un modem ADSL2... ma non mi da l'idea
di essere una cosa molto testata e stabile.

 Devo lasciare una fonera ad una mia amica.
 Quale è la versione più stabile che c'è in circolazione in questo momento.
 (dato che lei è a Trieste e non ho notato nessuna rete cittadina non
 ho particolari esigenze solo ipv6)

La più stabile è la White Russian.
Una stabile ed abbastanza moderna è la OpenWRT Kamikaze 8.09 RC2.
Questa è abbastanza stabile ma è ancora una release candidate.
Trovi il link per scaricare l'immagine sul sito di OpenWRT

 Come è andato a finire con l'ipv6 sarebbe comodo per collegami alla
 fonera automaticamente.
 Quale broker funziona adesso  quelli che avevo configurato non mi
 fanno accedere.
 Avete poi preso degli ipv6 statici?
 L'unico che ho trovato che adesso funziona passa in australia

Causa altri impegni sono rimasto un po' indietro con le idee su IPv6.
In questi giorni sto configurando la rete a Fusolab per renderla IPv6
compatibile.

Li hanno IPv4 statico e pubblico, quindi invece del tunnel broker sto
usando una configurazione 6to4 (che mi piace chiamare tunnel verso
anycast).

Saverio


Re: [ninux.org] Flashare DSL-502T - IPV6 - fonera

2009-02-09 Per discussione communist for ever
ti da l'idea od avete chiesto su /server irc.freenode.net  #openwrt
perchè di persone soddisfatte ce ne sono molte, non a caso comprai il mio
dlink dsl g624t per tre motivi

1 perchè è supportato da openwrt
2 perchè ha una cpu AR7 della texas instruments
3 perchè ha il wifi ed adsl 2/2+

dunque le chiacchiere stanno a zero.

comunque a parte queste considerazioni che lasciano il tempo che trovano,
queste parole mi sembrano le stesse che si dicevano nei confronti di os2
warp dell'ibm nel 1994 trafugato da microsoft, su cui si diceva che non
aveva successo e che non c'erano applicazioni, parole scritte su MP ed
all'epoca davo peso a queste parole, poi mi sono
accorto che sono prive di qualsiasi fondamento, perchè se le applicazioni
non le scrivi che ci fai funzionare sopra ?

dunque non si può fare un raffronto fra delle versioni di firmware od os non
liberi, mettendoli a confronto con openwrt, openwrt dovrà ancora dare il
meglio di se, ma è
ampiamente pronto per esser supportato dai routers adsl 2/2+ anche con il
wi-fi integrato.

un'ampia comunità ci lavora sopra e openwrt serve una comunità montana in
Germania dove o le linee adsl non arrivano od hanno costi innaccessibili o
si è scelto di
avere delle connessioni libere.

ciò è la dimostrazione che si fa un uso improprio delle parole.

credo che non avete mai preso contatto con quelli di #openwrt altrimenti
qualche nick lo avrei pure visto, dal momento che frequento la chat di tanto
in tanto.

comunque non tutto l'hardware funziona con openwrt, si guardi:

http://wiki.openwrt.org/OpenWrtDocs/Hardware

credo che abbiate bisogno di passare qualche centinaio d'ore in chat, ovvero
10 ore al giorno per 10 giorni per capire cosa  sia openwrt a parte i soliti
di ninux.org che lo usano contiunuamente.

saluti paolo


2009/2/9 ZioPRoTo (Saverio Proto) ziopr...@gmail.com

 Ciao Matteo,

 scusa il ritardo nella risposta, ma qui la montagna di posta da
 smaltire è sempre più alta

  Qualcuno mi potebbe prestare  l'adattatore dalla seriale (non mi
  ricordo il nome tecnico ma simile alla fonera) ad una usb?

 io ne ho uno, se vieni al Fusolab alla prox riunione lo puoi usare, ma
 non te lo posso lasciare perché lo uso spesso a lavoro.

  Per caso Openwrt ha un modulo  la ADSL2 ?

 Non ho mai provato OpenWRT con un modem ADSL2... ma non mi da l'idea
 di essere una cosa molto testata e stabile.

  Devo lasciare una fonera ad una mia amica.
  Quale è la versione più stabile che c'è in circolazione in questo
 momento.
  (dato che lei è a Trieste e non ho notato nessuna rete cittadina non
  ho particolari esigenze solo ipv6)

 La più stabile è la White Russian.
 Una stabile ed abbastanza moderna è la OpenWRT Kamikaze 8.09 RC2.
 Questa è abbastanza stabile ma è ancora una release candidate.
 Trovi il link per scaricare l'immagine sul sito di OpenWRT

  Come è andato a finire con l'ipv6 sarebbe comodo per collegami alla
  fonera automaticamente.
  Quale broker funziona adesso  quelli che avevo configurato non mi
  fanno accedere.
  Avete poi preso degli ipv6 statici?
  L'unico che ho trovato che adesso funziona passa in australia

 Causa altri impegni sono rimasto un po' indietro con le idee su IPv6.
 In questi giorni sto configurando la rete a Fusolab per renderla IPv6
 compatibile.

 Li hanno IPv4 statico e pubblico, quindi invece del tunnel broker sto
 usando una configurazione 6to4 (che mi piace chiamare tunnel verso
 anycast).

 Saverio



[ninux.org] Flashare DSL-502T - IPV6 - fonera

2009-02-04 Per discussione zip2zap
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tempo fa ho incasinato un router ADSL  DSL-502T della DLINK

Qualcuno mi potebbe prestare  l'adattatore dalla seriale (non mi
ricordo il nome tecnico ma simile alla fonera) ad una usb?

Che la devo resuscitare.

Per caso Openwrt ha un modulo  la ADSL2 ?


Devo lasciare una fonera ad una mia amica.
Quale è la versione più stabile che c'è in circolazione in questo momento.
(dato che lei è a Trieste e non ho notato nessuna rete cittadina non
ho particolari esigenze solo ipv6)

Come è andato a finire con l'ipv6 sarebbe comodo per collegami alla
fonera automaticamente.
Quale broker funziona adesso  quelli che avevo configurato non mi
fanno accedere.
Avete poi preso degli ipv6 statici?
L'unico che ho trovato che adesso funziona passa in australia

Matteo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmJr9UACgkQQpPxQb9mwES+1ACePVGmFd/csmXtgxDM8V8SKZPe
GNAAniZuwRhvZPcQNbecnKlLmcVNWO2T
=br4N
-END PGP SIGNATURE-