Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
thanks but itīs not my problem, the nas works perfectly, I donīt care to format de hd. Iīm mac user so I think in a wonderful life, so if there is any other method to format this to upload the the new firmware please tell me
thanks again
Offline
Now I understand...
Yes, itīs possible under 2 conditions:
1. have telnet access.
2. have ftp access.
But first, you must be able to untar an archive. Iīm absolutely sure, the box has the tar-program, it is built-in in busybox:
DNS-313:~# /bin/busybox
BusyBox v1.00-pre1 (2007.08.28-03:13+0000) multi-call binary
Usage: busybox [function] [arguments]...
or: [function] [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use, and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, arping, ash, autoip, basename, busybox, cat, chgrp, chmod,
chown, cmp, cp, crond, crontab, date, dd, df, dmesg, dumpleases,
echo, egrep, env, expr, false, fgrep, find, free, fsck.minix,
goweb, grep, gunzip, halt, head, hostname, hwclock, id, ifconfig,
init, kill, ln, logread, ls, mkdir, mkfs.minix, mknod, mkswap,
modprobe, more, mount, mv, pidof, ping, poweroff, ps, pwd, rdate,
reboot, rm, route, sed, sh, sleep, swapoff, swapon, sync, syslogd,
tail, tar, telnetd, test, tftp, touch, true, udhcpc, udhcpd, umount,
uname, vi, wget, zcat
DNS-313:~#
Why should it not work? Log in with telnet, type "tar" on the command line and say us, what the box answers.... Then we will see, whatīs to do.
Last edited by CharminBaer (2008-05-23 18:22:04)
Offline
iīm very grateful.
but, can you tell me what is the next steep to do?
sorry for my ignorance
Offline
Bronek wrote:
When the device is restarted base fun_plug package is installed and you can telnet to it without having to enter the unlock code (in fact, you even don't have to enter root's password which is pretty scary - you'd better get some ssh server fast).
How to get root password ? Because with admin user, create directories permission is denied :
admin@nas:/mnt/HD_a4$ mkdir packages mkdir: cannot create directory 'packages': Permission denied
Thank's
Offline
@scapitan:
O.K., the next steps: Download the firmware, e.g. from DLinkīs ftp-server.
The spain server has version 1.01-b12:
ftp://ftp.dlink.es/NAS/DNS-313/Firmware … .01b12.zip
Normally itīs a zip-file, unpack it. Put the system.tgz with ftp to your DNS-313.
Now log into the box with telnet. You will find the uploaded firmwarefile in the directory
/mnt/HD_a2/ (you should be a bit familiar wit the command-line, arent you?)
Now type in:
cd /mnt/HD_a2
ls system.tgz (you should see this file...)
This partition is NTFS, I think better doing the next steps on an EXT2-formatted one.
mv system.tgz /mnt/HD_a4
cd /mnt/HD_a4
tar xzf system.tgz
Any error-messages? If not, you have now the 3 needed files in this directory.
Put them to their destination:
cp rootfs.tgz /.boot
cp rd.gz /.boot
cp zImage /.boot
Thats all.
After next reboot you have the new (or older...) firmware running...
Last edited by CharminBaer (2008-05-25 20:33:40)
Offline
CharminBaer Iīm very gratefull to you.
Iīm going to do that.
Iīll tell you what hapen-
Sorry but I donīt undestand what you mind with the ntfs partition and ext2
Which one partition may i have to format? hda2 or hda4?
thanks
Last edited by scapitan (2008-05-25 22:21:43)
Offline
I get tath error:
# tar xzf system.tgz
tar: Invalid gzip magic
Offline
Sorry, have forgotten one step. First you must cut the header away.
dd if=system.tgz of=system_noh.tgz bs=8 skip=13
tar xzf system_noh.tgz
And donīt misunderstand, you donīt have to format any partition, when you want a new firmware.
Last edited by CharminBaer (2008-05-25 23:22:01)
Offline
ok, itīs every things ok, now i have the 1.01 firmware.
Thank to CharminBaer.
can I now install all programs??
how can i change the partition ntfs to ext2?
is it what you mind?
sorry, but my english level is not too good
Offline
And how to have telnet access with this firmware ?
I have installed fun plug but there is nor telnet neither SSH ports opened.
Offline
everything has worked perfectly, but now I can not reach with telnet, i returned to install fun_plug and I do not have access.
Is this normal?
as the active again?
Offline
Marc wrote:
And how to have telnet access with this firmware ?
I have installed fun plug but there is nor telnet neither SSH ports opened.
I resolve may problem reading another post, You must to use to edit the fun_plug file a textedit like notepad+++, becouse if you use text edit Itīs not work.
try to use notepad+++, I get the telnet acces after edit the file and reboot.
Offline
scapitan wrote:
can I now install all programs??
how can i change the partition ntfs to ext2?
is it what you mind?
What programs? Seems, this isnīt my part in this play, other guys better knows this, e.g. fonz...
What do you want to do with the box in future?
Changing the format of data-partition from NTFS to EXT2 you donīt should do yes, first play around with the stuff a while.
But a little explanation: The HDD in DNS-313 has 3 partitions, the only one you may see from outside is the /dev/sda2, mounted on /mnt/HD_a2 and seen as service "Volume_1" with samba and ftp from outside. This partition has NTFS filesystem. O.K., EXT2 may be a little more faster and stable, but wait and see a bit more...
scapitan wrote:
sorry, but my english level is not too good
Mine too, then letīs write vietnamese...
ChBaer.
Offline
ok CharminBaer, now I understand you about the partition.
Iīm going to look after for that information.
thanks a lot
Offline