简体   繁体   English

BusyBox帮助,ip命令

[英]BusyBox Help, ip Command

I'm using a Google phone running Android, and I need to figure out how to use the terminal's 'ip' command. 我正在使用运行Android的Google手机,我需要弄清楚如何使用终端的'ip'命令。

I found out that Android uses BusyBox in its terminal, but I can't find any help or tutorials or any information regarding it other than the basic information given in the terminal help. 我发现Android在其终端中使用BusyBox,但除了终端帮助中给出的基本信息之外,我找不到任何帮助或教程或有关它的任何信息。 Can anyone point me to a site that would give me more information on how to use the commands, or tell me how to use the 'ip' command if you are familiar with it? 任何人都可以指向一个网站,它可以提供有关如何使用命令的更多信息,或者如果您熟悉它,请告诉我如何使用'ip'命令?

Thanks. 谢谢。

Here is the BusyBox usage information, for starters, and here is a full Linux man page. 是BusyBox的使用信息,对于初学者来说, 是一个完整的Linux手册页。 Note that the BusyBox implementation can be expected to be "bare bones", ie not as fully featured. 请注意,BusyBox实现可能是“裸骨”,即不完整。

Busy box is just an implementation of the standard Unix command line utilities any man page on ip will work. 繁忙的盒子只是标准Unix命令行实用程序的一个实现,ip上的任何手册页都可以工作。 You should be able to google man ip. 你应该能够google man ip。 Also busybox's website has a full manual for what it supports. busybox的网站也提供了完整的支持手册。

ip command does not seem to be available on the phone, and the device does not use BusyBox (it does use toolbox for commands such as cat , chmod , etc though). ip命令似乎在手机上不可用,并且设备不使用BusyBox(它确实使用工具箱来执行catchmod等命令)。

Depending on what you are trying to achieve, you may consider using route , netcfg or ifconfig . 根据您要实现的目标,您可以考虑使用routenetcfgifconfig

This answer applies to the official Cupcake branch of Android OS and Google Android Dev Phone 1. 这个答案适用于Android OS官方Cupcake分支和Google Android Dev Phone 1。

If you are running some custom distribution, then regular Linux ip command from BusyBox may apply. 如果您正在运行某些自定义分发,则可以应用来自BusyBox的常规Linux ip命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM