macsat.com OpenWrt and ASUS WL Forum
January 09, 2009, 03:41:22 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: 1 ... 4 5 [6] 7 8 ... 32   Go Down
  Print  
Author Topic: MGB111 update  (Read 73855 times)
0 Members and 2 Guests are viewing this topic.
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #75 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...
Logged
olifre
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #76 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 Tongue...
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.
« Last Edit: March 03, 2008, 19:06:03 PM by olifre » Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #77 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 ^^
« Last Edit: March 03, 2008, 21:15:41 PM by Kael » Logged
olifre
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #78 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
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 ^^.
Logged
ukez
Newbie
*
Offline Offline

Posts: 27


View Profile
« Reply #79 on: March 05, 2008, 07:09:29 AM »

Kael, did you get my email last night?
Logged

Is a member of the MGB111 syndicate
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #80 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
Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #81 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.
« Last Edit: March 06, 2008, 21:16:48 PM by Kael » Logged
schufti
Full Member
***
Offline Offline

Posts: 199



View Profile
« Reply #82 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
Logged

I won't answer posts or PMs about repair/recovery after bad flash until proven that the wiki was read and followed!
find all my MGB100 files here, pass: mgb100
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #83 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.
Logged
olifre
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #84 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.
Logged
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #85 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
« Last Edit: March 11, 2008, 19:48:20 PM by chimbo » Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #86 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.
Logged
olifre
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #87 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
Logged
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #88 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
Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #89 on: March 08, 2008, 14:05:48 PM »

ho i see, i wish i knew how to do this... ;o)
Logged
Pages: 1 ... 4 5 [6] 7 8 ... 32   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.104 seconds with 25 queries.