slapt-get, howto pass username and passwd for http requests to our proxy !!
Hi all,
How to pass username and password for authentication while using slapt-get for any of the http requests to our proxy server ?? We have the --http-user=XXX and --http-passwd=yyy on our wget. Do we have any thing similar in slapt-get ?? thanx, Padmakiran. |
I haven't tried this yet, but does slapt-get honor .netrc configuration?
|
I'm sorry but i haven't used .netrc. Can we pass username & password to our http proxy server using this ?
Is there any other way like in wget to convey the username & password to the proxy ? Are there any other tools in slackware which are like apt-get of debian ? |
I don't know very much about environment variables, or linux yet for that matter, but when I'm at school I have to manually set the http_proxy=x.x.x.x:xx and ftp_proxy= env. variables if accessing the net from the console. Is there perhaps a variable for proxy username/pass?
Does your proxy server accept the "http://username@pass:ipaddress: port/" format? (no space between : and port at the end there, I added one so the dumb smiley face would go away.) If it supports it, you could probably enter that as the http_proxy variable. (I don't know if proxy's can do that, but a lot of websites will if you are attempting to directly access a user-ony area.) |
|
Oh woops, my bad. Keefaz posted the correct format. :D
|
Nope http://user:password@host:port still doesn't work !!
I even tried this way http://user:password@host/<url> Any other way to do the proxy authentication properly ? |
Nope http://user: password@host: port still doesn't work !!
I even tried this way http://user: password@host/<url> Any other way to do the proxy authentication properly ? |
Nope http://user: password@host: port still doesn't work !!
I even tried this way http://user: password@host/<url> Any other way to do the proxy authentication properly ? i'm sorry there is no space between colon and p. Didn't know it represents a smiley ! |
It should work but maybe your proxy accept uses nonstandard authentication.
Are you able to get through proxy with a web-browser ? If you do, which browser and what settings do you use ? |
I'm able to access http requests from my browser. Currently i'm using mozilla 1.7 on my slack 10.0 box.
Are u able to authenticate u'r self using slapt-get by setting the user name & passwd in your http url ? |
Perhaps you could ask the administrator of the network/proxy to allow authentication in the username@password:host: port format?
Otherwise do some searching about environment variables and proxy settings. |
do this export on console and you'll be able to use text browsers and connect to slapt-get to!
Code:
export http_proxy=username:password@proxy_server:port |
I've got it!
I have been trying to use proxy authentication through slapt-get for a while, but now it works perfectly.
what did I do ? Nothing! Just add the ' like the example: export http_proxy='username: password@proxy_server: port' or with domain export http_proxy='domain\username: password@proxy_server: port' ;P |
All times are GMT -5. The time now is 08:10 PM. |