Install SLES behind a proxy

didiwdidiw New or Quiet Member
I am going to install SLES 15 SP1 on a system behind a company proxy.
When I am going to set up the network there is no possibility to configure proxy settings. How can I set up proxy settings?

Comments

  • didiwdidiw New or Quiet Member
    Maybe I need to clarigy my problem:
    I am upgrading a SLES 15 server to SP1. The install works up to the call to scc.suse.com, which seems to be mandatory and does not work, because the system is behind a mandatory proxy and I have not seen a way to configure orixy settings (as opposed to opensuse).
    So how do I tell yast installer to use the proxy?
  • malcolmlewismalcolmlewis Knowledge Partner
    Hi and welcome to the Forum :)
    Since it's an upgrade, you need to ensure your proxy should should accept the SUSE domain (or at least selected
    sites like updates.suse.com) without authentication.

    You need to populate proxy setting in YAST and to add two lines with your proxy information to /etc/profile, for example:

    export http_proxy="http://10.10.1.1:8081/";
    export https_proxy="https://10.10.1.1:8081/";

    The above needs to be in /root/.curlrc as well.
  • didiwdidiw New or Quiet Member
    The problem was due to name resolution, both with the proxy name name and scc.suse.com.
    Now when I call SUSEConnect, I get the following error message:
    Error: Connection refused by server https://scc.suse.com
    Connecting to scc.suse.com using wget works, so no idea what the problem is.
  • malcolmlewismalcolmlewis Knowledge Partner
    didiw wrote: »
    The problem was due to name resolution, both with the proxy name name and scc.suse.com.
    Now when I call SUSEConnect, I get the following error message:

    Connecting to scc.suse.com using wget works, so no idea what the problem is.
    Hi
    What about curl and https?
  • didiwdidiw New or Quiet Member
    I had used https for sure since port 443 was given.
  • malcolmlewismalcolmlewis Knowledge Partner
    didiw wrote: »
    I had used https for sure since port 443 was given.
    Hi
    So without authentication you can get to scc.suse.com;
    curl https://scc.suse.com
    openssl s_client -connect scc.suse.com:443
    
  • didiwdidiw New or Quiet Member
    curl works, (is redirected to login poage)
    openssl is not in the installation system
  • malcolmlewismalcolmlewis Knowledge Partner
    didiw wrote: »
    curl works, (is redirected to login poage)
    openssl is not in the installation system
    Hi
    Hmmm, wonder if that may be the problem. Is it possible to try from another system with openssl?
  • didiwdidiw New or Quiet Member
    Hi
    Hmmm, wonder if that may be the problem. Is it possible to try from another system with openssl?
    It has nothing to do with openssl, as far as I know.
  • didiwdidiw New or Quiet Member
    I have finally managed to solve the problem. to do so, I had to execute the following steps:

    - abort the graphical installer, in order to fall back to the old "text-graphical" (not the curses based one, that you get when selecting text-based install using F3 in the
    isolinux selector).
    - Enable ssh and shell by hand in Settings
    - Configure the network, (still with no possibility to configure the proxy (in contrary to opensuse at this place). Be sure to select the correct interface, as they are not
    usually in the correct alphabetical order.
    - The shell is just for nothing, but keep it open until you managed to log as in the next step.
    - Log in via ssh and root and password you had to give. If it does not work, you can correct the password or even the network settings in the shell from the previous
    step
    - Set http_proxy, hitps_proxy and socks_proxy(?) by hand or you can mount your root partition to /mnt, copy over /mnt/etc/sysconf/proxy to /etc/sysconf/proxy and
    run . /mnt/etc/profile.d/profile.sh. This also sets your proxy variables. Don't forget to unmount /mnt.
    - Finally start the installation by running yast,ssh.

    - Does it really have to be so complicated?
    - If so, why is there no SuSE-HowTo how to do it? At least I have not found any.
    - Is it so uncommon to install/upgrade SLES from behind a mandatory proxy?
    - Why can't the graphical installer just get the proxy settings from /etc/sysconfg/proxy from the system to be upgraded?

    Hope this helps
    Regards, Dieter
Sign In or Register to comment.