Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi everybody,
I'm searching a shell for this NAS. By default, the shell associated to my user is /bin/sh wich is busybox. But when I try to telnet to it, I've the busybox banner, but I never obtain a prompt. Could someone have a compiled version of busybox (or another shell) for this NAS?
Many thanks indvance for your help.
Offline
Type 5784468 and you'll get a prompt.
Offline
Youpiiii!!! Many thanks for help. It works fine now.
If it interest someone, I can explain how to start automatically a process with this NAS.
Thanks again.
Regards.
Last edited by marcbidon (2008-01-26 22:35:37)
Offline
...but if You upgrade 313's firmware to 1.01, telnet becomes disabled, so you can't just log in. Telnet can be, however, re-enabled using fun_plug
Unfortunately, 1.01 still doesn't bring power management (disk spindown) to DNS-313...
Offline
Hi lothalev,
have you a DNS-313 fun_plug version like fonz's one? It will be great.
Regards,
Trasgu
Offline
This will fix the telnet problem and give you some boot up info. Just put it in an executable file named fun_plug in the root of your attached drive:
#!/bin/sh
#
# Simple fun_plug
#
dmesg > /mnt/HD_a2/dmesg.out
/usr/sbin/xinetd -stayalive -reuse -pidfile /tmp/xinetd.pid &
Offline
Hi,
I have a DNS-313 with firmware 1.01b6. My problematic was to have a telnet access wich has been removed by Dlink on the firmware version I have (with the original firmware, this access was possible). I've tryed more times to use a file called fun_plug with the launch of xinetd but without any success.
So, I've found an alternative solution :
-on the Maintenance/System page of the web configuration interface, on the "configuration settings" area save the current config.
-On the saved file, you can find a lot of interestings things and precisely I've added the line
"/usr/sbin/xinetd -stayalive -reuse -pidfile /tmp/xinetd.pid &" after the DHCP launch.
-After that, simply upload the modified file and now, you've a telnet access (sure after the reboot ;-) .
Hope it helps.
Offline
@marcbidon:
I tried this method on 1.00 to mount an ext2 partition instead of NTFS by default. It worked, but adding a line to configuration file broke DNS-313 configuration in several places (eg. device would not set its name, statistics page would display errors and so on).
Does modifying this configuration on 1.01 work correctly? This would enable us to do a whole bunch of system modifications even _before_ the main hard disk partition gets mounted!
I'm gonna just try it
Offline
i would suppose that it depends on where you enter the line, lothalev
e.g. placing the xinetd line is best IMHO in the section after nameserver
;nameserver 192.168.0.1 ;#!/bin/sh /sbin/ifconfig egiga0 192.168.0.6 netmask 255.255.255.0 route add default gw 192.168.0.1 HOSTNAME='daten_extern' echo "Setting hostname .... $HOSTNAME" /bin/hostname $HOSTNAME /usr/sbin/xinetd -stayalive -reuse -pidfile /tmp/xinetd.pid &
But the partitions are mounted before that script runs. Anyway you can easily change the fiel /etc/mtab to mount something else than the default ufsd filesystem for the main data partition when you have enabled telnet access.
Offline
The problem is that I don't know how to Telnet from a Windows XP computer?
Since I run 1.01 firmware, I have added the fun_plug file according to Jako above and restarted the NAS.
I use the HyperTerminal of Windows XP and write the IP-address of my DNS-313. Port number defaults to 23.
I just get "Unable to connect to 192.168.0.8 port 23" response back.
What am I doing wrong?
Offline
I'm using the 1.01b06 fw
try to open in browser :
http://"dns-313_ipaddress"/web/telnetd.asp
Offline