LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-27-2008, 04:05 AM   #1
securedigital
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
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.
 
Old 09-27-2008, 12:04 PM   #2
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
I do not use swaret, but you might try this:
Code:
WGET_PROXY=http://<user>:<password>@10.10.10.1:8080
 
Old 09-29-2008, 12:41 PM   #3
securedigital
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 09-29-2008, 01:23 PM   #4
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
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.
 
Old 09-30-2008, 10:33 AM   #5
securedigital
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
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

Last edited by securedigital; 09-30-2008 at 10:37 AM.
 
Old 09-30-2008, 10:48 AM   #6
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Isnt swaret dead? Even firefox (through google) says its a virus..
 
Old 09-30-2008, 10:50 AM   #7
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
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?
 
Old 09-30-2008, 11:04 AM   #8
securedigital
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
One mirror at once

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 .
 
Old 09-30-2008, 11:30 AM   #9
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Check Slacky
You can download several packages from there for Slackware.

I use wireshark, which is available on Slacky.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
squid auth as transparent proxy spawn500 Linux - Server 1 09-03-2008 10:47 PM
How to bypass proxy auth using squid sixth_sense Linux - Networking 7 09-20-2007 07:43 PM
Swaret and proxy onelung02 Slackware 2 07-29-2005 01:14 PM
Authentication - proxy: swaret N_A_J_M Slackware 1 09-26-2004 11:55 PM
swaret through proxy carboncopy Slackware 2 05-06-2004 11:37 AM


All times are GMT -5. The time now is 11:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration