Re: Problems with WiFi networks - HP 255 G7, FreeBSD 14.2

From: Mauricio <humo3302_at_gmail.com>
Date: Wed, 02 Apr 2025 16:16:27 UTC
Thanks for the attention, both of you.

Here i share the output of the commands you requested:

dmesg: https://pastebin.com/pYWAkSed

ifconfig: https://pastebin.com/JcETgrGU

netstat -r: https://pastebin.com/298KabLG

netstat -r4n: https://pastebin.com/5kMhuFB6

And my rc.conf file: https://pastebin.com/55Gt0yGG

> There should be a file in /var/db/dhclient.leases.*

I could not find it, everything mentioned after /var/db was not in the
location.

So i could not delete it as you suggested.

Running $ dhclient -d wlan0 outputs: https://pastebin.com/VSRPTUD2







On Wed, Apr 2, 2025 at 4:30 AM Dave Cottlehuber <dch@skunkwerks.at> wrote:

> On Tue, 1 Apr 2025, at 17:33, Mauricio wrote:
> > Hey! : )
> >
> > I have decided to install FreeBSD 14.2 in my laptop (HP 255 G7).
> > This model use a WiFi card detected as rtw880 in the system.
>
> Welcome Mauricio!
>
> > I did the same for this 14.2 installation. And my WiFi card is
> > recognized when looking at the ifconfig output.
>
> A general suggestion is to provide the relevant info:
>
> - the section of dmesg
>
> - rc.conf if its not obvious what you'd have
>
> - any output like ifconfig wlan0
>
> > Anyways, when i use "ping 1.1.1.1" to check the status of my
> > connection, last lines indicate "No route to host"
> > so i guess system didnt make the connection.
>
> other that `ifconfig wlan0` what's in `netstat -r4n` ?
>
> This will show if you got an IP at all, and also if a default
> route has been created.
>
> There should be a file in /var/db/dhclient.leases.*
>
> One possibility is that the DHCP client either didn't run, or
> did not get an answer in time.
>
> Try deleting /var/db/dhclient.leases.* and running
>
> `service dhclient restart wlan0`
>
> or in the foreground:
>
> # service dhclient stop wlan0
> $ dhclient -d wlan0
>
> This should produce output like this:
>
> DHCPREQUEST on igc0 to 255.255.255.255 port 67
> DHCPACK from 172.16.1.1
> bound to 172.16.1.4 -- renewal in 150000 seconds.
>
> and it should also run the hook script which sets the
> default route.
>
> A+
> Dave
>