macsat.com OpenWrt and ASUS WL Forum
October 14, 2008, 13:10:41 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 ... 16 17 [18] 19 20 ... 30   Go Down
  Print  
Author Topic: MGB111 update  (Read 50041 times)
0 Members and 4 Guests are viewing this topic.
spanish_biker
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #255 on: May 06, 2008, 03:48:28 AM »

Have you checked your CPU/memory usage?

Chimbo, another question. Besides cpu/memory usage. What is the download speed you achieve with your torrents? I'm still not passing from 30KB/s (maximum!!), with an average of ... 5 or 10KB/s Sad
Logged
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #256 on: May 06, 2008, 08:44:30 AM »

Have you checked your CPU/memory usage?

Chimbo, another question. Besides cpu/memory usage. What is the download speed you achieve with your torrents? I'm still not passing from 30KB/s (maximum!!), with an average of ... 5 or 10KB/s Sad
It's the same with me. But when I run my two boxes in parallel, I get twice this rate. Memory usage is approximately the same as yours, cpu load much less. I didn't care too much about this cause I'm not that big downloader. Did you already try to play with down/upload speed configuration?
chimbo
Logged
Aqualung
Newbie
*
Offline Offline

Posts: 40



View Profile
« Reply #257 on: May 06, 2008, 13:35:35 PM »

I use Dropbear http://mgb111.pradnik.net/addons/dropbear-ssh-sshd-050.3.tgz
download in /mnt/C and extract
then change directory to /mnt/C/sys/etc
and run
dropbearkey -t rsa -f dropbear_rsa_host_key
wait to create the key
then run
dropbear
ssh server is now running
use putty to conect using ssh

I use this method, if exist other, please correct me  if I´m wrong Grin

