DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-12-05 05:33:05

krenkey
Member
Registered: 2010-12-05
Posts: 28

RE install problems

Hi there i am trying to install the alt-f on to a revB Nas i have copied over the funplug file and the Alt-F-<version>.tar to the nas rebooted and i still only get to the original vendor page am i missing something here i do have telnet access but cannot access the alt-f pages

help please

Offline

 

#2 2010-12-05 05:58:02

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

Anyone help please the wiki is not very clear on instructions

Offline

 

#3 2010-12-05 12:51:29

haim
Member
Registered: 2010-01-13
Posts: 83

Re: RE install problems

You'll need to put some more info up about what you've done, and the result.

It seems you are using the 'reloaded' technique, but are you running ffp already?  You could state which option you are using (1, 2, 3...) from the intallation wiki page).

Then later in the page is some diagnositing by looking at the LED lights, you could comment on that check.

Then there is some stuff about log files (reloaded log and alt-f.log) so you could check those and give the result)

Offline

 

#4 2010-12-05 15:59:08

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

Ok here goes the Wiki says the following

(If you don't have ffp or a fun_plug file in your box root directory,   and you don't even know what that means, just download "Alt-F-<version>.tar"   and "fun_plug" into your box root directory, make sure that "fun_plug" has   execution permission and reboot. )

Did that and rebooted the box becomes unresponsive the blue lights do nothing there is no way to access the box either by ping or telnet or windows explorer i left it for 8 hours thinking it was doing something so i pulled the plug and here is what is in the log file's

$Shutting down SMB services:
$Shutting down NMB services:
  PID  Uid     VmSize Stat Command
    1 root        288 S   init                               
    2 root            SWN [ksoftirqd/0]
    3 root            SW< [events/0]
    4 root            SW< [khelper]
    5 root            SW< [kthread]
   11 root            SW< [kblockd/0]
   14 root            SW  [khubd]
   49 root            SW  [pdflush]
   50 root            SW  [pdflush]
   52 root            SW< [aio/0]
  189 root            SW  [scsi_eh_0]
   51 root            SW  [kswapd0]
  190 root            SW  [scsi_eh_1]
  200 root            SW  [mtdblockd]
  217 root            SW< [kcryptd/0]
  218 root            SW< [kmirrord/0]
  229 root            SW< [loop0]
1430 root        440 S   chkbutton
1455 root        360 S   /bin/sh /usr/sbin/chk_fun_plug
1490 root        276 S   fancontrol 1
1502 root        304 S   -sh
1751 root        368 S   /bin/sh /mnt/HD_a2/fun_plug
1932 root        284 R   ps
              total         used         free       shared      buffers
  Mem:        61812        46048        15764            0        14992
Swap:      1060208            0      1060208
Total:      1122020        46048      1075972

There is also a ffp logfile here is its output :

**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Sat Dec  4 18:32:17 GMT 2010
ln -snf /mnt/HD_a2/ffp /ffp
* Installing /mnt/HD_a2/fun_plug.tgz ...
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
tar: WARNING: Converting hard link to symlink
* OK
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh ...
Starting /ffp/sbin/telnetd -l /ffp/bin/sh
* /ffp/start/sshd.sh inactive
* /ffp/start/rsyncd.sh inactive
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs.sh inactive
* /ffp/start/lighttpd.sh inactive
* /ffp/start/inetd.sh inactive
*  OK
**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Sat Dec  4 18:57:39 GMT 2010
ln -snf /mnt/HD_a2/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh ...
Starting /ffp/sbin/telnetd -l /ffp/bin/sh
* /ffp/start/sshd.sh inactive
* /ffp/start/rsyncd.sh inactive
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs.sh inactive
* /ffp/start/lighttpd.sh inactive
* /ffp/start/inetd.sh inactive
*  OK

I am not able to telnet or ssh at all after unplugging the box i can access the original vendors pages

Offline

 

#5 2010-12-05 16:40:43

haim
Member
Registered: 2010-01-13
Posts: 83

Re: RE install problems

So you haven't setup up ffp before?  it seems you are saying you haven't,   so usually you don't usually have telnet access right?

Did you try the holding button down to see if it flashes? 

Was there an alt-f.log file?

I'm assuming no alt-f.log, and so the install says most likely problem is there wasn't enough memory.
I have compared your reloaded log and mine and I can see mine has far more memory available., although it looks like the same result from the ps command (i.e which processes are running).
So either you have a dlink office add on running (bonjour or something else...I think they also make a torrent one or something and a couple of others).  in which case remove this first and reboot to try again.
Or it just wasn't cleared out in the memory for some reason.  Again, try rebooting and running directly after the reboot. 

I had these issues, was the bonjour add on and some reboots that was needed.  Note that afterwards the fsck ran so that was 20 mins with a heart beat flashing light.
Also note that when its working, but you are using the reloaded method (as I do) then initially the dlink firmware loads and you will see this if using your browser, then after a bit this will disappear and the alt-f admin pages will be available instead.

