Solved Fresh Install --- sosdd no wifi ip Address gotten

I'm not getting an IP. It hooks up to the wifi but 0.0.0.0 I think it was using ifconfig wlan0

Code:
clear_tmp_enable="YES"
sendmail_enable="NONE"
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
create_args_wlan0="country US regdomain FCC"
ifconfig_em0="DHCP"
 
Last edited by a moderator:
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.
 
I went back to FreeBSD because ... especially after I seen they have a driver for my wifi card on my laptop. 13.1 got it installed and the wifi works but it does not get an IP address seeks 255.255.255.255 and I end up with 0.0.0.0 on the ip fail. no wifi no updates, no install anything to help me edit files as my vi skills suck if that is what is installed by default to use to edit /create a wpa_supplicant conf

it is logging on to and shows "Startbucks WiFi" that has no password but I get inet 0.0.0.0

Code:
$ 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
info from Linux

what to do?
 
EasyEditor, 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?
 
Can you list uname -a and ifconfig wlan0, please.
FREEBSD-20230302_150915.jpg


You don't need create_args_wlan0. The firmware in your NIC will default to the country you purchased the NIC or laptop in.
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.

uname is FREEBSD 13.1 ...

I have to jump back into FreeBSD for ifconfig brb
 
EasyEditor, 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?
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 though

I have to boot back into BSD to get kldstat output.
Code:
sudo mount -r -t ufs -o ufstype=ufs2 /dev/sda6 /mnt

Code:
$ 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"
Code:
$ 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
}
Code:
cat /mnt/boot/loader.conf
id empty
Code:
$ 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
Code:
$ 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>

Image is at boot time not a very good image but ...
FREEBSD-BOOT-20230302_155324.jpg

its looking at 255.255.255.255 route table (?) set at 0.0.0.0/8

netstat -nr and just netstat output
Code:
$ 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
 
FIXED:

I found something that said open networks just add DHCP or SYNCDHCP to the rc.conf in other words remove that WPA part, then it connected in seconds .
 
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.
 
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.
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 got installed FreeBSD again yesterday after I decided to revisit it and seen they finally have my drivers for my WIFI card already on the system that is why I decided to install it again. when I get back to wifi and if I figure out how I did that again. I'll post back in a reply to you in here.

I still need to figure out and see if this OS does Bluetooth ear buds easily . that is what I am working on now.
 
Back
Top