Buffalo NAS-Central Forums
http://forum.buffalo.nas-central.org/

optware/mssii ipkg feed up - shared feed for arm9 boxes!
http://forum.buffalo.nas-central.org/viewtopic.php?f=19&t=4075
Page 8 of 10

Author:  mobster [ Sat Oct 04, 2008 8:45 pm ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

doh, i posted agian but it must of not went through... anyhow
Roy: I had this problem when mindbender first guided my through the setup process.

there should be a file in /boot/ called conf_save.tgz (i think) .... this is unpacked after the box boots up, so you would need to make a backup copy, unpack it and modify the settings and repack it back and replace the original also i think /etc/melco has useful information

currently I cannot access ssh on my LS-LGL as I mentioned in the post above or I would be able to give more detailed information =\

Author:  SteveBM [ Mon Oct 06, 2008 6:54 pm ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

goat wrote:
Steve,

This is coming from someone that has not used optware, but has read up on it here in the forums and the wiki, so bzhou or someone else who may have more experience might chime in.

First, I was incorrect earlier in telling you where to store the exports file you created, so type this (where-ever)
Code:
mv /etc/exports /opt/etc/exports


Second, I checked here http://www.nslu2-linux.org/wiki/Optware/Nfs-utils and the package you installed is a kernel-mode NFS daemon, which requires a kernel that supports NFS. The stock buffalo kernel does not support that, it seems.

You can read more about it here: viewtopic.php?p=88066#p88066

In the last post by Ramuk, he talks about unfs3 which is a userland NFS daemon, that may be the safer bet rather than trying to replace your kernel (albeit a bit slower).

I would suggest posting there for additional help installing unfs3, as this thread is massive, I'm not familiar with it, and don't have the ability to try installing it in my debian server to tell you what to do (hint: google setup unfs3), but report back if you have issues.


Hi. Right - making progress - thanks once again.

I've now uninstalled NFS-UTILS as you suggested and have installed UNFS3

My biggest challenge currently is getting the exports file edited.

vi is a real nightmare, and I can't seem to get my changes to the Exports file to save. Is there a really easy way to get some generic text in there? I don't particularly care about security, I just want my media streamer to be able to see the NFS server on the LinkStation. I keep getting "too many symbolic links" when I try and paste in the generic first line from your examples posted earlier.

Until I get the Exports file resolved, unfs3 won't start :(
Anyhelp anyone can give on a really simple Exports file, with some advice about how best to get the text into the file would be really appreciated. I'm not dumb, but I just can't get vi to work :p

Thanks guys.

Author:  Methanoid [ Mon Oct 06, 2008 7:55 pm ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

This thread is about setting up the Optware feed. Please take other queries to other threads. Many people subsribe to this thread and every irrelevant question gets them an email notification.

Thanks

Author:  MikeP79 [ Thu Oct 23, 2008 8:54 pm ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

Works for me on the Linkstation mini.

Here is the output :
root@LS-WSGL759:/mnt/array1/tmp# sh teraprov2-bootstrap_1.2-5_arm.xsh
Optware Bootstrap for teraprov2.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
1060+1 records in
1060+1 records out
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
Creating temporary ipkg repository...
Installing optware-bootstrap package...

Message from syslogd@LS-WSGL759 at Thu Oct 23 18:17:15 2008 ...
LS-WSGL759 clientUtil_server[15695]: ap_serv_exit() exit ap_servd. code=15
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...Setting up ipkg arch-file
Modifying /etc/init.d/rcS
Done.
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...Done.
Removing temporary ipkg repository...
Installing wget...
Installing wget (1.11.4-1) to root...
Configuring wget
Successfully terminated.
Creating /opt/etc/ipkg/cross-feed.conf...
Setup complete.

Already installed some packages and they worked except an failure in nfs-utils :
Oct 23 21:49:58 LS-WSGL759 mountd[1795]: authenticated mount request from 192.168.178.42:776 for /mnt/disk1/files (/mnt/disk1/files)
Oct 23 21:49:58 LS-WSGL759 mountd[1795]: getfh failed: Function not implemented

Author:  okar [ Sat Nov 01, 2008 12:12 am ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

Quote:
mkdir /mnt/disk1/tmp
cd /mnt/disk1/tmp
wget http://ipkg.nslu2-linux.org/feeds/optwa ... -5_arm.xsh
sh lspro-bootstrap_1.2-2_arm.xsh

Quote:
mkdir /mnt/array1/tmp
cd /mnt/array1/tmp
wget http://ipkg.nslu2-linux.org/feeds/optwa ... -5_arm.xsh
sh teraprov2-bootstrap_1.2-2_arm.xsh

for the sake of accuracy the version number of the shell script name in the last lines is not up to date.

Author:  Methanoid [ Sat Nov 29, 2008 1:44 pm ]
Post subject:  Re: optware/mssii ipkg feed up

mindbender wrote:
Code:
mkdir /mnt/array1/tmp
cd /mnt/array1/tmp
wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/teraprov2-bootstrap_1.2-5_arm.xsh
sh teraprov2-bootstrap_1.2-2_arm.xsh


Changelog:
24.9.08: Added latest news about LS-LGL & LS-HGL
22.9.08: Fixed links to bootstrap-scripts (1.2.5) and added solution for DNS issues.


You can tell I've reflashed another LS cos again I found a typo (WOW)... the SH's refer to 1.2.2 not 1.2.5!! Needs update! :biglol:

Author:  mindbender [ Sun Nov 30, 2008 4:59 pm ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

done.

Author:  yazyazoo [ Fri Feb 20, 2009 4:49 am ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
lspro-bootstrap_1.2- 100% |*****************************| 212 KB 00:00 ETA
admin@HS-DHGLCEB:/mnt/disk1/tmp$ sh lspro-bootstrap_1.2-5_arm.xsh
Optware Bootstrap for lspro.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
1081+1 records in
1081+1 records out
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
Backup your configuration settings, then type:
rm -rf /mnt/disk1/.optware
rm -rf /usr/lib/ipkg
This will remove all existing optware packages.

You must *reboot* and then restart the bootstrap script.
admin@HS-DHGLCEB:/mnt/disk1/tmp/bootstrap$ rm -rf /mnt/disk1/.optware
admin@HS-DHGLCEB:/mnt/disk1/tmp/bootstrap$ rm -rf /usr/lib/ipkg
admin@HS-DHGLCEB:/mnt/disk1/tmp/bootstrap$ sh lspro-bootstrap_1.2-5_arm.xsh
Optware Bootstrap for lspro.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1081+1 records in
1081+1 records out
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...mkdir: Cannot create directory `/opt': Permission denied
chmod: /opt: No such file or directory
mount: mount point /opt does not exist
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/etc: No such file or directory
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/var: No such file or directory
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/tmp: No such file or directory
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/lib: No such file or directory
//tmp/ipkg/info/optware-bootstrap.ipk.preinst failed. Aborting installation of optware-bootstrap.ipk
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...tar: ./opt: Cannot mkdir: Permission denied
tar: ./opt/bin: Cannot mkdir: No such file or directory
tar: ./opt/bin/ipkg: Cannot open: No such file or directory
tar: ./opt/bin/ipkg-opt: Cannot create symlink to `ipkg': No such file or directory
tar: ./opt/bin/update-alternatives: Cannot open: No such file or directory
tar: ./opt/etc: Cannot mkdir: No such file or directory
tar: ./opt/etc/ipkg.conf: Cannot open: No such file or directory
tar: ./opt/lib: Cannot mkdir: No such file or directory
tar: ./opt/lib/libipkg.so: Cannot create symlink to `libipkg.so.0.0.0': No such file or directory
tar: ./opt/lib/libipkg.so.0: Cannot create symlink to `libipkg.so.0.0.0': No such file or directory
tar: ./opt/lib/libipkg.so.0.0.0: Cannot open: No such file or directory
tar: ./opt/share: Cannot mkdir: No such file or directory
tar: ./opt/share/ipkg: Cannot mkdir: No such file or directory
tar: ./opt/share/ipkg/intercept: Cannot mkdir: No such file or directory
tar: ./opt/share/ipkg/intercept/depmod: Cannot open: No such file or directory
tar: ./opt/share/ipkg/intercept/ldconfig: Cannot open: No such file or directory
tar: ./opt/share/ipkg/intercept/update-modules: Cannot open: No such file or directory
tar: .: Cannot utime: Operation not permitted
tar: Error exit delayed from previous errors
Done.
Removing temporary ipkg repository...
Installing wget...
bootstrap.sh: line 41: /opt/bin/ipkg: No such file or directory
admin@HS-DHGLCEB:/mnt/disk1/tmp/bootstrap/bootstrap$ mkdir /mnt/disk1/opt
</tmp/bootstrap/bootstrap$ sh lspro-bootstrap_1.2-5_arm.xsh
lspro-bootstrap_1.2-5_arm.xsh: lspro-bootstrap_1.2-5_arm.xsh: No such file or directory
admin@HS-DHGLCEB:/mnt/disk1/tmp/bootstrap/bootstrap$ cd /mnt/disk1/tmp
admin@HS-DHGLCEB:/mnt/disk1/tmp$ sh lspro-bootstrap_1.2-5_arm.xsh
Optware Bootstrap for lspro.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
1081+1 records in
1081+1 records out
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
Backup your configuration settings, then type:
rm -rf /mnt/disk1/.optware
rm -rf /usr/lib/ipkg
This will remove all existing optware packages.

You must *reboot* and then restart the bootstrap script.
admin@HS-DHGLCEB:/mnt/disk1/tmp/bootstrap$ rm -rf /mnt/disk1/.optware
admin@HS-DHGLCEB:/mnt/disk1/tmp/bootstrap$ rm -rf /usr/lib/ipkg
admin@HS-DHGLCEB:/mnt/disk1/tmp/bootstrap$ sh lspro-bootstrap_1.2-5_arm.xsh
Optware Bootstrap for lspro.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1081+1 records in
1081+1 records out
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...mkdir: Cannot create directory `/opt': Permission denied
chmod: /opt: No such file or directory
mount: mount point /opt does not exist
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/etc: No such file or directory
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/var: No such file or directory
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/tmp: No such file or directory
mkdir: Cannot create directory `/opt/': Permission denied
chmod: /opt/lib: No such file or directory
//tmp/ipkg/info/optware-bootstrap.ipk.preinst failed. Aborting installation of optware-bootstrap.ipk
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...tar: ./opt: Cannot mkdir: Permission denied
tar: ./opt/bin: Cannot mkdir: No such file or directory
tar: ./opt/bin/ipkg: Cannot open: No such file or directory
tar: ./opt/bin/ipkg-opt: Cannot create symlink to `ipkg': No such file or directory
tar: ./opt/bin/update-alternatives: Cannot open: No such file or directory
tar: ./opt/etc: Cannot mkdir: No such file or directory
tar: ./opt/etc/ipkg.conf: Cannot open: No such file or directory
tar: ./opt/lib: Cannot mkdir: No such file or directory
tar: ./opt/lib/libipkg.so: Cannot create symlink to `libipkg.so.0.0.0': No such file or directory
tar: ./opt/lib/libipkg.so.0: Cannot create symlink to `libipkg.so.0.0.0': No such file or directory
tar: ./opt/lib/libipkg.so.0.0.0: Cannot open: No such file or directory
tar: ./opt/share: Cannot mkdir: No such file or directory
tar: ./opt/share/ipkg: Cannot mkdir: No such file or directory
tar: ./opt/share/ipkg/intercept: Cannot mkdir: No such file or directory
tar: ./opt/share/ipkg/intercept/depmod: Cannot open: No such file or directory
tar: ./opt/share/ipkg/intercept/ldconfig: Cannot open: No such file or directory
tar: ./opt/share/ipkg/intercept/update-modules: Cannot open: No such file or directory
tar: .: Cannot utime: Operation not permitted
tar: Error exit delayed from previous errors
Done.
Removing temporary ipkg repository...
Installing wget...
bootstrap.sh: line 41: /opt/bin/ipkg: No such file or directory

Can anyone Help me! I don't know why the /opt directory can't be created!

Author:  bzhou [ Mon Feb 23, 2009 12:53 am ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

yazyazoo wrote:
...
admin@HS-DHGLCEB:/mnt/disk1/tmp$ sh lspro-bootstrap_1.2-5_arm.xsh
...

Can you login/su as root?

Author:  yazyazoo [ Tue Feb 24, 2009 5:52 am ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

bzhou,

I can't login as su. When I type that in it asks for a password. I don't know what that password is.

Any suggestions?

Author:  Methanoid [ Tue Feb 24, 2009 8:23 am ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

1 this is not the thread for general questions it's about bootstrapping and youre not realg on topic but in orfeeto stop more off topic posts here's the answer. Use ago commander and zap your root password so it's blank. You can google yourself how to set it to something else! Then you can login as root

If it doesn't work or you get stuck pls start a new thread?

Author:  nintwala [ Sat Feb 28, 2009 7:06 pm ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

Hi,

I know this is an old post, but I figured someone can help. I have went as far as getting telnet access to my linkstation EZ (320gb).

First of all is it possible to have a web based gui torrent client on it? If so, whats the best way to approach it?

I am having one problem, when I try "ipkg update" it gives me this error

Code:
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/Packages.gz
An error ocurred, return value: 1.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp    -q -P /opt/ipkg-Q0UozF http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/Packages.gz'


Can anyone help me with this? What could I be doing wrong?

Author:  bzhou [ Tue Mar 03, 2009 6:34 am ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

nintwala, I've seen "ipkg update" gives out that error when the Packages.gz was just being updated on the mirror server. Usually the problem goes away after a few minutes. Changing from stable/ to unstable/ also helps sometimes (they're exactly the same currently). You can also troubleshoot by manually wget the URL.

One web based gui torrent client I've good experience with is transmission. See
http://www.nslu2-linux.org/wiki/Optware/Transmission
http://mybookworld.wikidot.com/transmission

Author:  nintwala [ Wed Mar 04, 2009 3:32 am ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

Thanks for the reply... I will try transmission.

I think I made a mistake... I added "sshd.sh" at the end of

Code:
for cmd in micon_setup.sh atalk.sh ftpd.sh httpd.sh lprng.sh smb.sh pcastd.sh epg.sh directcopy.sh clientUtil_servd.sh lsprcvd.sh daemonwatch.sh cron.sh ltbootd.sh logchkd.sh sshd.sh
   do
         exec_sh $cmd
   done


I wanted to do this to turn on ssh when the nas reboots, but unfortunately I think its stuck. I cannot telnet/ssh or use the java hack to reset the telnet root password. Is there anyways to recover the device?

Thanks in advance...

Edit: I think I am able to access it now... I had to put the drive in another computer and use ubuntu disc to edit the rcS file back and delete the sshd.sh part. I had to start from scratch after and update the firmware again, but its back to normal again.

Whats the best way to start ssh/telnet on a reboot? For example when there is a power outage.

Author:  nintwala [ Wed Mar 04, 2009 6:18 am ]
Post subject:  Re: optware/mssii ipkg feed up - shared feed for arm9 boxes!

I was able to load transmission. But I am running into this problem...

Everytime I load the interface, I get this message and seems like the transmission-daemon keeps crashing because when I try to do a "# killall transmission-daemon" it doesnt seem to be running. I have to reload it using "# /opt/bin/transmission-daemon"

Code:
Transmission Logo
Connection Failed
Could not connect to the server. You may need to reload the page to reconnect.


I am using a Linkstation EZ (LS_LGL Fw2.01) I hope its not a low memory issue... :(

Page 8 of 10 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/