can you post some information like output from your freebsd system? Your post will benefit others using a Edimax USB nano Dongle and having a 2nd Wifi interface. You can read
https://forums.ghostbsd.org/viewtopic.php?f=64&t=526 Edimax EW-7811un Wifi USB nano dongle; 10.3 & 11.0 setup for my values using the Edimax from these same commands or this URL
https://forums.ghostbsd.org/viewtopic.php?f=64&t=570 RealTek RTL8188CE Wii-Fi PCI network hardware setup
https://www.freebsd.org/cgi/man.cgi?que ... ease-ports FreeBSD man page for rtwn(4) merged RealTek driver
Code: Select all
kldstat
pciconfi -lv
usbconfig list
usbconfig dump_device_desc
dmesg | tail -20
sysctl -n net.wlan.devices
uname -a
Quote the contents of those three files and show us how you set them up.
In this example below, I was creating a device wlan2 to use for the wifi network connection to not interfere with the Broadcom BCM4312 wifi device.
So I am unsure if urtwn0 is correct nomenclature for creating a wlan2 network interface name?
# 3 Files to add configuration lines into /boot/loader.conf /etc/rc.conf /etc/wpa_supplicant.conf
#/boot/loader.conf
Code: Select all
if_urtwn_load="YES"
legal.realtek.license_ack=1
# /etc/rc.conf add 2 lines for Edimax EW-7811utn. creating a wlan2 network interface name to use
Code: Select all
wlans_urtwn0="wlan2"
ifconfig_urtwn0="DHCP"
# /etc/wpa_supplicant.conf for an Open Network connection
Code: Select all
network={
ssid="innflux"
key_mgmt=NONE
}
Maybe in your
.bashrc file you can place some commands that would enable automatic / manual boot wifi when you login?? I did see instructions for using the BCM4312 wifi interface. I will place them in the following post.
kldunload or kldload command might help in disabling the BCM4312 wifi interface or just using the correct network name interface.
I am going by memory because I am running
http://Q4OS.org Debian 9 "Stretch" software and don't have a running GhostBSD yet available.
Fred
Use the following line for testing with the Debug and Password debug printout options. The wpa_supplicant sets up the PSK or WEP or WPA2 details Wpa_supplicant command is not needed for an "OPEN" network connection but issue this command anyway for completeness. The dhclient command request a DHCP IP allocation for your network connection wlan2. Change
urtwn0 to match your wifi device kernel driver file??? Maybe with the new TrueOS Kernel 18.12 based on FreeBSD 12, the wifi device kernel driver is
rtwn0? Please post what driver name "rtwn0" for RealTek RTL8192cu works for your GhostBSD 18.12 installation.
Code: Select all
ifconfig wlan2 create wlandev rtwn0
https://gnix0.wordpress.com/2018/03/07/ ... reebsd-11/
https://www.freebsd.org/cgi/man.cgi?que ... ease-ports FreeBSD man page for rtwn(4) merged RealTek driver
Code: Select all
ifconfig wlan2 create wlandev urtwn0
killall dhclient
wpa_supplicant -d -K -i wlan2 -c /etc/wpa_supplicant.conf
dhclient wlan2
Manually issue the wpa_supplicant with the background Dameon option and dhclient commands
Code: Select all
killall dhclient
wpa_supplicant -B -i wlan2 -c /etc/wpa_supplicant.conf
dhclient wlan2
# restart the two network services: network interface and network routing
Code: Select all
service netif restart
service routing restart
Refernce URL Forum posts
Other URL Links to read
https://forums.ghostbsd.org/viewtopic.php?f=64&t=1165 Re: Try these manual steps to enable networking.
https://forums.ghostbsd.org/viewtopic.php?f=64&t=526 Edimax EW-7811un Wifi USB nano dongle; 10.3 & 11.0 setup
https://forums.ghostbsd.org/viewtopic.php?f=64&t=570 RealTek RTL8188CE Wii-Fi PCI network hardware setup
https://gnix0.wordpress.com/2018/03/07/ ... reebsd-11/ Setup USB Wireless adapter FreeBSD 11
https://unix.stackexchange.com/question ... d-live-usb Intel iwm 8000 driver
https://forums.freebsd.org/threads/wifi ... ont.67487/ urtwn and rtwn driver
https://www.freebsd.org/cgi/man.cgi?que ... ease-ports FreeBSD man page for rtwn(4) merged RealTek driver
use Netstat commands to list out the new network interface connections
use Sockstat commands to list out the socket connections
or network status interface
or socket status ipv4
Check connectivity with ping command to a specific IP address like Google Domain Name service
Ping google Domain Naming Service (DNS) 3 times.
Ping Open Domain Naming Service (DNS) 3 times.
Ping Hurricane Electric Internet Service Provider 3 times.
Ping an OpenNic DNS server in Colorado ns4.co.us.dns.opennic.glue
https://servers.opennicproject.org/
http://sleepyhead.de/howto/?href=network Various OS including FreeBSD networking commands.
# Several manual pages to read more about wlan device drivers for FreeBSD
Code: Select all
man wlan
man rtwn
man utrwn
man rtwn_pci
man rtwn_usb
man rtwnfw
man wlandebug
man sysctl
# Use wlandebug and sysctl -a | grep wlan to explore settings and debug non-working system problems.
Code: Select all
wlandebug --help
sysctl -a | grep wlan