Bug 1199820 - [rpi] - Ethernet controller added as wlan0
[rpi] - Ethernet controller added as wlan0
Status: CONFIRMED
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Installation
Leap 15.4
aarch64 Other
: P3 - Medium : Normal (vote)
: ---
Assigned To: Steffen Winterfeldt
Jiri Srain
https://trello.com/c/IOZjVG12
:
Depends on:
Blocks: 1186677
  Show dependency treegraph
 
Reported: 2022-05-23 10:02 UTC by Matthias Brugger
Modified: 2022-09-22 15:37 UTC (History)
8 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Leap 15.4 NET installer askes for ESSID first (181.26 KB, text/plain)
2022-05-23 11:12 UTC, Matthias Brugger
Details
hwinfo output (243.75 KB, text/x-log)
2022-05-23 13:03 UTC, Matthias Brugger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Brugger 2022-05-23 10:02:32 UTC
+++ This bug was initially created as a clone of Bug #1186677 +++

I booted a Raspi4 from USB stick for installation of Leap 15.3 build 160 (gold master), and there was no network autodetected (ethernet cable plugged in!)

On the Network settings page it offers
ARM Ethernet controller 
as wlan0, and showing all WIFI options, but it does not find any wireless network. 

I could add manually an ethernet device eth0, which then enables to add 
online-repositories.

See: https://lists.opensuse.org/archives/list/arm@lists.opensuse.org/thread/7JHAMIXHVAK63TKTQKA7B4NR4SH7GRNG/
Comment 1 Matthias Brugger 2022-05-23 10:04:16 UTC
I can confirm that I get asked about SSID and password. After connecting to the WLAN I don't see any progress in the installer.

Tested with openSUSE-Leap-15.4-NET-aarch64-Build230.2-Media.iso
Comment 2 Matthias Brugger 2022-05-23 11:10:31 UTC
My experience is:



I get asked for ESSID name:

> 00:02:03 <2>: ifcfg_write: device = wlan0, ifcfg = (null)
> 00:02:03 <4>: win on
> 
> ESSID (Network Name). (Enter '+++' to abort).
> > 
> 
> WLAN Authentication
> 
> 0) <-- Back <--
> 1) No Authentication           
> 2) WPA-PSK                
> 3) WPA-PEAP                
> 
> > 0

After that I get fallback to eth0 which get's an IP.

Steffen, any idea why the installer does not try to get an IP from eth0 first before asking for ESSID?
Comment 3 Matthias Brugger 2022-05-23 11:12:46 UTC
Created attachment 859144 [details]
Leap 15.4 NET installer askes for ESSID first

The full debug log
Comment 4 Steffen Winterfeldt 2022-05-23 12:05:45 UTC
The order network interfaces are presented is a bit tricky. Basically, because
people complained a lot in that area.

Technically, it's done here:

https://github.com/openSUSE/linuxrc/blob/master/url.c#L3495-L3575

and you can watch the result in the log by searching for 'hd list (before)',
which is followed by 'hd list (after)'.

TL;DR: proper wired interfaces with an active link are considered first,
followed by wlan, followed by 'weird' interfaces (weird = interfaces without
proper matching card entry, which normally indicates some strange kernel
interface or an unsupported hardware).

I see in your case a network interface without a name ("(null)") - which is
really strange and looks a bit like some missing sysfs data.

Could you attach the log of "hwinfo --netcard --network --log=foo.log" to have
a better look at what's happening?
Comment 5 Matthias Brugger 2022-05-23 13:03:52 UTC
Created attachment 859149 [details]
hwinfo output

output of
> hwinfo --netcard --network --log=foo.log
with openSUSE-Leap-15.4-NET-aarch64-Build236.1-Media.iso
Comment 6 Steffen Winterfeldt 2022-05-23 13:26:09 UTC
Ok, thanks.

It actually looks the very same on my rpi4. :-/

Anyway, as I see it, there are two different issues:

(a) hwinfo does not properly report the hardware: the wifi card ends up
in two different items and the ethernet card is missing entirely (only the
interface shows up)

(b) the wifi connection does not work

I can look into (a) but (b) seems to be more of a driver issue and in that
case is probably better tracked separately.
Comment 7 Matthias Brugger 2022-05-24 10:18:28 UTC
(In reply to Steffen Winterfeldt from comment #6)
> Ok, thanks.
> 
> It actually looks the very same on my rpi4. :-/
> 
> Anyway, as I see it, there are two different issues:
> 
> (a) hwinfo does not properly report the hardware: the wifi card ends up
> in two different items and the ethernet card is missing entirely (only the
> interface shows up)
> 
> (b) the wifi connection does not work
> 
> I can look into (a) but (b) seems to be more of a driver issue and in that
> case is probably better tracked separately.

Yes please look into (a). My experience is that (b) isn't an issue, I can connect to my wifi when passing essid=xxx wpapsk=xxx
Comment 8 Steffen Winterfeldt 2022-05-25 10:47:18 UTC
Adding to YaST Kanban board.
Comment 9 Axel Braun 2022-08-02 15:38:25 UTC
This is still an issue on TW 20220729
Comment 10 Stefan Hundhammer 2022-09-22 15:37:01 UTC
hwinfo is now maintained outside the YaST team by snwint@suse.com. Reassigning.