mbwe-bluering feed and custom firmware
Forum » Forum / Optware » mbwe-bluering feed and custom firmware
Started by: alllexxalllexx
On: 1242547370|%e %b %Y, %H:%M %Z|agohover
Number of posts: 58
rss icon RSS: New posts
Summary:
Testing mbwe-bluering-specific feed ldso-runpath-enabled-firmware support thread
mbwe-bluering feed and custom firmware
alllexxalllexx 1242547370|%e %b %Y, %H:%M %Z|agohover

The feed

I'd like to announce that since recently we have mbwe-bluering-specific feed on nslu2-linux: http://ipkg.nslu2-linux.org/feeds/optware/mbwe-bluering/cross/unstable/
The toolchain was built from WD GPL sourcecode using WD .defconfig with additionally enabled LDSO_RUNPATH support in uclibc and should be fully compatible with MBWE bluering.

Why do we need this? Well, did you ever get 'Segmentation fault' errors or had 'ENOTTY (Inappropriate ioctl for device)' for no apparent reason while using optware packages?..

Ok, before updating the wiki howto this feed should be tested. This is one way to do so:
1. Stop any running optware processes
2. Backup your /opt dir

# tar -czf opt.bak.tar.gz /opt

3. Change ipkg settings to use mbwe-bluering feed:
# sed -i -e s/gumstix1151/mbwe-bluering/ /opt/etc/ipkg.conf

4. Reinstall all currently installed packages:
# ipkg update
# ipkg remove libstdc++ -force-depends
# ipkg install libstdc++
# ipkg -force-reinstall install `ipkg list_installed | awk '{print $1}'`

5. Install some package (like amule) and try it out

That's it for testing. You can always restore your backup if anything goes wrong:

# rm -rf /opt
# tar -C / -xzvf opt.bak.tar.gz

The firmware

bzhou:

For optware, the big obstacle on MBWE is the lack of LDSO_RUNPATH in stock /lib/libuClibc-0.9.28.so
This is becoming more and more annoying as you often need to adjust /etc/ld.so.conf

Here's the custom firmware I made for best optware experience on mbwe-bluering:
ldso-runpath-enabled-firmware

An alternative way to enable LDSO_RUNPATH support:

(This is not recommended for unexpirienced/unskilled people as you can easily brick your MBWE if you mess anything up. And don't forget to make backups! It's been tested to work perfectly on my box, but no guarantee of any kind, though)
1. Shot down your mbwe
2. Remove the HDD(s) from MyBook World Edition (PDF Link) and connect to your linux machine
3. Mount first partition (e.g. /mnt/mbwe1)
4. If you haven't made backups - make them now

# tar -czf /backups/mbwe.lib.bak.tar.gz /mnt/mbwe1/lib

5. Install libs from optware uclibc-opt package to mbwe /lib and unmount
# cd /tmp
# wget http://ipkg.nslu2-linux.org/feeds/optware/mbwe-bluering/cross/unstable/uclibc-opt_0.9.28-1_arm.ipk
# tar -xvf uclibc-opt_0.9.28-1_arm.ipk ./data.tar.gz
# rm -rf opt
# tar -xvzf data.tar.gz
# cp -f opt/lib/* /mnt/mbwe1/lib
# umount /mnt/mbwe1

6. Unplug drive(s) from your machine and plug back to MyBook.
last edited on 1244263355|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold mbwe-bluering feed and custom firmware by alllexxalllexx, 1242547370|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
kevkukevku 1242557699|%e %b %Y, %H:%M %Z|agohover

Can we use this feed without changing the uclib and just using ldconfig ?


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: mbwe-bluering feed by kevkukevku, 1242557699|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1242557970|%e %b %Y, %H:%M %Z|agohover

Yes, we should be able to do so. At least it worked fine on my mbwe at testing time (before enabling LDSO_RUNPATH)

unfold Re: mbwe-bluering feed by alllexxalllexx, 1242557970|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alephsmithalephsmith 1242561621|%e %b %Y, %H:%M %Z|agohover

Great news.

I am also not looking to to update my uclib, mainly cause I don't have the spare sata ports.

Each time I install a new package the cyrus-sasl post install script tries to run:

Configuring cyrus-sasl

Please read the man page of saslauthd and
check settings in /opt/etc/init.d/S52saslauthd 

