macsat.com OpenWrt and ASUS WL Forum

SMC EZ Connect Storage (SMCWAPS-G), Micronica MGB100 Wi-Fi Hard Disk, Level One WAP-0007 and compatible => Firmware => Topic started by: schufti on January 11, 2008, 11:27:58 AM



Title: MGB111 update
Post by: schufti on January 11, 2008, 11:27:58 AM
Hi,

for the really brave at heart MGB111 owners:

here (http://style-o-design.rivido.de/mgb111/index.html) is an upgrade that should bring your box to the level of the OvisLink/AirLive R400a9_0830 (don't rename, GUI only accepts *.bin). Unfortunately I don't know if the GUI on your box is comatible (usually it should be).

But in the odd case:
if there is no fw available from the vendor of your box, then there is no way back!

and something extra: The attached file might be accepted via the recovery loader and bring the GUI from the above mentioned FW to your box. You know, it's on your risk ...

And for the DIYs, there also are sources, toolchain and howto (german)

schufti


Title: Re: MGB111 update
Post by: SergeBa on January 12, 2008, 10:17:52 AM
This FW already for a long time is on a site from AirLive. I established it on WAP-0008. Bittorent worked not correctly.

I have not understood for what a file u65gui.zip?


Title: Re: MGB111 update
Post by: schufti on January 12, 2008, 21:34:38 PM
Hi,

there are also other vendors, that have different branding and only supply (much) older version of sw and different branding disables cross-update of full branded fw.

So these people need upgrade.bin that is accepted by every brand. And because maybe there was an change in the GUI also, I tried to provide some possibility to flash same version GUI to all brands of MGB111.

schufti


Title: Re: MGB111 update
Post by: SergeBa on January 13, 2008, 13:40:26 PM
And probably to correct it for WAP-0008?


Title: Re: MGB111 update
Post by: schufti on January 13, 2008, 16:03:30 PM
Hi,

AFAIK there is no newer FW than this one. Even the GPLsources show the same AMIT binaries. So no help from here....

What is not functioning on WAP-0008 / this FW Version ?

schufti


Title: Re: MGB111 update
Post by: SergeBa on January 13, 2008, 19:49:37 PM
What is not functioning on WAP-0008 / this FW Version ?


WAP-0008 cannot download the file more than 2GB. ( FW - WAP-0008(R4.00a8)_2007-07-18 )


Title: Re: MGB111 update
Post by: schufti on January 13, 2008, 23:10:01 PM
Hi,

you are sure about the versions? on the webpage of OvisLink it says:

   WMU-6500FS Firmware Version R400a9, Modify the upgrade FW issue form FW(R4.00a8), 2007/08/30
   WMU-6500FS Firmware Version R400A814, Fix download limited 2GB, and Forgot UPnP issue. 2007/08/14
   WMU-6500FS Firmware Version R400a8, Fix IP compatibility problem with 192.168.0.X Subnet 2007/07/11


and this upgrade is from R400A9 source... so the 2GB problem should be solved ....

schufti


Title: Re: MGB111 update
Post by: Kael on January 14, 2008, 11:34:58 AM
Hi all,

@ Schufti:

For the gui file, does i bring the appearance from the Airlive FW? i actually got the Pearl Model, could you explain how do u use this file? tried to upload it from Upgrade Firmware window, it tells the filename isnt right...

Another thing is that we've worked with Stylesuxx and finally, it seems like we've got telnet working on the device... so we will soon be able to correct the Torrent DL bug.. ;o)

It is probably due to some CGI-BIN scripts files... the value that is kept have to be corrected.

We will let u know when it's ready but, right now, pple should be advised that PE4088 and WMU6500Fs are probably slightly different, and that some firmwares could cause their device to crash on firmware update...


Title: Re: MGB111 update
Post by: schufti on January 14, 2008, 12:26:21 PM
For the gui file, does i bring the appearance from the Airlive FW? i actually got the Pearl Model, could you explain how do u use this file? tried to upload it from Upgrade Firmware window, it tells the filename isnt right...

...hm, I did write to use the recovery loader, right? and yes, it could bring the appearance from the OvisLink/AirLive FW or render your box completly dead and useless as a brick...

to be on the safe side of FW tinkering, you should at least have the serial console installed and made a backup of your FLASH image. You can trust me on this - and I speak from experience - when I say that even Jtag is a must.

Another thing is that we've worked with Stylesuxx and finally, it seems like we've got telnet working on the device... so we will soon be able to correct the Torrent DL bug.. ;o)

Stylesuxx allready successfully compiled an upgrade.img from the GPL sources, so as telnetd is allready enabled in BB just ad one line (telnetd &) at the end of "your GPL path"/rom_disk/bak.etc/rc.d/rc.bridge ....

does the torrent DL bug (which, 2GB?) still exist? In the sources it is V0.72, whereas in the latest release Ovis upgd to 0.82 which I also had trouble with. Unfortunately they didn't release the patched source and straight out of the box it will never work with the GUI. For versions from 0.9 you need openssl, too. And without encryption many peers/trackers won't accept your connect.

... that PE4088 and WMU6500Fs are probably slightly different, and that some firmwares could cause their device to crash on firmware update...

have to see to believe ...


but keep up the good spirit. Once there was a job where all experts sayed it can't be done. Then came a man who din't hear the experts before and just did it ;)

schufti


Title: Re: MGB111 update
Post by: Kael on January 14, 2008, 12:47:21 PM
@Schufti

Sorry for my stupid question about the Gui update...  :-\

For the rs232 connection, i've talked with someone that could help a few, i'll soon be trying to get this working, a must to recover the device if it is bricked...

About the telnetd, this was not exactly this, in fact when we've tried to launch the telnetd, there was a problem with an environment path, Stylesuxx just fixed it.

About the torrent problem, i should have give the whole detail, when you try to launch a torrent from the gui, using a linux computer, it simply doesnt work... case the MGB111 seems to keep the full path to the torrent file as the torrent name... strange isnt it?

and so, it finally tries to load the torrent from /mnt/.C/.dl/home/user/Desktop/xxx.torrent instead of /mnt/.C/.dl/



Title: Re: MGB111 update
Post by: schufti on January 14, 2008, 15:43:11 PM
Hi Kael,

the serial doesn't help you much when the box is bricked. It only helps to see what went wrong...  easiest/cheapest way to get a serial cable for mobile phone (I prefer siemens: no longer made -> cheap surplus in store) better real rs232, some usb need strange driver (no linux)

pitfalls in development:
bad flash (destroyed bootloader, - kernel, - recoveryloader),..., kernel oops, fs too big, init killed - kernel panic, etc

all after ... can be solved via recovery-loader IF you have an accepted full fw file.

so the best way ist to:
1) find someone with a box where orig fw (not upgrade file) exists (most likely OvisLink/AirLive)
2) try what has to be done to the header that the recoveryloader accepts your files for most unneeded part (example: u65gui.img)
3) extract FLASH image from pearl box, split in usefull parts (5, see splitamitbin.c from laxan)
4) attach new header from 2) to kernel, romfs, gui, cat together to get new fw for e.g. pearl-box.

Advice: all (incl. kernel) but wireless-tools,bridge-utils and BusyBox have heavily been modified by AMIT to interact with their control-binaries and GUI. So just replacement with newer version will break functionality for sure!

BT:
if it's on the box, it's a gui problem that you won't be able to resolve soon. Noone up to now tried to hack the gui as it is stored in separate filesystem that is not accessible yet.
OTOH, it may only be a browser-problem, did you try different browsers in Linux?

schufti


Title: Re: MGB111 update
Post by: Kael on January 14, 2008, 16:32:41 PM
Again thank you for all these tips...

allready got an rs232 cable, used it to flash some LG phones ;o) just have to to get some cutter..

I was sure that we could bring back to life bricked MGB111... seems like i was wrong... so i'll probably try to enable the cable before critical changes...

Have u got an idea about why some identical devices can get killed with a modded FW and some others not? seems really strange to me...

About the Transmission / Gui problem, would it be possible to modify files with Telnet directly? even if all is stored in the GUI part?

EDIT : I'm so stooopid, tried the torrent thing with Opera... IT WORKS even the source code seems to be correctly seen, thing that was not with firefox...

Another really freaking bug with firefox, is that, when you try to launch some torrent, like said before it cannot work, but the htm frame from the MGB111.. keeps all the torrents names you've uploaded!!! and this aint no joke! i've opened the page on aother computer, cleared the cache, reloaded the page... and all the names are here, just have to look at the right frame sources.. so how could firefox write in an admin page...


Title: Re: MGB111 update
Post by: schufti on January 14, 2008, 23:26:23 PM
Hi kael,

without log from the console, there is only wild guessing about why and how boxes got bricked. They even get bricked when the upload in the webpage gets interupted ....

No, GUI files are directly accessed in flash from AMIT binaries only via amitlib.

This is no bug in Firefox modifying html source, this is the way the download assistent is implemented (at least in MGB100). The torrent files and names are stored in RAM and reflected in html until transfer is started/scheduled, then it is written to .dl/torrent

schufti

P.s.: I sometimes load MGB111 image on my MGB100, so I will check next time about FF/W32


Title: Re: MGB111 update
Post by: Kael on January 16, 2008, 14:10:08 PM
What would u think about an Openwrt on this MGB111? got some links to see if possible and how to do this?
I've also seen some interface to Openwrt are possible...


Title: Re: MGB111 update
Post by: schufti on January 16, 2008, 16:02:25 PM
Hi kael,

What would u think about an Openwrt on this MGB111? got some links to see if possible and how to do this?
I've also seen some interface to Openwrt are possible...

do you think like autobootfs on MGB100? or generic in flash?

schufti


Title: Re: MGB111 update
Post by: Kael on January 16, 2008, 18:00:46 PM
i was thinking about autobootfs, like on MGB100


Title: Re: MGB111 update
Post by: schufti on January 16, 2008, 22:52:18 PM
Hi kael,
i was thinking about autobootfs, like on MGB100
that's not too complicated, will pm some guideline to you and stylesuxx

schufti


Title: Re: MGB111 update
Post by: Kael on January 17, 2008, 08:19:52 AM
Great! thank you again.. have you heard about some interesting interface for openwrt? dunno if it comes with it.
I4ve seen this, and it seems interesting :

http://ajaxian.com/archives/openwrt-gui-ajax-in-your-router (http://ajaxian.com/archives/openwrt-gui-ajax-in-your-router)



