Bug 201383 - Intel AC9260 wifi does not get DHCP IP - SuSE 15 kernel 4.12.14-25.16-default
Summary: Intel AC9260 wifi does not get DHCP IP - SuSE 15 kernel 4.12.14-25.16-default
Status: CLOSED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: Intel Linux
: P1 high
Assignee: DO NOT USE - assign "network-wireless-intel" component instead
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-11 20:57 UTC by Ashutosh
Modified: 2018-10-13 07:15 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.12.14-25.16-default
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Ashutosh 2018-10-11 20:57:52 UTC
4.12.14-25.16-default #1 SMP Thu Aug 23 10:02:38 UTC 2018 (a5893c4) x86_64 x86_64 x86_64 GNU/Linux


Followed the below steps to configure, however not receiving IPv4 IP address from the router. Please suggest.

Steps:
=====
•	Installed iw and wpa_supplicant packages.
•	Verified the presence of the card
sles15sp0:linux_test>dmesg | grep 9260
[   74.125592] iwlwifi 0000:06:00.0: Detected Intel(R) Dual Band Wireless AC 9260, REV=0x324
•	Verified SLES image rev
sles15sp0:linux_test>uname -a
Linux sles15sp0 4.12.14-25.16-default #1 SMP Thu Aug 23 10:02:38 UTC 2018 (a5893c4) x86_64 x86_64 x86_64 GNU/Linux
You have new mail in /var/mail/root
sles15sp0:linux_test>
•	Looked for the wireless interface in the system and brought it up
sles15sp0:linux_test>iw dev
phy#0
        Interface wlan0
                ifindex 6
                wdev 0x1
                addr 94:b8:6d:87:4b:1e
                type managed
You have new mail in /var/mail/root
sles15sp0:linux_test>ip link show wlan0
6: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 94:b8:6d:87:4b:1e brd ff:ff:ff:ff:ff:ff

sles15sp0:linux_test>ip link set wlan0 up

sles15sp0:linux_test>ip link show wlan0

6: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 94:b8:6d:87:4b:1e brd ff:ff:ff:ff:ff:ff
sles15sp0:linux_test>iw wlan0 link
Not connected.

•	Scanned for available wifi access points and verified that security type = PSK
sles15sp0:linux_test>iw wlan0 scan | fgrep -i ssid
        SSID: NETGEAR48-5G-2
        SSID: NETGEAR48
        SSID: Verizon-MiFi5510L-EFC7
        SSID: NETGEAR48-5G-1
sles15sp0:linux_test>iw wlan0 scan | fgrep -i Authentication
                 * Authentication suites: PSK
                 * Authentication suites: PSK
                 * Authentication suites: PSK
                 * Authentication suites: PSK

•	Created a WPA configuration file

sles15sp0:linux_test>wpa_passphrase NETGEAR48 smoothgiant416 > wpa.conf
sles15sp0:linux_test>cat wpa.conf
network={
        ssid="NETGEAR48"
        #psk="smoothgiant416"
        psk=61d3dc46d102862ce4077862bc2f04d060b4b882deff43bbe4b10d8a4a041138
}

•	Looked up the drivers present in the system and ran wpa_supplicant
sles15sp0:linux_test>lsmod | grep -e Used -e iwl
Module                  Size  Used by
iwlmvm                425984  0
mac80211              888832  1 iwlmvm
iwlwifi               258048  1 iwlmvm
cfg80211              696320  3 iwlmvm,iwlwifi,mac80211
You have new mail in /var/mail/root

sles15sp0:linux_test>wpa_supplicant -B -Dcfg80211 -iwlan0 -c ./wpa.conf
Successfully initialized wpa_supplicant
wlan0: Unsupported driver 'cfg80211'

sles15sp0:linux_test>wpa_supplicant -B -Dwext -iwlan0 -c /tmp/wpa.conf
Successfully initialized wpa_supplicant

•	Checking if the association between Wifi AP ( our lab router ) and wlan0 (wifi interface) is in place.

sles15sp0:linux_test>iw dev wlan0 link
Connected to cc:40:d0:83:49:c1 (on wlan0)
        SSID: NETGEAR48
        freq: 2412
        RX: 2927 bytes (49 packets)
        TX: 1941 bytes (20 packets)
        signal: -62 dBm
        tx bitrate: 14.4 MBit/s MCS 8 short GI

        bss flags:      CTS-protection short-preamble short-slot-time
        dtim period:    2
        beacon int:     200
You have new mail in /var/mail/root

sles15sp0:linux_test>iw dev wlan0 info
Interface wlan0
        ifindex 6
        wdev 0x1
        addr 94:b8:6d:87:4b:1e
        ssid NETGEAR48
        type managed
        wiphy 0
        channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
sles15sp0:linux_test>

•	Try to obtain a DHCP IP from router.
•	This is where the problem lies, even if we are associated with the access point we are not getting an IP(IPV4)  back from router
sles15sp0:linux_test>dhclient wlan0
You have new mail in /var/mail/root

sles15sp0:linux_test>ip addr show wlan0
6: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 94:b8:6d:87:4b:1e brd ff:ff:ff:ff:ff:ff
    inet6 fe80::96b8:6dff:fe87:4b1e/64 scope link
       valid_lft forever preferred_lft forever
sles15sp0:linux_test>
Comment 1 Emmanuel Grumbach 2018-10-12 10:15:17 UTC
9260 is not supported in 4.12.
Comment 2 Ashutosh 2018-10-12 16:06:47 UTC
(In reply to Emmanuel Grumbach from comment #1)
> 9260 is not supported in 4.12.

As per SuSE, SLES15 latest kernel (4.12.14-25.16-default) has already lots of backporting for iwlwifi driver.

"iwlwifi" module is  officially supported on SLES15 .
Comment 3 Luca Coelho 2018-10-13 07:15:12 UTC
Sorry, if SuSE backported stuff to their kernel, they should be contacted if bugs are found there.

From our side, you can try to use our Core releases if you can't get SuSE's backport to work.  You can find it here:

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release

I recommend using Core38 now, which is our most recent stable and still supported version.

Note You need to log in before you can comment on or make changes to this bug.