himani18
Posts: 44
Joined: Fri Feb 19, 2016 4:52 pm

how to set proxy setting in rpi??

Fri Apr 08, 2016 5:14 am

I want to change proxy setting for my university..

for that i have tried the following command under the /etc/apt/apt.conf.d/ and created one file 10proxy

Code: Select all

Acquire::http::Proxy "http://admin:password@10.10.0.23:8089/";
but i am getting error: "Permission denied"

can anyone help me for this?

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: how to set proxy setting in rpi??

Fri Apr 08, 2016 5:35 am

himani18 wrote:I want to change proxy setting for my university ... but i am getting error: "Permission denied"

can anyone help me for this?
Whoa, himani. We might have an ethical (or moral) question here (or both)?

Depends who you are (at the University, employed, student) and what your authorization is... um, typically, 'permission denied' messages imply the necessity of asking for permission; violation of this general common sense policy if you're a student could result in disciplinary action including expulsion--- if you're an employee, generally speaking violating IT policy is grounds for dismissal in most circumstances (depending on intent, and forethought of malice). I hope I'm making myself clear.

If you are the administrator, well that's a horse of another color, as it were.

In general (outside of normal port forwarding techniques utilized in ssh-vnc, and openvpn) don't screw around with hacking your university's servers... its a bad plan. :evil:

On the other hand, if what you're talking about is changing the settings in your RPI to handle the proxy setup on your campus that's also ok, and a different story all-together. What are you really trying to do here? :geek:

On my daughter's campus they have an IT department with *very* strict rules and guidelines... and they are more than willing to help students get connected properly; you might be better off starting there and see what they tell you... I'm sure your university has such a department (in this day and age).
marcus
:ugeek:

LORDSANTAENGLISH
Posts: 12
Joined: Wed Apr 06, 2016 6:45 am

Re: how to set proxy setting in rpi??

Fri Apr 08, 2016 11:57 am

MarkHaysHarris777 wrote:
himani18 wrote:I want to change proxy setting for my university ... but i am getting error: "Permission denied"

can anyone help me for this?
Whoa, himani. We might have an ethical (or moral) question here (or both)?

Depends who you are (at the University, employed, student) and what your authorization is... um, typically, 'permission denied' messages imply the necessity of asking for permission; violation of this general common sense policy if you're a student could result in disciplinary action including expulsion--- if you're an employee, generally speaking violating IT policy is grounds for dismissal in most circumstances (depending on intent, and forethought of malice). I hope I'm making myself clear.

If you are the administrator, well that's a horse of another color, as it were.

In general (outside of normal port forwarding techniques utilized in ssh-vnc, and openvpn) don't screw around with hacking your university's servers... its a bad plan. :evil:

On the other hand, if what you're talking about is changing the settings in your RPI to handle the proxy setup on your campus that's also ok, and a different story all-together. What are you really trying to do here? :geek:

On my daughter's campus they have an IT department with *very* strict rules and guidelines... and they are more than willing to help students get connected properly; you might be better off starting there and see what they tell you... I'm sure your university has such a department (in this day and age).
I'm a total noob to the rpi, but I'm used to figuring out what commands do if obvious enough. If you'll notice, they also posted a code that they tried. The code specifically seems to try to tell the Pi to make use of a proxy. Not to go changing proxy settings from the proxy server itself.

I would suggest two things:
1: that they're trying to get the pi to simply use the proxy settings, and can't figure it out. I admit, I wouldn't be able to figure it out either, so I can't offer help on this.
2: that you please tell them how to do this. Yes, there are many universities willing to help students get connected, etc etc etc, however these are ran by old people, to be frank. Anything that's not a standard mac or PC is going to be beyond them, and anything like the Pi, they're going to google such an obscure machine before they try and assign some tech nerds to help, and usually administrators tend to google the worst possible thing first, something like "raspberry pi university hacking", because they're paranoid about crap like this. So they're going to be of no help whatsoever in helping this poor person connect.

I speak from experience on 2.

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: how to set proxy setting in rpi??

Sat Apr 09, 2016 10:11 am

Is that permission denied trying to save the file? Or permission denied trying to connect to the proxy?

If it's trying to save the file, run sudo nano ... rather than nano ... .
If it's connecting to the proxy then call your University's network helpdesk, tell them you're having a problem connecting your Linux system to the public internet through their proxy, ask for their help. That's their day job, that's what they are paid for.

A raspberry pi is not a hacker's tool, it's a bog-standard Linux system running on a strange processor. When it comes to connecting to a network it's no different to any other Linux (including Android and Chromebook) system.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Beginners”