xwalter Posted May 29, 2016 Posted May 29, 2016 hello everyone ! How to get totally permission in /root folder of my orangepiplus2 under armbian? I have already set sudo su ----pass ok I'm installing WiringOP and I have to go inside /root Using psw I know the path that is /root/WiringOP Then I type chmod +x /.build and then /.build but I don't have permission . Opening the file system I see the "X" over the root folder Could I have the totally control of armbian ? Thanks !
wildcat_paris Posted May 29, 2016 Posted May 29, 2016 @xwalter Please can you give us more details? your are trying to compile a program "WiringOP" from source tar.gz ? or from source like git clone https://github.com/zhaolei/WiringOP.git -b h3 the help is here: https://github.com/zhaolei/WiringOP/blob/h3/README.md or is it https://www.npmjs.com/package/wiring-opwith npm command for nodejs, you need sudo apt-get install npm if you want to be root all the time sudo -s you don't need to put the source in /root your $HOME is just fine
xwalter Posted May 29, 2016 Author Posted May 29, 2016 I moved WiringOP from root to home/myfolder , give permission and install by using sh build.sh it seems work , the command gpio readall shows me the table with calues of pins I'm trying also to install python-dev to manage the gpio in python but the original pack tells me to mode in orange_PC_gpio_pyH3 but it doesn't exists . I try also to change in gpio_orangepiplus2 blablabla but nothing Do you have some link for python gpio ? thanks Walter
xwalter Posted May 29, 2016 Author Posted May 29, 2016 hi widcat , I have installed the WiringOP typing git clone https://github.com/zhaolei/WiringOP.git -b h3 At the moment the gpio for C/C++ seems to work , just I want to start e new project in netbeans 8.1 and link to these .h header libraries 1
Recommended Posts