Netbooks, PDA and Phones Thread, EeePC System Proxy Intructions Needed in Technical; Can someone write me a quick set of instructions on how to set the system proxy setting (not the Internet ...
15th May 2008, 10:53 AM #1
EeePC System Proxy Intructions Needed
Can someone write me a quick set of instructions on how to set the system proxy setting (not the Internet proxy in Firefox!) using the terminal (ctrl-alt-t) as we need to let school staff know how to do this to allow them to install software and updates etc.
Or a script may be better, but we would still need instructions on how to run it etc.
15th May 2008, 11:00 AM #2
15th May 2008, 11:12 AM #3
Possibly. I'll try it in a bit.
15th May 2008, 11:27 AM #4
OK. I'm a Linux dummy. Where and how do you set it. A simple line of text doesn't reveal much!
15th May 2008, 11:34 AM #5
Go into the command-line, and type the text as described.
If you need authentication though you'll need to make it:
That'll need to be done each time the machine is restarted, though you can edit /home/username/.bashrc to include the line.
15th May 2008, 11:38 AM #6
I got a 'No such file or directory' error
15th May 2008, 11:45 AM #7
Make sure you don't put the dollar in.
It should just be:
15th May 2008, 11:48 AM #8
Just pulled out my own EEE PC now and working through it. I'll note down as I go.
Ctrl-Alt-T to pull up the terminal. This puts you into your home directory.
Type "vi .bashrc"
Once in the bashrc file scroll down to the end of the file, then along to the last character on that line.
Press enter to move to a new line, then again so you've got a little space to work.
Type '# Proxy settings for <wherever your location is>'
Type 'http_proxy="http://<username><assword>@<proxy ip address><ort>/"'
Type 'export http_proxy'
Type :wq to save the file and quit vi.
Should then be held there and automatically export the variable each time. Hopefully that'll do what you want, its working on mine at least.
Do not type any of the single quotes, but you do need the double quotes around the proxy address.
15th May 2008, 11:50 AM #9
The command seems to have worked but when I use the 'Add\Remove' programs applet I get 'Unmet dependencies. Try 'apt-get -f install' with no packages' errors
15th May 2008, 11:52 AM #10
If you want this setting to stick, your best adding it to the bottom of /etc/profile. I've written before about where to set proxy settings on Linux machines. So you might want to read that post here:
15th May 2008, 12:05 PM #11
You have to take on board the fact that these instructions are going to be for teachers and will need to be simple (covering up the fact they are also for me and need to be simple!).
15th May 2008, 12:20 PM #12
Ah. Hang on. We've been setting the http proxy. What does apt-get use? We need to be setting that to use the add\remove programs applet I think!
15th May 2008, 12:22 PM #13
Apt-get uses the http/ftp proxy details if ran from the command line, but I think Synaptic uses a different set.
Shall locate the eeepc now.
15th May 2008, 12:23 PM #14
@geoff problems are
no /etc/profile on eeePC
no /etc/apt/apt.conf file (there is a /etc/apt/apt.conf.d folder but I don't think that has anything to do with this???)
Do we just create them?
@Chris - I hadn't put any thing in the wiki as I couldn't work out where to stick the lines and when I tried updating something once I just took the machine home instead and did it from there
Even if we come up with the settings and the files - i think it will be awkward for people to switch from home/work unless someone writes a switcher program
15th May 2008, 12:31 PM #15
Well, I've got 135 EeePCs sat in and around my office all going out to schools in class sets and I really need to get something sorted soon!
Anyone care to do a small EduGeek project for this. It would be very popular worldwide!
By projector1 in forum Virtual Learning Platforms
Last Post: 27th November 2008, 01:36 AM
By Geoff in forum Hardware
Last Post: 9th April 2008, 10:31 AM
By localzuk in forum Hardware
Last Post: 22nd February 2008, 10:47 AM
Last Post: 9th November 2007, 11:42 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)