Yast not able to connect to repositories

I’ve been trying to get yast to connect to the internet for over a week now without any luck.
At work, the setting that I use in firefox or Konqueror is “Direct connect” and it works without a problem. The same setting (i.e. proxy disabled) does not work in Yast. I set up a proxy server on one of my colleagues’ computer and tried to connect to the internet using that. Again, the proxy settings worked with firefox but not with Yast.
I also tried out the proxy settings using curl, and I got a malformed url error.
I’d really appreciate any help on finding a solution to this problem.

Thanks

@linux-rx1q:~> curl --proxy http://192.168.1.191:808/ --url www.google.lk        
<!DOCTYPE html                                                                   
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"                             
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">                  

<HTML><HEAD><TITLE>Endian Firewall -  The requested URL could not be retrieved<</TITLE>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">                     
<style type="text/css" media="screen">                                                 
/* Stylesheet for endian firewall */                                                   
/* Author: Raphael Vallazza */                                                         

/* body */

body {
        margin: 0;
        padding: 0;
        padding-top: 3px;
        background-color: #FFFFFF;
        font-family: tahoma,verdana,arial,sans-serif;
        background-repeat: repeat-x;                 
        font-size: 11px;                             
        color: #444;                                 
        min-width: 760px;                            
}                                                    

td {
        font-family: tahoma,verdana,arial,sans-serif;
        background-repeat: repeat-x;                 
        font-size: 11px;                             
        color: #444;                                 
        min-width: 760px;                            
}                                                    

h1, h2 {
        font-size: 16px;
        font-weight: bold;
        color: #ca232a;   
        padding: 0;       
        margin: 0;        
        margin-bottom: 10px;
}                           

h3 {
        width: inherit;
        background-repeat: no-repeat;
        border-right: 1px solid #ccc;
        font-size: 10px;             
        font-weight: bold;           
        color: #656565;              
        margin: 0;                   
        padding-left: 30px;          
        line-height: 20px;           
        display: block;              
}                                    

h4, h5 {
        font-size: 12px;
        font-weight: bold;
        color: #ca232a;   
}                         

a {
    text-decoration: underline;
    color: #ca232b;            
}                              

a:hover {
        text-decoration: underline;
        color: #000000;            
}                                  
                                   
table {                            
        border: 1px solid #ccc;    
}                                  

</style>


</HEAD>
<BODY> 

<br>
<br>
<CENTER>

<table cellpadding="20" bgcolor="#efefef">
<tr>                                      
<td align="center">                       
<H1>ERROR</H1>

<HR noshade size="1px">
<P>
<br>
<STRONG>
The requested URL could not be retrieved
</STRONG><br>
While trying to retrieve the URL:<br>
<A HREF=""></A>
<br>
The following error was encountered:
<br>
<STRONG>
Invalid URL
</STRONG>
</p>
<br>

<P>
Some aspect of the requested URL is incorrect.  Possible problems:
<br>Missing or incorrect access protocol (should be `http://'' or similar)
&lt;br&gt;Missing hostname
&lt;br&gt;Illegal double-escape in the URL-Path
&lt;br&gt;Illegal character in hostname; underscores are not allowed
.....

So you aren’t forced to use a proxy at all? Then I wouldn’t use one, let alone set one up.

Did you check the suggestions in the error?

> Some aspect of the requested URL is incorrect. Possible problems:
> <br>Missing or incorrect access protocol (should be `http://’’ or similar)
> <br>Missing hostname
> <br>Illegal double-escape in the URL-Path
> <br>Illegal character in hostname; underscores are not allowed

Uwe

I’d prefer not to use a proxy. It’s just something that I tried out as a last resort, since I cannot find the exact problem which is preventing yast (or any other applications that use the system settings) from connecting to repositories.
I’ve tried using KNetworkManager and ifup, to no avail.
Are there any specific steps that I can use to diagnose this problem?

BTW I haven’t added my computer to the company domain. Would this cause any problems? If so, how’s Firefox connecting to the internet?

  • gayansm,

again, did you check the hints from the error message? Something seems to be wrong with the way you entered the repositories.

Uwe