ghostbsd/networkmgr

[Bug]: file /etc/rc.conf line ifconfig_wlan0="WPA DHCP"

Opened this issue · 1 comments

Which BSD system

GhostBSD

Describe the bug

When you have been connecting to an encrypted WPA-PSK wifi signal, and then select to connnect to a non-encrypted OPEN wifi signal, the original line in the /etc/rc.conf file is:
ifconfig_wlan0="WPA DHCP" but now should be changed to
ifconfig_wlan0="DHCP" because is open and non-encrypted

FreeBSD does not handle this connection, unless the /etc/rc.conf file is edited to discard the text string "WPA" from that line. GhostBSD operates the same and will not connect to an open non-encrypted WiFi access point. This took me a whole 10 hour day to figure out, Eric. Can you talk to those FreeBSD committers and learn what they suggest from a system point of view about changing configuration settings a WiFi Access Point connection from encrypted WPA-PSK to non-encrypted OPEN WiFI Access Point? Why can not the application WPA_SUPPLICANT handle the change itself to connect to an OPEN non-encrypted network? From a users point of view that is always connected to at home encrypted WPA-PSK WiFI Access Point and then goes to an outside location with their laptop and using NetworkMgr application, it is not apparent to manual hand edit that single line in the /etc/rc.conf to reflect that this one time, I am connecting to the local StarBucks WiFi Access Point or other Free Access Point. So can your NetworkMgr see that I selected a strong signal OPEN non-encrypted WiFi Access Point and make changes to the wpa_supplicant.conf file and changes to /etc/rc.conf file for connection to an OPEN non-encrypted WiFi Access Point? Fred Finster

How to reproduce the bug?

Edit file /etc/rc.conf line: ifconfig_wlan0

Expected behavior

File /etc/rc.conf

Edit file /etc/rc.conf line: ifconfig_wlan0="WPA DHCP"

Try to connect with an OPEN non-encrypted network WiFi Access Point.
Does not work to connect. No errors that I found. Maybe look in dmesg or /var/log/messages

Edit file /etc/rc.conf line ifconfig_wlan0="DHCP"
Try to connect with an OPEN non-encrypted network WiFi Access Point router. See that it hooks up automatically, easily, and just works.

Here is Raph that has tried 3 days to connect to a wifi access point his router. See this is the problem
https://forums.freebsd.org/threads/wlan-associated-but-dhcp-not-working-iwm-iwlwifi.88343/

Duplicate of ghostbsd/issues#55