$ lshw -c network
WARNING: you should run this program as super-user.
*-network
description: Wireless interface
product: Wireless 8260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlan0
version: 3a
serial: e4:b3:18:45:3b:ed
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.15.94 firmware=36.ca7b901d.0 8000C-36.ucode ip=172.16.227.230 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:56 memory:d0900000-d0901fff
you want Linux or freeBSD output because I got a reboot into FreeBSD and do that for freeBSD. the wpa_supplent file has what it needs to see Starbucks, the rc.conf has what it needs to fire up wifi route table is set to 0.0.0.0 it looks but canot find as seen in the image.Can you list uname -a and ifconfig wlan0, please.![]()
You don't need create_args_wlan0. The firmware in your NIC will default to the country you purchased the NIC or laptop in.
getting that off of can get to the net or have a DT/WM just the cli to post is not as easy as you think. luckily for me I found a mount command for Linux to get to freeBSD just moments ago. I do not know if it is safe for editing the files in linux thoughEasyEditor, ee command. Esc for save menu.
Helping yourself by sharing:
cat /etc/rc.conf
cat /etc/wpa_supplicant.conf
cat /boot/loader.conf
kldstat
255.255.255.0?
sudo mount -r -t ufs -o ufstype=ufs2 /dev/sda6 /mnt
$ cat /mnt/etc/rc.conf
sendmail_enable="NONE"
hostname="FreeBSDy"
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP"
create_args_wlan0="country US"
sshd_enable="YES"
moused_enable="YES"
ntpdate_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
$ sudo cat /mnt/etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1
network={
ssid="Starbucks WiFi"
scan_ssid=0
key_mgmt=NONE
priority=5
}
network={
priority=0
key_mgmt=NONE
}
cat /mnt/boot/loader.conf
id empty
$ cat /mnt/etc/kstat-stat
Id Refs Address Size Name
1 48 0xffffffff80200000 1f30590 kernel
2 1 0xffffffff82af9000 3378 acpi_wmi.ko
3 1 0xffffffff82afd000 87098 if_iwlwifi.ko
4 1 0xffffffff82b85000 17310 if_iwm.ko
5 1 0xffffffff82b9d000 3218 intpm.ko
6 1 0xffffffff82ba1000 2180 smbus.ko
7 1 0xffffffff82c00000 207d78 iwm8000Cfw.ko
8 1 0xffffffff82ba4000 2340 uhid.ko
9 1 0xffffffff82ba7000 4350 ums.ko
10 1 0xffffffff82bac000 3380 usbhid.ko
11 1 0xffffffff82bb0000 31f8 hidbus.ko
12 1 0xffffffff82bb4000 4d00 ng_ubt.ko
13 3 0xffffffff82bb9000 aac8 netgraph.ko
14 2 0xffffffff82bc4000 a238 ng_hci.ko
15 2 0xffffffff82bcf000 25a8 ng_bluetooth.ko
$ cat /mnt/etc/ifconfig-info
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether e4:b3:18:45:3b:ed
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
groups: wlan
ssid "Starbucks WiFi" channel 149 (5745 MHz 11a) bssid e2:cb:ac:91:81:87
regdomain FCC country US authmode WPA privacy MIXED deftxkey UNDEF
txpower 23 bmiss 10 mcastrate 6 mgmtrate 6 scanvalid 60 wme
roaming MANUAL
parent interface: iwm0
media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11a
status: associated
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
$ cat /mnt/etc/netstat-info
Routing tables
Internet:
Destination Gateway Flags Netif Expire
0.0.0.0/8 link#2 U wlan0
127.0.0.1 link#1 UH lo0
Internet6:
Destination Gateway Flags Netif Expire
::/96 ::1 UGRS lo0
::1 link#1 UHS lo0
::ffff:0.0.0.0/96 ::1 UGRS lo0
fe80::/10 ::1 UGRS lo0
fe80::%lo0/64 link#1 U lo0
fe80::1%lo0 link#1 UHS lo0
ff02::/16 ::1 UGRS lo0
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
fffff8001256e600 stream 0 0 0 fffff80012622700 0 0 /var/run/devd.pipe
fffff80012622700 stream 0 0 0 fffff8001256e600 0 0
fffff80012040b00 stream 0 0 0 fffff80012040a00 0 0
fffff80012040a00 stream 0 0 0 fffff80012040b00 0 0
fffff80012556900 stream 0 0 fffff800126475b8 0 0 0 /var/run/devd.pipe
fffff80001af2a00 dgram 0 0 0 fffff80012516700 0 0
fffff80012516700 dgram 0 0 fffff80012bd9000 0 fffff80001af2a00 0 /var/run/logpriv
fffff80012516500 dgram 0 0 fffff80012bd91e8 0 0 0 /var/run/log
fffff80012622a00 dgram 0 0 fffff800038c6988 0 0 0 /var/run/wpa_supplicant/wlan0
fffff80012556800 seqpac 0 0 fffff800126473d0 0 0 0 /var/run/devd.seqpacket.pipe
Most Linux distributions support UFS2 read-only, so you won't be able to edit anything.I do not know if it is safe for editing the files in linux though
I know, right. If my public wifi goes south I got my phone hotspot so I was thinking the same thing how to make it easier to connect to other wifi providers, I had this FreeBSD installed a few years back before COVID, and I remember having the network-manager-applet or an applet for wifi to select connections. I might have put that other wifi manager in.I wish between WPA and ifconfig that that situation would “just work.” I have passworded AP’s at home of course, but there’s an open“Guest WIFI” at work. Every time I go back and forth I have to go through contortions to get WiFi working.