Saturday, January 29, 2022

GhostBSD 22.01.26 minor problems I encountered. A little post to remember before I forget. How I fixed MY PROBLEMS.

GhostBSD 22.01.26 Networking, USB Audio Headset

Don't  Tell your  /etc/wpa_supplicant.conf   file  One Thing  ( Open Network, No WPA security needed) and tell your /etc/rc.conf  file that you need WPA & WPA2  security.   These two files must be on the same page, and only you can verify that YOU BIG NETWORK DUDE GUY have written them to match YOUR intention!! 

/etc/wpa_supplicant.conf

network={
 ssid="Swinomish Lodge Guest"
 key_mgmt=NONE
}



/etc/rc.conf
zfs_enable="YES"
kld_list="linux linux64 cuse fusefs /boot/modules/i915kms.ko"
linux_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
devfs_enable="YES"
devfs_system_ruleset="devfsrules_common"
dbus_enable="YES"
lightdm_enable="YES"
webcamd_enable="YES"
webcamd_0_flags="-d ugen1.3"
cupsd_enable="YES"
avahi_daemon_enable="YES"
avahi_dnsconfd_enable="YES"
moused_enable="YES"
ipfw_enable="YES"
firewall_enable="YES"
ifconfig_em0="DHCP"
wlans_iwn0="wlan0"
# ifconfig_wlan0="inet 172.22.223.251 netmask 255.255.252.0 media OFDM/36Mbps mode 11g"
# ifconfig_wlan0="WPA DHCP channel 6 ssid 'Swinomish Lodge Guest' "
ifconfig_wlan0="DHCP channel 6 ssid 'Swinomish Lodge Guest' "
keymap="us.kbd"
hostname="fred-pc"
dsbmd_enable="YES"
#defaultrouter="172.22.220.1"


NONE for wpa_supplicant.conf and WPA removed   should match for the Open Network (no encryption)  DHCP Dynamic Host Control Protocol  ifconfig_wlan0 statement  to issue the correct sequence of networking commands to the wifi interface to connect with an OPEN network that does NOT need WPA passkey or password!   It took awhile to figure out that "WPA DHCP" was not correct and "DHCP"  is correct, because you see all the time the  "WPA DHCP"  when you are trying to connect with a passkey encoded  WPA WiFi networks.


service netif restart
service routing restart 
bsdconfig networking     Is quite a helpful tool to set your default gateway, your hostname, 


No comments:

Post a Comment