How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

MSS II General talk

How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby x61007 » 27 Jul 2007 00:53

All,
I just bought a MSS-II with v3.1.28 firmware, does anyone know how to setup telnet, ftp, http services?

Knowing from this post: viewtopic.php?f=2&t=450
I know that Apache 2.0.54 (proprietary) web server, PHP (strage/buggy cgi) are included with the box. How do I first telnet into the box, and then setup the services.

Thanks,
Tim
x61007
Newbie
 
Posts: 2
Joined: 25 Jul 2007 21:26

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby stuart_f » 27 Jul 2007 09:40

Tim,

The process for getting access via telnet is documented in this thread: http://www.openmss.org/forum/viewtopic.php?f=10&t=529

I urge you to read it to find out how to set up the cross compiling tools you will need to make your ftp server.

To save you a bit of time, you can download a telnet enabled firmware http://www.rapidshare.com/files/37548636/coyote-3.1.26-telnet.bin.html
Edit: Just realised that Seagate have put up a newer firmware than the version this is based on. from their site the changes are:
The MSS II_v_3_1_28 firmware implements a fix for the extended daylight savings time, includes DLNA and UPnP logo certifications, and fixes a problem with the drive capacity being reported improperly through the web GUI and Simple View summary.

I think I can live with 3.1.26, none of the fixes seems worth the upgrade :D

After reflashing the MSSII point your web browser to http://yourSSII/advanced/telnetd.php where yourSSII is the ip address of your box.

You have to call http://yourSSII/advanced/telnetd.php after each reboot to enable telnet access. To make telnet available after each reboot:

Code: Select all
/ # /usr/sbin/setvar telnet_on 1


There's even a version with SSH rather than telnet http://www.openmss.org/forum/viewtopic.php?f=10&t=761

tftpd from here ftp://ftp.kernel.org/pub/software/network/tftp/tftp-hpa-0.43.tar.gz is known to work.
stuart_f
Senior Member
 
Posts: 76
Joined: 17 Nov 2006 10:49

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby geek_bear » 28 Jul 2007 09:08

I have managed to move Ingo's ssh additions to a 3.1.28 based image (just had to unpack the image,
copy the appropriate files/directories over, and repack.) It seems to work, but I have not done much with it.
I will try to upload it somewhere soon if Ingo or someone else doesn't beat me to it.

Roy
geek_bear
Member
 
Posts: 35
Joined: 25 Jun 2007 08:23

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby x61007 » 31 Jul 2007 17:23

geek_bear wrote:I have managed to move Ingo's ssh additions to a 3.1.28 based image (just had to unpack the image,
copy the appropriate files/directories over, and repack.) It seems to work, but I have not done much with it.
I will try to upload it somewhere soon if Ingo or someone else doesn't beat me to it.

Roy


Roy, I am new user and don't know much about unpacking, adding and repacking. May I please ask you to email me your modified firmware 3.1.28? Thanks in advanced

Tim
x61007
Newbie
 
Posts: 2
Joined: 25 Jul 2007 21:26

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby chrisaix » 09 Sep 2007 19:18

Hello,

I've uploaded a v3.1.28 based version to http://uploaded.to/?id=xc92ov

--> please read read the included readme file !!!

Summary

  • ssh included (usr root, pwd root)
  • telnet added (utelnetd)
  • some other scripts are added to /usr/htdocs.en/hack
      see http://<ip>/hack/
    • info.php -- show some php info (phpinfo(), $GLOBALS)
    • webadmin_v9.10.php -- a file browser
    • telnetd.php -- start/stop the telnetd (default at system start is now off )
Installation

  1. Unpack the zip file
  2. install the bin file over the MSS2 web interface

    >>> Important <<< --> change the root password:
  3. login via SSH (Putty)
      User: root
      Password: root
  4. change the root password for the current boot time
      (it will be re-set after any boot)
      # passwd
  5. change the root password permanently
So - have some fun ... :lol:

// Chris
chrisaix
Junior Member
 
Posts: 9
Joined: 02 Sep 2007 18:57
Location: Germany, Aix-la-Chapelle

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby mikle_01 » 10 Dec 2007 15:06

Hi,

after installing this moded 3.1.28 I have a couple issues:

