You are not logged in.
Pages: 1
Our network get's internet through a proxy server, I can only browse the internet with firefox(or other browser that let's me specify the proxy).
Even if I use export http_proxy="proxy:port", links can not browse the web (connection timed out).
This is very bad because I can't use pacman.
Can anyone help ?
Thank you!!!
Forever newbie !!!
Offline
export http_proxy="http://10.0.0.1:4480"
export ftp_proxy="http://10.0.0.1:4480"
worked for me. If you want to use Pacman then you need to use the XferCommand option in pacman.conf. I use for instance:
XferCommand = /usr/bin/wget --passive-ftp --limit-rate=35k -T 200 -t 3 -c -O %o %u
Offline
if I use export .... links is not able to browse the web, although in fedora is working just fine.
Forever newbie !!!
Offline
Does wget work, or anything else than links?
Offline
wget works!!
tracepath does not, but I guess it is available what you wrote early!!!!
Where should I write in /etc/pacman.conf :
XferCommand = /usr/bin/wget --passive-ftp --limit-rate=35k -T 200 -t 3 -c -O %o %u
if I write on the last line pacman gives an error and points to the line in pacman.conf where this written
Forever newbie !!!
Offline
I've placed the XferCommand below the [options] line so this error doen not appear any longer.
I've also placed there
ProxyServer = http://proxy_adress
and
ProxyPort = http://proxy_port
but now when I use :
pacman -S gdm
it sais:
error: could not sync database : extra
have you used --refresh yet ?
so then followed
pacman --refresh
and thn again
pacman -S gdm
and the same error occured.
in the pacman.conf the [extra] section was not commented and neither were it's Server lines.
I'm so close but yet so far.
Please saveme :oops: !!!
Forever newbie !!!
Offline
Don't use the --limit-rate=35k option, I only use it because I share the connection with another pc and don't want to use all bandwidth with pacman. Also the -O %o option is only supported by the newest pacman, so if you have an older one don't use it. Try something like:
XferCommand = /usr/bin/wget --passive-ftp -c %u
But if you pacman.conf doesn't have it commented out somewhere at the top, then you probably have an older pacman that doesn't support the XferCommand (see Arch news page for which versions supports it). Try to upgrade pacman first.
Pacman with wget worked for me through proxy without setting the ProxyServer and Port settings, because wget uses the environment variables. I don't know why links doesn't work, maybe it want a http_proxy with or without "http://".
Offline
it works, thank you very much!!! 8)
Forever newbie !!!
Offline
Ok, I just upgraded to pacman 2.7.4, and I uncommented the XferCommand line. When I run pacman, it outputs
config: line 26: syntax error
Whats going on here? And just for reference i'm using arch .6, with kernel 2.4, and i'm using a proxy, also wget works, as well as links.
Offline
install pacman 2.8
Forever newbie !!!
Offline
lol, ok. i figured i would go with the stable version, but i guess i was wrong on that count.
edit: ok, i just tried the latest version, same problem. and apparently i was using pacman 2.8, its just when you use pacman -V it tells you that it is 2.7.4. so does anyone have any thoughts on why XferCommand is being regarded as a syntax error?
Offline
[jchu@aries jchu]$ pacman -V
.--. Pacman v2.8
/ _.-' .-. .-. .-. Copyright (C) 2002-2004 Judd Vinet <jvinet@zeroflux.org>
'-. '-' '-' '-'
'--' This program may be freely redistributed under
the terms of the GNU General Public License
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
fair enough. . .
I downloaded my copy off the front page and compiled it, if that means anything. I would love to update pacman using pacman, but I wouldn't need to upgrade it in the first place if it worked , is there anything I can do at this point? I'm about to scream and throw my machine out the window.
Offline
download pacman from current
pacman -U <pathname to where you have downloaded pacman >
to use a proxy, just uncomment XFercommand, and each time you use pacman, if your network uses a proxy do an export ftp_proxy="your.proxy:proxy_port", or add in /root/.bashrc thIs:
export ftp_proxy="your.proxy:proxy_port"
it should work
Forever newbie !!!
Offline
I was't using the pacman I compiled properly. As in I was using the old version with the one I compiled's conf file. I ended up going to a friends house, install the base 2.6 kernel packages, then updating with his beautiful routed connection that I wish I had. Works like a charm, I am now back at home typing this on my sexy linux box, contemplating playing another game of ut2k3. But thanks for the help!
Offline
I am behind a proxy with user login and filtering, and would really be glad if pacman will learn to use proxy user accounts, saving the proxy user settings inside an encrypted file, ore otherwise, asking for passwords. Then I could use weaker proxy user accounts for daily surfing, and give pacman stronger accounts to update the system.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
I am behind a proxy with user login and filtering, and would really be glad if pacman will learn to use proxy user accounts, saving the proxy user settings inside an encrypted file, ore otherwise, asking for passwords. Then I could use weaker proxy user accounts for daily surfing, and give pacman stronger accounts to update the system.
You can use the --proxy-user=username --proxy-passwd=password options with wget as well and slap that inside the pacman.conf file (after you add the export ftp_proxy inside the /root/.bashrc file
Offline
yes, meanwhile. Not in 2004.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Offline
Pages: 1