There's no supported way to simply reset a DTU.

However, a trick I sometimes use which works today is what is known as "poisoning the ARP cache" :). Not as dangerous as it sounds. If for example the DTU that you want to reset has address 10.1.2.3, you can set the ARP cache for it to a fake MAC address, as follows:
# arp -s 10.1.2.3 01:02:03:04:05:06

After a couple of minutes, the DTU will reset.

This works because it fools the system into thinking it should send heartbeats for the DTU to a non-existent address. After receiving no heartbeats for a while, the DTU tries resetting to see if it can resolve whatever issue has arisen. When booting, the DTU will broadcast its correct MAC address, and "heal" any poisoned ARP cache entries to the correct MAC address.

It's not user-friendly, it takes a little while, but it does work if you're in a pinch.

-Bob

Calligaris Nicola wrote:
Thank you very much,
but I need to reset the DTU
and not only the user session.

Is possible reset the DTU as switching off the current from command
line?

Thanks


Nicola




-----Messaggio originale-----
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Lars Tunkrans
Inviato: lunedì 14 luglio 2008 19.16
A: SunRay-Users mailing list
Oggetto: Re: [SunRay-Users] reset DTU Sun from command line

Yes,

# /opt/SUNWut/sbin/utsession -k  -t  "token"


# man  utsession


//Lars


Calligaris Nicola wrote:
Hi,

is possibile reset a DTU Sun from command line

instead resetting DTU with PC kbd?
I have to reset DTU Sun from a script launched inside
Kiosk session when an application is closed.
Thanks Nicola

AVVISO DI RISERVATEZZA Informazioni riservate possono essere contenute nel messaggio o nei suoi allegati. Se non siete i destinatari indicati nel messaggio, o responsabili per la sua consegna alla persona, o se avete ricevuto il messaggio per errore, siete pregati di non trascriverlo, copiarlo o inviarlo a nessuno. In tal caso vi invitiamo a cancellare il messaggio ed i suoi allegati. Grazie. CONFIDENTIALITY NOTICE Confidential information may be contained in this message or in its attachments. If you are not the addressee indicated in this message, or responsible for message delivering to that person, or if you have received this message in error, you may not transcribe, copy or deliver this message to anyone. In that case, you should delete this message and its attachments. Thank you.
------------------------------------------------------------------------

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

AVVISO DI RISERVATEZZA Informazioni riservate possono essere contenute nel messaggio o nei suoi allegati. Se non siete i destinatari indicati nel messaggio, o responsabili per la sua consegna alla persona, o se avete ricevuto il messaggio per errore, siete pregati di non trascriverlo, copiarlo o inviarlo a nessuno. In tal caso vi invitiamo a cancellare il messaggio ed i suoi allegati. Grazie. CONFIDENTIALITY NOTICE Confidential information may be contained in this message or in its attachments. If you are not the addressee indicated in this message, or responsible for message delivering to that person, or if you have received this message in error, you may not transcribe, copy or deliver this message to anyone. In that case, you should delete this message and its attachments. Thank you.

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to