ALSO note, that I am just a muppet user who's trying to help, so hopefully Joao logs on and comes and gives you some real info smile

Offline

 

#6 2010-12-05 17:12:35

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

I held down the button and it did nothing the only thing i fhave running is the bittorent client and upnp ive stopped both those services and am going to tryu rebooting i do have a ffp directory but did not set anything up it is not letting me delete anything something about permissions to start from scratch do i want to start from scratch ?

Offline

 

#7 2010-12-05 17:15:48

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

There is no alt-f log file anywhere that i can see

Offline

 

#8 2010-12-05 17:24:34

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

Ok so that worked i got to the alt-f pages will post back shortly

Offline

 

#9 2010-12-05 17:43:27

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

ok so after a few minutes of browsing thru the alt-f pages the box rebooted and now im back to the dlink page telnet or ssh does not work

Offline

 

#10 2010-12-05 18:15:51

haim
Member
Registered: 2010-01-13
Posts: 83

Re: RE install problems

So you got to the alt-f admin pages, well thats good smile

Haven't heard of spontaneous reboot, I presume you didn't push the reboot button by mistake smile

We'll I'd give it another go then smile  But I guess you are doiing that.

there should be an alt-f.log now, maybe that has something about the reboot.

Offline

 

#11 2010-12-05 20:19:25

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

Ok so we have progress the blue light is blinking so according to the instructions thats a good sign we will see what happens

Offline

 

#12 2010-12-05 21:45:44

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

Well so far so good now i just have to figure out how to get to all my files

Offline

 

#13 2010-12-05 22:04:00

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

Well after playing around a little in the alt-f pages i did a reboot and now i am back to this stupid dlink firmware page da heck is goin on

Offline

 

#14 2010-12-06 00:01:47

haim
Member
Registered: 2010-01-13
Posts: 83

Re: RE install problems

When you use the reloaded way of loading it sets the  fun_plug replacement file to non-executable on first boot, so that next time you boot it doens't boot again and you just get original firmware.

this is a failsafe in case it doens't work, so next boot will go back t osomething that does.

so you need to make it executable and boot again to get into alt-f, when you are happy with alt-f and are sure it works ok for you then you can change a line in the fun_plug so that this doesn't happen any more and it will always go into alt-f



the fun_plug replacement file has a setting in it

Offline

 

#15 2010-12-06 00:14:42

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

Ok so i will have to figure that out then

Offline

 

#16 2010-12-06 04:16:45

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

Ok so i was able to chmod 777 fun_plug to get it to boot into alt-f now i trying to get to my files in explorer i can see the box but when i try to access the files i get a permission error i did set up a user on the alt-f config pages anyone ???

Offline

 

#17 2010-12-06 11:47:25

haim
Member
Registered: 2010-01-13
Posts: 83

Re: RE install problems

Boot into alt-f (reloaded) every time:

in the fun plug at the top there is
%%%%%%

#!/bin/sh

# disable recurring reboots,
# comment if you want to go to Alt-F on every reboot
ONCE=yes

%%%%%%%

Follow the advice there and the executable permission on the fun_plug file will not be removed on boot.  Then it will boot in every time.

chmod +x 'filename'  can be used to get it set correctly if it is not right now.

Offline

 

#18 2010-12-06 11:53:08

haim
Member
Registered: 2010-01-13
Posts: 83

Re: RE install problems

I'm pretty poos on users, however if you are using your pc to log in then it's probalby as 'nobody' user.  So any files or folders which are owned by another user probably won't be available to you.  You probably, for example, have a number of files which are owned by root.

So either:

1. Change file permissions with chown command.

2. Log on as another user when browsing, like root....obvious option in mac as there is a 'connect as' button in the Finder, in ubuntu I can't see how to , I think via 'connect to server', but theres nothing obvious when just selecting the samba share.  I don't run windows at home so not sure on there.

3.  telnet/ssh in via the command line and login in as root or some other useful user and do all your changes via the command line

I'm lazy with security so I only use root user in general, and telnet in to do stuff.  I'll also do stuff via ubuntu's gui, but as soon as I hit a permission issue I'll just do the action via telnet.

Offline

 

#19 2010-12-07 00:33:18

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

k got all that figured out just playing with this transmission torrent client can get it started but it doesnt download

Offline

 

#20 2010-12-07 17:20:00

haim
Member
Registered: 2010-01-13
Posts: 83

Re: RE install problems

Sorry don't use transmission.  There is something about it on the discussion group for alt-f (look on the alt-f webpage), also i think joao looks there more often so probably more chance of him helping you out.

Offline

 

#21 2010-12-09 00:40:45

jcard
Member
From: Portugal
Registered: 2008-09-21
Posts: 289

