Date: Fri, 15 Mar 2024 04:13:10 +0000 (UTC) From: Sreenath Battalahalli <sreenathbh@rocketmail.com> To: Chris <bsd-lists@bsdforge.com> Cc: freebsd-net@freebsd.org Subject: Re: Sporadic DNS failure Message-ID: <1813027035.5041661.1710475990554@mail.yahoo.com> In-Reply-To: <c75fcf0dcd38d32dfd05a2b4f9b73e64@bsdforge.com> References: <962395829.4561667.1710400340452.ref@mail.yahoo.com> <962395829.4561667.1710400340452@mail.yahoo.com> <c75fcf0dcd38d32dfd05a2b4f9b73e64@bsdforge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_5041660_1565120402.1710475990553 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =20 Hi Chris, Thanks for your message. The wifi continues to be associated with access point, and I can ping 1.1.1= .1 as well. My USB wifi interface is rtwn(earlier urtwn) It is just that DNS queries fail, even when 1.1.1.1 is accessible, at least= to ping. Is it possible that UDP communication is failing?=20 Is there any log information that can shed more light on the issue? thanks, Sreenath On Friday, March 15, 2024 at 12:48:47 AM GMT+5:30, Chris <bsd-lists@bs= dforge.com> wrote: =20 =20 On 2024-03-14 00:12, Sreenath Battalahalli wrote: > Hi, >=20 > I have been using freebsd as my primary OS on my ACER laptop for many yea= rs=20 > now. > My laptop has 802.11AC card for which there is no kernel driver available= . I=20 > am I > use a USB wifi adapter to access the wifi router. >=20 > I am having sporadic DNS failures . >=20 > After reboot, everything works fine but after some time (30 minutes to a= =20 > couple of > hours), Internet > connections start to fail. >=20 > When this happens, I am able to ping 1.1.1.1, my DNS server. >=20 > However, > # drill yahoo.com (or any other name) fails with following error: >=20 > Error: error sending query: Could not send or receive, because of network= =20 > error >=20 > Other devices connected to same Wifi router continue to work fine. >=20 > I ran drill under truss and it appears after sendto to 1.1.1.1, no respon= se=20 > comes. >=20 > After this error occurs, it stays like that for many some time (20-30=20 > minutes) and > sometimes it gets resolved by itself. >=20 >=20 > #uname -a > FreeBSD bsd12 13.0-RELEASE-p13 FreeBSD 13.0-RELEASE-p13 #0: Mon Aug 29=20 > 19:52:47 > UTC 2022=C2=A0 =C2=A0 root@amd64-builder.d > aemonology.net:/usr/obj/usr/src/amd64.amd64/sys > /GENERIC=C2=A0 amd64 >=20 > Can someone please help me debug this problem? I'm going to suggest that this might be a symptom of your usb port/hub=20 hanging-up/ disconnecting due to inactivity. Your BIOS setup may have a setting=20 associated with that. OTOH I don't know what NIC driver you're using for your USB=20 network adapter. When you discover you can't perform DNS lookups, are you still=20 associated? eg; does the output of ifconfig still show associated? What are the setting= s in rc.conf(5) related to your network setup? >=20 > Thanks, > Sreenath HTH --Chris =20 ------=_Part_5041660_1565120402.1710475990553 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div> <br>Hi Chris,<br><br>Thanks for your message.<br>The w= ifi continues to be associated with access point, and I can ping 1.1.1.1 as= well.<br>My USB wifi interface is rtwn(earlier urtwn)<br><br>It is just th= at DNS queries fail, even when 1.1.1.1 is accessible, at least to ping.<br>= <br>Is it possible that UDP communication is failing? <br>Is there any log = information that can shed more light on the issue?<br><br>thanks,<br>Sreena= th<br><br> </div> <div class=3D"yahoo_quoted" style= =3D"margin:10px 0px 0px 0.8ex;border-left:1px solid #ccc;padding-left:1ex;"= > <div style=3D"font-family:'Helvetica Neue', Helvet= ica, Arial, sans-serif;font-size:13px;color:#26282a;"> = <div> On Friday, March 15, 2024 at 12:48:47 A= M GMT+5:30, Chris <bsd-lists@bsdforge.com> wrote: </di= v> <div><br></div> <div><br></div> = <div><div dir=3D"ltr">On 2024-03-14 00:12, Sreenath Battalahalli wrote= :<br clear=3D"none">> Hi,<br clear=3D"none">> <br clear=3D"none">>= I have been using freebsd as my primary OS on my ACER laptop for many year= s <br clear=3D"none">> now.<br clear=3D"none">> My laptop has 802.11A= C card for which there is no kernel driver available. I <br clear=3D"none">= > am I<br clear=3D"none">> use a USB wifi adapter to access the wifi = router.<br clear=3D"none">> <br clear=3D"none">> I am having sporadic= DNS failures .<br clear=3D"none">> <br clear=3D"none">> After reboot= , everything works fine but after some time (30 minutes to a <br clear=3D"n= one">> couple of<br clear=3D"none">> hours), Internet<br clear=3D"non= e">> connections start to fail.<br clear=3D"none">> <br clear=3D"none= ">> When this happens, I am able to ping 1.1.1.1, my DNS server.<br clea= r=3D"none">> <br clear=3D"none">> However,<br clear=3D"none">> # d= rill yahoo.com (or any other name) fails with following error:<br clear=3D"= none">> <br clear=3D"none">> Error: error sending query: Could not se= nd or receive, because of network <br clear=3D"none">> error<br clear=3D= "none">> <br clear=3D"none">> Other devices connected to same Wifi ro= uter continue to work fine.<br clear=3D"none">> <br clear=3D"none">> = I ran drill under truss and it appears after sendto to 1.1.1.1, no response= <br clear=3D"none">> comes.<br clear=3D"none">> <br clear=3D"none">&= gt; After this error occurs, it stays like that for many some time (20-30 <= br clear=3D"none">> minutes) and<br clear=3D"none">> sometimes it get= s resolved by itself.<br clear=3D"none">> <br clear=3D"none">> <br cl= ear=3D"none">> #uname -a<br clear=3D"none">> FreeBSD bsd12 13.0-RELEA= SE-p13 FreeBSD 13.0-RELEASE-p13 #0: Mon Aug 29 <br clear=3D"none">> 19:5= 2:47<br clear=3D"none">> UTC 2022 <a shape=3D"rect" ymailt= o=3D"mailto:root@amd64-builder.d" href=3D"mailto:root@amd64-builder.d">root= @amd64-builder.d</a><br clear=3D"none">> aemonology.net:/usr/obj/usr/src= /amd64.amd64/sys<br clear=3D"none">> /GENERIC amd64<br clear=3D"no= ne">> <br clear=3D"none">> Can someone please help me debug this prob= lem?<br clear=3D"none">I'm going to suggest that this might be a symptom of= your usb port/hub <br clear=3D"none">hanging-up/<br clear=3D"none">disconn= ecting due to inactivity. Your BIOS setup may have a setting <br clear=3D"n= one">associated<br clear=3D"none">with that. OTOH I don't know what NIC dri= ver you're using for your USB <br clear=3D"none">network<br clear=3D"none">= adapter. When you discover you can't perform DNS lookups, are you still <br= clear=3D"none">associated?<br clear=3D"none">eg; does the output of ifconf= ig still show associated? What are the settings<br clear=3D"none">in rc.con= f(5) related to your network setup?<div class=3D"yqt9000462212" id=3D"yqtfd= 31433"><br clear=3D"none">> <br clear=3D"none">> Thanks,<br clear=3D"= none">> Sreenath</div><br clear=3D"none"><br clear=3D"none">HTH<br clear= =3D"none"><br clear=3D"none">--Chris<div class=3D"yqt9000462212" id=3D"yqtf= d32636"><br clear=3D"none"></div></div></div> </div> = </div> ------=_Part_5041660_1565120402.1710475990553--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1813027035.5041661.1710475990554>