Reply
Yottabyte
bodhi78
Posts: 1,056
Registered: ‎06-04-2009

Re: Mod 2.23 Firmware

 


Seb_123 wrote:

Hi  bodhi78,

you can try to create a tar-file of your /usr/local/etc after all installations.I think other people can use this tar-file and the installation will be very easy. But i don't test it.

 

Seb_123

 

P.S. i've tried to insert optware and the other stuff to package2/usr.local.etc.tar.bz2, but it was ignored during installation. No idea what's wrong.

 

 


It's a great idea :-) I just need to clean up my /usr/local/etc a bit before taring. And change the autorun.sh script.

 

-------------
Feedback! when asking for help, please remember to let others know whether the suggested solution has solved the problem or not.

Need FAT+/GoFlex TV help? see this thread: http://forums.seagate.com/t5/FreeAgent-Theater-and-GoFlexTV/FreeAgent-Theater-product-page-and-other-information/td-p/76254
Gigabyte
dm
Posts: 193
Registered: ‎08-18-2010

Re: Mod 2.23 Firmware


bodhi78 wrote:

 


Seb_123 wrote:

Hi  bodhi78,

you can try to create a tar-file of your /usr/local/etc after all installations.I think other people can use this tar-file and the installation will be very easy. But i don't test it.

 

Seb_123

 

P.S. i've tried to insert optware and the other stuff to package2/usr.local.etc.tar.bz2, but it was ignored during installation. No idea what's wrong.

 

 


It's a great idea :-) I just need to clean up my /usr/local/etc a bit before taring. And change the autorun.sh script.

 


 

Well if you want to release a new mod 2.23 with opt in there already then just please keep it clean and minimal for people... there is not much space  the /usr/local/etc part

do a  ipkg list_installed
beforehand to see whats installed.

then again you can have many /opts so heh :smileyhappy:

 

I'd also suggest

make the autorun.sh have the features i've suggested to turn ON off stuff..

 

I'll post mine now.

 

suggestion #2..or is this 3, add in NANO into opt. really its way easier for simple user.

 