Re: RE install problems

So, krenkey, you managed to run Alt-F only after many unsuccessful attempts.

I'm writing a FAQ and I would like to know what you have done to overcome the difficulties you felt -- while they are still fresh in your memory smile

Also, knowing what was wrong on the supplied instructions would be very helpful.

Have you managed to put Transmission downloading? There are two ways of doing that.
After you configuring it, particularly the "Torrents directory" input field, and starting it, you can:

- drop, thought ftp, samba, whatever... a torrent file to the "Torrents directory" that you specified; the download should start automatically
- or, go again to the configure page and hit the WebPage, which opens Transmission's own web page. There you can upload from your computer the torrent file you wish, and downloading will start.

Thanks


Please consider discussing Alt-F at http://groups.google.com/group/alt-f/topics
Please consider filling Alt-F bugs at http://code.google.com/p/alt-f/issues/list

Offline

 

#22 2010-12-09 19:03:16

jcard
Member
From: Portugal
Registered: 2008-09-21
Posts: 289

Re: RE install problems

> Have you managed to put Transmission downloading?

Do you have upnp enabled in your modem router?

Usually bittorrent clients use a fixed port to communicate, and some users just open these ports in their modem/router.
However, Transmission has an option to use another port, or a random port, because some ISP squeeze usage on the standard port, so manually opening a port might not work.
Instead, Transmission tries to use upnp to open ports.

Some people don't like upnp, and I agree with then, but...

You can use transmisson-remote-gui to communicate from your desktop computer with Transmission on the dnd323: http://code.google.com/p/transmisson-remote-gui/


Please consider discussing Alt-F at http://groups.google.com/group/alt-f/topics
Please consider filling Alt-F bugs at http://code.google.com/p/alt-f/issues/list

Offline

 

#23 2010-12-11 18:03:03

krenkey
Member
Registered: 2010-12-05
Posts: 28

Re: RE install problems

Thanks for your hard work Jcard i guess the biggest problem i found was navigating on the wiki page for the install process the part about do this if you dont have that and if you do this dont do that and so forth found it a little confusing. Also the editing of the fun_plug script to make the system boot into the alt-f was not very clear.

was able to get everything up and running tho

Offline

 

#24 2010-12-23 00:39:12

2ma2
Member
From: Fensmark, Denmark
Registered: 2010-12-21
Posts: 9

Re: RE install problems

Hi.
I seem to have a semilar problem - I just find an alt-f-reloaded.log file like krenkey did. No ffp.

I understand that the fun_plug and Alt-F-0.1B6.tar should be copied to the root of DSN-323?
But I can't get permission to do so. I'm only able to copy to Volume_1 where I can change proberties to 777. Is that so?

I have tried with both windows FTP and FileZilla. (FileZilla can drag and drop - so that's my choise here. :-) )

$Shutting down SMB services:
$Shutting down NMB services:
  PID  Uid     VmSize Stat Command
    1 root        288 S   init                               
    2 root            SWN [ksoftirqd/0]
    3 root            SW< [events/0]
    4 root            SW< [khelper]
    5 root            SW< [kthread]
   11 root            SW< [kblockd/0]
   14 root            SW  [khubd]
   49 root            SW  [pdflush]
   50 root            SW  [pdflush]
   52 root            SW< [aio/0]
   51 root            SW  [kswapd0]
  190 root            SW  [scsi_eh_0]
  191 root            SW  [scsi_eh_1]
  192 root            SW  [scsi_eh_2]
  193 root            SW  [scsi_eh_3]
  204 root            SW  [mtdblockd]
  218 root            SW< [kcryptd/0]
  219 root            SW< [kmirrord/0]
  230 root            SW< [loop0]
1453 root        440 S   chkbutton
1478 root        360 S   /bin/sh /usr/sbin/chk_fun_plug
1500 root        276 S   fancontrol 0
1525 root        304 S   -sh
1751 root        292 S   /usr/sbin/portmap
1833 root            SW  [nfsd]
1835 root            SW  [lockd]
1836 root            SW< [rpciod/0]
1837 root        372 S   /usr/sbin/rpc.mountd
1850 root        364 S   /bin/sh /mnt/HD_a2/fun_plug
2026 root        284 R   ps
              total         used         free       shared      buffers
  Mem:        61812        47096        14716            0        14104
Swap:      1060208            0      1060208
Total:      1122020        47096      1074924

I have tried to boot several times, and disabled unpnp iTunes-server. 
Any help out there?

Offline

 

#25 2010-12-23 01:03:38

2ma2
Member
From: Fensmark, Denmark
Registered: 2010-12-21
Posts: 9

Re: RE install problems

If I do this the DNS-323 kepps rebooting ...
# disable recurring reboots,
# comment if you want to go to Alt-F on every reboot
# ONCE=yes

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB