Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-06-2004, 05:03 AM
|
#1
|
Member
Registered: Oct 2004
Location: Indore,India
Distribution: SuSe Linux 10.1 64 bit
Posts: 32
Rep:
|
Proxy/firewall Authentication Problem ....Plz Help ???
Hi!
I am a linux newbie!!
I am using Fedora Core2 and sitting behind a "PROXY / Firewall" which requires authentication.
Whenever I use "Synaptic", "Yum" or "apt" for package update, it fails showing authentication error.
Could anybody tell me how to configure Authentication Informtion (userid/passwd) in Synaptic ????
Is it possible that one creates a batch file / setting in some resource file that the Authentication is alive for whole session.
thanks
ajit
|
|
|
10-06-2004, 05:12 AM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
what proxy/firewall are u using??
i am also using that in my setup but i have faced no such problems for apt and yum
and what do u do for authentication???
maybe u can put that in ur shell
/home/name/.bashrc
so that each time u open up ur shell u get some predefined environment
also off the track,where do u hail from indore,i am also from indore
regards
|
|
|
10-06-2004, 06:18 AM
|
#3
|
Member
Registered: Oct 2004
Location: Indore,India
Distribution: SuSe Linux 10.1 64 bit
Posts: 32
Original Poster
Rep:
|
Hi!
My internet service provider is using some proxy/firewall, I know its IP address only. I use the proxy IP and authentication (userid & pwd) given to me for mozilla and other services.
BUT synaptic does not have option for setting authentication.
Is it possible to set the authentication in some .rc file so that all programs use the same ???
How to set the same in "Environment Variables" ?? or in the file .bashrc??
I am working at Center for Advanced Technology (CAT), indore and stay near Rajendra Nagar. What about you ??
where are u at present ??
regards,
ajit
|
|
|
10-06-2004, 11:42 AM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
for seeing what nvironment variables us have run
env
for changing them
do this
export HOME=/home/gaurav
now run
env | grep HOME
and u will see that u hav chnaged ur PATH
this will remain the environment for that particular bash session
u can put any coomad in /root/.bashrc so that it is executed each time a new session is created using bash,i.e. each time u invoke a new terminal
also what i think is rhat apt-get etc etc work on some ports,and probably ur administrator has only allowed services on some ports like http,smtp etc etc
meanwhile i will get synaptic installed in my system and tell u about it
also does synaptic comes with fedora core 2 installation since i could bot find a package for that in my CD
i am looking to download that .........
also ,i am doing my masters in computer applications from internationnal institute of professional studies(IIPS) .devi ahilya university,khandwa road.
regards
|
|
|
10-06-2004, 02:08 PM
|
#5
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
i got synaptic
have u tried the settings in preferences section --->Network tab-->http proxy section
regards
|
|
|
10-07-2004, 12:27 AM
|
#6
|
Member
Registered: Oct 2004
Location: Indore,India
Distribution: SuSe Linux 10.1 64 bit
Posts: 32
Original Poster
Rep:
|
Hi!
I have set the proxy settings in Synaptic (manual config) but the authentication option is not there !!
I am trying to put some shell script to automate the loging to proxy server, let's see whether it works ??
bye,
ajit
|
|
|
10-07-2004, 08:20 AM
|
#7
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
what i think is ur setup involves a proxy like "squid"
now this proxy server reqires authentication for all appliactions to run,if it has been specified in it config.
now when u run mozilla,it squid asks for authentication which is provided by mozilla (as u had entered the information)
and when this authentication is passed u r allowed to browse the net
now when u use synaptic,squid again asks for authentication,but ur application does not have a module,so u cannot do anything in that case.the applicaiton should support authentication
so what u can do is,ask the offcials at ur computer centre to help u out
sincw it is configured in ur squid proxy server to ask for passwords for all,u can ask if they can give u some privelages and do not ask for password(then only ur apppliactions will work),see if this is possible
also u can try to download that packages and install urself
regards
gaurav
|
|
|
10-09-2004, 12:43 AM
|
#8
|
Member
Registered: Oct 2004
Location: Indore,India
Distribution: SuSe Linux 10.1 64 bit
Posts: 32
Original Poster
Rep:
|
Hi!
thanks for reply!!
ajit
|
|
|
10-09-2004, 04:30 AM
|
#9
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
u r welcome!!!
but is u r problem solved now??
regards
|
|
|
10-09-2004, 06:05 AM
|
#10
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
iirc synaptic relay on apt too. so maybe you'll just have to use the proxy option in your /etc/apt/sources.list?
sl mritch.
|
|
|
10-09-2004, 08:30 AM
|
#11
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
the problem here is not related to proxy server
the problem is that neither synaptic nor apt-get does not have any module which will authenticate the user as of when required by the "squid" proxy server
regards
|
|
|
10-09-2004, 08:45 AM
|
#12
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
man sources.list tells me...
http
The http scheme specifies an HTTP server for the archive. If an
environment variable http_proxy is set with the format
http://server ort/, the proxy server specified in http_proxy
will be used. Users of authenticated HTTP/1.1 proxies may use a
string of the format http://user ass@server ort/ Note that
this is an insecure method of authentication.
..so i think with basic (ncsa) auth this should work.
sl mritch.
...aarggh how to disable these f.. smilies?
Last edited by mritch; 10-09-2004 at 08:52 AM.
|
|
|
10-09-2004, 01:26 PM
|
#13
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
i got it what u r saying
is it that we can use apt with some changes in the sources.list file where we can specify the proxy as well the http authentication we use for there in the file itself so that it will work the way http works??
is it that??
also is it for all sites ??
regards
|
|
|
10-09-2004, 03:45 PM
|
#14
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
|
|
|
10-09-2004, 03:50 PM
|
#15
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
i have seen that man page
regards
|
|
|
All times are GMT -5. The time now is 01:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|