-some things bellow, notice the syslog (thats the syslog script that comes withth firmware...

 -i've mounted a modified etc/profile that just adds PATH to /opt/bin i think and also a

alias dir='ls -al --color'
-   technically we can remount the passwd also to add security and users eh....

-im not sure about the mms part but why not... anyone use this? it takes up lots of MEM for not much.

- BIG SUGGESTION, wait untill someone finds a good idea for inserting custom rss menu automatically.

we just need a few lines added into the menu_US.rss (or whatever).

Perhaps a small script on autorun that copies the menu to /tmp updates it and then adds in a custom menu line? or put it static in the /usr/local/etc/dvdplayer/savedrss/scripts

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#!/bin/sh

### Safety Net Here...
sleep 20

##### GLOBAL OPTIONS
STARTOPT=YES
STARTSAMBA=NO
STARTFTP=NO
STARTSYSLOG=NO
ENABLEMMSRTMP=YES

###FTP SYSLOG
if [ "$STARTSYSLOG" == "YES" ] ; then
#
 /etc/init.d/syslog.rcS -d AUTO
 else
 echo "Not Starting SYSLOG, Global set to NO"
fi
###


### OPTWARE STARTUP
if [ "$STARTOPT" == "YES" ] ; then
 #
 if /usr/local/etc/bin/busybox-mipsel mountpoint /opt ; then
    echo /opt already mounted
 else
    echo Mounting /opt and /etc/profile
    mount -o bind /usr/local/etc/oleg-optware /opt
    mount -o bind /opt/etc/profile /etc/profile
 fi
 #
 else echo "Not Starting Optware, Global set to NO"
fi
###


###FTP STARTUP
if [ "$STARTFTP" == "YES" ] ; then
#
 /usr/local/etc/bin/busybox-mipsel tcpsvd -vE 0.0.0.0 21 /usr/local/etc/bin/busybox-mipsel ftpd  -w / &
 else
 echo "Not Starting FTP Server, Global set to NO"
fi
###


###SAMBA STARTUP
if [ "$STARTSAMBA" == "YES" ] ; then
 #
 if [ -n "`pidof smbd`" ] ; then
     echo "Stopping smbd:"
     killall smbd
 fi

 if [ -n "`pidof nmbd`" ] ; then
     echo "Stopping nmbd:"
     killall nmbd
 fi

 sleep 2

 echo "Starting smbd:"
 if [ ! -d /tmp/samba ]; then
         mkdir /tmp/samba
         mkdir /tmp/samba/log
         rm -rf /opt/var/log/samba
         ln -s /tmp/samba/log /opt/var/log/samba
         rm -rf /opt/var/samba
         ln -s  /tmp/samba /opt/var/samba
 fi
 /opt/sbin/smbd -D;
 echo "Starting nmbd:"
 /opt/sbin/nmbd -D;
 #
 else echo "Not Starting SAMBA, Global set to NO"
fi
###


###ENABLE MMS RTMP VIDEO STREAMS
if [ "$ENABLEMMSRTMP" == "YES" ] ; then
 #
 cp -p  /usr/local/etc/bin/wmv /tmp/www/cgi-bin/
 cp -p  /usr/local/etc/bin/rtmp /tmp/www/cgi-bin/
 else
 echo "Not Enabling MMS RTMP Streams, Global set to NO"
fi
###

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

Gigabyte
dm
Posts: 193
Registered: ‎08-18-2010

Re: Mod 2.23 Firmware

@seb.

some of the usr/local/etc is in that other tar

but some is in the firstaes file also i think.

perhaps try i in that file?

 

ps be carefull about file size. I think there may be something needed to let it boot in that xml file. playdude mentioned needed to lower a number at one point or it would jam.

 

not sure

 

Yottabyte
bodhi78
Posts: 1,056
Registered: ‎06-04-2009
0

Re: Mod 2.23 Firmware

[ Edited ]

 

dm wrote:

    Well if you want to release a new mod 2.23 with opt in there already then just please keep it clean and minimal for people... there is not much space  the /usr/local/etc part

do a  ipkg list_installed
beforehand to see whats installed.

then again you can have many /opts so heh :)

    - BIG SUGGESTION, wait untill someone finds a good idea for inserting custom rss menu automatically.

we just need a few lines added into the menu_US.rss (or whatever).

Perhaps a small script on autorun that copies the menu to /tmp updates it and then adds in a custom menu line? or put it static in the /usr/local/etc/dvdplayer/savedrss/scripts

..... 

There is really no room on /usr/local/etc for much. Just optware, busybox, samba, and nano will take most of the free space. If people want to run syslogd, cron, and transmission, they already are part of either optware or busybox.

 

Will wait for the rss menu before doing any packing. So if anybody wants to use the Mod 2.23 right away, please do the manual steps from the first few posts.

 

-------------
Feedback! when asking for help, please remember to let others know whether the suggested solution has solved the problem or not.

Need FAT+/GoFlex TV help? see this thread: http://forums.seagate.com/t5/FreeAgent-Theater-and-GoFlexTV/FreeAgent-Theater-product-page-and-other-information/td-p/76254
Byte
ladhnur
Posts: 12
Registered: ‎01-12-2011
0

Re: Mod 2.23 Firmware

Thanks dm and bodhi for all your support and help.

 

Do you know when would this "rss menu" will be available so that we can make an educated guess whether to wait for the new FW or not.

 

Thanks once again

 

Nick

 

Yottabyte
bodhi78
Posts: 1,056
Registered: ‎06-04-2009

Re: Mod 2.23 Firmware

 


ladhnur wrote:

Thanks dm and bodhi for all your support and help.

 

Do you know when would this "rss menu" will be available so that we can make an educated guess whether to wait for the new FW or not.

 

Thanks once again

 

Nick

 


Nick, not sure when rss menu is ready. It's up to dm. However, I have the manual steps installations in the following post for users who want to do that. The instruction does not include all minute details, but it should be enough to follow. If anybody not sure about some of the steps, please ask and I will update it to include more information.

 

