+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
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 ...
  1. #1

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,824
    Thank Post
    580
    Thanked 2,161 Times in 986 Posts
    Blog Entries
    23
    Rep Power
    627

    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.

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,328
    Thank Post
    622
    Thanked 1,577 Times in 1,414 Posts
    Rep Power
    413

  3. #3

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,824
    Thank Post
    580
    Thanked 2,161 Times in 986 Posts
    Blog Entries
    23
    Rep Power
    627
    Possibly. I'll try it in a bit.

  4. #4

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,824
    Thank Post
    580
    Thanked 2,161 Times in 986 Posts
    Blog Entries
    23
    Rep Power
    627
    OK. I'm a Linux dummy. Where and how do you set it. A simple line of text doesn't reveal much!

  5. #5

    Join Date
    Mar 2008
    Location
    Surrey
    Posts
    2,168
    Thank Post
    98
    Thanked 319 Times in 261 Posts
    Blog Entries
    4
    Rep Power
    112
    Go into the command-line, and type the text as described.

    If you need authentication though you'll need to make it:

    $export http_proxy="http://<username>:<password>@<proxy>:<port>/"

    That'll need to be done each time the machine is restarted, though you can edit /home/username/.bashrc to include the line.

  6. #6

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,824
    Thank Post
    580
    Thanked 2,161 Times in 986 Posts
    Blog Entries
    23
    Rep Power
    627
    I got a 'No such file or directory' error

  7. #7


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,687
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Make sure you don't put the dollar in.

    It should just be:

    export http_proxy="http://proxy.embc.uk.com:80"
    export ftp_proxy="ftp://proxy.embc.uk.com:80"

  8. #8

    Join Date
    Mar 2008
    Location
    Surrey
    Posts
    2,168
    Thank Post
    98
    Thanked 319 Times in 261 Posts
    Blog Entries
    4
    Rep Power
    112
    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 'a'.

    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>'

    Press enter.

    Type 'http_proxy="http://<username><assword>@<proxy ip address><ort>/"'

    Press enter.

    Type 'export http_proxy'

    Press Esc.

    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.

  9. #9

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,824
    Thank Post
    580
    Thanked 2,161 Times in 986 Posts
    Blog Entries
    23
    Rep Power
    627
    Ah!
    No.
    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

  10. #10

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,802
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    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:

    apt-get proxy

  11. #11

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,824
    Thank Post
    580
    Thanked 2,161 Times in 986 Posts
    Blog Entries
    23
    Rep Power
    627
    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!).

  12. #12

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,824
    Thank Post
    580
    Thanked 2,161 Times in 986 Posts
    Blog Entries
    23
    Rep Power
    627
    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!

  13. #13


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,687
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    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.

  14. #14

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,808
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168
    @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?

    regards

    Simon
    @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

  15. #15

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,824
    Thank Post
    580
    Thanked 2,161 Times in 986 Posts
    Blog Entries
    23
    Rep Power
    627
    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!

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. advice needed re anytime anywhere access system
    By projector1 in forum Virtual Learning Platforms
    Replies: 11
    Last Post: 27th November 2008, 12:36 AM
  2. HP Get on the eeePC bandwagon.
    By Geoff in forum Hardware
    Replies: 0
    Last Post: 9th April 2008, 09:31 AM
  3. eeePC possible problem
    By localzuk in forum Hardware
    Replies: 5
    Last Post: 22nd February 2008, 09:47 AM
  4. EeePC system proxy settings
    By Dos_Box in forum *nix
    Replies: 3
    Last Post: 9th November 2007, 10:42 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •