Are there other checklists you might share below, for determining the cause of a Wireless Lan setup failure?
netstat -rn
netstat -rs
ping -c 3 192.168.1.1
Check if you can ping the local router
ping -c 3 8.8.4.4
Ping the Google Domain Name Server or
ping -c 3 1.1.1.1
ping -c 3 he.net
Check if Domain Name Server is operational. Hurricane Electric is a known Backbone IP provider
They also have some IP6 testing tools and tunneling to use if you are interested. I also like that "
he.net" is short and quick to type for a ping test.
sudo service netif restart
Sometimes one has to restart the network interface (should a person still use
sudo service routing restart
to be complete?? It says if you edit
/etc/rc.conf file, use the service routing restart.)
Reading the following forum posts, to understand a manual setup of a wifi connection,
Read both forum posts, They have slightly different tests and setups that you can learn techniques.
https://forums.ghostbsd.org/viewtopic.php?t=526 Manual USB Wifi Network setup, step by step
https://forums.ghostbsd.org/viewtopic.php?t=570 Manual PCI Wifi Network setup, step by step
Yes,
NetworkMgr app, does all these steps automatically for you to make a wifi connection to an access point. If something is broken you will have to go step by step to find out what is NOT WORKING in your case.
https://docs.freebsd.org/doc/5.3-RELEASE/usr/share/doc/handbook/config-network-setup.html()
FreeBSD 5.3 Check the simple things first: is the cable connected? Did you type in the right SSID name? Are you on the right channel?
ifconfig wlan0 ssid myfeather channel 6
https://docs.freebsd.org/en/books/handbook/config/#config-network-setup()
https://docs.freebsd.org/en/books/handbook/advanced-networking/() FreeBSD Chapter 33
https://docs.freebsd.org/en/books/handbook/advanced-networking/#network-wireless()
33.3 Wireless Networking Quick Setup section.
3 files to edit:
/boot/loader.conf /etc/rc.conf /etc/wpa_supplicant.conf
sudo service netif restart
https://docs.freebsd.org/en/books/handbook/advanced-networking/#network-usb-tethering() USB Tethering for Android and Apple cellphones. Use a USB cable from cellphone to your computer USB port. Find a network interface device
ue0 or
ipheth0
33.4. USB Tethering from a cellphone
Many cellphones provide the option to share their data connection over USB (often called "tethering"). This feature uses one of RNDIS, CDC, or a custom Apple® iPhone®/iPad® protocol.
- Android™ devices generally use the urndis(4) driver.
- Apple® devices use the ipheth(4) driver.
- Older devices will often use the cdce(4) driver.
Before attaching a device, load the appropriate driver into the kernel:
Setting up USB Tethering in detail Ghostbsd forum post:
Code:
ifconfig
kldstat
kldload if_urndis # load kernel module
if_urndis kldstat | grep if_urndis # check if it loaded
ifconfig ue0 up
dhclient ue0
ping -c 3 8.8.4.4
ping -c 3 freebsd.org
ping -c 3 he.net
netstat -rn
sockstat -4
https://www.freshports.org/net-mgmt/networkmgr NetworkMgr is a very usable GTK Icon application to add to your desktop environment. It will keep track of your Network Wifi and Wired Connection on your Laptop.
Created by Eric Turgeon for
GhostBSD.org
https://wiki.ghostbsd.org/index.php/Networkmgr MATE GUI picture of NetworkMgr in operation