- On my Maxtor Shared Storage II get the message “sh: can't access tty; job control turned off”;what does ist mean!?
- The directory /hack (webadmin, telnet,...) is not available as discribed here; I got 404 page ;-(
- Telnet enable is NOT possible with "http://<ip_of_MSS2>/hack/telnetd.php" also 404 page

But I could install Twonkyvision 4.4.2.

Regards, Michael
mikle_01
Newbie
 
Posts: 1
Joined: 10 Dec 2007 08:14

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby chileboy » 10 Dec 2007 18:07

You can find the solution to the first issue here:

http://openmss.org/forum/viewtopic.php?f=10&t=838&hilit=tty

Not sure why you're getting the 404 on /hack though...doesn't make much sense, since you can obviously access it via IP address. It works as advertised on my box.

- Mark
chileboy
Member
 
Posts: 33
Joined: 23 Nov 2007 16:41

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby chileboy » 10 Dec 2007 19:04

chrisaix wrote:I've uploaded a v3.1.28 based version to http://uploaded.to/?id=xc92ov

Chris, this is a great help to me. But I'm having a bit of difficulty and in fact, ending up making my MSSII unbootable!

No worries there, I sent it back to Maxtor (Seagate) and I should have another one back this week...but I want to avoid doing that again.

I had gotten to the point that I wanted to run "ipkg install", and got a "Segmentation fault". Apparently that is a known problem with SSH when dropbear is running. So I disabled dropbear by commenting it out in the etc/init.d/rcS script (as documented elsewhere).

However, then I could not access SSH anymore because no shell was loaded (I assume).

So I started over - I reflashed with your image again, but when I edited the rcS script this time, I tried to make it load the telnet automatically by adding the line /sbin/utelnetd -d 1 after the commented-out dropbear. That was a mistake! And the Maxtor would no longer boot.

Obviously, I don't completely understand what I am doing. :oops:

My question is, how do I disable dropbear - so I can run ipkg without error - and still be able to access SSH?

Many thanks!

- Mark
chileboy
Member
 
Posts: 33
Joined: 23 Nov 2007 16:41

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby chileboy » 14 Dec 2007 19:48

Anyone??
chileboy
Member
 
Posts: 33
Joined: 23 Nov 2007 16:41

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby roxx » 28 Dec 2007 18:00

Hey....Thanks a lot for providing modified image and such nice enhancements.....appreciate all your hard work.

I tried to flash my MSSII with this new firmware and most of the things are working as expected except for "info.php", when I try to access it, I get following error:

Code: Select all
Parse error: syntax error, unexpected ':' in /usr/htdocs.en/hack/info.php on line 6


Any idea on how to fix it. Sorry, don't have much knowledge of php to debug it.

Thanks in advance for any help.
roxx
Junior Member
 
Posts: 7
Joined: 25 Jul 2007 00:08

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby jcfuentes » 03 Feb 2008 16:26

you have to edit "info.php", on lione 6 there is a typo, it should read:

print '<hr>';^M

you can edit it with:

vi /usr/htdocs.en/hack/info.php

You go into edit mode by pressing "i" and erase with ctrl+h, you save the file by pressing twice Esc and then ZZ

Hope it helps!

JC
jcfuentes
Junior Member
 
Posts: 5
Joined: 03 Feb 2008 16:11

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby nickd » 04 Feb 2008 16:07

Hi,

I am having a little trouble getting the modified firmware to work.
I have downloaded <coyote-3.1.28-ssh_telnet_2007-09-09.zip> and extracted the bin file to my drive.
I then used the MSS web interface (http://192.168.0.196/advanced/advanced_systemmaintenance_systemupdate_1.asp) to upload that firmware to MSS.
Everything seems to work well all the way to the end, at which point I am told that the update did not complete successfully but without any useful error info!

Any suggestions as to what may be happening would be greatly appreciated!
(Unless of course it is an RTFM error! :-)

Cheers,
Nick
nickd
Junior Member
 
Posts: 11
Joined: 04 Feb 2008 09:15

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby jcfuentes » 04 Feb 2008 22:14

I had a similar problem, what I did was to upload an original image from:

http://www.seagate.com/ww/v/index.jsp?locale=en-US&name=mss2-fw&vgnextoid=331f8b9c4a8ff010VgnVCM100000dd04090aRCRD

then I uploaded the modded image with ssh and telnet, without a problem. Maybe a CRC problem?

Regards,

jc
jcfuentes
Junior Member
 
Posts: 5
Joined: 03 Feb 2008 16:11

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby nickd » 05 Feb 2008 07:28

Thanks jc, that was a good suggestion.
I tried to re-flash the official software and ... got the same error????!!! Now I am confused!
[The firmware of your Shared Storage Drive has NOT been updated. An error occured.]

I've downloaded the firmware from Seagate and unzipped it. By virtue of the fact that no error were reported by WinRAR, I can be confident that there is no corruption in the bin file I extracted.
So, I have a good bin file and I use the standard web pages to upload it but it fails.

Additionally, when a run a 'Diagnostic Scan', I get this msg: [Diagnostic Scan and Repair test result is inconclusive. Please re-run this test.]

Something isn't right here...

Any suggestions?

Cheers,
Nick
nickd
Junior Member
 
Posts: 11
Joined: 04 Feb 2008 09:15

Re: How to setup telnet, ftp, http for MSS-II with v3.1.28 firmw

Postby fschaeckermann » 05 Feb 2008 12:41

Nick,
just to make sure - since I have been burned by this assumption before - you DO have a Maxtor Shared Storage II, right?
Not a MSS or MSS+?!?

Because if you try to burn the listed images on a MSS or MSS+ you would get exactly that those errors since the images are for MSS II only.

Frank
fschaeckermann
Member
 
Posts: 37
Joined: 24 Jan 2008 13:49

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest