macsat.com OpenWrt and ASUS WL Forum
December 05, 2008, 14:07:21 PM *
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 ... 24 25 [26] 27 28 ... 30   Go Down
  Print  
Author Topic: MGB111 update  (Read 65626 times)
0 Members and 1 Guest are viewing this topic.
malocher
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #375 on: June 08, 2008, 17:52:51 PM »

Hello from Germany  Smiley

Please Help,my download/upload with bittorent client from MG111 ist slow - down 30kb/up 0,10kb  ??
My Firmware is WC009-M2 Advanced.
Open Ports in My Router ?
 
Logged
filodej
Newbie
*
Offline Offline

Posts: 13


View Profile WWW
« Reply #376 on: June 09, 2008, 01:59:35 AM »

it seems to me that Deluge is implemented in C++ (not in C), it depends on the Boost library; and as such it needs to be compiled against C++ libraries (like uClibc++ http://cxx.uclibc.org - C++ counterpart of uClibc). Others, please, correct me if I am wrong...

Isn't Enhanced CTorrent implemented in C++ as well? (Btw, there's a new version out there...)


@Aqualung: I was wrong, as far as I know now there is no need for cxx.uclibc build system. There are already c++ libraries available for the box (libstdc++ - not sure what the JoKeR's package contains it). The much bigger problem is that the 0.5 versions do not support daemon mode (without GUI). As a test I tried to build it and was successful (I had to build the boost library first). The problem is that due to the GUI it has much more runtime dependencies (like pygtk -> GTK+ -> libcairo -> X window system). In my opinion to build X window development environment and run it with remote X server (e.g. Xming for windows) is quite a challenge ;-) Another alternative is to try an in-development 0.6 branch - but it is currently not very stable.

BTW
I'd like to let you know that now I am working on a web page containing all the packages I have managed to build so far along with a short description of the build process for those who are trying the same. Packages are rather developer oriented (subversion, git, cvstrac, ...). The pages are still under construction but I hope it contain some valid info as it is now.
Just now I am not sure about the definitive place for the page(s) - currently it has just a form of blog (URI placed at the bottom of the post).
If someone knows about a good free web hosting with FTP access and no (or reasonable level of) adverts, please, let me know.
« Last Edit: June 09, 2008, 08:55:16 AM by filodej » Logged

Filodej's Linux groping:
http://filodej.blogspot.com/
ukez
Newbie
*
Offline Offline

Posts: 27


View Profile
« Reply #377 on: June 09, 2008, 07:18:55 AM »

Hello from Germany  Smiley

Please Help,my download/upload with bittorent client from MG111 ist slow - down 30kb/up 0,10kb  ??
My Firmware is WC009-M2 Advanced.
Open Ports in My Router ?
 


If you find out how to resolve this can you let me know, as i am having the same problem.
Logged

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

Posts: 27


View Profile
« Reply #378 on: June 09, 2008, 09:51:32 AM »

Hello guys, I've got a few questions for those who know the answers.

I've just installed this script on to my mgb111 device (httpd-2.2.8-php5-cgi-ssl.tar.gz), its one of the www.server addon's from http://mgb111.pradnik.net/ website.

The software supports apache2.2 WWW server, with PHP5, CGI, SSL, rewite, proxy, etc.

I've used apache on a pc before but never on a mgb111 device, so can anyone give me some advice on how to set this software up


If i telnet into my device and run (Pear) i get this :

(quote)


   ==========================
  [ Network Attached Storage ]
  [    Linux 2.4.28 [JKR]    ]
   ==========================

Net_Storage login: root
Password:

  [   FW 4.00b4.C009-M2[NG]    ]
  [ http://mgb111.pradnik.net/ ]

$
Commands:
build                  Build an Extension From C Source
bundle                 Unpacks a Pecl Package
channel-add            Add a Channel
channel-alias          Specify an alias to a channel name
channel-delete         Remove a Channel From the List
channel-discover       Initialize a Channel from its server
channel-info           Retrieve Information on a Channel
channel-update         Update an Existing Channel
clear-cache            Clear Web Services Cache
config-create          Create a Default configuration file
config-get             Show One Setting
config-help            Show Information About Setting
config-set             Change Setting
config-show            Show All Settings
convert                Convert a package.xml 1.0 to package.xml 2.0 format
cvsdiff                Run a "cvs diff" for all files in a package
cvstag                 Set CVS Release Tag
download               Download Package
download-all           Downloads each available package from the default c
info                   Display information about a package
install                Install Package
list                   List Installed Packages In The Default Channel
list-all               List All Packages
list-channels          List Available Channels
list-files             List Files In Installed Package
list-upgrades          List Available Upgrades
login                  Connects and authenticates to remote server
logout                 Logs out from the remote server
makerpm                Builds an RPM spec file from a PEAR package
package                Build Package
package-dependencies   Show package dependencies
package-validate       Validate Package Consistency
pickle                 Build PECL Package
remote-info            Information About Remote Packages
remote-list            List Remote Packages
run-scripts            Run Post-Install Scripts bundled with a package
run-tests              Run Regression Tests
search                 Search remote package database
shell-test             Shell Script Test
sign                   Sign a package distribution file
uninstall              Un-install Package
update-channels        Update the Channel List
upgrade                Upgrade Package
upgrade-all            Upgrade All Packages
Usage: pear [options] command [command-options] <parameters>
Type "pear help options" to list all options.
Type "pear help shortcuts" to list all command shortcuts.
Type "pear help <command>" to get the help for the specified command.
$


Is Pear the correct file to run?

Anyone got any idea how i can set this device up properly please.

Also should i still install my website files in C\sys\apache22\htdocs as i would when using it on a PC
Logged

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

Posts: 36


View Profile WWW
« Reply #379 on: June 09, 2008, 10:26:21 AM »

I've just installed this script on to my mgb111 device (httpd-2.2.8-php5-cgi-ssl.tar.gz)

Anyone got any idea how i can set this device up properly please.

install,
edit /mnt/C/sys/apache22/conf/httpd.conf,
run /mnt/C/sys/apache22/bin/httpd,
if work, edit startup scripts
Logged

[ http://mgb111.pradnik.net/ ] [ Final version: C009-M2] [ for 4.00b4 ] [ read env-ng.txt ] [ Changelog ]
Deciman
Newbie
*
Offline Offline

Posts: 15


View Profile
« Reply #380 on: June 10, 2008, 23:20:53 PM »


PS: I there a way to add users [...] boot resistant?
I use 'rc-local' to create them each startup now.

webUI: Storage Configuration->Access Control->user configuration

May work, but not for me.....
I've setup the entire HDD as one drive and already copied 200GB of data (with a really lousy speed)
Creating new users that way means creating new partitions and copy all he data again....
I won't do that if I can avoid it anyway *g*

What I want is: Mount several directories as drives on several windows pc's (and not only one directory on a pc)
Tried before: The way you suggested.... Works only half the way it should... Only ONE directory can be mounted at the same time.

Now I think about a solution.
And I found 2 different smb.conf files
One on my HDD and one created by my airlive.
Editing the file on my HDD (/mnt/C/sys/ect/smb.conf) shows no changes (I think it isn't used)
Editing the one creatied by my airlive shows no changes, too (after reboot it's created new by my airlive I think)

So how can I tell my airlive to use the smb.conf on my HDD??? Is here a way?Huh
And I guess, I have to do the same with he smb.passwd file...

Tnx, Deci

BTW: 'rm $MLDONKEY_DIR/mlnet.pid' added in 'rc-local' before starting mldonkey fixed my problems after rebooting my airlive. Now mldonkey starts even after power failures or 'reboot'...
Logged
JoKeR
Newbie
*
Offline Offline

Posts: 36


View Profile WWW
« Reply #381 on: June 11, 2008, 08:32:32 AM »

May work, but not for me.....
I've setup the entire HDD as one drive and already copied 200GB of data (with a really lousy speed)

Partition magic on desktop pc.

Quote
So how can I tell my airlive to use the smb.conf on my HDD??? Is here a way?Huh
And I guess, I have to do the same with he smb.passwd file...

copy your smb configs from hdd to /var/config/samba/ with rc-local
(restart of smb is not nedeed)
Logged

[ http://mgb111.pradnik.net/ ] [ Final version: C009-M2] [ for 4.00b4 ] [ read env-ng.txt ] [ Changelog ]
Deciman
Newbie
*
Offline Offline

Posts: 15


View Profile
« Reply #382 on: June 11, 2008, 23:59:27 PM »

you can use htpasswd (from apache) to generating the passwords and write result to startup scripts.
what encryption setting is used to get correct hash???

Tnx,  Deci
Logged
Deciman
Newbie
*
Offline Offline

Posts: 15


View Profile
« Reply #383 on: June 13, 2008, 21:16:47 PM »

May work, but not for me.....
I've setup the entire HDD as one drive and already copied 200GB of data (with a really lousy speed)

Partition magic on desktop pc.

I've tried....
Now I've got 2 partitions both shown in storage control
Code:
  Partition Free(MB) Used(MB) Total(MB)
  Public Directory  105751  314355  420106
 Private Directory  49162  51  49213     

But trying to add users shows an error....
'The disk has no private directory.
If you want to add an user, create a private directory first.'

Code:
Partition Partition Size(MB) Change Size(MB)
Public 426805 
Private 49999 
 
     
*Warning!! Change the disk partition will cause disk data lose. 

So what now?
I don't wanna use fdisk and copy all my data to a different disk before and back afterwards....
And I also don't wanna loose my data... *g*

Any idea???

Deci
Logged
Deciman
Newbie
*
Offline Offline

Posts: 15


View Profile
« Reply #384 on: June 14, 2008, 09:58:19 AM »

I's getting even stranger.....

I've tried to use fdisk utility via web ui.
Changed size of private dir and aknowledged data loss.

formating.....
an error ocured: devive is busy

I cannot format anyway. neither partition magic (pc) nor web ui

Deci
Logged
filodej
Newbie
*
Offline Offline

Posts: 13


View Profile WWW
« Reply #385 on: June 14, 2008, 11:23:25 AM »

formating.....
an error ocured: devive is busy
I have experienced the same. It seems some process uses the drive (holds some file handles or so). I tried to kill smbd and some other processes, but It did not help.

There is lsof command meaning "list open files" on many systems but unfortunately it is part of neither busybox nor busybox2.

Nevertheless after rebooting the box the problem was gone in my case.

Update: I have built the lsof utility, you can download it here

You can use it as follows:
# lsof | grep mnt/C


Regards.
« Last Edit: June 14, 2008, 18:01:09 PM by filodej » Logged

Filodej's Linux groping:
http://filodej.blogspot.com/
Deciman
Newbie
*
Offline Offline

Posts: 15


View Profile
« Reply #386 on: June 14, 2008, 21:51:21 PM »

There is lsof command meaning "list open files" on many systems but unfortunately it is part of neither busybox nor busybox2.

Nevertheless after rebooting the box the problem was gone in my case.

Update: I have built the lsof utility, you can download it here

You can use it as follows:
# lsof | grep mnt/C


Regards.

Tnx alot.
Your tool shws me lot of open files on the HDD.
So I guess, I've to go the long way (recovery mode, reinstall B4, update to c900m2 and pray, that my files are still there...)
Or the even longer mode (reformat entire HDD with my pc and start from the very beginning...)

Deci
Logged
filodej
Newbie
*
Offline Offline

Posts: 13


View Profile WWW
« Reply #387 on: June 16, 2008, 01:30:09 AM »

Hello all,
Just for fun I am trying to build the X Window System for the device. Nothing ground-breaking so far but I have some progress. If you are interested how it looks for now, you can look here.

Regards.
Logged

Filodej's Linux groping:
http://filodej.blogspot.com/
Dynia
Newbie
*
Offline Offline

Posts: 19


View Profile
« Reply #388 on: June 16, 2008, 14:25:19 PM »

Filodej
X-window running on the box is really funny, but nothing more probably. It would be great if we could attach some screen to the device and keybord support. Do you think it is possible and worth doing?
Logged
Dynia
Newbie
*
Offline Offline

Posts: 19


View Profile
« Reply #389 on: June 16, 2008, 14:31:40 PM »

Filodej
Just checked your blog - it`s really nice and will be helpfull for me. thank you for your time and work on that.
Regards, Dynia.
Logged
Pages: 1 ... 24 25 [26] 27 28 ... 30   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.116 seconds with 24 queries.