everybody, I using busybox 1.2.1 as my shell in embedded linux runing on Xilinx Zynq ARM Cortex x2.Any command that busybox support is ok but "ip".In busybox, I tried "ip",it shows that:
BusyBox v1.21.1 (2013-08-15 15:21:48 CST) multi-call binary.
Usage: ip [OPTIONS] {address | route | link | tunnel | rule} {COMMAND}
ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | tunnel | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }
Then I try to use "ip" to configure "can0"(Controller Area Network device),the fully command shows below:
ip link set can0 type can bitrate 125000
This command is ok in my desktop Linux,but busybox says that:
ip: either "dev" is duplicate, or "type" is garbage
So I'm confused.I need this command to configure my "can0",could anybody help me solve this promblem? Thanks very much!
http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver In this site they have mentioned to rebuild busybox for the ip command for the error you are receiving.
Thanks & Regards,
Alok Thaker