LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Swaret through http proxy+auth (https://www.linuxquestions.org/questions/slackware-14/swaret-through-http-proxy-auth-672667/)

securedigital 09-27-2008 03:05 AM

Swaret through http proxy+auth
 
Hello everybody!.

I have a computer with Slackware on a net wich is using an http proxi Squid.
This net is using the proxy via ex: 10.10.10.1:8080, so swaret can't update the respositories.

There is a small config on swaret.conf, to enable a Proxy, and it probably works, but on my network i'm using an username-password via httpauth (typical squid config) and I can't specify the credentials on swaret.conf

Code:

# If you want HTTP or FTP Proxy Support,
# uncomment and Setup the following Variable:
#
WGET_PROXY=http: //10.10.10.1:8080


As shown below, i have set up the proxy configuration, but i can't specify the proxy credentials.

Any ideas about that?
PD: I'm concious about that i can't use FTP repositories

All the best.

niels.horn 09-27-2008 11:04 AM

I do not use swaret, but you might try this:
Code:

WGET_PROXY=http://<user>:<password>@10.10.10.1:8080

securedigital 09-29-2008 11:41 AM

Hi

Thanks for your response, but it didn't worked.

I'll kepp trying, otherwise, i'll try with slackpkg.
Exists another dependecy solution for Slack instead of slackpkg & swaret?

Thanks

niels.horn 09-29-2008 12:23 PM

I use slackpkg and am very satisfied with it :-)

Like I said, I don't use swaret and neither have a proxy to test the solution, but usually you set your proxy parameters this way. The standard variables are:

Code:

export http_proxy=http://username:password@proxyserver.net:port/
export ftp_proxy=http://username:password@proxyserver.netport/

where you have to fill in your username, password, proxyserver and port.
Try setting these two variables and tell us if it worked.

securedigital 09-30-2008 09:33 AM

Hello!

Importing a new global variable didn't worked wit Swaret. Instead, I've tried with slackpkg, and it worked propiertly. Now I can download some repos.

Thanks

By the way, I've been using ALWAYS swaret, and slackpkg dropped me an error when using more than one http repository in Mirrors file. Slakpkg cannot use several or more repositories at once as swaret?


PD: I would really appreciate a mirror to download the typical networking assestment tools. The included repos on Mirror's file cannot find some tools...
Byez

sahko 09-30-2008 09:48 AM

Isnt swaret dead? Even firefox (through google) says its a virus..

niels.horn 09-30-2008 09:50 AM

That's correct, Slackpkg accepts only one mirror at a time.
Choose one close to you or one width lots of bandwidth...

Are you looking for any specific network tool?

securedigital 09-30-2008 10:04 AM

One mirror at once :eek:

Quote:

Are you looking for any specific network tool?
No, it's just i have download the repos and searched for some of them and couldn't find several of them...and installing it manually with decens of dependencies manually is not a good way, thus maybe I thought there's another repo with this purpousal.

Thanks & Byez .

niels.horn 09-30-2008 10:30 AM

Check Slacky
You can download several packages from there for Slackware.

I use wireshark, which is available on Slacky.


All times are GMT -5. The time now is 01:54 AM.