Installer asks for WLAN0 configuration

Hi
at my company we are developing autmomated OS partitioning and OpenSUSE/SLEs is also part of this.
We test this partitioning mostly on VMs and sometimes on notebooks. The installation requires a wired connection.

The process lokks like this:
we boot up a miniroot via PXE, patch some installer files and start the SUSE Installer via kexec.
By default the autoyast.xml is patched in a way where the user does not have to interact with the installation process.
however we have a problem on some notebooks.
When the kexec geths htrough the installer directly asks for an ESSID name and tries to continue the installation wireless.

Is there any way to tell the autoyast that the wired connection is prefered or any command to disable wifi during the installation process?

Cheers
Mathias

Believe what you’re looking for is here,
If you can’t get it to work, post again…

https://www.suse.com/documentation/sles11/singlehtml/book_autoyast/book_autoyast.html#CreateProfile.Network

TSU

I doubt very much it is (YaST) installer which does not even configure network anymore. Most likely it is linuxrc which runs before installer. In which case you can use Netdevice to force specific interface or embed interface name in install parameter (I presume you are using network install, otherwise linuxrc should not even attempt to configure interfaces).

Next time please provide at least some details on what you are doing and what you see. “Patching installer” is not really helpful.

Thanks for the hint
this didn’t work for me
Here’s my current interfaces config:


     <interfaces config:type="list"> (Posix.py|931)       
      <interface> (Posix.py|931)
         <bootproto>dhcp</bootproto> (Posix.py|931)
         <device>enp1s0f1</device> (Posix.py|931)
         <startmode>auto</startmode> (Posix.py|931)
         <broadcast>192.168.255.255</broadcast> (Posix.py|931)
         <ipaddr>192.168.50.3</ipaddr> (Posix.py|931)
         <netmask>255.255.0.0</netmask> (Posix.py|931)
         <network>192.168.0.0</network> (Posix.py|931)
       </interface> (Posix.py|931)
       <interface> (Posix.py|931)
         <bootproto>none</bootproto> (Posix.py|931)
         <device>wlan0</device> (Posix.py|931)
         <startmode>off</startmode> (Posix.py|931)
      </interface> (Posix.py|931)
       <interface> (Posix.py|931)
         <bootproto>static</bootproto> (Posix.py|931)
         <broadcast>127.255.255.255</broadcast> (Posix.py|931)
         <device>lo</device> (Posix.py|931)
         <firewall>no</firewall> (Posix.py|931)
         <ipaddr>127.0.0.1</ipaddr> (Posix.py|931)
         <netmask>255.0.0.0</netmask> (Posix.py|931)
         <network>127.0.0.0</network> (Posix.py|931)
         <prefixlen>8</prefixlen> (Posix.py|931)
         <startmode>nfsroot</startmode> (Posix.py|931)
         <usercontrol>no</usercontrol> (Posix.py|931)
       </interface> (Posix.py|931)
     </interfaces> (Posix.py|931)

I get asked immediateley for an ESSID, despite disabling the wlan0 interface in the autoyast.xml

Any other suggestion or advice where to look at?
Cheers
Mathias

Why mixing old and new Interface-Names:

<device>enp1s0f1</device> (Posix.py|931)
.
.
.
<device>wlan0</device> (Posix.py|931)

Saurland’s observation could be important…
Also,
I should think that if you have a hardware-disable your wireless, that should also solve your problem…
I should think that it might be possible to run rfkill somewhere earlier in the AutoYaST script to soft-disable your wireless…
And, you could also try entering some dummy values into the wireless configuration instead of trying to prevent the wireless device from starting up.

TSU

There’s no such button on my specific device.
The wired device is called
enp1s0f1
the wifi device comes up as
wlan0.
I will try to run rkill at the beginning.
In the end I don’t want and need a wireless connection in the installer.
Cheers

If not a button or a slider, laptops can often disable wireless with a special keystroke combination.
This should be described in the User Manual for your laptop (view or download from the Internet).

TSU