-------------
Feedback! when asking for help, please remember to let others know whether the suggested solution has solved the problem or not.

Need FAT+/GoFlex TV help? see this thread: http://forums.seagate.com/t5/FreeAgent-Theater-and-GoFlexTV/FreeAgent-Theater-product-page-and-other-information/td-p/76254
Yottabyte
bodhi78
Posts: 1,056
Registered: ‎06-04-2009

Mod 2.23 Firmware - Manual Steps to install FAT+ Mod 2.23 with utilities

[ Edited ]

Manual Steps to install FAT+ Mod 2.23 with utilities

Required

- FAT+ or GO Flex TV, currently installed with official FW 2.20 for either US or EMEA region
- USB drive, any USB drive formatted with FAT32.
- Seb_123 Mod FW 2.23 for your region, download at
    US version         http://www.mediafire.com/?64xlhwcpuyfnpn3
    EMEA vwersion         http://www.mediafire.com/?eet90oit2i6i9bu
- Bin-pack, see number 9 below.

Installation

1. Extract the file install.img from the downloaded FW, copy this file to the root directory of the USB drive. Make sure that it's the only file there. It's OK to have other folders, but the install.img should be the only file.

2. Power on the FAT+, set the FAT+ IP address to a static address on the FAT+ menu (wire/wireless).

3. Unplug all USB drives that are connected to the FAT+, if there is any.

4. Insert the USB drive with FW image into the FAT+ front USB port (For GOFlex TV, use the back USB port), wait until it finish indexing.

5. On a Windows PC, open a Command Prompt and telnet into the FAT+ by using the static IP address, for example if the IP address is 192.168.0.100. The user name is root, no password necessary
    telnet 192.168.0.100

6. At the telnet command prompt, check for the FW image on the USB drive
    ls -l /tmp/usbmounts/sda1

it should show the install.img file there

7. Start installing the FW by enter the following command at the telnet prompt
    kill -6 1

8. Watch the TV screen for the FW update progress. Wait until it finished and the Main menu  is displayed. At this point, the Mod FW 2.23 has been successfully installed. If any thing went wrong, follow the Cold Method of installing Rescue FW 1.55, and then upgrade back to FW 2.20 using USB method (see prairiedog thread for information)

9. To install all the utilities (optware, samba, busybox, nano) from the bin-pack, use the following README.txt instruction (also inside the downloaded bin-pack)

Download the binpack here (updated 04/26/11)

Download the binpack 1.1 here (updated 05/01/11)

Download the binpack 1.2 here (updated 05/03/11)

Download the binpack 1.3 here (updated 07/20/11)

Download bug fix to binpack 1.3 here (updated 07/22/11)

 

 

Installing Utilties on FAT+ Mod 2.23 (Mod FW by Seb_123, version April 17)

For use with FAT+Mod-2.23-binpack-bodhi-1.3.zip


Install Oleg Optware and BusyBox
================================

- Use a USB drive (flash or HDD) formatted with FAT32
- Create a top level directory /bin on this USB drive
- Copy all files in this bin pack to the USB /bin directory
- Unplug all USB drives currently connected to the FAT+
- Power up the FAT+ and insert this USB drive. This USB drive will be mounted at /tmp/usbmounts/sda1
- Telnet into the FAT+. User name is root, no password necessary.

- Execute the optware installation
/tmp/usbmounts/sda1/bin/optware-install.sh

- When it's done, copy the autorun.sh (or merge the content if there is one already in /usr/local/etc). And
for convenience, also copy BusyBox binary. This autorun.sh start busybox FTP during
power ON. So it's recommended that both files are copied to /usr/local/etc/ as followed:

cp /tmp/usbmounts/sda1/bin/autorun.sh /usr/local/etc/
cp /tmp/usbmounts/sda1/bin/busybox-mipsel /usr/local/etc/

- Execute the mount command to check if /opt is now mounted
mount

Install Samba2
==============

- Modify the /tmp/usbmounts/sda1/bin/smb.conf so that the line
interfaces = 192.168.0.51/24
matches the FAT+ IP address. Note that the FAT+ should be assigned a static IP address before
this so that Samba will work consistently. Whenever the FAT+ IP address changed, the smb.conf must be modified
to match the new IP, so static IP is best. There is also a line for workgroup, which can be left as is. If after installation, Samba
fails to share the USB drive(s), this workgroup should be looked at and adjusted to whatever the Windows workgroup is.
workgroup = WORKGROUP

- Execute the samba installation
/tmp/usbmounts/sda1/bin/samba_install.sh

- When it's done, the current USB drive is shared automatically under the share named "media". This is a directory
under /usr/local/etc. There are 3 symlinks in this share, usb-sda1, usb-sdb1, and usb-sdc1. Whenever a USB drive is plugged in,
it is automatically shared in that order. If a USB hub is used to connect more than 3 drives, then more symlinks
should be created to accomodate more USB drives, for example:
ln -s /tmp/usbmounts/sdd1 /usr/local/etc/media/usb-sdd1
and so on.

- Check the samba share if it appears on other PC in the network. On Windows, it should appear as
"media on FAT+ (VENUS)". Visit this share, and all USB drives will shown as shared folder usb-sda1, usb-sdb1,....

- Note that the FAT+ mini USB port will always get the first letter sda1 if a Free Agent GO drive is in that slot during power ON (does not
matter how many drives are connected). But if it is inserted later, then it will get sdb1, sdc1,... depending on how many USB drives were already
plugged in.


Setup Command Paths for nano and busybox (added in 1.2)
=======================================================

- Change directory to the USB drive bin directory and execute the script. NOTE: this script must be executed at the USB drive directory where the
bin pack is (/tmp/usbmounts/sda1/bin or /tmp/usbmounts/sdb1/bin ...)

cd /tmp/usbmounts/sda1/bin
./setup-commands-path.sh

- copy the new autorun.sh to /usr/local/etc (or merge with current content if autorun.sh version 1.1 has been modified)
cd /tmp/usbmounts/sda1/bin
cp autorun.sh /usr/local/etc/


Install Transmission (added in 1.3)
=======================================================

- Change directory to the USB drive TOP directory and execute the script. NOTE: this script must be executed at the
USB drive TOP level directory (/tmp/usbmounts/sda1 or /tmp/usbmounts/sdb1 ...). If the drive is at sda1:

cd /tmp/usbmounts/sda1

- Run the installation script
./bin/transmission_install.sh

- copy the run script to /usr/local/etc
cp ./bin/run_transmission.sh /usr/local/etc/

- copy or merge the autorun.sh script to /usr/local/etc. Set the global flag for Transmission to YES so that
Transmission is started automatically after a cold start (power disconnected), or reboot. Or set the flag
to NO so Tranmission will not be started automatically (use run_transmission.sh to start manually).

cp ./bin/autorun.sh /usr/local/etc/

- start transmission

cd /usr/local/etc
./run_transmission.sh


Control Transmission (added in 1.3)
=======================================================

- To control transmission, i.e. adding torrents, change settings, and password follow the 2 steps below

1. To control transmission using Web browser

After running this script to start transmission, on your browser enter URL
http://x.x.x.x:8181/transmission/web
(where x.x.x.x is the FAT+ IP address) to start the Transmission control GUI.

username is transmission, password is fatplus.

2. To change password, stop tranmission at the telnet prompt
killall transmission-daemon

then edit the transmission setting file in the USB drive
/tmp/usbmounts/sda1/transmission/settings.json

to replace the hashed password with plain text password (it will be hashed
automatically after transmission started):

the rpc-password line in the json file looks like this
"rpc-password": "{1ff68df803da3975545aed61a9b1a52adfa3991auZrFBUHf",

replace it with your new password in plain text (put it inside the double quote)
"rpc-password": "whatever is the new password"

run this script (run_transmission.sh) again to start transmission