Thanks, I got it running w/no problems. Now I have to figure out how to get Dropbear to start automatically--that is without my having to fire it up manually every time I reboot the box. What I am, hence, looking for is the Linux equivalent of the Startup folder in Windows. This is, as a matter of fact, a general problem that is in no way specific to Dropbear: how would I be running a program automatically at startup or, even better, as a service (I believe it's daemon in Linux lingo, right?)?

Now, I didn't bother scouring the Linux manuals in search of this info just because it may be that setting this up in an embedded Linux environment like my/our Airlive box may be quite different than setting it up on a normal Linux desktop PC. (If it ain't, I'd appreciate your simply posting a link--no need to start explaining it here from scratch.)

Finally, I don't suppose any of the Linux aficionados reading this forum have given some thought to compiling Deluge for the Airlive device, have they?
« Last Edit: May 06, 2008, 13:49:03 PM by Aqualung » Logged
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #258 on: May 06, 2008, 13:44:50 PM »

I'd really like a htop and a mpd binary.  Grin
I know it's not htop. Did not manage to compile it until now. But meanwhile you could use atop from here

http://mgb111.pradnik.net/addons/soft-system/atop-1.23.tar

If it complains about missing libz, this is included in this tar

http://mgb111.pradnik.net/addons/uclibc-basic.tar.bz2

chimbo
Logged
Muzzy
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #259 on: May 06, 2008, 14:04:52 PM »


If it complains about missing libz, this is included in this tar

http://mgb111.pradnik.net/addons/uclibc-basic.tar.bz2

chimbo
better way is download this: http://mgb111.pradnik.net/addons/libs-essential-20080502.tar.bz2
Logged
cypresstwist
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #260 on: May 06, 2008, 15:15:51 PM »

Wow, thanks.  Grin Now if i could only find a way to get an MPD daemon on my Airlive...
Logged
Muzzy
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #261 on: May 06, 2008, 15:27:50 PM »

What I am, hence, looking for is the Linux equivalent of the Startup folder in Windows. This is, as a matter of fact, a general problem that is in no way specific to Dropbear: how would I be running a program automatically at startup or, even better, as a service (I believe it's daemon in Linux lingo, right?)?
dropbear is a daemon, always.
http://mgb111.pradnik.net/addons/rc-local.example.txt
« Last Edit: May 06, 2008, 16:17:22 PM by Muzzy » Logged
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #262 on: May 06, 2008, 15:33:48 PM »

Did you already look for libz in this tar?
chimbo
Logged
Muzzy
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #263 on: May 06, 2008, 15:52:00 PM »

libz is in flash image. duplicating is not needed.
Code:
[root@nas C]# l /lib/libz.*
lrwxrwxrwx    1 root     root           13 Apr  4 11:39 /lib/libz.so.1 -> libz.so.1.2.2
-rw-r--r--    1 root     root        57976 Mar 23 16:53 /lib/libz.so.1.2.2
« Last Edit: May 06, 2008, 18:07:41 PM by Muzzy » Logged
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #264 on: May 06, 2008, 18:32:59 PM »

Quote
I´m newbie in this things, i try to learn

but google did close?

-A append
-D delete

http://www.google.pl/search?q=iptables+howto

and i am removing my profile.
Hi Slawek,
why don't you come back to us. If some people are bothering you, why not ignore them? I would really like to know which environment you are using, to compile all these binaries. Is it really uclibc?
chimbo
Logged
JoKeR
Newbie
*
Offline Offline

Posts: 35


View Profile WWW
« Reply #265 on: May 06, 2008, 20:22:40 PM »

yes, i compile software in uclibc - native. And everyone may use  basic env "uclibc-basic.tar.bz2" (unarchived on other linux, and chrooted) to compile software, and libraries if neeeded (not firmware). Or may build bootable linux with this.
« Last Edit: May 06, 2008, 20:25:00 PM by JoKeR » Logged

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

Posts: 43


View Profile
« Reply #266 on: May 06, 2008, 22:06:48 PM »

yes, i compile software in uclibc - native. And everyone may use  basic env "uclibc-basic.tar.bz2" (unarchived on other linux, and chrooted) to compile software, and libraries if neeeded (not firmware). Or may build bootable linux with this.
Thank you JoKeR,
really nice to have you back Grin
chimbo
Logged
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #267 on: May 06, 2008, 22:09:27 PM »

libz is in flash image. duplicating is not needed.
Code:
[root@nas C]# l /lib/libz.*
lrwxrwxrwx    1 root     root           13 Apr  4 11:39 /lib/libz.so.1 -> libz.so.1.2.2
-rw-r--r--    1 root     root        57976 Mar 23 16:53 /lib/libz.so.1.2.2
Ok! Just a word to explain: I tried this with my mbg100, which has no libz in /lib
chimbo
Logged
Aqualung
Newbie
*
Offline Offline

Posts: 40



View Profile
« Reply #268 on: May 06, 2008, 22:20:17 PM »

Thank you JoKeR,
really nice to have you back Grin
chimbo

Alright chimbo, now that you know how to do it  Wink , why don't you please take a stab at compiling Deluge please  Cheesy

Many thanks in advance...
Logged
filodej
Newbie
*
Offline Offline

Posts: 11


View Profile WWW
« Reply #269 on: May 06, 2008, 23:49:27 PM »

Hi,
I can confirm that with the uclibc-basic.tar.bz2 environment the native build is relatively easy (even for me with limited linux knowledge). Prior that I tried to build the uclibc environment on my own (with JoKeR's buildsystem config file), but now - with all these pre-built essential libs it is much simpler, co thanx for the bonus JoKeR ;-)

I have just almost-succesfully compiled the subversion 1.4.6 (along with swig-1.3.27 for svn python bindings) and mod_python 3.3.1 for Apache. Almost succesfully means that although the svnserve is up and running, the svn client builds ok, but has some problem with locales, loader writes "svn: can't resolve symbol '__ctype_tolower'" during the launch. Disabling the locales support in svn (--disable-nls) did not solve the problem. I have found some workarounds on web (based on renaming the __ctype_* symbols family to __ctype_*_loc) though was not successful at that. I do not actually need the svn client on the box but am still wondering what I am doing wrong.

For the deployment of built binaries, I currently parametrize the configure script with --prefix pointing to /mnt/C/sys and then gzipping all the files based on its date/time, but it seems to me little bit error prone (for example in case the make install made some changes outside the sys directory).

So I'd like to ask:
1) Did anybody (namely JoKeR) encounter such problem with symbols and if so, do you know a solution?
2) How do you automate the deployment? Is there a more elegant way to do that? (possibly directly from the configure/make)

Thanks in advance.
« Last Edit: May 07, 2008, 00:36:37 AM by filodej » Logged

Filodej's Linux groping:
http://filodej.blogspot.com/
Pages: 1 ... 16 17 [18] 19 20 ... 30   Go Up
  Print  
 
Jump to:  

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