View Single Post
Old 01-26-2008, 10:44 AM   #41
ragdoll
Connoisseur
ragdoll began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Oct 2007
Device: iRex iLiad V1
Quote:
Originally Posted by serge View Post
There is an older thread about this.

A good description of how it works: Changing or adding system start-up services

These are the files unbrickable places in the system:
/usr/bin/dropbear
/usr/bin/scp
/etc/dropbear/
/etc/dropbear/dropbear_dsa_host_key
/etc/dropbear/dropbear_dss_host_key
/etc/network/interfaces
/etc/init.d/dropbear
/etc/rc5.d/S98dropbear
/etc/passwd

If you want to get rid of it, just delete all of them but /etc/network/interfaces and /etc/passwd.

If you want iLiad to stop starting the daemon at start-up, just delete the symbolic link /etc/rc5.d/S98dropbear , which points to the script, /etc/init.d/dropbear , that starts/stops it.
Then
/etc/init.d/dropbear start
to start, and
/etc/init.d/dropbear stop
to stop.
Or create .sh files as described in the thread I mentioned above.
Thank you, great answer, it works.
But I have another question:
eth0 is always on, is dropbear that starts it or is there a script starting it which comes with the unbrickable installation?
It is a problem for me because in the third case I have to know how to prevent eth0 from turning on. I don't want to do
ifdown eth0
every time I turn on th iLiad.
ragdoll is offline   Reply With Quote