有一个程序需要bridge-utils。
但是 我交叉编译了Android程序。(默认为linux)
我应该使用brctl命令。
但我无法在Android上安装bridge-utils。 所以我尝试在busybox中使用brctl命令。
$ busybox brctl addbr
BusyBox v1.21.1 (2015-02-16 16:54:27 KST) multi-call binary.
Usage: brctl COMMAND [BRIDGE [INTERFACE]]
Manage ethernet bridges
Commands:
show Show a list of bridges
addbr BRIDGE Create BRIDGE
delbr BRIDGE Delete BRIDGE
addif BRIDGE IFACE Add IFACE to BRIDGE
delif BRIDGE IFACE Delete IFACE from BRIDGE
setageing BRIDGE TIME Set ageing time
setfd BRIDGE TIME Set bridge forward delay
sethello BRIDGE TIME Set hello time
setmaxage BRIDGE TIME Set max message age
setpathcost BRIDGE COST Set path cost
setportprio BRIDGE PRIO Set port priority
setbridgeprio BRIDGE PRIO Set bridge priority
stp BRIDGE [1/yes/on|0/no/off] STP on/off
并且
$ busybox brctl addbr brlan
brctl: bridge brlan : Package not installed
我需要其他文件吗?或交叉编译的bridge-utils?
谢谢!祝你有个美好的一天!
答案 0 :(得分:1)
修改了内核选项并重建 它的答案
需要内核中的桥接选项
使用#make ARCH = arm menuconfig