Raspberry Pi Proxy Problem

  • 1
  • Problem
  • Updated 4 years ago
  • Not a Problem
Hi,
i installed rise player on my pi in my home network. Whenever I connect the Pi at school, a proxy is required. When I'm trying to set up the pi with the settings from this post there is an issue on phasing the visudo and no sudo commands work any more. Can you help me?
Photo of markb

markb

  • 100 Points 100 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
If you try to run a sudo command, do you get an error?
Photo of markb

markb

  • 100 Points 100 badge 2x thumb
When i'am typing a sudo command it returns:
sudo: parse error in /etc/sudoers near line 12 -> which is "Defaults env_keep+=”http_proxy https_proxy no_proxy”

sudo: no valid sudoers sources found, quitting

sudo: unable to initialize policy plugin

Photo of Neal

Neal

  • 61,252 Points 50k badge 2x thumb
It sounds like a corrupt file.

If you go through the suggestions here, does it correct the issue for you?
Photo of markb

markb

  • 100 Points 100 badge 2x thumb
I will try this later on but when i reinstall raspbian, I even get the same error
Photo of markb

markb

  • 100 Points 100 badge 2x thumb
I solved the sudo problem, but the rise player on my Raspberry Pi still not work behind the proxy server at school. I followed the tutorial at http://www.risevision.com/display-firewall-and-proxy-settings/ for the pi but the player does not use this settings to connect to the internet. When i connect the pi with the player to a network without any proxy it still works even when a proxy is set in /etc/environment. Should i set first the proxy settings and than install the rise player on my Raspberry Pi? 
Sorry for my bad english.