Title: Re: MGB111 update
Post by: Kael on February 04, 2008, 22:25:02 PM
I finally got an update for my MGB111!!!

directly from AMIT the R400b2 version, corrects lot of bugs and especially the bt client  with firefox.

This one is provided with an utility to update out of the web interface.

If someone can host, i can provide the file, tested with my PEARL MGB111 PE 4088

May crash with an Airlive device.... be carefull

People should allways know that to update their firmware can cause their devices to stand as useless as a brick, you have been warned, i am not reponsible, this file can be provided as i got it from AMIT, without modifications.


Title: Re: MGB111 update
Post by: schufti on February 05, 2008, 12:10:42 PM
Hi,

you could attach it. Max size is 5MB.

would be nice to see the soures too....

schufti


Title: Re: MGB111 update
Post by: Kael on February 05, 2008, 13:16:03 PM
Here are the files:

http://rapidshare.com/files/90660098/20080121_NetworkStorage_R400b2.zip.html (http://rapidshare.com/files/90660098/20080121_NetworkStorage_R400b2.zip.html)

I'll check with AMIT for the sources


Title: Re: MGB111 update
Post by: SergeBa on February 05, 2008, 20:21:10 PM
It too most or not? http://www.airlive.com/support/WMU-6500FS/20080118_Ovislink_WMU-6500FS_R400b2.BIN


Title: Re: MGB111 update
Post by: Kael on February 05, 2008, 20:24:56 PM
This one does not work on PEARL devices. But this can be the same enhancement... I dont know about Upnp media A/V on the Airlive model


Title: Re: MGB111 update
Post by: SergeBa on February 05, 2008, 20:33:55 PM
With little changes this FW works on L1 WAP-0008, but to me work FW R400a9 more arranges.

And what such PEARL device?


Title: Re: MGB111 update
Post by: Kael on February 05, 2008, 20:38:27 PM
PEARL devices are MGB111 sold by PEARL in France and Germany with the reference PE4088, Airlive ones are working with a slightly different firmware and GUI.

You cannot upgrade PEARL device with Airlive firmware



Title: Re: MGB111 update
Post by: SergeBa on February 05, 2008, 20:47:18 PM
You cannot upgrade PEARL device with Airlive firmware

For WAP-0008 was in FW AirLive five times enough to change OVS_RUS021 on DDC_RUS021.


Title: Re: MGB111 update
Post by: schufti on February 06, 2008, 12:19:10 PM
Hi,

@sergeBa
did you flash modified FW via GUI or recoveryloader?

@Kael
the 1st Attachment (not utility) is not good, all downloads only 0 byte....

schufti


Title: Re: MGB111 update
Post by: Kael on February 06, 2008, 12:42:20 PM
Curious, just re uploaded it... still doesnt work, i'll upload it from another place to see if thats ok... sorry


Title: Re: MGB111 update
Post by: SergeBa on February 06, 2008, 19:07:22 PM
@sergeBa
did you flash modified FW via GUI or recoveryloader?

I have opened AirLive FW by means of the HEX-editor, have found line OVS_RUS021 (it repeats five times) and have replaced it on DDC_RUS021, have written down changes. After that it is possible to load under the instruction:
1. Please power off the device.
2. Push backup and shut down reset button don’t release then power on.
3. Still not release button, then see the usb1,usb2,status/backup, hdd status LED light or not? If it light,
     then release the button.
4. If so, then use the DOS command line also put the new firmware on your computer c:\ folder
     tftp -i 192.168.123.254 put FW.bin (use the new firmware)
5. After done then reboot.

I think as on MGB111 it will work. Only it is necessary to define a line for MGB111.


Title: Re: MGB111 update
Post by: Kael on February 06, 2008, 19:59:16 PM
Got  problem with the firmware file... cannot upload it correctly, from linux or windows...still comes with 0 bytes anyone got an idea?


Title: Re: MGB111 update
Post by: schufti on February 06, 2008, 20:21:33 PM
Hi kael,

maybe a malfunction of the board-sw. Did you try to attach it to the same post as the utility?
maybe it is a "per thread/user" limit ???

schufti


Title: Re: MGB111 update
Post by: Kael on February 06, 2008, 20:25:06 PM
i did try to attach it in the msg where I put it first time...
did try in this post, same issue

it seems like to send it via mail cause the same problem! the code appears directly in the mail body, but no attached file!!!

what the hell is it...


Title: Re: MGB111 update
Post by: schufti on February 06, 2008, 21:47:55 PM
hi kael,
maybe it's not really a zip file (explore with hexedit). Try to (re)pack it as .tgz
schufti


Title: Re: MGB111 update
Post by: Kael on February 07, 2008, 12:57:37 PM
this one is really zip, i've zipped it on windows and on linux... same issue...
never seen this before, i'll try to put it somewhere else online and link it here tonight... sorry


Title: Re: MGB111 update
Post by: buck08 on February 07, 2008, 22:39:22 PM
Hello all,

I am pretty new with the mgb-111 and I did the update as described the pages before.
It works great so far.

But now there is this new Point "UPnP". Does anybody know how to do all the "UPnP AV Media Server settings"   :-\
and could do a little step by step description?
This would be very great.

Thanks in advance.

cheers buck08


Title: Re: MGB111 update
Post by: Kael on February 08, 2008, 20:22:33 PM
Still trying to upoad the file, still does not work, zipped it 2 times...


Title: Re: MGB111 update
Post by: schufti on February 09, 2008, 01:22:53 AM
hi kael,

soo that seems to be a bug in the board-sw, maybe macsat knows?

you can ask stylesuxx to put it on his page? or put it on rapidshare...

schufti

@buck08: maybe you don't know what 'UPnP AV Media Server is'?


Title: Re: MGB111 update
Post by: buck08 on February 10, 2008, 09:45:09 AM
hello schufti,

this might be true, because I have never worked with networkstreaming before.
Could you pls give me a little hint, how to work this "UPnP AV Media Server"? :'(

Cheers

buck08


Title: Re: MGB111 update
Post by: Kael on February 10, 2008, 14:56:37 PM
Ok... did put the full zip file utility + firmware on rapidshare, here is the link...finally...

http://rapidshare.com/files/90660098/20080121_NetworkStorage_R400b2.zip.html

All should be ok now


Title: Re: MGB111 update
Post by: schufti on February 10, 2008, 15:40:26 PM
Hi buck08,

I don't have the MGB111 FW on my dev.HW right now, so I don't exactly know the details of the config page. But generally UPnP AV server scans all your hd for media files and offers them to UPnP media clients (e.g. Windows MediaPlayer). What you mainly can configure is where an when the server scans the hd for media content.

schufti


Title: Re: MGB111 update
Post by: Kael on February 10, 2008, 17:53:53 PM
Upnp on this MGB111, you have to select up to 3 directory to scan and specify type of content, after this you got an option to generate the database, all you need on your other computer is a media player able to scan network to find your uPNP server.


Title: Re: MGB111 update
Post by: ciko on February 11, 2008, 23:35:08 PM
Hi all!

I have installed the firmware that Kael shared with us and succeeded without any problems.

I have noticed a small problem with the new firmware (the original had it as well) and I hope you can help me to debug it. I plan to use the MGB111 as a Network Storage device that is always on. I hoped that the disk would switch off when not in use and so it did but after some minutes the disk starts up again for some seconds and then shuts down again. Can you think of anything that might cause this behaviour or any way I could use to debug this thing?

Is there already a way to update to the latest version of e.g. Samba (the installed seems to be quite buggy)?
Has anyone been able to access a console on a MGB111?

Thanks for any hints or help

best regards

Michael


Title: Re: MGB111 update
Post by: Kael on February 12, 2008, 08:12:04 AM
Good to see you did update your FW ;o)
I've never faced the bug you described, i've sent a mail to AMIT to ask them the FW sources, when we'll got these ones, we can probably try to update the SMB.


Title: Re: MGB111 update
Post by: schufti on February 13, 2008, 12:21:18 PM
Hi,

this can occur if some Windows client has a samba share mounted and does not disconnect automatically. Or did you enable UPnP autosearch?

I don't think that AMIT will adapt a new samba version soon as they just recently upgraded from 2.2.27 to 3.0.14.... (at least for MGB100)

But it would be nice to at least get the patched sources of the btcli 0.82.

btw. the new fw brings another UPnP Database & daemon (amit_avs) too.

schufti


Title: Re: MGB111 update
Post by: stylesuxx on February 13, 2008, 19:19:42 PM
Oh, so here you meet :-)
Good to know.

I wrote an article about unbricking the MGB111, cause some users seem to had Problems with my FW, so far only in german, but englisch will follow, first here => http://stylesuxx.twoday.net/stories/4702831/ than here => http://style-o-design.rivido.de/mgb111/

There are some other great news too, but I leave them to Kael :-P

Chris


Title: Re: MGB111 update
Post by: Kael on February 13, 2008, 19:23:44 PM
I'm here ;o)

AMIT urrently uploads the full sources of the FW on my FTP... huge file about 280 Mb  :o
I'll zip it and see how to put it online for you all to DL ;o)



Title: Re: MGB111 update
Post by: stylesuxx on February 13, 2008, 19:56:51 PM
So, the new Amit bin and Uploader (for Win) can be found here too => http://style-o-design.rivido.de/mgb111/20080121_NetworkStorage_R400b2.zip


Title: Re: MGB111 update
Post by: ciko on February 13, 2008, 21:04:44 PM
this can occur if some Windows client has a samba share mounted and does not disconnect automatically. Or did you enable UPnP autosearch?

Thank's for the hint schufti! Though I can surely tell that no samba client was active at the time of the happening i did not at all think of an automated procedure to update the upnp thing. I have disabled it and hope that the issue is gone now.

It's great that there finally is some source for this thing. Though i think i won't be able to compile my own version I strongly hope that anyone of you will create a telnet-enabled version ;)

Big thanks to all of you for your efforts

greets

Michael


Title: Re: MGB111 update
Post by: Kael on February 13, 2008, 21:44:01 PM
F*** got a problem with my device, SMB seems to refuse to work, cannot access on the network and does not appear in the workgroup... dont understand...


Title: Re: MGB111 update
Post by: Kael on February 14, 2008, 11:26:41 AM
@ ciko :

Telnet enabled has allready been done wih older FW, probably will be too with new one ;o)

Hope my device will work this evening, i'll backup my datas and format the drive... maybe the SMB problem is due to some mess with the directories attributes and rights management... i dont think this is an hardware problem, what do you think about this Schufti?

Soon the device works, i'll check the uploaded source file, if all is ok, we can put it online.