3. For complete instruction in using the Web Interface see this web site
https://trac.transmissionbt.com/wiki/WebInterface

Keep Alive (added in 1.3)
=========================

To keep the FAT+ running without automatically going to sleep after idling for 1 hour

- modify /usr/local/etc/bin/keep-alive.sh to change "192.168.0.51" to the FAT+ IP address

(the local host IP 127.0.0.1 should work fine acording to hexcide, but I could not make it work for some reason)


*******************************************************************************************************************
Update log


Update 1.1
==========

- Modified autorun.sh to
1. Add waiting period of 20 seconds before starting services.
2. Add /opt mounting check to avoid double mounting.
3. Stop and start samba with log redirected to /tmp to avoid writing to flash.

Update 1.2
==========

- Added 2 files: profile and setup-commands-path.sh
1. Set the system PATH variable to include /usr/local/etc/bin. This is possible by mounting
/etc/profile to /usr/local/etc/profile to allow modification.
2. Set the symlinks for /opt/bin/nano and all busybox commands to /usr/local/et/bin. This will enable
commands execution without typing the full path.

- Modified autorun.sh to mount profile

Update 1.3
==========

- Added 4 files: transmission_install.sh, settings.json, keep-alive.sh, and run_transmission.sh
Transmission installation and running is fully scripted (no need to edit settings.json or other scripts)

- Modified 1 file: autorun.sh
Provide global flags to run various utilities, including flag to start Transmission

To upgrade from binpack 1.2, copy all files in this bin pack to the USB bin directory /tmp/usbmounts/sda1/bin. And
then follow the "Install Transmission" section above to install it, if desired.

To update only autorun.sh, after copying files to USB bin directory, merge or copy this autorun.sh to /usr/local/etc.
Also copy the keep-alive.sh to /usr/local/etc/bin (if this feature is enable in autorun.sh, it will be invoked).

 

 

The instruction above is also included in the README.txt in the zip file.



 



 

-------------
Feedback! when asking for help, please remember to let others know whether the suggested solution has solved the problem or not.

Need FAT+/GoFlex TV help? see this thread: http://forums.seagate.com/t5/FreeAgent-Theater-and-GoFlexTV/FreeAgent-Theater-product-page-and-other-information/td-p/76254
Byte
ladhnur
Posts: 12
Registered: ‎01-12-2011
0

Re: Mod 2.23 Firmware - Manual Steps to install FAT+ Mod 2.23 with utilities

Hi bodhi78 / dm

Thanks guys for the condensed steps for upgrading to 2.3 FW

I have completed the upgrade and also utilities

Now the next step is to how to get "DailyMoting" up and running. Any quick instructions for that? I will appreciate the help

 

Nick

Gigabyte
dm
Posts: 193
Registered: ‎08-18-2010
0

Re: Mod 2.23 Firmware

[ Edited ]

PS. Update POST#1 with the detailed instructions (or link to that message rather)

Thank you...

 

doh.... not much time now adays...

I've been looking at a way to get a pssword on a rss file. I've found some samples but darn... doesn t seem to work yet.

 

maybe we can just leave the rss menu part to manual installation :smileyhappy:

 

 


bodhi78 wrote:

 


ladhnur wrote:

Thanks dm and bodhi for all your support and help.

 

Do you know when would this "rss menu" will be available so that we can make an educated guess whether to wait for the new FW or not.

 

Thanks once again

 

Nick

 


Nick, not sure when rss menu is ready. It's up to dm. However, I have the manual steps installations in the following post for users who want to do that. The instruction does not include all minute details, but it should be enough to follow. If anybody not sure about some of the steps, please ask and I will update it to include more information.

 


 

Gigabyte
dm
Posts: 193
Registered: ‎08-18-2010

Re: Mod 2.23 Firmware - Manual Steps to install FAT+ Mod 2.23 with utilities

[ Edited ]

ladhnur wrote:

Hi bodhi78 / dm

Thanks guys for the condensed steps for upgrading to 2.3 FW

I have completed the upgrade and also utilities

