gpt4 book ai didi

android - busybox brctl : Package not installed

转载 作者:行者123 更新时间:2023-11-30 00:08:26 28 4
gpt4 key购买 nike

有一个程序需要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?

谢谢!祝你有美好的一天!

最佳答案

修改内核选项并重建这是答案

需要内核中的桥接选项

使用#make ARCH=arm menuconfig

关于android - busybox brctl : Package not installed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48575986/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com