fvdw wrote:Ooops type error, try this
- Code: Select all
tftp -r rcS-new -l /sda7/etc/init.d/rcS -g 192.168.0.177
- Code: Select all
fvdw-sta-kirkwood login: root
Password:
root@fvdw-sta-kirkwood:/ # mkdir /sda7
root@fvdw-sta-kirkwood:/ # mount /dev/sda7 /sda7
root@fvdw-sta-kirkwood:/ # mv /sda7/etc/init.d/rcS /sda7/etc/init.d/rcS-original
root@fvdw-sta-kirkwood:/ # tftp -r rcs_new -l /sda7/etc/init.d/rcS -g 192.168.0.177
tftp: server error: (1) File not found
root@fvdw-sta-kirkwood:/ # tftp -r rcS-new -l /sda7/etc/init.d/rcS -g 192.168.0.177
rcS-new 100% |****************************************************************| 8587 0:00:00 ETA
root@fvdw-sta-kirkwood:/ # chmod 777 /sda7/etc/init.d/rcS
root@fvdw-sta-kirkwood:/ # ls -l /sda7/etc/init.d
total 120
-rw-r--r-- 1 root root 190 Jun 1 2016 WARNING.txt
-rwxr-xr-x 1 root root 1893 Mar 28 2013 fuse
-rwxr-xr-x 1 root root 299 Apr 5 2014 insert-modules.2big2
-rwxr-xr-x 1 root root 299 Apr 5 2014 insert-modules.5big2
-rwxr-xr-x 1 root root 193 Jan 27 2014 insert-modules.cloudbox
-rwxr-xr-x 1 root root 299 Apr 5 2014 insert-modules.d2nw2
-rwxr-xr-x 1 root root 299 Apr 5 2014 insert-modules.isp2
-rwxr-xr-x 1 root root 299 Apr 5 2014 insert-modules.nwsp2
-rwxr-xr-x 1 root root 299 Apr 5 2014 insert-modules.nwspmax
-rwxr-xr-x 1 root root 299 Apr 5 2014 insert-modules.wsp2
-rw-r--r-- 1 root root 46 Nov 16 2011 postupgrade.jobs
-rwxr-xr-x 1 root root 3983 Feb 10 2016 rc.banner
-rwxr-xr-x 1 root root 6537 Jan 28 2017 rc.bootup1
-rwxr-xr-x 1 root root 316 Aug 12 2013 rc.bootup2
-rwxr-xr-x 1 root root 5024 Jan 28 2017 rc.bootup3
-rwxr-xr-x 1 root root 9304 Jan 4 2017 rc.postupgrade
-rwxr-xr-x 1 root root 5077 Mar 2 2017 rc.setup
-rwxrwxrwx 1 root root 8587 Jan 1 00:06 rcS
-rwxr-xr-x 1 root root 20339 Apr 7 2017 rcS-original
root@fvdw-sta-kirkwood:/ # umount /sda7
root@fvdw-sta-kirkwood:/ # poweroff -f