JottaD

About

Username
JottaD
Joined
Visits
4
Last Active
Roles
Member

Comments

  • Repetier said: for some reason use pi is not member of tty. Run sudo adduser pi tty log out and log in again. Now groups should list that pi is also in tty and script should work.  Thank you I was able to install it but now I got and error…
  • pi@RepetierServer:~ $read -r -p "$1 [y/N] " response < /dev/tty-bash: /dev/tty: Permission denied pi@RepetierServer:~ $ ls -l /dev/tty crw-rw---- 1 root tty 5, 0 Apr 27 23:10 /dev/tty pi@RepetierServer:~ $ cat /etc/group | grep tty tty:x:5:repet…
  • Repetier said: This is where you get permission denied: confirm() {    if [ "$FORCE" == '-y' ]; then        true    else        read -r -p "$1 [y/N] " response < /dev/tty        if [[ $response =~ ^(yes|y|Y)$ ]]; then            true      …
  • Repetier said: Hab mir grad den code angesehen. Da stehen schon sudo drin, sollte also als use pi ausgeführt werden. wget https://get.pimoroni.com/hyperpixel4 bash ./hyperpixel4 Zeile 116 ist ein read um die Tastatur abzufragen. Möglich das …
  • This is the same pi@RepetierServer:~ $ curl https://get.pimoroni.com/hyperpixel4 | sudo bash  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed…
  • Repetier said: Did you test the new command I gave you run as pi: curl https://get.pimoroni.com/hyperpixel4 | sudo bash Yes I did and got the same message main: line 116: /dev/tty: Permission denied 
  • Repetier said: curl https://get.pimoroni.com/hyperpixel4 | sudo bash should run it as root while curl is run as pi. With sudo -i you become root. Guess curl does not like being run as root. Yes I did sudo -i and then I run the command and…
  • Repetier said: What exactly are you executing and which error do you get? When I run this command ( curl https://get.pimoroni.com/hyperpixel4 | bash ) as Pi user I get this error message - main: line 116: /dev/tty: Permission denied When …
  • Repetier said: Image is based on raspbian lite with latest updates at time of creation. There is no full raspbian image since we did not want to waste all the disk space with all the extra stuff we do not need. Try sudo -i curl https://get.p…