• Announcements

    • PaulOBrien

      Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance) CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission) ROMs must give full credit to the original author ISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • PaulOBrien

      Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
freeasabeer

linux tools coming to MCR

216 posts in this topic

Cool. I'll give it a try tomorrow. Do you mind sharing what you did To bb?

Perhaps we should just put Googles nameservers (8.8.8.8 and 8.8.4.4) into resolv.conf.

Good night

Niki

Bit of a silly question, I believe, but if you put those nameservers into resolv.conf, would that make the phone use them for 'normal' browsing etc, over 3G connection? I have been wanting to do this for a while, as T-Mobile's are a bit sluggish, but not as bad recently. I found other DNS servers (like google) I can ping a lot faster than theirs.

If so, do I just need to pop in the modified busybox that reads the resolv.conf file?

If not, any ideas about how to 'setprop' them and then 'force' them to not be changed by DHCP. I can get them temporarily, but they change back if the connection drops even momentarily :)

Cheers

Edited by pulser
0

Share this post


Link to post
Share on other sites

No, not at all. Busybox world and android applications world are 2 separate worlds.

0

Share this post


Link to post
Share on other sites
No, not at all. Busybox world and android applications world are 2 separate worlds.

I suspected that :)

I'm trying to figure out where in the Android/Linux system the actual 3G connection takes place, and if there are any scripts used to make the connection. Any ideas if there is anything in Linux that would be making the connection (I'm guessing something to do with /dev/rmnet0)

Thanks for confirming though.

0

Share this post


Link to post
Share on other sites
I've updated this post with my resolv.conf friendly busybox. I realize now I didn't uploaded it at the time of writing the post.

It also includes latest lscolors and crond config updates from Paul.

Works like a charm over here. What did you do?

Thanks

niki

0

Share this post


Link to post
Share on other sites

You won't believe me: I just made sure that libresolv gets linked in while building the static binary  :)

0

Share this post


Link to post
Share on other sites

Worth putting your busybox in the first post too?

P

0

Share this post


Link to post
Share on other sites
You won't believe me: I just made sure that libresolv gets linked in while building the static binary :)

Ahhh I see, three deep bows in your direction. :)

Paul, may we have this bb in 3.2, please?

Regards

Niki

0

Share this post


Link to post
Share on other sites
Worth putting your busybox in the first post too?

Yes, just done. If things go on like this, I will soon run out of upload  space... :)

0

Share this post


Link to post
Share on other sites

This will find all configured nameservers:

getprop | grep dns | sed -n -e 's/\[.*\]: \[\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\)\]/nameserver \1/ p' | sort -u

0

Share this post


Link to post
Share on other sites
If somebody needs it, I compiled for myself at the beginning of my android experience :) nmap, netcat, joe, hts/htc, kismet, aircrack, wireless-tools,gpsd.. as static compiled binaries. For all the non daily use stuff I'm using debian in a chroot environment (bootdeb) much more flexible.

Cool nifty linux apps, please share

0

Share this post


Link to post
Share on other sites
Ahhh I see, three deep bows in your direction. :)

Paul, may we have this bb in 3.2, please?

Regards

Niki

I'm refreshing the 3.2 Beta today or tomorrow so yes, i'll add it in! :)

P

0

Share this post


Link to post
Share on other sites
yes, i'll add it in! :)

yay!

great news.

0

Share this post


Link to post
Share on other sites
i'll add it in! :)

I'm gonna have a beer to celebrate this tongue.gif

0

Share this post


Link to post
Share on other sites

screen has been updated ! See changelog in the second post of this topic.

I've seen a nasty bug in mc that lead to a crash. I hope to be able to quickly provide a fix for this.

Edited by freeasabeer
0

Share this post


Link to post
Share on other sites
screen has been updated ! See changelog in the second post of this topic.

I've seen a nasty bug in mc that lead to a crash. I hope to be able to quickly provide a fix for this.

Thanks for the update chief

0

Share this post


Link to post
Share on other sites

freeasbeer's busybox is now included in the Beta releases of MCR for Hero and Pulse (Nexus One coming soon).

Thanks freeasbeer! :)

P

0

Share this post


Link to post
Share on other sites

You're welcome :)

0

Share this post


Link to post
Share on other sites

can somebody compile HTOP for me? or give me a how-to?

0

Share this post


Link to post
Share on other sites

You can find htop in the first post of this topic... However I couldn't use the Fn keys...

0

Share this post


Link to post
Share on other sites
However I couldn't use the Fn keys...

you could remap them?

0

Share this post


Link to post
Share on other sites
You can find htop in the first post of this topic... However I couldn't use the Fn keys...

One can use Capital S to reach menu, but there is little one can do

Space bar to select or deselect

q -> to save

included htoprc.txt file which should be renamed .htoprc and also should be located wherever the $HOME is set to

it will display PID,USER,CPU%,MEM%,COMMAND

htoprc.txt

0

Share this post


Link to post
Share on other sites
...these linux tools are mainly intended for geeks that like top play with the internals of their Hero from a shell (either adb shell, ssh connection, or a terminal application). Regular users won't find any benefit by installing these tools: they won't make their hero faster or work better, they will just increase the ROM memory consumption.

...

Here is pstree, you can add to the list

pstree.zip

Edited by heyodee
0

Share this post


Link to post
Share on other sites
One can use Capital S to reach menu, but there is little one can do

Space bar to select or deselect

q -> to save

included htoprc.txt file which should be renamed .htoprc and also should be located wherever the $HOME is set to

it will display PID,USER,CPU%,MEM%,COMMAND

Cyanogen include htop in Nexus1 CM. Someone can check if keys are remapped?

http://forum.xda-developers.com/showthread.php?t=623496

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.