(1) Got fed up with Raspbian_For_Orange_PI, cant create or use any user except default “root”.
(2) Formatted microSD card (poor card is crying due to so many formats within few days )
(3) Downloaded zipped image “OrangePI_Jessie_Xfce.img.xz (Debian 8 with XFCE Desktop)” from here:
orangepi.org/orangepibbsen/f … ad&tid=342 .
(4) Extracted img file from zipped download using 7-Zip.
(5) Burned image to microSD card.
(6) In windows desktop, opened the microSD card, deleted kernel file “uImage”, and renamed file “uImage_OPI-2” to “uImage”. Also renamed file “script.bin.OPI-PC_1080p50” to “script.bin”
(7) Inserted microSD card in OPi, and powered up the Pi.
(8) After login, expand the partition to maximum:
sudo fs_resize
reboot
After reboot:
(9) Tried to create user “pi”, success
orangepi@OrangePI:~$ sudo adduser pi
[sudo] password for orangepi:
Adding user `pi' ...
Adding new group `pi' (1001) ...
Adding new user `pi' (1001) with group `pi' ...
Creating home directory `/home/pi' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for pi
Enter the new value, or press ENTER for the default
Full Name ]:
Room Number ]:
Work Phone ]:
Home Phone ]:
Other ]:
Is the information correct? [Y/n] y
orangepi@OrangePI:~$ sudo su pi
pi@OrangePI:/home/orangepi$ cd /home/pi
pi@OrangePI:~$
Gave new user “pi” sudoer’s previlages.
orangepi@OrangePI:~$ sudo visudo
[sudo] password for orangepi:
Upon entering password, a file opened in nano
in this file, I added the line shown in red.
Then saved file (Ctrl+o) and exit (Ctrl+x).
GNU nano 2.2.6 File: /etc/sudoers.tmp
This file MUST be edited with the ‘visudo’ command as root.
Please consider adding local content in /etc/sudoers.d/ instead of
directly modifying this file.
See the man page for details on how to write a sudoers file.
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:$
Host alias specification
User alias specification
Cmnd alias specification
User privilege specification
root ALL=(ALL:ALL) ALL
pi ALL=(ALL:ALL) ALL
Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
See sudoers(5) for more information on “#include” directives:
#includedir /etc/sudoers.d
Will now try installation of dump1090-mutability, piaware data feeder, planefinder data feeder, flightradar data feeder, rrdtools/collectd.
Report outcome when finished.
.