SUSE Conversations


Getting the SLES / SLED 10 Software Updater to work if you use a Proxy Server



By: coolguys

August 17, 2006 12:00 am

Reads:290

Comments:0

Score:Unrated

Print/PDF

This article is also available as a PDF

This article is applicable to both SUSE Linux Enterprise Server 10 and SUSE Linux Enterprise Desktop 10.

A couple of weeks ago, I got a call from a client who had been trying to configure their SLES 10 server with the Novell Customer Center (NCC) module available in YaST.

The Novell Customer Center gives you a single location where you can manage your products, subscriptions, and most importantly for this article your installed systems.

When you configure your installed system (YAST2 –> SOFTWARE –> NOVELL CUSTOMER CENTER CONFIGURATION) successfully an Internet based Installation source will be added to your Software Updater.

This then allows you to receive all product updates through the Software Updater.

This is great if you have a direct connection to the Internet. If your network environment has a Proxy server, then the above process will fail.

For the NCC configuration to complete successfully you will need to configure the Software Updater ahead of time with the Proxy related information.

If you RIGHT CLICK on the Software Updater icon in the task bar (Globe), and then select CONFIGURE, and then select the PREFERENCES tab you will see the following:

In most cases you will have to populate the proxy-url field, but in others you will ALSO need to populate two other fields proxy-username and proxy-password.

proxy-url The URL for the proxy Server.
proxy-username The username for the proxy if any.
proxy-password The password for the proxy if any.

In order to set the above mentioned parameters you will need to use the rug command. You will have to switch to root and do this.

Open up a terminal and switch user (su) to root.

rug set-prefs proxy-url http://proxyserver.com:8080
rug set-prefs proxy-username johndoe
rug set-prefs proxy-password password

At this point if you check the preferences on the the Software Updater you will see the following:

You can see that the proxy-url and the proxy-username have now been populated. The proxy-password will not be visible here but will be recorded in the file /etc/zmd/zmd.conf.

At this time if you run YAST2 –> SOFTWARE –> NOVELL CUSTOMER CENTER CONFIGURATION this process will complete successfully.

NOTE: If you ever need to clear the above keys that you have set you simply need to do the following:

Open up a terminal and switch user (su) to root.

rug set-prefs proxy-url
rug set-prefs proxy-username
rug set-prefs proxy-password

I hope you find this helpful.
Hicham

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Categories: Uncategorized

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

Comment

RSS