Novell is now a part of Micro Focus

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

Novell Cool Solutions: Feature
By Hicham Mourad

Digg This - Slashdot This

Posted: 17 Aug 2006

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
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.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates