문제

When i tried to set ip on usb0 interface(created due to USB gadget drivet) using ioctl in C code,it is throwing "permission denied" error.If i try to make usb0 "up" in C, it is showing "No such file or directory". Can anyone suggest me how to fix this?. Thanks in advance.

도움이 되었습니까?

해결책

I ran my code executable with super user privileges and it worked successfully.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top