Edit : Files checked, all is ok, i'll see with Stylesuxx to host it and to put a link here. I had to erase all datas on MGB and reset it fully to make it work again, now seems ok.


Title: Re: MGB111 update
Post by: ukez on February 16, 2008, 22:03:22 PM
Hiya i've just bought a MGB111.

So ive got a few questions.

1)Whats the maximum capacity disk it will take?
2)Can anyone point out any major problems that i may encounter with this device?
3)What firmware should i ensure is on it before i start to fill my drive with files?
4)Can the AMIT MGB111 support multiple users logining in at the same time sharing different access rights?
5)Can i upload and download to this drive across a network? or are the uploads only by the USB option?
6)What file type do you recommend i stick to when formating this device? (NTFS, FAT32?) i may at some point use this with linux.
7)Whats this device like for streaming across the wireless option?
8) Is there any particular way i should set this up on my network to get the most benifits from it?
9)Does anyone have any screen shots of the menu?

Id really appreciae any input any of you can post to me regarding the above, many thanks in advance! ;D

Ezra


Title: Re: MGB111 update
Post by: Kael on February 17, 2008, 09:48:28 AM
Hi ukez

About this device, you may encounter problems with download managers, stabilty, bug with firefox and size limitations, to fix all of theses and add functionality, you may update it with the FW described and linked a few posts before, but be sure your MGB111 is a PEARL PE4088 one, or it may not work .

Downloads and Uploads can be done at the same time via network, easily, dont have to use USB.
Users can log at the same time on the network.
The admin interface is easy but take some time to look at all options.
Read carefully the manual...

For your fat / ntfs question... well you dont have to do this, your driver will be totally formatted by the MGB111 as it uses ext3 filesystem, the MGB11 is a linux based device.

For the streaming, with the latest FW provided here, you can use upnp to stream medias accross your network.

I use the MGB111 as a Wireless router / access point, no problems, got many options for security.

As i allways say, Read the manual... especially if you don't know how to use, and how it works...


Title: Re: MGB111 update
Post by: ukez on February 17, 2008, 16:12:26 PM
Kael, many thanks for your input, much appreciated. 

Hey, regarding the PEARL PE4088, is there any way in particular that i can identifiy if my one is compatible with the latest firmware when it arrives?


Title: Re: MGB111 update
Post by: Kael on February 17, 2008, 16:23:47 PM
hmm, you should see if thats an Airlive device or not... on the box or in the webadmin, due to the look and feel of the webpages.


Title: Re: MGB111 update
Post by: ciko on February 19, 2008, 22:32:42 PM
Edit : Files checked, all is ok, i'll see with Stylesuxx to host it and to put a link here. I had to erase all datas on MGB and reset it fully to make it work again, now seems ok.

As you know Kael managed to obtain the SourceCode from Amit.
Here you can find all files provided by him if you are interested to modify your firmware:

http://mgb111.cicogna.at/MGB111/ (http://mgb111.cicogna.at/MGB111/)

Best regards

Michael

Edit: According to Kael the files have to be extracted as root to prevent errors


Title: Re: MGB111 update
Post by: chimbo on February 21, 2008, 16:21:17 PM
Hi,

a modified (hopefully enhanced) bin file for the device can be found here

http://style-o-design.rivido.de/mgb111/upgrade-r400b2.bin

What's new?
autoexec script (on 1st hdd partition or usb) execution à la schufti
printserver function
more busybox options (commandline editing + tab expansion, dmesg, vi, free, ...)
telnet

have fun, chimbo


Title: Re: MGB111 update
Post by: buck08 on February 21, 2008, 20:27:27 PM
@chimbo

Hi chimbo,

what can I do now with the upgrade-r400b2.bin ? ???
Can I just load it up with the webinterface? ???

I'm a little confused because the last FW update was something about 4MB and your update is just
something around 220 KB.  :P

Did someone already try to install this to the mgb-111? :'(

cheers

buck


Title: Re: MGB111 update
Post by: Kael on February 21, 2008, 20:39:06 PM
I've tried the file, seems it does not work for me... the admin page to load it doesnt load anything, or maybe i've got a crash somewhere in my MGB111... the update procedure just give me "cannot load webpage"


Title: Re: MGB111 update
Post by: chimbo on February 22, 2008, 11:34:14 AM

I'm a little confused because the last FW update was something about 4MB and your update is just
something around 220 KB.  :P


Looks like something went wrong with the download. Size should be 3.659.716 bytes. Just try it again and update with web interface.

chimbo


Title: Re: MGB111 update
Post by: chimbo on February 22, 2008, 18:12:48 PM
Hi,

a modified (hopefully enhanced) bin file for the device can be found here

http://style-o-design.rivido.de/mgb111/upgrade-r400b2.bin

What's new?
autoexec script (on 1st hdd partition or usb) execution à la schufti
printserver function
more busybox options (commandline editing + tab expansion, dmesg, vi, free, ...)
telnet

have fun, chimbo


Some people experienced loss of user configuration and user data on disk after installing this firmware. So be carefull and backup your user data and configuration if any before updating.

chimbo


Title: Re: MGB111 update
Post by: chimbo on February 22, 2008, 18:28:33 PM
I've tried the file, seems it does not work for me... the admin page to load it doesnt load anything, or maybe i've got a crash somewhere in my MGB111... the update procedure just give me "cannot load webpage"

Hi Kael,

first check the size of your downloaded bin. Should be 3.659.716 bytes.
Second try it with unmodified http://style-o-design.rivido.de/mgb111/20080121_NetworkStorage_R400b2.zip
If this too doesn't load, you might have a problem with your MGB111.

chimbo


Title: Re: MGB111 update
Post by: Kael on February 22, 2008, 22:34:48 PM
Hi,

@chimbo : Yes i know about the 20080121_NetworkStorage_R400b2.zip, thats me that asked this one to amit ;o)

About the Upgrade procedure, i've also tried different things, like recovery mode with this file, unmodded.
Everything works.

Tried with your mod with recovery procedure, tftp goes on very fast... too fast... and nothing really hapens, your mod isnt loaded...

This is only about the admin "update firmware" page, seems it doesnt want to load anything...

If somebody updated his MGB111 with the same file and has such problem, let me know.
I've send a mail to AMIT to know if they have seen something like that.

Hard to believe this could be some hardware problem... especially because of nature of the problem itself. Thought maybe if the hardware part was broken, this could cause some other problems, and this one came just after i updated the FW with AMIT one.

[EDIT] tried something, just made a backup of my config, and used the "update / restore backup config" and... this works, it seems it doesnt work only with firmware bin files...


Title: Re: MGB111 update
Post by: Kael on February 23, 2008, 10:41:36 AM
OK i'll know this device on heart... lol

I just had to disconnect the hdd, and without it, updates work flawlessly.

@chimbo : could you tell me, just to verify, where i can find the options you added? is it all in telnet terminal?


Title: Re: MGB111 update
Post by: chimbo on February 23, 2008, 18:03:26 PM
@chimbo : could you tell me, just to verify, where i can find the options you added? is it all in telnet terminal?

I'm not shure if I understand your question. Added busybox options can be verified in telnet session. Other options by looking at /etc/mini-lpd and /etc/rc.d/rc.bridge.

chimbo


Title: Re: MGB111 update
Post by: Kael on February 23, 2008, 18:51:10 PM
@ chimbo : now all is ok for me, except the printer, my PSC 1210 doesnt seem to be recognized, can tell me more about how the printserver is implemented?

For ftp public access you can disable it directly with telnet, modifying the vsftpd.conf with telnet access, and restart vsftpd..


Title: Re: MGB111 update
Post by: chimbo on February 24, 2008, 12:12:09 PM
@ chimbo : now all is ok for me, except the printer, my PSC 1210 doesnt seem to be recognized, can tell me more about how the printserver is implemented?

Well, very most of the job has already been done by Amit. All that was left to do is creating the configuration dir /etc/mini-lpd in r/w memory. This is a symlink to /var/config/mini-lpd which is created in /etc/rc.d/rc.bridge. Have a look at the readme in the mini-lpd source dir. The Amit hotplug binary does the rest, that is building the data for mini-lpd and starting it. Unfortunately the amit binary does not recognize all printers which seems to be your problem.
Mini-lpd can be replaced by lpd wich is also handled by Amit. All it needs is adding the lpd binary. Look here

http://www.macsat.com/macsat/compone...g3523/#msg3523

chimbo


Title: Re: MGB111 update
Post by: ciko on February 24, 2008, 12:22:37 PM
Hi chimbo!

Thanks for providing the upgrade binary. As the others I also have problems to get it onto my device. I have tried with and without hdd in place but its always the same thing. In the webinterface I get "unallowable upgrade file" after a few seconds. Flashing via TFTP takes 3 seconds and does not change anything in the flash. The only image I am able to flash is the original amit binary b2.

do you have any idea what I could do?

best regards

Michael


Title: Re: MGB111 update
Post by: chimbo on February 24, 2008, 12:39:29 PM
do you have any idea what I could do?
Hi ciko,
really have no idea. Also no idea why hdd connected or not should have any influence. All I can imagine is that anything went wrong with download. Try it once again and check size.
chimbo


Title: Re: MGB111 update
Post by: ukez on February 29, 2008, 12:57:54 PM
I cant see all of the users ive created under the permission tab in the Access Control options. Can someone do a step by step guide on what i need to do to resolve this please.. ???



Title: Re: MGB111 update
Post by: Kael on February 29, 2008, 13:14:27 PM
@ ukez:

Try this, open the mgb, save your datas on another computer using linux, delete all partitions on your hdd, boot your mgb without hdd inside, and use the recovery flash (procedure in german on the stylesuxx blog : http://stylesuxx.twoday.net/stories/4702831/).

After this, put your blank hdd inside, use the mgb options to create partition and format, and try to use again.
There are not printer options on this device, this aint no printer server, you can use some with the mod thats has been posted in this thread but this may not work with every device.

For the airlive firmware, it will probably give you error msg too, not compatible as far as i know.

good luck


Title: Re: MGB111 update
Post by: ukez on February 29, 2008, 14:33:10 PM
@Kael:

I tried the link that you posted but it doesnt work... worst luck.

Update:  If you can not get through to this link (http://stylesuxx.twoday.net/stories/4702831/) via firefox or internet explorer you may need to access the site via www.altavista.com website translater.  Thats the only way i can access that site, plus you can translate it to any language you prefer, in my case english.

He must have certain IP ranges barred from access for some reason.


Title: Re: MGB111 update
Post by: Kael on February 29, 2008, 14:40:36 PM
The link to stylesuxx blog works for me...

May i ask where did you bought your device? seems some reseller made a mistake...
Or maybe am i wrong, but as far i've seen with original fw, it does not work.


Title: Re: MGB111 update
Post by: Kael on March 01, 2008, 09:50:38 AM
on stylesuxx blog, procedure describes also hoow to recovery flash on windows. Try it.
After flash, verify if all settings are back to factory default and maybe try another hdd in the device.


Title: Re: MGB111 update
Post by: ukez on March 01, 2008, 17:04:47 PM
Ok heres what i did to re-flash it.

1. I switched on my MGB111 device

2. Activated the recovery loader by continously holding down the (Shutdown) & (Backup) switch on the MGB111 (this also defaults the device so to anyone else attempting this ensure your ip address on your pc is set to 192.168.123.xxx range).

3. Once the bottom 4 LED's continously flashed together really fast i opened the command prompt, by typing CMD and pushing the enter key in the run option on the start menu.

4. Once the command prompt was open i typed the following C:\>tftp -i 192.168.123.254 PUT C:\IMAGE.BIN, (C:\ being the location of my firmware file & Image.bin being the name of my file).

5. I then pushed enter and run the upload.

6. Then once the following displayed on my screen (Transfer successful: 3873531 bytes in 61 seconds, 63500 bytes/s) i switched off and on my device and that was the firmware update complete.




Title: Re: MGB111 update
Post by: ukez on March 01, 2008, 17:34:21 PM
Just out of curiousity, what is the largest supported hard drive that this enclosure supports, does any body know please?


Title: Re: MGB111 update
Post by: Kael on March 03, 2008, 13:07:12 PM
hmmm sorry, no idea...is your device configured in Authorization mode?
Could you post some screenshots of the problem just to be sure i understand it well...


Title: Re: MGB111 update
Post by: olifre on March 03, 2008, 19:00:23 PM
Hello,
I'm also a (now quite happy) owner of the MGB 111, as I just flashed the new image from chimbo. Runs quite smoothly ^^.
The bittorrent-problems some might encounter (code on the web-interface) was something I could solve by renaming the torrent file to something shorter (the name simply was too long, as the device saves everything in subfolders of a name similar to the torrent!).
The problem with the users 'anonymous', 'nobody', 'ftp' and 'root' being able to access the ftp-server (well, root with password was led to a folder in the flash, 'anonymous' and 'ftp' could anonymously see the public-folders + USB and 'nobody' finally could see the flash / ramdisk INCLUDING .passwd containing all your passwords) can also be solved quite quickly. As I did not have much time, I just tried out the autoexec-feature (thanks, chimbo!).
Here is my autoexec (placed on 'C' or the 'Public' folder, named autoexec, if you want to be safe, they shoud not be writable for anybody but root [you can do this with chmod, chown and chgrp via telnet, if you want to know more, you may ask]):
Code:
#!/bin/sh
#
killall vsftpd
vsftpd /mnt/C/vsftpd.conf &
Then, you need the files vsftpd.conf and vsftpd.user_list in the same folder, same permissions. vsftpd.conf is the same you may find in the Flash, just changed 'anonymous_enable=NO' in the first line and added three lines:
Code:
userlist_file=/mnt/C/vsftpd.user_list
userlist_enable=YES
userlist_deny=YES
This loads the userlist I will show you in a few seconds and DENIES ftp-access to all users in this list.
Here is my vsftpd.user_list:
Code:
root
ftp
nobody
anonymous
Note that anonymous might be superfluous here, but why not add this one?
Maybe chimbo can add these to a new .BIN, would make things much simpler for many people...

So, finally my question :P...
Has anybody already managed to boot another system or to compile for / on the machine other programs? As chimbo added vi and some other handy tools, this must be possible somehow. As I am not that deep into programming C and compiling with Linux (well, I compiled some things already, even a kernel once, but it's something different without a manual at hand), I wonder how this might be done. Another board focussing on another MGB-device (the 2.5'' one) already managed to use chroot to boot Ubuntu or some less-extensive distributions (ones that are focussed on embedded devices). I am especially interested in a small (not fast, just as a kind of backup) server featuring simple CRON-jobs, maybe even Apache, PHP oder MySQL. A LaTeX-compiler might also be an option, or SSH-access (sshfs is much easier to use when in Linux...).
I'm not sure how much this thing can take with its 40 MHz, but with enough swap space and time, some things should 'theoretically' work.
Hope to hear from you soon,
OliFre

EDIT: Those who had problems with the download of chimbo's .BIN... I had too small files, too, with a DownloadManager, everything was perfect immediately.


Title: Re: MGB111 update
Post by: Kael on March 03, 2008, 21:08:52 PM
Great! i allready made th custom conf files (even smb to delete he public directory...) but had problems to load these ones via autoexec ;o) now i just wonder why i didnt thought about this way to do it...

There might be some guys trying to get openwrt running on the device... think that Kamikaze could do the thing.

Amit will release a new firmware with some fix for the nobody problem... i'll tell them to take a look at this thread ^^


Title: Re: MGB111 update
Post by: olifre on March 03, 2008, 23:33:03 PM
Wonderful that things are still developing. There is also a problem deleting download-jobs, might be a simple array-index-error in the webgui (it deletes job 1 and 2 instead of 0 and 1).
I was thinking about something like this:
http://wl500g.info/showthread.php?t=9513&page=46 (http://wl500g.info/showthread.php?t=9513&page=46)
Schufti has been quite active there, and I wonder whether similar things are possible with the MGB 111.
I wonder how binaries can be compiled for this thing ^^.


Title: Re: MGB111 update
Post by: ukez on March 05, 2008, 07:09:29 AM
Kael, did you get my email last night?


Title: Re: MGB111 update
Post by: chimbo on March 05, 2008, 11:27:09 AM
I wonder how binaries can be compiled for this thing ^^.

Hi,
all you need to compile stuff for this device can be found here

http://mgb111.cicogna.at/MGB111/

and here

http://stylesuxx.twoday.net

http://stylesuxx.twoday.net/month?date=200711

chimbo


Title: Re: MGB111 update
Post by: Kael on March 05, 2008, 13:35:51 PM
There might some reallllly good news next days...
Amit just send me a message and this should be possible to send me some sources for binary AMIT files (for example initrd.bin and many others)... If we can get these ones... well we can customize a lot more this device... and maybe open a project especially about this one.

The only thing would be to send them mods, and free to them to put it in the official release or not ;o)

I'll let you all know wen i'll have final answer from AMIT.

I allready received the initrd.bin file beta state, this one slightly improves security.


Title: Re: MGB111 update
Post by: schufti on March 05, 2008, 17:04:24 PM
hmmm, interesting....

I sent them some comments about errors in their system (error in kernel sources, wrong mount option, failure to create directory for mini-lpd) and had only one question about a minor building issue (capacity not shown in device page) but didn't get any response.

What is the magical incantation to get an answer from lily?

schufti


Title: Re: MGB111 update
Post by: Kael on March 05, 2008, 21:50:41 PM
No magical incantation here ;o)
In fact i must admit that my contact isnt Lily... and here i must tell also that i work as a computer reseller... ;o) maybe thats easy from my position to stay in touch with them.


Title: Re: MGB111 update
Post by: olifre on March 06, 2008, 00:24:27 AM
Ah, thanks for the links, chimbo. Just downloading everything, will test the next days.
Maybe we can collect some useful binaries here that can simply be copied on the HDD and then started via autoexec...
Some things like dropbear, OpenVPN or so...
I'm currently out of time to try out more, but in a week or so, I'll have a look at it again.


Title: Re: MGB111 update
Post by: chimbo on March 07, 2008, 23:47:12 PM

Maybe chimbo can add these to a new .BIN, would make things much simpler for many people...

EDIT: Those who had problems with the download of chimbo's .BIN... I had too small files, too, with a DownloadManager, everything was perfect immediately.

Finally someone who managed to install this image!
I made a new image which takes care of olifred's sugestions. It can be downloaded from here

http://rapidshare.com/files/97785014/upgrade_b2_080307.bin.html

Size of downloaded file MUST be 3.680.179 Bytes. Please check BEFORE flashing.

Config files for vsftpd are moved to /var/config, where they can be changed by the user to meet his personal preferences. 'vsftpd.user_list' can be modified by means of 'autoexec', vsftpd.conf and 'vsftpd.user_list' later by 'vi' or whatever. No need to kill and restart vsftpd for the changes to become active.
For those who want to know what has been changed in the amit sources there is a tar file here

http://rapidshare.com/files/97786417/MGB111_GPL_B2_080307.tar.html

By the way, I did not succeed in using olifred's autoexec file. The reason seems to be, autoexec is executed before vsftpd is started for the 1st time.

Chimbo


Title: Re: MGB111 update
Post by: Kael on March 08, 2008, 00:03:39 AM
@ chimbo : Great, may i ask where did you get these amit sources? as said i'll manage to get some too... i didnt put online the initrd.bin file i got from amit to correct some vsftpd bug, the solution provided here is really better and lot more secure.


Title: Re: MGB111 update
Post by: olifre on March 08, 2008, 00:07:28 AM
Wonderful, thanks a lot, chimbo!

With me, the autoexec works perfectly. However, when you add or remove users in the webinterface while the NAS is running, vsftpd is restarted and reuses the old config-file. This problem should be solved with the new image, however. I will try it out in a few days (after the 11th, there will be much more time to join some testing ^^).

Thanks for all your work!
OliFre


Title: Re: MGB111 update
Post by: chimbo on March 08, 2008, 13:36:59 PM
@ chimbo : Great, may i ask where did you get these amit sources?

I simply modified amit's ed binary with hexeditor


Title: Re: MGB111 update
Post by: Kael on March 08, 2008, 14:05:48 PM
ho i see, i wish i knew how to do this... ;o)


Title: Re: MGB111 update
Post by: ukez on March 08, 2008, 18:54:57 PM
ho i see, i wish i knew how to do this... ;o)

Hey kael, thanks for logging into my device for me the othe day...

Should i be uploading this new firmware now?


upgrade_b2_080307.bin.html  ???


Title: Re: MGB111 update
Post by: Kael on March 08, 2008, 19:33:31 PM
;o) yes you could update but be sure you know what you do and how to configure vsftpd.

@chimbo : about the problem when vsftpd restarts, is it possible to mod the FW to replace vsftpd.conf with a symlink to the new vsftpd.conf with enhanced security? This may solve the problem when it restarts and use the bad vsftpd.conf


Title: Re: MGB111 update
Post by: chimbo on March 09, 2008, 11:01:16 AM
@chimbo : about the problem when vsftpd restarts, is it possible to mod the FW to replace vsftpd.conf with a symlink to the new vsftpd.conf with enhanced security? This may solve the problem when it restarts and use the bad vsftpd.conf

This has already been done. /etc/vsftpd.conf is a symlink to /var/config/vsftpd.conf

chimbo


Title: Re: MGB111 update
Post by: stylesuxx on March 10, 2008, 20:01:07 PM
Hello :-D

Always nice to see something happening.

Thanks to olifre for the solution, and chimbo for the bin.

And here the link =>

http://style-o-design.rivido.de/mgb111/upgrade_b2_080307.bin

And on my Blog => http://stylesuxx.twoday.net/stories/4774854/


Title: Re: MGB111 update
Post by: ciko on March 12, 2008, 00:34:06 AM
Hi All!

I did some investigations on the horribly long boot time of my MGB111 and found several chown and chmod processes
eg: chmod -R 775 /tmp/mnt/Private/mp3s
After killing those the boot continued normally and very fast. Can you imagine any special reason for those (considering the fact that i never remove my disk from the device). Do you have an idea how to speed up or prevent that thing? I think it's part of the amit_reset program that is executed in rc.bridge

greets

Michael


Title: Re: MGB111 update
Post by: schufti on March 12, 2008, 16:13:29 PM
Hi,

no, it is due to
  'amit_disk_mode'
which is called in
  'hotplug.sh'
that is started by
  'hotplug boot &'
in
  'rc.bridge'

schufti


Title: Re: MGB111 update
Post by: wojo2000 on March 12, 2008, 21:12:25 PM
Hi,

I read this topic carefully and I am very happy that someone is trying modify orginal firmware and it's works :)
but I would like to ask You about something else:
Do You know possibility to multi-download via http ?
I have a lot of links via http and it's hard to add it one by one so maybe you know some trick how to add it all together? maybe I can edit some file?
second problem is that my http links looks like this one:
http://username:passwd@link.com
and my ovislik don't recognize it :(, first it cut off http:// and next it can;t recognize
username:passwd@link.com

Thank You for Your Help


Title: Re: MGB111 update
Post by: ToMikaa on March 18, 2008, 10:01:20 AM
Hi!

Can you tell me how can I start telnetd on another port on my MGB111? Because my ISP blocks port 23 and I want to use telnet remotely!

Thanks!

P.S.: sorry for my English!


Title: Re: MGB111 update
Post by: chimbo on March 20, 2008, 12:01:11 PM
Can you tell me how can I start telnetd on another port on my MGB111? Because my ISP blocks port 23 and I want to use telnet remotely!

hi ToMikaa

Try this autoexec script:

Code:
#!/bin/ash
telnetd -p 24 &
exit

Replace "24" by whatever port number you want to use.

btw. what's wrong with your english?

chimbo


Title: Re: MGB111 (hard drive constantly spinning)
Post by: ukez on March 21, 2008, 11:25:46 AM
I was just wondering if their was any particular reason why my hard drive doesnt slow down or stop when it isnt in use.  Shouldnt it go into standby mode or something until its accessed via the network.

Its constantly spinning and and my mgb111 housing is running fairly warm, a bit warmer than id like it to. 

Any Ideas?  Im using the latest firmware off here at the moment.. upgrade_b2_080307.bin

Thanks....  :)


Title: Re: MGB111 update
Post by: chimbo on March 21, 2008, 15:16:09 PM
There is a new slightly modified image at

   http://rapidshare.com/files/101234112/mgb111_b2_080321.bin.html

Size is 3680193 Bytes.Please check BEFORE flashing!

Anonymous ftp is now allowed as in original fw, but "nobody" and "root" are denied. Ftp logging is enabled again.
Those who don't want anonymous access may use an autoexec script like this

Code:
#!/bin/ash
cat > /etc/vsftpd.user_list << EOF
nobody
root
ftp
anonymous
EOF
exit

Don't forget to

chmod 700 /mnt/C/autoexec
chown root /mnt/C/autoexec
chgrp root /mnt/C/autoexec

via telnet

chimbo


Title: Re: MGB111 update
Post by: ukez on March 21, 2008, 18:03:44 PM
Chimbo you seem to know allot about this drive..

Question, i know i tunes can see this drive as its a itunes server..  Would it be possible to make the xbox360 see it across the network?

Its probably impossible, but i thought id ask..... that would be cool if it could.

could this device support DLNA?

also Chimbo.. Why cant the mgb111 ftp be accessed via internet explorer?


Title: Re: MGB111 update
Post by: chimbo on March 21, 2008, 22:46:44 PM
Question, i know i tunes can see this drive as its a itunes server..  Would it be possible to make the xbox360 see it across the network?

Its probably impossible, but i thought id ask..... that would be cool if it could.

could this device support DLNA?

also Chimbo.. Why cant the mgb111 ftp be accessed via internet explorer?
excuse me, I don't know anything about xbox360, but I can't imagine why it shouldn't be able to communicate over standardized paths. DLNA??? I first have to google for it to say anything. But access via IE ore firefox: no problem! At least if you use last img with anonymous access.

chimbo


Title: Re: MGB111 update
Post by: ukez on March 22, 2008, 13:50:11 PM
ref: internet explorer and firefox.. i'll update to the latest image now..  thanks


Title: Re: MGB111 update
Post by: ToMikaa on March 22, 2008, 21:16:36 PM
Can you tell me how can I start telnetd on another port on my MGB111? Because my ISP blocks port 23 and I want to use telnet remotely!

hi ToMikaa

Try this autoexec script:

Code:
#!/bin/ash
telnetd -p 24 &
exit

Replace "24" by whatever port number you want to use.

btw. what's wrong with your english?

chimbo


Thank you for the solution! It worked! I have tried many ways like telnetd 8003 but i have totally forgotten -p switch. But it's logical! :D

ToMikaa

P.S.: I haven't used my english for a long time so i'm on a level of a beginner now. :/
P.S.2.: Thank you for the new firmware!


Title: Re: MGB111 update
Post by: ToMikaa on March 23, 2008, 17:46:14 PM
Hi!

Another question. How can i control the bittorrent client through console? I mean starting, stopping, deleting and pausing torrents (like the web interface does).

And a problem: if i select a job on the Download Assist's job list and click on pause or delete, it deletes/pauses all jobs or random selected jobs and don't care about my selection. Sometimes selecting one job causes to delete all of the jobs in the list. (In addition there are few horrible grammar issues, like "Please waiting for formatting...".  :-\)
I have read about that the web interface is coded to the amit_httpd. Is there any way to fix this annoying issue?

Thank you!

ToMikaa


Title: Re: MGB111 update
Post by: Slawek on March 24, 2008, 13:40:51 PM
Firmware to testing (working in airlive wmu-6500fs)
http://mgb111.pradnik.net/mgb111-update-400b2.c005.tar (http://mgb111.pradnik.net/mgb111-update-400b2.c005.tar)
including httpd, cron, vi, sysctl ant many others. including busybox commands great to scripting (awk, sed, tr, etc..).
vsftpd including chroot, user_list etc...
changed identity wget->firefox, transmission->azureus
system folders on hdd:

/mnt/C/sys/ -> Sys dir (example):
-----------
sys/bin:
helloworld

sys/etc:
crontabs/
rc-local   <- "autoexec"
smb.conf
tmp.crontabs/

sys/www:
index.html

changed PATH (+ /mnt/C/sys/bin and /mnt/USB/USB_C/sys/bin)
+ link /usr/sbin -> /mnt/C/sys/sbin

Default dirs for user config (to cron, httpd, sysctl, etc...): /mnt/C/sys/etc/

