kcobain1992
Occasional Visitor
Hi,
As I was playing with my RT-AC56U, I was following this tutorial: http://forums.smallnetbuilder.com/showthread.php?t=15528 to run some stuff in Debian chroot at startup.
Unfortunately, at reboot, it seems that my router executes /jffs/scripts/services-start, but never gets out of it.
If I remember correctly, it was something like this:
The first two commands worked, but I think it didn't like the sleep command. FWIW, the "debian-mount" script looks like this:
Similar stuff was happening in the services-stop script:
but I don't think it gets until there.
Well, as I said, now, after reboot, it never completely starts, the lights don't go on (only the power light), and I can't ssh into it. I tried unplugging the USB stick that was mounted as /opt, and rebooting again, but no succes that way either. I also reset the NVRAM (I think) by holding the reset button for 30 seconds. What can I do?
As I was playing with my RT-AC56U, I was following this tutorial: http://forums.smallnetbuilder.com/showthread.php?t=15528 to run some stuff in Debian chroot at startup.
Unfortunately, at reboot, it seems that my router executes /jffs/scripts/services-start, but never gets out of it.
If I remember correctly, it was something like this:
Code:
ln -s /jffs/configs/profile.add /home/root/.profile
ln -s /jffs/configs/.vimrc /home/root/.vimrc
sleep 10
/usr/bin/debian-mount
Code:
mount -o bind /dev/ /opt/debian/dev/
mount -o bind /proc/ /opt/debian/proc/
mount -o bind /sys/ /opt/debian/sys/
Code:
/usr/bin/debian-umount
Well, as I said, now, after reboot, it never completely starts, the lights don't go on (only the power light), and I can't ssh into it. I tried unplugging the USB stick that was mounted as /opt, and rebooting again, but no succes that way either. I also reset the NVRAM (I think) by holding the reset button for 30 seconds. What can I do?