230511 Michael wrote:
> On Wed, 10 May 2023 21:42:16 -0400, Philip Webb wrote:
>> Can anyone explain how I can get Wifi working
>> at this early point in the installation process ?
> 1. Check if the appropriate firmware is available,
> otherwise fetch it from here and untar it in /lib/firmware:
> https://www.intel.co.uk/content/www/uk/en/support/articles/000005511/wireless.html
> I think you'll need "iwlwifi-cc-46.3cfab8da.0.tgz" ?

My Mobo manual (Gigabyte X570S Aero G) says :
  "Wireless Module : Intel Wifi 6 AX200 ; AMD Wifi 6E RZ608 (MT7921K)".
The Intel firmware site says the firmware you name above is correct for it.
(I don't understand why they give separate specs for Intel/AMD :
my CPU is AMD)
 
> 2. Load the appropriate kernel module for your hardware.

I've compiled several modules for the kernel : which do you mean ?

> 3. Configure /etc/conf.d/net with some appropriate settings; e.g.
>   modules="wpa_supplicant"
>   wpa_supplicant_wlan0="-Dnl80211"
>   mac_wlan0="A1:B2:C3:D4:E5:F6"
>   config_wlan0="dhcp"

'net' didn't exist in /etc/conf.d , so i created it with your content.

> Substitute wlan0 with whatever your wireless NIC is identified as
> in 'ip link show'.

'ip a' + 'ip link show' both list  3  interfaces :
  (1) lo ; (2) enp6so (my landline) ; (3) sit0@NONE <noarp> mtu1480 ... .

With SR + Mint, the interface is shown as 'wlp5s0' (see below),
which I've written in 'net' in place of 'wlan0' (3 times),
eg 'config_wlp5s0="dhcp"'.

(The landline interface works correctly)

> 4. Configure /etc/wpa_supplicant/wpa_supplicant.conf
> with suitable authentication credentials for your AP :
> 
>   network={
>     ssid="My_AP"
>     bssid=AA:BB:CC:DD:EE:FF
>     proto=RSN
>         key_mgmt=WPA-PSK (for WPA3, try key_mgmt=WPA-PSK-SHA256)
>     pairwise=CCMP
>         auth_alg=OPEN
>     group=CCMP
>         psk="Very_Secret_Shared_Key"
>     ieee80211w=2 (1 is for PMF 'enabled', or 2 for 'required')
>     priority=5
>   }

I've done that.

> 5. Then start the wpa_supplicant service :
>   'rc-service -v wpa_supplicant start'.

I've added it to start-up services with 'rc-update add wpa_supplicant',
then rebooted & it shows up as "started".  'dhcpcd' also starts at boot.

When I boot, the messages say  2  relevant things :

  "Caching service dependencies ...
  Successfully initialised wpa_supplicant ... "

  "INIT : Entering Runlevel 3
  could not find wireless interface
  ERROR : wpa_supplicant failed to start
  Starting DHCP client Daemon ... [ok] "

The problem isn't in the new machine's hardware :
System Rescue + Mint both offer to start Wifi & succeed ;
'ip a' for both shows an extra line for "wlp5s0",
which appears to be the wireless interface the new Gentoo can't find ;
it shows 'no carrier' before they start Wifi, which disappears afterwards.

I've looked at their  /lib/modules/  /lib/firmware/  /etc  dirs,
but don't see anything to help (both use Systemd ; I use Openrc).

So for some reason my embryonic Gentoo system can't find the interface,
a very basic problem.

Tnanks to Michael, whose advice helped upto a point.
Can anyone suggest how I can get Gentoo to find the wireless interface ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca


Reply via email to