If you dislike the link /usr/lib/sasl2 -> /opt/lib/sasl2
then you may want to set SASL_PATH instead

(re)starting service saslauthd
postinst script returned status 2
ERROR: cyrus-sasl.postinst returned 2
Configuring libjpeg
Configuring libpng
Configuring libtiff
Configuring openldap
Starting OpenLDAP
postinst script returned status 1
ERROR: openldap.postinst returned 1
Successfully terminated.
[root@MyBookWorld2TB ~]#
unfold Re: mbwe-bluering feed by alephsmithalephsmith, 1242561621|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1242562229|%e %b %Y, %H:%M %Z|agohover

Postinstall script seems to be unable to start cyrus_sasl. I guess you should add /opt/lib/sasl2 to /etc/ld.so.conf and run ldconfig.
That's the downside of not having LDSO_RUNPATH - you have to add each and every lib dir to your ld.so.conf.

unfold Re: mbwe-bluering feed by alllexxalllexx, 1242562229|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
pundypundy 1242878755|%e %b %Y, %H:%M %Z|agohover

Probably a bit of a stupid question, but it it possible to do this without removing the drives? Or is it a case of removing /lib while running will kill everything?

If I have a two 2 mbw, do I need to do this on both disks?

unfold Re: mbwe-bluering feed by pundypundy, 1242878755|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed and custom firmware
snailiumsnailium 1248287219|%e %b %Y, %H:%M %Z|agohover

Credits to the great work!!!

Just wondering, is anyone interested in moving twonkymedia server to mbwe blue ring?
I know the "white light" edition has twonky installed, but not "blue ring".
Can twonky be integrated in the firmware for "blue ring"?

unfold Re: mbwe-bluering feed and custom firmware by snailiumsnailium, 1248287219|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1242580780|%e %b %Y, %H:%M %Z|agohover

kevku, alephsmith,
any luck with testing?

unfold Re: mbwe-bluering feed by alllexxalllexx, 1242580780|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
kevkukevku 1242592500|%e %b %Y, %H:%M %Z|agohover

hmm rtorrent & other stuff seem to work, sb should test ggc & perl. python seems to work.

but for no apparent nfs is acting weird, gonna look into that later. (might not be related to all this) using fw 2.18. seems like some dns issues. hah, i got it, there was no hostname assigned in my router for mbwe so it got stuck when looking for it's name although i have it in /etc/hosts …. go figure ..


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

last edited on 1242594058|%e %b %Y, %H:%M %Z|agohover by kevku + show more
unfold Re: mbwe-bluering feed by kevkukevku, 1242592500|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alephsmithalephsmith 1242630457|%e %b %Y, %H:%M %Z|agohover

Cups seems to be working, however I don't actually have a printer to setup at the moment.

What other packages were not previously working? Happy to test, but honestly I only ever use transmission and mt-daapd.

unfold Re: mbwe-bluering feed by alephsmithalephsmith, 1242630457|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1242660311|%e %b %Y, %H:%M %Z|agohover

As far as I know, there were also some issues with amule, gcc and perl.

unfold Re: mbwe-bluering feed by alllexxalllexx, 1242660311|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1242613053|%e %b %Y, %H:%M %Z|agohover

Note that without enabling LDSO_RUNPATH you may still have some problems due to conflicting stock and optware libs (e.g. with dialog package). A way to solve this without enabling LDSO_RUNPATH is to replace conflicting stock libs (like ncurses with dialog) with optware ones.

last edited on 1242613255|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1242613053|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
moxybookermoxybooker 1242837077|%e %b %Y, %H:%M %Z|agohover

Can someone please clarify how to fix the LDSO_RUNPATH issue without taking the drive out?

I've tried adding /opt/lib/sasl2 to /etc/ld.so.conf and running ldconfig, but I still get the cyrus-sasl errors every time i install a package.

@alllexx: what do you mean by " replace conflicting stock libs (like ncurses with dialog) with optware ones"?

As you can probably tell, I'm a newbie in the linux space.

Thanks!!!!

unfold Re: mbwe-bluering feed by moxybookermoxybooker, 1242837077|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1242843313|%e %b %Y, %H:%M %Z|agohover

