freeasabeer

linux tools coming to MCR

Recommended Posts

pulser    0
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

Share this post


Link to post
Share on other sites
pulser    0
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.

Share this post


Link to post
Share on other sites
Loxley    0
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

Share this post


Link to post
Share on other sites
Loxley    0
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

Share this post


Link to post
Share on other sites
freeasabeer    0
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... :)

Share this post


Link to post
Share on other sites
Loxley    0

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

Share this post


Link to post
Share on other sites
heyodee    0
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

Share this post


Link to post
Share on other sites
PaulOBrien    1,449
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

Share this post


Link to post
Share on other sites
freeasabeer    0

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

Share this post


Link to post
Share on other sites
heyodee    0
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

Share this post


Link to post
Share on other sites
PaulOBrien    1,449

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

Thanks freeasbeer! :)

P

Share this post


Link to post
Share on other sites
heyodee    0
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

Share this post


Link to post
Share on other sites
heyodee    0
...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

Share this post


Link to post
Share on other sites
intronauta    0
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

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.