Now the next step is to how to get "DailyMoting" up and running. Any quick instructions for that? I will appreciate the help

 

Nick


 

I'm not sure about dailywhatever but you can add your own menu and then add whatever items you want to test out...

 

I assume you have mod firmware and installed OPTWARE with nano...really nano is a must here.

play with this

dl the file

http://www.mediafire.com/?edp2lb4m87kf6ah

It's just a sample menu i made and some other preexisting stuff XLIVE menus and so forth.

1) PUT your USB/HD into your pc (makes this easy)

2) unzip that whole thing to your USB drive so it makes a opt directory first

so your folders will be USBDRIVE/opt/rsspack

3) Now the fun part, to make a copy of your menu file...

a) make sure you have folders /usr/local/etc/dvdplayer/savedrss/scripts 

    Other than making them manually you can just go into the WEATHER wiget from the menus and ADD a favorite city. it will then save something and create that folder for you.

b) Telnet to your box (192.168..whatever)

c)  cd /usr/local/etc/dvdplayer/savedrss/scripts/

d)  cp /usr/local/bin/scripts/menu_US.rss .

e) nano menu_US.rss

page up and page down work in my nano .... goto the bottom

 

you will see some stuff at the bottom like

 

<!--
<item>
<title>Empty item 8</title>

<link>http://</link>
<media:thumbnail url="image/blankicon.jpg"  />

</item>
-->

 

the <!-- is a comment thing so that is all a comment.

 

I'll i did is the following

 

 

go above the lines

</channel>
</rss>

 

and add in

 

<item>
<title>[JUMPSTART]</title>
<link>/tmp/usbmounts/sda1/opt/rsspack/jumpstart.rss</link>
  <media:thumbnail>
   <script>
   state = getDrawingItemState();
      if (state == "focus"){
          "/tmp/usbmounts/sda1/opt/rsspack/image/fav_focus.jpg";
   }
   else {
          "/tmp/usbmounts/sda1/opt/rsspack/image/fav_unfocus.jpg";
   }
   </script>
  </media:thumbnail>
</item>

 

 The paths get a bit wierd so that long /tmp//... path is the path to what should be your usb drive (SDA1) and the directory you extracted. I put an image there from something not mine.... that lets you see a star in the menu of the FAT... should be ok

THEN

..so save that menu

 

4) now go into the INTERNET menu andyou will see a new item.

5) now just edit/look at the JUMPSTART.RSS menu i put on your HD in  opt/rsspack and go from there.

 

that menu I fixed up the links and stuff to work from that path. it has a METAFEEDS link (www.metafeeds.com) and some favorites thing and the XLIVETV links.... not ALL work but its a start.

 

if you find other linksyou can just eit the jumpstart.rss menu.

ps KEEP A BACKUP copy of that menu. mine gets corrupted now and then... not sure why....evil.

 

YES I DID IT...

----------------------------------

add the following and it seems to allow a sorta password protection. hard coded password

bellow the password is 123

if 123 then yougoto the stock page, if failed you goto the picasa page.

!! my gosh this was hard to figure out for some reason.

here is my sample for [ Password protected rss menu page for freeagent / goflextv ]

 

<item>
<title>[JUMPSTART]</title>
<onClick>

        nexturl=null;
        showIdle();
        input = doModalRss("rss_file://./scripts/IMS_getPassword.rss");
        if( input == "123" ) {
            nexturl = "rss_file://./scripts/stock.rss");
        } else {
            nexturl = "rss_file://./scripts/picasa_lge.rss");
        redrawDisplay();
        }
</onClick>
<link>
<script>
    link = nexturl;
</script>
</link>
<media:thumbnail>
   <script>
   state = getDrawingItemState();
      if (state == "focus"){
          "/tmp/usbmounts/sda1/opt/rsspack/image/fav_focus.jpg";
   }
   else {
          "/tmp/usbmounts/sda1/opt/rsspack/image/fav_unfocus.jpg";
   }
   </script>
  </media:thumbnail>
</item>