Bug 254683 - Unable to connect get IP address from WPA-EAP TTLS network on FreeBSD 13.0-RC4
Summary: Unable to connect get IP address from WPA-EAP TTLS network on FreeBSD 13.0-RC4
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 13.0-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-wireless (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-03-31 21:03 UTC by Ian Sutter
Modified: 2021-04-01 16:46 UTC (History)
1 user (show)

See Also:


Attachments
dmesg | grep iwm0 (4.77 KB, text/plain)
2021-03-31 21:04 UTC, Ian Sutter
no flags Details
netstat -m (1.13 KB, text/plain)
2021-04-01 15:01 UTC, Ian Sutter
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Sutter 2021-03-31 21:03:57 UTC
Hello,

I am unable to get an ip address from my college wifi access point. My college uses Tunneled TLS with two possible inner authentication mechanisms (PAP or GTC). I have tried a few different configurations but none of them worked.

Am I potentially looking in the wrong place? Could this be an issue with dhclient?

Please note that this issue did not exist in the 12.x release series (although my tests then were with drivers other than iwn)

here are the combinations I have tried in /etc/wpa_supplicant.conf that I can remember:

// this one usually works when I try it
network={
    ssid="networkname" // this is just a placeholder for the real ssid
    key_mgmt=WPA-EAP
    identity="insert my identity here"
    password="insert my password here"
}


// specifying anything other than the above has always given me problems but I 
// tried it anyways
network={
    ssid="networkname"
    key_mgmt=WPA-EAP
    eap=TTLS
    phase1="peaplabel=0"
    phase2="auth=GTC"
    identity="insert my identity here"
    password="insert my password here"
}

// I also tried it with PAP
network={
    ssid="networkname"
    key_mgmt=WPA-EAP
    eap=TTLS
    phase1="peaplabel=0"
    phase2="auth=PAP"
    identity="insert my identity here"
    password="insert my password here"
}


none of these combinations have worked.

The hardware I am working with is a System76 galago pro (not the most recent one). the wifi chipset is an intel Wireless AC 9560. If there is any other information I need to add, please tell me.

Thanks,

Ian Sutter
Comment 1 Ian Sutter 2021-03-31 21:04:35 UTC
Created attachment 223735 [details]
dmesg | grep iwm0

log file
Comment 2 Ian Sutter 2021-04-01 15:01:24 UTC
Created attachment 223750 [details]
netstat -m
Comment 3 Adrian Chadd freebsd_committer 2021-04-01 15:21:06 UTC
I haven't tried this in forever :( But it's possible the updates to wpa_supplicant and net80211 changed things.

Which hardware were you using in 12.x?
Comment 4 Adrian Chadd freebsd_committer 2021-04-01 15:21:44 UTC
Also, you can get a LOT more debugging from the supplicant, run it in the foreground with '-ddd' on the command line and capture that.
Comment 5 Ian Sutter 2021-04-01 16:46:39 UTC
I would like to request a change of the title of this bug to "Unable to get IP address from WPA-EAP TTLS network with iwm driver"

I just tested connecting to the same network with a wifi dongle and it worked like a charm. This leads me a believe that it is a bug with iwm driver specifically, and not a problem with the DHCP stack.