Well, you can't actually 'fix' LDSO_RUNPATH issue without taking the drive out (not at this point, at least, - perhaps, we need a custom firmware?.. I tried to make one already but only bricked my drive once; if only I had more spare time…). You'll have to add every directory that contains shared libs to ld.so.conf and use ldconfig as a workaround
The other problem I mentioned is that without LDSO_RUNPATH if you have some library (like libncurses.so) in a system lib dir (like /lib /usr/lib) and in optware lib dir, the stock one is loaded when a program is started. And this meens we can have some errors with optware packages.
A way to solve this may be replacing stock lib with optware one, but you can potentially break something, so better avoid doing this if possible. Seems to work fine with ncurses, though.

Regarding cyrus-sasl, this is not an LDSO_RUNPATH issue. This should fix the problem:

# killall saslauthd
# ipkg install cyrus-sasl -force-reinstall
last edited on 1242915964|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1242843313|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1242914735|%e %b %Y, %H:%M %Z|agohover

I've managed to create a custom firmware, arter all, so you can fix LDSO_RUNPATH issue without taking the drive(s) out now. Looke here for instructions.

Cheers,
Alex

unfold Re: mbwe-bluering feed by alllexxalllexx, 1242914735|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
kevkukevku 1242919503|%e %b %Y, %H:%M %Z|agohover

wow you compiled it all from source, used the patched buildroot? gotta give you some credit then :P


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: mbwe-bluering feed by kevkukevku, 1242919503|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1242930459|%e %b %Y, %H:%M %Z|agohover

Thanks, it really was some effort, but I've been gaining the skill to do this for last couple months "little by little" :D. Actually, I also had to use wdgxnc-02.00.18.wdg rootfs.ext2 image as some things (like certain init scripts and damn mionet) are not available even from patched buildroot - that's why I bricked my box the first time.

last edited on 1242930770|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1242930459|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1242934297|%e %b %Y, %H:%M %Z|agohover

Hm, there seem to be some problems with the FW: for some reason temperature monitoring scripts don't work right, so I had to use alternative ones.
Better wait a bit till I fix this :P

UPD: On the other hand, feel free to use this howto to fix this yourself after installing the FW

last edited on 1242935058|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1242934297|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1242948942|%e %b %Y, %H:%M %Z|agohover

OK, v2 firmware is ready. Added gcc, used hdparm v9.15 and temperature monitor scripts by kyyhkynen.

unfold Re: mbwe-bluering feed by alllexxalllexx, 1242948942|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
Big11Big11 1243265151|%e %b %Y, %H:%M %Z|agohover

Hello to all

First: Sorry for my english but it is not my native language.

Second:
How can i install optware with the new feeds as decribed, on my MBWE-blueRings ?

can i do that is in the installation Guide - second option: "Alternatively, run following commands one by one:"
replacing the Path of the "gumstick" packages with the new "mbwe-bluering" ?

thanks a lot for your support

Big11

unfold Re: mbwe-bluering feed by Big11Big11, 1243265151|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243270039|%e %b %Y, %H:%M %Z|agohover

Hi, Big11
Sure, you can, and you can also do this:

# wget http://mybookworld.wikidot.com/local--files/optware/setup-optware.sh
# sh setup-optware.sh
# sed -i -e s/gumstix1151/mbwe-bluering/ /opt/etc/ipkg.conf

The feed is more or less tested now, but before updating the howto it would be nice to have more people test the ldso-enabled firmware to mention it there too.

Cheers,
Alex

unfold Re: mbwe-bluering feed by alllexxalllexx, 1243270039|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243270761|%e %b %Y, %H:%M %Z|agohover

I'm going to release a v3 FW sometime soon, in a few days time, where I've added some more kernel modules, restored NFS, XFS,.. Also, configured upgrade script to preserve some settings (such as /etc/lighttpd/lighttpd.conf, /etc/hosts.allow, /etc/hosts.deny, /etc/exports).
Any feedback on the FW is much appriciated and if you have any feature requests, post them here please.

Thanks for your interest,
Alex

last edited on 1243341594|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1243270761|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
kevkukevku 1243336784|%e %b %Y, %H:%M %Z|agohover

I would like to see ipv6, sit, and loop modules. Also in nfs maybe increase the max block size to 64k? (NFSSVC_MAXBLKSIZE in /include/linux/nfsd/const.h) although I'm not sure about the effects of this … :P


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: mbwe-bluering feed by kevkukevku, 1243336784|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243338992|%e %b %Y, %H:%M %Z|agohover

