WiFi not working

hi friends at freebsd,

I updated my system to 13.1R -p5. Since the update and reboot,
Read and applied all suggestions on this page and the FreeBSD forum.

Now
ifconfig wlan0 shows associated, but Nmap show closed TCP ports.

that is no INTERNET IN browser.

I can ping my router 192.168.1.1.

but I can not browse.

I am using wifi on fibre broadband.

Need urgent help...
 
I found two entries in /etc/resolv.conf

nameserver 127.0.01
option edns0

and previous entries were commented.

SOLUTION( from my personal notes while adding wifi-manager... )
# resolvconf -u
reply# no local_unbound service

so uncommented local_unbound_enable="YES" in /etc/rc.conf

#nano /etc/resolv.conf

uncommented
nameserver 192.168.1.1
nameserver 1.1.1.1


BUT IT'S UNKNOWN HOW AFTER UPGRADING, WHY LOCAL_UNBOUND IS REQUIRED AND HOW UPDATE, CHANGED ENTRIES IN RESOLV.CONF????
 
That sounds like a name resolution issue, check your name servers in resolv.conf and make sure you can ping them.
Code:
/etc/resolv.conf

nameserver 10.1.1.1
nameserver 10.1.1.2
 
Dear kaladhari,
if the spec is nameserver 127.0.0.1 you need something as dns/unbound or the version in base. If your router supports DNS enter nameserver 192.168.1.1. This should work for "plastic" routers as you get from your internet provider. If the router does not support DNS queries enter an IP address of an external provider. As far as I remember nameserver 8.8.8.8 should be ok to use the google DNS.
 
Alike cases I had here were due to changed settings on the router or different DHCP address obtained where the box had a fixed IP.

Changed name unit for the interface in /etc/rc.conf is also something to look at.
 
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.

Edimax EW-7811un V1 Wifi USB nano dongle; 10.3 & 11.0 setup

https://forums.ghostbsd.org/viewtopic.php?t=526 Manual USB Wifi Network setup, step by step

RealTek RTL8188CE Wii-Fi PCI network hardware setup

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
 
Back
Top