Wengi, thank you for your great tutorial. I've decided that it is the most detailed and started using it for connecting my usb hdd with 500gp.
Unfortunately, a have a problem after this steps:
# test if USB disc has been attached
# if not - then insert needed modules
#
# uncoment the following 4 lines if using an USB HDD.
#if [ ! -d /dev/discs ]
#then
#insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s
#fi
#Wait for /opt to mount
mount /dev/discs/disc0/part2 /opt
i=0
while [ $i -le 30 ]
do
if [ -d /opt/etc ]
then
break
fi
sleep 1
i=`expr $i + 1`
done
mount /dev/discs/disc0/part3 /tmp/harddisk
# Activate swap
swapon /dev/discs/disc0/part1
# Run all active services - active means starts with S
/opt/etc/init.d/rc.unslung
I wrote it in VI editor after pressing 'i' and i saved it with :wq command.
I use 500gp like a router, so after those steps I make a command to reboot:
flashfs save && flashfs commit && flashfs enable && reboot
And then Putty says that "Fatal error (connection lost)"
I try to connect using SSH again, but also Fatal error appears (writing "network connection refused")
And i only can connect to 500gp using telnet or web. And when i run telnet, swap is not activated and driver is not mounted (so, startup script don't work i think) although all steps before i did according to your tutorial.
After that, i've refreshed the firmware and did everything again, but the result was the same.
Help me solve this problem please...
P.S. excuse me for my english: i've haven't any practice for a long time...