Already added idv6 modules :P
Will add sit and loop. I don't know about nfs max block size, as I'm no expert in this at all, so until someone knowledgable verifies it's safe, we'll hold back on it.

unfold Re: mbwe-bluering feed by alllexxalllexx, 1243338992|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
Big11Big11 1243500476|%e %b %Y, %H:%M %Z|agohover

Hello alllexx!

Thx for your information. Question: where can i find the "new" firmware V2 and some more informations about.

Any chance to get also WOL (WakeOnLan) in the new "Firmware" V3 ?

should i wait a couple of days till release of V3 ? or would it takes longer ??

Big11

unfold Re: mbwe-bluering feed by Big11Big11, 1243500476|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243570127|%e %b %Y, %H:%M %Z|agohover

Hello, Big11
You can get FW v2 on the firmware page - a link here - "1. Download firmware as firmware.sh to your public share root" points to the latest firmware. The v3 is complete, but I encountered some problems with ipv6 module, so I recompiled modules without disabling Leon chip support in the kernel to see whether it helps, and just don't have the time to test know. Most likely, it will be released on the weekend.

Regarding WOL support, it's not enabled by default and I haven't got the slightest idea how to enable it (or if it's possible at all) - there's no BIOS in MBWE for you…

Cheers,
Alex

unfold Re: mbwe-bluering feed by alllexxalllexx, 1243570127|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
Big11Big11 1250673373|%e %b %Y, %H:%M %Z|agohover

Hi Alex

IMHO isn't WOL just a parameter compiling the Network interface into the kernel ?
i think i read that in another forum…

are you able to check that ?
it would be a great benfit for a lot, i suggest

thx
Big11

unfold Re: mbwe-bluering feed by Big11Big11, 1250673373|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243351130|%e %b %Y, %H:%M %Z|agohover

Seems like loop is built-in into the kernel and sit is compiled into the ipv6 module

UPD: I also enabled writing support in the ntfs module - we'll see whether it works or not

last edited on 1243351282|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1243351130|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
kevkukevku 1243353091|%e %b %Y, %H:%M %Z|agohover

ntfs-3g?


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: mbwe-bluering feed by kevkukevku, 1243353091|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243353290|%e %b %Y, %H:%M %Z|agohover

No, I tried it a couple of months ago using optware and it didn't work, even though I had the needed fuse module

unfold Re: mbwe-bluering feed by alllexxalllexx, 1243353290|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243620354|%e %b %Y, %H:%M %Z|agohover

Hm, it seems that to add ipv6 you have to update kernel image as well, otherwise you get something like this

unfold Re: mbwe-bluering feed by alllexxalllexx, 1243620354|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243715779|%e %b %Y, %H:%M %Z|agohover

Ok, v3 released

Cheers!

unfold Re: mbwe-bluering feed by alllexxalllexx, 1243715779|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alephsmithalephsmith 1243840765|%e %b %Y, %H:%M %Z|agohover

Testing now.

Upgrade worked without issue.

ntfs write support seems to work fine. Mounted the disk manually using fuse, but how do I get it to mount using fuse automagically when it gets plugged in. I assume it involves playing with fstab. But does anyone want to hold my hand so I don't brick something?

unfold Re: mbwe-bluering feed by alephsmithalephsmith, 1243840765|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243853103|%e %b %Y, %H:%M %Z|agohover

Just found a way to do it nice:)

# ipkg install util-linux-ng
# rm /bin/mount /bin/umount
# cp /opt/bin/util-linux-ng-mount /bin/mount
# cp /opt/bin/util-linux-ng-umount /bin/umount
# ln -s /opt/bin/ntfs-3g /sbin/mount.ntfs-3g

Then use this guide to edit /etc/fstab.
To make any ntfs volume be mounted using ntfs-3g (i.e. by simply running `mount /dev/sdc1 /mnt/usb`) you can do this:
# ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs

P.S. Unfortunately, the speed is really low, less then 1 mb/sec, due to weak CPU :(

last edited on 1243853409|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1243853103|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alephsmithalephsmith 1243858078|%e %b %Y, %H:%M %Z|agohover

Cool, thought I think I may leave it.

It is good just having the ability to write to ntfs if necessary. Most of my drives are ext/hfs so ntfs support is just a nice-to-have.

For future versions can you retain settings in mDNSResponderPosix or comment out the necessary lines in update_network_config.sh as described here: http://mybookworld.wikidot.com/forum/t-106007/netatalk-tutorial .

Thanks for you hard work, will report back any issues that I notice.

unfold Re: mbwe-bluering feed by alephsmithalephsmith, 1243858078|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243874694|%e %b %Y, %H:%M %Z|agohover

To keep mDNSResponderPosix actual instead of commenting out lines in update_network_config.sh we can do the followong:

# Write a new mDNS responder config file
echo "\"$current_hostname user if\"" > $mDNSconfig
echo "_http._tcp. local" >> $mDNSconfig
echo "80" >> $mDNSconfig
echo "$current_hostname file server user interface" >> $mDNSconfig
for FILE in `ls ${mDNSconfig}.d 2>/dev/null`
do
if [ -f ${mDNSconfig}.d/${FILE} ] ; then
        cat ${mDNSconfig}.d/${FILE} >> ${mDNSconfig}
fi
done

Then you just need to create /etc/mDNSResponderPosix.d folder and store all your additional settings there, e.g., /etc/mDNSResponderPosix.d/AFP file
MyBookWorld AFP
_afpovertcp._tcp. local
548
MyBookWorld AFP server

And I'll just tune upgrade script to preserve /etc/mDNSResponderPosix.d folder at upgrade time

last edited on 1243874914|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1243874694|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243874711|%e %b %Y, %H:%M %Z|agohover

To keep mDNSResponderPosix actual instead of commenting out lines in update_network_config.sh we can do the followong:

# Write a new mDNS responder config file
echo "\"$current_hostname user if\"" > $mDNSconfig
echo "_http._tcp. local" >> $mDNSconfig
echo "80" >> $mDNSconfig
echo "$current_hostname file server user interface" >> $mDNSconfig
for FILE in `ls ${mDNSconfig}.d 2>/dev/null`
do
if [ -f ${mDNSconfig}.d/${FILE} ] ; then
        cat ${mDNSconfig}.d/${FILE} >> ${mDNSconfig}
fi
done

Then you just need to create /etc/mDNSResponderPosix.d folder and store all your additional settings there, e.g., /etc/mDNSResponderPosix.d/AFP file
MyBookWorld AFP
_afpovertcp._tcp. local
548
MyBookWorld AFP server

And I'll just tune upgrade script to preserve /etc/mDNSResponderPosix.d folder at upgrade time

P.S. Sorry for double-posting - it was an accident…

last edited on 1243874983|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1243874711|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alephsmithalephsmith 1244357543|%e %b %Y, %H:%M %Z|agohover

Another directory to maintain: /root/.config/transmission-daemon/

Not necessary, but would be good for future upgrades.

Now if only transmission would stop crashing on me :(

unfold Re: mbwe-bluering feed by alephsmithalephsmith, 1244357543|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1244358085|%e %b %Y, %H:%M %Z|agohover

The same idea crossed my mind after installing transmission just a couple of hours ago ;)

Now if only transmission would stop crashing on me :(

It's some sort of a libevent-related bug: http://trac.transmissionbt.com/ticket/2078

unfold Re: mbwe-bluering feed by alllexxalllexx, 1244358085|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
gameboyygameboyy 1243843919|%e %b %Y, %H:%M %Z|agohover

hi guys, I installed v3 successfully also,, but i got this error " sudo: must be setuid root ", anyone knows how to fix it, thanks a lot.

unfold Re: mbwe-bluering feed by gameboyygameboyy, 1243843919|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243853184|%e %b %Y, %H:%M %Z|agohover

Hi, gameboyy
Can you please be more specific: when this error occures and what it breaks?

Alex

last edited on 1243884450|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1243853184|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
gameboyygameboyy 1243882345|%e %b %Y, %H:%M %Z|agohover

Hi alllexx, sorry for not being specific. I was logged in with my putty, and i keep it opened. Then when I try to access my webserver, the putty window showed that " sudo: must be setuid root " message. I mean when I try to open a page or refresh a page, it keeps showing that message one after another.

I'm just clueless, any help would be great, thank you.

unfold Re: mbwe-bluering feed by gameboyygameboyy, 1243882345|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243883121|%e %b %Y, %H:%M %Z|agohover

Ok, it's not a big deal.
The problem is that your /etc/sudoers was reset to FW default. Just restore it from your backups.
You most likely miss a record (or two) like

/shares/internal/PUBLIC/WWW/Admin/SetWebUser.sh,\

Regards,

last edited on 1243884009|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold Re: mbwe-bluering feed by alllexxalllexx, 1243883121|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
gameboyygameboyy 1243919219|%e %b %Y, %H:%M %Z|agohover

cool, that does the job, however, there are one more thing i forgot to mention after installed v3 mykernel firmware. the Big power button which used to shutdown the device by press and hold for a few second, now it doesn't work anymore. When I hold it for a few second, it just blinds a couple and stop,, the device kept runing. Another strange thing is that the Ethernet connection speed indicator on the admin page is now displaying a question mark(?) , it used to show 1000mb.

Any idea? thanks again

unfold Re: mbwe-bluering feed by gameboyygameboyy, 1243919219|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243924515|%e %b %Y, %H:%M %Z|agohover

Yes, now that you mention it, my MBWE ignores the power button as well. Must be due to the custom kernel, and that's odd, as I didn't disable Leon chip support, which should be responsible for this. Currently, no idea how to fix this, can only suggest to use the official kernel if you need the button more than ipv6/ipip modules. Sorry about this…
Regarding the connection speed indicator, I guess we can safely ignore this.

Alex

unfold Re: mbwe-bluering feed by alllexxalllexx, 1243924515|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
gameboyygameboyy 1243966131|%e %b %Y, %H:%M %Z|agohover

Actually, I remember before v3, installed v2, which i believe is the official kernel, the power button wasn't working either, so something must be screwed.

Gameboyy

unfold Re: mbwe-bluering feed by gameboyygameboyy, 1243966131|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
alllexxalllexx 1243967336|%e %b %Y, %H:%M %Z|agohover

I'm positively sure that power button worked fine with v2. I also discovered that I did mess up with kernel configuration a little. I'm rebuilding the kernel now.

Thanks for noticing this issue,
Alex

unfold Re: mbwe-bluering feed by alllexxalllexx, 1243967336|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed
The PuppeteerThe Puppeteer 1250397832|%e %b %Y, %H:%M %Z|agohover

Does anyone have a copy of the original etc/sudoers file.

The backup I did of my system config didn't contain one originally, so I have nothing to restore, hower I'm still getting the "sudo: must be setuid root" error. Also visudo does not work. Is it OK to edit this file with nano?

unfold Re: mbwe-bluering feed by The PuppeteerThe Puppeteer, 1250397832|%e %b %Y, %H:%M %Z|agohover
mbwe-bluering custom firmware: fixed PowerButton bug
alllexxalllexx 1244262756|%e %b %Y, %H:%M %Z|agohover

Fixed the power button bug. Just install firmware.v3.sh

Regards,
Alex

last edited on 1244263399|%e %b %Y, %H:%M %Z|agohover by alllexx + show more
unfold mbwe-bluering custom firmware: fixed PowerButton bug by alllexxalllexx, 1244262756|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed and custom firmware
jabacrackjabacrack 1244524519|%e %b %Y, %H:%M %Z|agohover

when run "sed -i -e s/gumstix1151/mbwe-bluering/ /opt/etc/ipkg.conf"
have error "sed: -e expression #1, char 5: extra characters after command"
what do with this?

unfold Re: mbwe-bluering feed and custom firmware by jabacrackjabacrack, 1244524519|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed and custom firmware
alllexxalllexx 1244541299|%e %b %Y, %H:%M %Z|agohover

You must be typing it wrong. It's tested to work a number of times already.
Try to copy the line

sed -i -e s/gumstix1151/mbwe-bluering/ /opt/etc/ipkg.conf

And insert into putty window by clicking your right mouse button
unfold Re: mbwe-bluering feed and custom firmware by alllexxalllexx, 1244541299|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed and custom firmware
Big11Big11 1249900297|%e %b %Y, %H:%M %Z|agohover

Hi Guys

I tried to install the alternative FW v.3.0 to my MyBookWE. (v.2.00.18)

after end of the install prcess (MBWE rebooted) i couldn't have access to the WebIF, but i had acess via SSH (root/welc0me)

As i found by starting lighthttpd manually ther was no lighthttpd.conf file available (!?)

Any suggestions what was wrong ? Can anyone explain my (probably by a list) what the Advantages of this FW are ?

thanks
Big11

unfold Re: mbwe-bluering feed and custom firmware by Big11Big11, 1249900297|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed and custom firmware
boondoklifeboondoklife 1251940603|%e %b %Y, %H:%M %Z|agohover

I don't think the normal web interface is included in the customer firmware. I my self just didnt use it so never noticed.


while ( love & passion ) {
for( fight = 0 ; rights < freedom ; rights++ )
fight = standup( rights );
free( babylon ); }

unfold Re: mbwe-bluering feed and custom firmware by boondoklifeboondoklife, 1251940603|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed and custom firmware
EFDisasterEFDisaster 1251987738|%e %b %Y, %H:%M %Z|agohover

got the standard web interface running again by copying an old lighttpd.conf to the right place and then setting up the "run lighttpd on demand" stuff….

unfortunately, the File Sharing tab of the web interface just throws up an error:
Error Code:: f00020

Failed to change file permissions

Please try again

so, I was wondering if there's anything special I need to do to set up my shares, permission wise, and such. I'll just dig into my memories for samba configuration

unfold Re: mbwe-bluering feed and custom firmware by EFDisasterEFDisaster, 1251987738|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed and custom firmware
boondoklifeboondoklife 1251990153|%e %b %Y, %H:%M %Z|agohover

just configuring the samba config is honestly the best way to go, it gives you the best results. But that is just my opinion. If ya need help with it let me know.


while ( love & passion ) {
for( fight = 0 ; rights < freedom ; rights++ )
fight = standup( rights );
free( babylon ); }

unfold Re: mbwe-bluering feed and custom firmware by boondoklifeboondoklife, 1251990153|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed and custom firmware
boondoklifeboondoklife 1251943897|%e %b %Y, %H:%M %Z|agohover

I was looking to compile and make some of my own ipkg's so I was following this page:
http://mybookworld.wikidot.com/forum/t-30369/did-anyone-think-of-using-the-softgun-arm-emulator-for-compiling-sources

But I realized that I am using the customer firmware here along with the bluering feed. Wouldnt I need to build things with a tool set that was used for this and not the gumstix toolset?

On a sidenote while trying to follow the gumstix toolchain setup, I am running into an issue. It looks like a file it wants is not longer offered.

Retrying from gumstix alternate site...
--2009-09-02 22:07:26--  http://files.gumstix.com/binutils-2.17.tar.bz2
Resolving files.gumstix.com... 66.33.219.249
Connecting to files.gumstix.com|66.33.219.249|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-09-02 22:07:26 ERROR 404: Not Found.

while ( love & passion ) {
for( fight = 0 ; rights < freedom ; rights++ )
fight = standup( rights );
free( babylon ); }

unfold Re: mbwe-bluering feed and custom firmware by boondoklifeboondoklife, 1251943897|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed and custom firmware
fraterfrater 1251980536|%e %b %Y, %H:%M %Z|agohover

In the past I was helped with this link: http://www.webos-internals.org/wiki/Optware_Cross_Compilation

unfold Re: mbwe-bluering feed and custom firmware by fraterfrater, 1251980536|%e %b %Y, %H:%M %Z|agohover
Re: mbwe-bluering feed and custom firmware
The PuppeteerThe Puppeteer 1252676526|%e %b %Y, %H:%M %Z|agohover

I'm having some problems with this custom feed.

I've installed it and got it all running, but there's a few things that I can no longer do from the web interface.

1) In the drive management tab, I cannot change the drive type from Secure Volume (Mirrored) to Single Large Volume. I get the error "The drive is currently busy. Please stop using all shares and try again." even though there are no shares active. I've changed the drives IP Address, rebooted and shut down Samba, and still I still get this error.

2) I cannot update firmware from the web interface. The Get In Test fails and I can't install the feature packs, for example. I get the error “It appears that one of your drives is faulty or in an inconsistent state. Please make sure your drives are OK before retrying.” when I try. To fix this I was going to reformat the drives, by changing the raid type and changing it back again, but as above, this isn't possible. I'm pretty certain that there is nothing wrong with the drives. This is a new drive and the status says that both drives are healthy.

I'd go back to the original software if I could, but alas, the drive won't let me update the firmware.

I'm going to give the manual firmware update a go tomorrow unless anyone has any ideas how I can fix this.

unfold Re: mbwe-bluering feed and custom firmware by The PuppeteerThe Puppeteer, 1252676526|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License