and others (-;

Polish site:
http://mgb111.pradnik.net/ (http://mgb111.pradnik.net/)


Hack to torrent limits - web configuration: http://mgb111.pradnik.net/wwwconfig.zip (http://mgb111.pradnik.net/wwwconfig.zip)
change in html source IP.URZADZENIA to ip of your box.
use after log in.

 


Title: Re: MGB111 update
Post by: chimbo on March 24, 2008, 18:39:34 PM
Firmware to testing (working in airlive wmu-6500fs)

Hi Slawek,

just tried out your image. Very impressive!
How do you configure vsftpd? Seems that /etc/vsftpd.conf doesn't do the job.

chimbo


Title: Re: MGB111 update
Post by: Slawek on March 24, 2008, 21:01:45 PM
vsftpd.conf and vsftpd.user_list -> /var/config/      (/etc/ links only)
to comatibility with webinterface

oher vsftpd user config (vsftpd.banned_emails, vsftpd.chroot_list, vsftpd.email_passwords): /mnt/C/sys/etc/

http://mgb111.pradnik.net/dodatki/ (http://mgb111.pradnik.net/dodatki/) compiled extra binaries
/new wget, wput, full new busybox, inadyn dyn-dns client, lighttpd, and elinks (-; /


Title: Re: MGB111 update
Post by: ToMikaa on March 24, 2008, 21:23:35 PM
@Slawek: Thank you for the fw! It's very cool! ;) But I have a question: what version of Transmission is included in the firmware? Because I can't check it since it identifies itself as Azureus 3.0.4.2.

And still there is the web interface issue. Any ideas?

ToMikaa


Title: Re: MGB111 update
Post by: Slawek on March 24, 2008, 21:32:57 PM
This is original transmission, included on/in 4.00b2 firmware.
Only ident/peerid/user-agent was changed. unfortunately not all trackers are stupid (-;


Title: Re: MGB111 update
Post by: ToMikaa on March 24, 2008, 21:42:52 PM
And how can I replace the original busybox with the full version and hack the web interface?


Title: Re: MGB111 update
Post by: Slawek on March 24, 2008, 21:57:16 PM
don't replace (is big and not compatible to the system), us change name, e.g busybox2 on /mnt/C/sys/bin/ (in $PATH). make links command->busybox2 if you wish.

Webinterface is not readable (or something) at this time )-:
(if you are asking about torrent config hack, use wwwconfig.zip (link bottom)
change in html source IP.URZADZENIA to ip of your box.
use after log in. and change limits.)


Title: Re: MGB111 update
Post by: ToMikaa on March 24, 2008, 22:00:42 PM
I asked because I saw a screenshot of a modified web interface on your website. Thanks!

**

And a final question. ;) It's possible to include a newer version of Transmission client to the firmware that supports protocol encryption? (>= 0.90)


Title: Re: MGB111 update
Post by: Slawek on March 24, 2008, 22:35:27 PM
modified interface is veeery pre pre pre alpha (-; now it is changed login page and pictures, but not working ok.

transmission in firmware is very small, edged (?) to the webif and system.
I am working now above the compilation rtorrent/ctorrent, to the console.
any version of the transmission is blocked (if tracker block this soft)


Title: Re: MGB111 update
Post by: ToMikaa on March 24, 2008, 22:38:41 PM
rtorrent is fine, too. I'm waiting for your new web interface! ;) The current one is s*cks!


Title: Re: MGB111 update
Post by: Slawek on March 24, 2008, 22:58:08 PM
I think that earlier I will do the new interface in userland, on other httpd (-;


Title: Re: MGB111 update
Post by: ToMikaa on March 24, 2008, 23:10:44 PM
It's a good idea if you can use scripts with httpd. Without them it's impossible to control the device, I think.


Title: Re: MGB111 update
Post by: chimbo on March 25, 2008, 00:53:20 AM
Did you already try to implement NFS? There are many people who yearn for this. When I enable kernel support for NFS, I get an image that is rejected with "Unallowable ..." error. Probably because the kernel surpasses a limited size.

chimbo


Title: Re: MGB111 update
Post by: ToMikaa on March 25, 2008, 11:39:31 AM
Hi!

Another question to Slawek: could you compile sshd? It's better than telnet because I usually use unencrypted wireless connection in school and one of my friend's habit is stoling TCP packets and I don't want to let him know my password to the server. ;)


Title: Re: MGB111 update
Post by: Slawek on March 25, 2008, 13:54:49 PM
ssh + sshd http://mgb111.pradnik.net/dodatki/ (http://mgb111.pradnik.net/dodatki/) file "dropbear"
you must make new devices (mknod) in /mnt/C/sys/dev/ to the sshd and ssh.
default config path in dropbear help


Title: Re: MGB111 update
Post by: ToMikaa on March 25, 2008, 17:17:31 PM
Can you write down the instructions how to use dropbear?  :-\ I have tried dropbearkey util to generate key file but it failed with an error: "Exited: couldn't open random device".


Title: Re: MGB111 update
Post by: Slawek on March 25, 2008, 19:50:10 PM
you must make new devices (mknod) in /mnt/C/sys/dev/ <---- (-;

if software cause error "couldn't open XXX device" then make this (:
google "mknod XXX" e.g

mknod -m 777 /mnt/C/sys/dev/random c 1 8
mknod -m 777 /mnt/C/sys/dev/urandom c 1 9

etc...

this example is enough to use ssh client


Title: Re: MGB111 update
Post by: ToMikaa on March 25, 2008, 23:07:35 PM
Thank you Slawek!

I have followed your instructions and created the two keys needed by dropbear. But I can't connect to the SSH server because my SSH client (PuTTY) shows an error (Incoming packet was garbled on decryption) and fails to connect. What is the problem?

ToMikaa


Title: Re: MGB111 update
Post by: Slawek on March 26, 2008, 07:34:08 AM
I will check it.


Title: Re: MGB111 update
Post by: Slawek on March 26, 2008, 10:08:58 AM
Ok, new different version of dropbear, tested and workin (-;
http://mgb111.pradnik.net/dodatki/dropbear-ssh-sshd-050.3.tgz (http://mgb111.pradnik.net/dodatki/dropbear-ssh-sshd-050.3.tgz)

now is a multiaplication (e.g busybox)

binary: dropbearmulti
and links:
dbclient ssh dropbearconvert  dropbearkey scp  dropbear

no more needed /mnt/C/sys/dev/
no DSS keys, only root login


Title: Re: MGB111 update
Post by: ToMikaa on March 26, 2008, 14:31:04 PM
Thanks JKR! SSH is working fine! :)


Title: Re: MGB111 update
Post by: Slawek on March 26, 2008, 15:07:34 PM
http://mgb111.pradnik.net/dodatki/ctorrent-dnh32-TEST-2.tgz (http://mgb111.pradnik.net/dodatki/ctorrent-dnh32-TEST-2.tgz) cTorrent for testing.
and http://mgb111.pradnik.net/dodatki/e3-text-editor-271.tgz (http://mgb111.pradnik.net/dodatki/e3-text-editor-271.tgz) text editor


Title: Re: MGB111 update
Post by: ToMikaa on March 27, 2008, 08:37:23 AM
Thank you JKR! They are working fine! :)

It would be possible to compile a Midnight Commander and mcedit? It would be fine if I could use a file manager. ;)

Edit: JKR, can you inform me about changes in the newest (006) firmware?


Title: Re: MGB111 update
Post by: Slawek on March 27, 2008, 21:06:11 PM
Fixed shell $PATH for ssh logins.
added /etc/shells for future use.
nothing more (-:


Title: Re: MGB111 update
Post by: Slawek on March 29, 2008, 15:02:28 PM
Did you already try to implement NFS? There are many people who yearn for this. When I enable kernel support for NFS, I get an image that is rejected with "Unallowable ..." error. Probably because the kernel surpasses a limited size.

mgb111-update-400b2.c006n01.tar (http://mgb111.pradnik.net/mgb111-update-400b2.c006n01.tar)
+ NFS_FS, NFSv3
+ NFSD, NFSDv3, NFSD_TCP
- DOS, FAT, NTFS

no software for nfs in firmware (maybe somebody else could try to compile nfs-utils and make some tests)

firmware working.


Title: Re: MGB111 update
Post by: Slawek on March 30, 2008, 19:23:55 PM
Now "advanced" firmware, version C006-M.
http://mgb111.pradnik.net/mgb111-update-400b2.c006m.tar (http://mgb111.pradnik.net/mgb111-update-400b2.c006m.tar)

This is C006 + changes (in kernel only)

Added:

ADVANCED ROUTER
MULTIPLE ROUTING TABLES
ROUTE NAT
SCHEDULING ->
         CBQ (module)
         HTB (module)
         SFQ (module)
NFS FS
NFS V3
NFSD
NFSD V3
NFSD TCP

USB DEBUG
USB NET [USB to USB cable]
USB LCD (module)

ISO9660 FS [CD/DVD]
JOLIET EXTENSION

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

Deleted:

USB SCANNER
NLS ->
   CODEPAGE ->
            936
            950
            932
            949
            874
            ISO8859-6
            ISO8859-7


Title: Re: MGB111 update
Post by: ToMikaa on March 31, 2008, 17:38:26 PM
Hi!

Thank you JKR for the new FW and the tools! I have read you have added USB LCD module, so this FW can handle an LCD screen if it has USB interface? (like Crystalfontz LCD) And what LCD software could be used with this system? Lcd4linux?

ToMikaa


Title: Re: MGB111 update
Post by: Slawek on March 31, 2008, 19:45:45 PM
This driver supports the  HD44780 interface module (https://ssl.bulix.org/projects/lcd4linux/wiki/USBLCD)
added for the test, maybe he will be useful someone / sorry for my english (;.
If not, I will remove.

PS: ATA CD support will be removed in the future (not supported by onboard controller)



Title: Re: MGB111 update
Post by: ToMikaa on March 31, 2008, 20:29:11 PM
Please don't remove the LCD module! ;) It's very useful for me. I'm addicted to LCD screens. :D I have a HD44780 20x4 LCD connected to my PC and I would like to have another one to the AirLive server. If I can get or make a USB to LCD converter, I will make a screen for the server.


Title: Re: MGB111 update
Post by: Slawek on March 31, 2008, 20:49:04 PM
ok, if something missing in rom (maybe in /dev/) write  me.


Title: Re: MGB111 update
Post by: chimbo on March 31, 2008, 22:40:17 PM
Now "advanced" firmware, version C006-M.
http://mgb111.pradnik.net/mgb111-update-400b2.c006m.tar (http://mgb111.pradnik.net/mgb111-update-400b2.c006m.tar)

Hi JKR,
thank you for building this kernel and for readding fat and nfs. Could you please be so kind to make /etc/exports a symlink pointing to a location somewhere in r/w fs e.g. /var/config/exports. Maybe then I can do some tests, although I've never been using nfs before. If you need an example of how to build a system using nfs-utils then have a look at schufti's sources for the mgb100. All needed binaries are already included.
chimbo


Title: Re: MGB111 update
Post by: Hero on April 01, 2008, 05:56:35 AM
Hello,

I've got a device named Levelone WAP-0008. Reflashed it with Airlive a9 firmware to fix 2 Gb bug, now it's look like AirLive WMU-6500FS. How can I reflash it with mgb111-update-400b2.c006m.tar? Will it work through recovery loader? Did anybody try to test it with WAP-0008? What are your recomendations?

Also I've got a strange thing with restarting of torrent download. I pause from seeding any downloaded file, after that I resume it and it starts to check the file that takes about 20 minutes for 1,4Gb file. The same situation happens with all torrent downloads when I switch the box off and start it again. Is this normal or not? Is it possible to fix it?

Thank you!


Title: Re: MGB111 update
Post by: Slawek on April 01, 2008, 11:14:29 AM
Hi JKR,
thank you for building this kernel and for readding fat and nfs. Could you please be so kind to make /etc/exports a symlink pointing to a location somewhere in r/w fs e.g. /var/config/exports.

If you need an example of how to build a system using nfs-utils then have a look at schufti's sources for the mgb100.

thx (-:
new version http://mgb111.pradnik.net/mgb111-update-400b2.c006m3.tar (http://mgb111.pradnik.net/mgb111-update-400b2.c006m3.tar)
added link /etc/exports to /mnt/C/sys/etc/exports
and /etc/rc.nfsd init script for nfs (no auto start, if you want use rc-local)
for nfs must download this http://mgb111.pradnik.net/dodatki/nfs-utils.tar (http://mgb111.pradnik.net/dodatki/nfs-utils.tar)

Code:
$ more /etc/exports
/tmp/mnt/C/test 10.168.1.190(rw,async,no_root_squash,no_wdelay,insecure)

$ /etc/rc.nfsd start

$ showmount -a
All mount points on gatefs:
jkr.gate.lan:/tmp/mnt/C/test

$ more /var/lib/nfs/etab

/tmp/mnt/C/test jkr.gate.lan(rw,async,no_wdelay,hide,nocrossmnt,insecure,no_root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2)

$ more /var/lib/nfs/rmtab
jkr.gate.lan:/tmp/mnt/C/test:0x00000003

tested & work.


Title: Re: MGB111 update
Post by: Slawek on April 01, 2008, 12:28:48 PM
I've got a device named Levelone WAP-0008. Reflashed it with Airlive a9 firmware to fix 2 Gb bug, now it's look like AirLive WMU-6500FS. How can I reflash it with mgb111-update-400b2.c006m.tar? Will it work through recovery loader? Did anybody try to test it with WAP-0008? What are your recomendations?

i tested my updates only on airlive 4.00b2 firmware and only via webinterface.


Title: Re: MGB111 update
Post by: Hero on April 01, 2008, 13:09:33 PM
i tested my updates only on airlive 4.00b2 firmware and only via webinterface.

Thank you. I'm going to try to load b2 firmware on my WAP-0008 and after that will try your updates. Will I be able to return to a9 if something will be wrong?


Title: Re: MGB111 update
Post by: Slawek on April 01, 2008, 13:35:37 PM
return to a9 is possible in recovery mode


Title: Re: MGB111 update
Post by: chimbo on April 02, 2008, 04:38:34 AM
new version http://mgb111.pradnik.net/mgb111-update-400b2.c006m3.tar (http://mgb111.pradnik.net/mgb111-update-400b2.c006m3.tar)
added link /etc/exports to /mnt/C/sys/etc/exports
and /etc/rc.nfsd init script for nfs (no auto start, if you want use rc-local)
for nfs must download this http://mgb111.pradnik.net/dodatki/nfs-utils.tar (http://mgb111.pradnik.net/dodatki/nfs-utils.tar)

tested & work.

You are really a fast one. Thank you very much

chimbo


Title: Re: MGB111 update
Post by: Aqualung on April 03, 2008, 11:54:12 AM
return to a9 is possible in recovery mode

What's "recovery mode"? How do you put the WMU-6500FS in recovery mode please? I just tried and it looks like I cannot flash my device via the Web UI anymore! Dunno what could've happened. It's this damn' b2 firmware that's wreaking havoc...


Title: Re: MGB111 update
Post by: Slawek on April 04, 2008, 06:25:10 AM
Recovery (http://www.macsat.com/macsat/component/option,com_smf/Itemid,50/topic,690.msg3962/#msg3962) mode.
next time try to use search option (;


Title: Re: MGB111 update
Post by: Aqualung on April 04, 2008, 13:40:52 PM
Recovery (http://www.macsat.com/macsat/component/option,com_smf/Itemid,50/topic,690.msg3962/#msg3962) mode.
next time try to use search option (;

Thanks, but that doesn't work for me. I never get the 4 bottom LEDs blinking continously. I am starting to suspect that my device is really damaged. Or could it be that the HDD is failing (after so much BT-ing)? I also realized, among others, that I can no longer shutdown the WMU-6500FS by pressing the "Shutdown" button. I seem to recall that that used to work.

Suggestions? (Change the HDD and start fresh? Reformat existing HDD?)

P.S. Thanks for translating your website in English. Much appreciated ... though I could use more explanations on some of the issues there, like, e.g., what is the WebUI torrent config - hack supposed to achieve? (Or should I do a search on this one too?  ;D)


Title: Re: MGB111 update
Post by: Slawek on April 04, 2008, 14:39:17 PM
disconnect the hard drive, press both buttons at  turned off box. next (holding buttons)  press power on - and still hold buttons.

torrent hack: for changing torrent job limit >10 and other limits.


Title: Re: MGB111 update
Post by: Slawek on April 04, 2008, 17:14:36 PM
You are really a fast one. Thank you very much
chimbo

Today new releases (;
added iptables support - M4 with basic options (allow/deny, etc..) and M5 with full NAT/redirect.


Title: Re: MGB111 update
Post by: Aqualung on April 04, 2008, 17:53:05 PM
i don't remember if box use dhcp in recovery. try connect to the box with direct link(?)

Alright, I'll just change the damn' router settings, and change them back once done.

Thanks


Title: Re: MGB111 update
Post by: deshwasi on April 04, 2008, 21:44:27 PM
does this also work on the SMCWAPS-G? i scanned thru the wiki and this thread but didnt see any conclusive statement about this firmware being applicable to ALL compatible devices.


Title: Re: MGB111 update
Post by: Aqualung on April 05, 2008, 00:43:44 AM
Today new releases (;
added iptables support - M4 with basic options (allow/deny, etc..) and M5 with full NAT/redirect.

Flashed/installed the M5 version. Funny thing is that my WebUI login screen shows the old R4.00a9 0830 version, and looks pretty much like nothing has changed ... meaning nothing like this: http://mgb111.pradnik.net/2-in.jpg (http://mgb111.pradnik.net/2-in.jpg) or this: http://mgb111.pradnik.net/1-out.jpg (http://mgb111.pradnik.net/1-out.jpg), that is, no b2 options ... Could that be because I am using IE?

Otherwise, the telnet welcome screen shows the proper M5 version.


Title: Re: MGB111 update
Post by: ukez on April 05, 2008, 13:25:02 PM
Did anyone manage to compile any firmware with DLNA media support for the XBOX360 and PS3

The Qnap  TS-109 and TS-209 wireless storage drives both fully support it.

More info below:

http://www.olgn.net/archives/ps3-or-xbox-360-add-some-wireless-network-attached-dlna-storage

http://elinux.org/DLNA_Open_Source_Projects

http://www.linuxdevices.com/news/NS2381056192.html


Title: Re: MGB111 update
Post by: Slawek on April 05, 2008, 18:51:50 PM
Flashed/installed the M5 version. Funny thing is that my WebUI login screen shows the old R4.00a9 0830 version

WebUI shows official version.
Quote
http://mgb111.pradnik.net/2-in.jpg (http://mgb111.pradnik.net/2-in.jpg) or this: http://mgb111.pradnik.net/1-out.jpg (http://mgb111.pradnik.net/1-out.jpg), that is, no b2 options ... Could that be because I am using IE?

no, this images show (or something) preview (non public) version of my firmware. very unstable.


Title: MGB111 update
Post by: Kpu4 on April 06, 2008, 16:41:43 PM
Did anyone was able successfuly instal this firmware on Level One WAP-0008? And what pains me no less - HOW? Finding the solution will solve most problems. Many people have this device instead of AirLive, so I find this important to make guide or something on "how to instal" it to WAP-0008 also in the future. Thank you for atention.

Problem solved. Successfuly instaled Firmware update file "mgb111-update-400b2.c006m5" on WAP-0008 with a8 firmware trough WebUI.


Title: Re: MGB111 update
Post by: Slawek on April 08, 2008, 11:02:30 AM
info: new version C007 and C007-M2 with terminfo, for Midnight Commander (in addons) and other future software.
+ fixed PATH for ssh.


Title: Re: MGB111 update
Post by: chimbo on April 09, 2008, 15:25:11 PM
enable telnetd on unmodified firmware (temporary)

WebUI:
Download Assistant -> HTTP option

Job name: whatever
URL: $(telnetd)

press 'save', wait a while and clear download job in status list.
telnet to box (-;

Hi JKR
could you please tell us how did you find out THIS?
chimbo


Title: Re: MGB111 update
Post by: Slawek on April 09, 2008, 17:03:55 PM
aaaa, long time ago (-;
i find telnetd in GPL sources and testing how to execute (it?)
I searched for holes (or bugs?) in webui knowing that it is linux. such companies are never caring about security.
btw: this "hack" execute any existing command in shell.


Title: Re: MGB111 update
Post by: ToMikaa on April 09, 2008, 22:21:56 PM
Hi again!

JKR! Help me! I have a big problem. I have tried to update my box with C007M3 from C006M5 but I couldn't do it through the web UI because the my box always reset the connection. I have tried updatin via TFPT. The firmware uploading was OK but after reboot, the telnet showed me C006-M5 firmware version again... I have reset my box and now I cannot access the web UI and cannot login to telnet. What shuold I do?

Web UI: 192.168.1.5:2005 -> The connection was reset.

Telnet:

   ==========================
  [ Network Attached Storage ]
  [ AirLive WMU 6500FS [JKR] ]
   ==========================

(none) login: root <- "(none)" instead of "Airlive_Storage"
Password: <- my password
Login incorrect
(none) login: root
Password: <- original password: airlive
Login incorrect
(none) login:

TFTP:

H:\Documents and Settings\ToMikaa\Desktop\mgb111-update-400b2.c007m3>..\tftp.exe
 -i 192.168.123.254 put C007M3.BIN

WinAgents TFTP Client version 1.4 Copyright (c)2004-2007 by Tandem Systems,Ltd.
http://www.winagents.com - Software for network administrators

Transfering file C007M3.BIN to server in octet mode...
File C007M3.BIN was transferred successfully.
3657744 bytes transfered for 45 seconds, 81283 bytes/second


ToMikaa

Edit:

I've solved the problem by flashing the original fw and after the C007M3. But the flashing issue is still exists in this version. Connection reset instead of flashing. Can you check this out? Because I cannot flash new fw nor load saved settings.

And another little bug: HDD Status LED if not flashing.


Title: Re: MGB111 update
Post by: Slawek on April 10, 2008, 09:07:35 AM
hmm SOA#1
leds flashing
I checked now, loading flash 3 times, and no problems.
maybe your downloaded firmware is broken? check md5sum or re-download.
EDIT:
use tftp to original firmware, and webui to my updates. if box reset the connection then unplug hard disk and again. sometimes it is happening by the unchecked filesystem on disk,or on sata disks.


Title: Re: MGB111 update
Post by: ToMikaa on April 10, 2008, 11:57:07 AM
Thanks! I'll try it. But the status LED is still not flashing.  ??? FW MD5 is OK.


Title: Re: MGB111 update
Post by: Slawek on April 10, 2008, 13:03:12 PM
I don't know why, but me and a few asked persons led flashing ok.


Title: Re: MGB111 update
Post by: ToMikaa on April 10, 2008, 18:04:31 PM
Another problem: Shutdown button is not working. :S I think I'll try to upgrade the box without HDD via web interface.

Edit: I have successfully updated the fw without HDD. The sutdown button only works when the hard disk is not connected. It's possbile that one of the programs on my sys/bin causes this issue?

Edit2: The function keys from f6 to f12 is not working in MC so I can't close the program.


Title: Re: MGB111 update
Post by: Slawek on April 10, 2008, 18:53:28 PM
shutdown and hdd: check if "partition checking" fix this problem.
F-keys works with TERM=xterm, vt102 (default in telnet, if not set in profile) is a hmmm simple terminal. with "xterm" work mouse, f-keys and mc is in color mode (-;

to test type in console:
export TERM=xterm
and run mc again (;

BTW: with term vt102 F-keys  = ESC+digit  (F10 = ESC+0)


Title: Re: MGB111 update
Post by: ToMikaa on April 10, 2008, 19:04:10 PM
Thanks! I'll try.

Another thing: how can I configure thttpd server? Is there any conf files or something?

Edit: fsck to all partitions -> HDD Status is blinking again. Shutdown button: OK.

Edit2: it's possible to make password-protected folder shares with nfsd?


Title: Re: MGB111 update
Post by: Slawek on April 10, 2008, 20:25:17 PM
http://www.acme.com/software/thttpd/  home page of thttpd
I am using nfsd in the basic configuration so I won't help you


Title: Re: MGB111 update
Post by: ToMikaa on April 10, 2008, 20:30:52 PM
I have problems with mounting nfs file system:

root@tomikaa-pc:/home/tomikaa# mount 192.168.1.5:/mnt/C /home/tomikaa/airlive/
mount: wrong fs type, bad option, bad superblock on 192.168.1.5:/mnt/C,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

What should I do?


Title: Re: MGB111 update
Post by: Slawek on April 10, 2008, 20:54:16 PM
try
mount -o tcp -t nfs [...]


Title: Re: MGB111 update
Post by: locke85 on April 13, 2008, 12:33:46 PM
Hi JKR,

thanks to chimbo, I was able to retrieve your contacts. He adviced me to connect with you regarding a firmware add-on for my mgb111.

Currently I'm running the NAS on firmware version R4.00b2 (chimbo's latest). My goal is to run a streaming software called TwonkyMedia. The installation, however, fails due to missing libraries. Please help me get he following two files

libc.so.6
ld-linux.so.2

incorporated into the firmware (target directory: /lib/).

Thanks in advance,
locke85


Title: Re: MGB111 update
Post by: Slawek on April 13, 2008, 16:17:07 PM
I don't know the firmware from chimbo, but it is still impossible, ld-linux from another linux is incompatible around uclibc and putting him to box doesn't make any sense.
and no TwonkyMedia sources.


Title: Re: MGB111 update
Post by: Kael on April 14, 2008, 11:46:33 AM
Woaow! what a work since my first posts! I'm impressed!
unfortunaltely, i didn't managed to get full sources from amit... their rd told they cannot agree.

@ JKR : Could explain me how do u use your hack files? i also wonder if that would be possible to implement Fail2ban on the device... that seem possible, and would be great security improvement ;o)

Gonna try your firmwares and hack this evening.

Thanks for your work.


Title: Re: MGB111 update
Post by: Slawek on April 14, 2008, 12:54:10 PM
how? it was already explained on the forum and on the website.
I didn't still try to port security software


Title: Re: MGB111 update
Post by: Kael on April 14, 2008, 17:49:41 PM
oops, i didnt took time to take a look further, sorry, i'll check about your files and explanations.
I'll also try to implement fail2ban


Title: Re: MGB111 update
Post by: Aqualung on April 14, 2008, 20:29:25 PM
how? it was already explained on the forum and on the website.

All my respects fly to JKR and his firmware hacks. I have, nevertheless, been having difficulties figuring out how to use (some/most of) the files he provided. The explanations I managed to find (here, there, and everywhere) are a bit too sketchy for my taste, although I didn't dare ask for more seeing as all this comes for free... In the beginning, for example, I attempted to "install" the programs by simply unzipping the archives on my Windows computer, and then transferring the result in the "Public" folder of the Airlive box (why "Public"? not sure why, but that looked to me to be the safest choice). But that didn't work, as, it seems, they have to be unzipped using the box's Linux tar command, which blows up the archives into a structure impossible to reproduce automatically using usual Windows archiving programs (e.g. 7-Zip). At any rate, I have, in the end, managed to use some programs, although I am still at a loss when it comes to installing others.

It may be, on the other hand, that his explanations target someone with a Linux background way heftier than mine, although somehow I am beginning to suspect that even diehard Linux fanboys may find them a bit on the sketchy side.

Anyhow, many, many thanks for JKR's contribution and hacks. Keep'em coming, and keep up the good work!


Title: Re: MGB111 update
Post by: Kael on April 14, 2008, 21:02:10 PM
just updated my device with your fw : great
and your "add on" files a quiet good too

many thanks again

just one question : if i need to configure vsftpd differently do i have to kill and restart vsftpd from rc-local at boot specifying my /mnt/C/sys/etc/vsftpd.conf file? or is there another way to do this?


Title: Re: MGB111 update
Post by: Slawek on April 14, 2008, 21:09:18 PM
free/not free, no difference. I cannot explain precisely for some reason what is obvious.
im poor teacher  (; but linux is linux and it is possible to seek help in google (: sorry

kael: vsftpd config is in /var/config/vsftpd.conf (for closed source software from amit):
you must replace it with your config every restart. (with rc-local). / kill is not needed (if remember - i'm not using ftpd)


Title: Re: MGB111 update
Post by: Kael on April 14, 2008, 21:15:26 PM
about closed source binaries, i'll check again with AMIT... maybe we can finally get some more sources...


Title: Re: MGB111 update
Post by: chimbo on April 14, 2008, 23:31:50 PM

All my respects fly to JKR and his firmware hacks.
@ Aqualung
At your first posts I thought, what an impertinent person, hiding himself behind Bill Gates. He should really have kept his mouth closed. But as time went by, I don't want to miss his contributions. Not only because of increasing knowledge, but of being pleased by someone walking in the steps of Shakespeare. NO FUN!
chimbo


Title: Re: MGB111 update
Post by: locke85 on April 15, 2008, 08:46:03 AM
I don't know the firmware from chimbo, but it is still impossible, ld-linux from another linux is incompatible around uclibc and putting him to box doesn't make any sense.
and no TwonkyMedia sources.

Fair enough, JKR. Now, which alternatives do I have? Suggestions sorted by decreasing preference.

1.) Can I use any other linux-based Twonky software offered on their website (http://twonkyvision.de/Download/TwonkyMedia/TM4Technicians.html)?
2.) If that's a dead end, is there any way one can install a FSN1000 image (link: http://schuggi.de/FNS-1000/FNS1000-tbx.zip) on wgb111? Reasoning being, there is a twonky version aligned to FNS1000.
3.) Are you aware of any other streaming software being compatible to mgb111?

Thanks much, locke85


Title: Re: MGB111 update
Post by: Slawek on April 15, 2008, 09:13:49 AM
locke85: at this time you can copy to some folder different linux distr. and chroot there.
I will look what choice is in the streaming software

Quote
1.) Can I use any other linux-based Twonky software offered on their website (http://twonkyvision.de/Download/TwonkyMedia/TM4Technicians.html)?

maybe this version:
Linux x86 uclibc 0.9.28

EDIT: I compiled ushare with the xbox360 support, unfortunately without DLNA for ps3
available in addons.

Code:
$ ushare -p 50001 -c /mnt/C/pub/filmy/ -i br0 -x -t
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
Initializing UPnP subsystem ...
Starting in XboX 360 compliant profile ...
UPnP MediaServer listening on 10.100.1.71:50001
Sending UPnP advertisement for device ...
Listening for control point connections ...
Building Metadata List ...
Looking for files in content directory : /mnt/C/pub/filmy/
Found 5 files and subdirectories.


Title: Re: MGB111 update
Post by: Falcon300 on April 15, 2008, 12:56:31 PM
Hello. Sorry for my English  :)

I have the problem with torrent client (btcli ?, default). Its don't want to upload. Average upload speed is 4-5 kb/s, max 50-60 but VERY rear  >:( I have a 70-72 kb/s permanent upload speed on Windows machine with mTorrent on same ISP channel (ADSL, 5 mbit download, 768 kb upload )

I try to use ctorrent, but situation is not so better


WAP-0008 with 4.00b2-C007M2


Title: Re: MGB111 update
Post by: Slawek on April 15, 2008, 13:27:12 PM
default torrent via webui or console?
ctorrent with open port? (not the same if webui torrent)

from my webui
Code:
1.
Progress: [96.29] %, 6 peers, download from [3] [16.00 KB/s], upload to [4] [23.03 KB/s] [0.993]

2.
Seeding: uploading to [4] of [5] peers, [52.43 KB/s] [1.281]


Title: Re: MGB111 update
Post by: Falcon300 on April 15, 2008, 14:23:24 PM
Default torrent via webui on port 19500
ctorrent on port 19430-19450 (one port per one ctorrent instance)


Title: Re: MGB111 update
Post by: Slawek on April 15, 2008, 14:44:41 PM
maybe:

check traffic priority on router or something
check webui torrent config (limits)
check system load
isp filtering ports
or something


Title: Re: MGB111 update
Post by: spanish_biker on April 16, 2008, 03:25:20 AM
your driver will be totally formatted by the MGB111 as it uses ext3 filesystem, the MGB11 is a linux based device.

I'm using the R400b2 firmware and after formatting via the Web interface the file system shown is ext2. I have tried to manually create an ext3 partition as well (by using the mke2fs -j command and manually modifying the /etc/fstab from ext2 to ext3) and although the .journal file is successfully created, the partition goes back to ext2 after rebooting. I mean, the /etc/fstab is automatically reverted from ext3 to ext2 and the Web interface keeps displaying ext2.

Any idea about why this could be happening? Does your system displays ext3 in the web interface when it is working in Guest mode?

Cheers!


Title: Re: MGB111 update
Post by: Falcon300 on April 16, 2008, 05:32:36 AM
Quote
check traffic priority on router or something
check webui torrent config (limits)
check system load
isp filtering ports
or something

When I set IP address of WAP to Windows computer and listen port of WAP torrent client to mTorrent, I result an upload speed aprox 72 kb/s. It's mean what its right with router configuration, filtering port and all. Webui torrent config limits set to unlimited (-1) by you hack...

It's all very strange...

One more question: how can I change listen port on existing download jobs? When I try to change it by webui torrent config, I result 'Invalid port' on existing download jobs...



Title: Re: MGB111 update
Post by: chimbo on April 16, 2008, 08:29:36 AM
Any idea about why this could be happening? Does your system displays ext3 in the web interface when it is working in Guest mode?

There is no buildin support for ext3 fs in this firmware.

chimbo


Title: Re: MGB111 update
Post by: spanish_biker on April 16, 2008, 12:30:41 PM