From owner-freebsd-questions@FreeBSD.ORG Wed Mar 31 19:39:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 903CD1065670 for ; Wed, 31 Mar 2010 19:39:21 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from n20.bullet.mail.ukl.yahoo.com (n20.bullet.mail.ukl.yahoo.com [87.248.110.137]) by mx1.freebsd.org (Postfix) with SMTP id 1A62F8FC14 for ; Wed, 31 Mar 2010 19:39:20 +0000 (UTC) Received: from [217.146.182.180] by n20.bullet.mail.ukl.yahoo.com with NNFMP; 31 Mar 2010 19:39:20 -0000 Received: from [87.248.110.53] by t6.bullet.ukl.yahoo.com with NNFMP; 31 Mar 2010 19:39:20 -0000 Received: from [127.0.0.1] by omp105.mail.ukl.yahoo.com with NNFMP; 31 Mar 2010 19:39:20 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 114860.40404.bm@omp105.mail.ukl.yahoo.com Received: (qmail 94189 invoked by uid 60001); 31 Mar 2010 19:39:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1270064359; bh=wKoN4bdmBYXggB1XO8aFgTjnECdxqw/CfI7iBmi7onQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TC4bCurOajHIUIIfBlPl4dzx5W59hBv5uQb1JDi4Qc/yprJJXFkdJGIKM4GW4QmCmyn3EqN+IgiDYJfhrE67KSSXWtZ8UdDHWkwSHVBalW5gHjLvfYeBaHM8hwL95UwYZ0MAfWnBsNMRpFPnmtToDKFyNm3X+1vhcZ7omXrTECo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=5FypyCit4H7YyVq2MvmnDXzZ6sdAWttgkxIBYk5KsDOMUlejwareARuXUsf0f8/WjPjVgJZHwqHKZ92ovwWBrSd1rNBsP/uOL6YcBCyptC4Mw4qO1hnf6bmztVLpdDwueKj1/+wp8uezNoI9KJruLRG15r12ycON0rFtqiC8VTE=; Message-ID: <903575.94048.qm@web24818.mail.ird.yahoo.com> X-YMail-OSG: s2DZhiwVM1mEAx0JxqRjLv6uLVOPl8zcTEhyeOpMQV0OHZO B4_q5VkRUDUIimADBAYA8QK62zzLfNM57w.cLVhXbYwpx_kqM9CWNCgw7A4n 1P.jEtRdq243GlwnwnzuQnll2ER8GwVqv.SGNfotW1pLcXIgFuHhZ4V7zd8j KS4tA6CDeh3m2Ub98WpLEKEDA5mHwphy1_j9fMyCt7MB8Wk4Npu2y7u1ggP1 r.QNP8eMnMsRwqaA9bOn_IVRoOzC1aMq1NDUc Received: from [82.243.40.23] by web24818.mail.ird.yahoo.com via HTTP; Wed, 31 Mar 2010 19:39:19 GMT X-Mailer: YahooMailClassic/10.0.8 YahooMailWebService/0.8.100.260964 Date: Wed, 31 Mar 2010 19:39:19 +0000 (GMT) From: "Alexandre L." To: Patrick Lamaiziere , Alejandro Imass In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: u3g network problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2010 19:39:21 -0000 Hi,=0A=0AIf your DNS are changed, I think that your network card is configu= red in DHCP mode.=0ATo dissallow DNS changes (in /etc/resolv.conf) by DHCP = updates, you can add this line to /etc/dhclient.conf : =0Aprepend domain-na= me-servers ,,;=0AAfter= you must restart your network card and voil=E0.=0A=0AAlexandre.=0A=0A--- E= n date de=A0: Mer 31.3.10, Alejandro Imass a =E9crit=A0:=0A= =0A> De: Alejandro Imass =0A> Objet: Re: u3g network problem= =0A> =C0: "Patrick Lamaiziere" =0A> Cc: freebsd-ques= tions@freebsd.org=0A> Date: Mercredi 31 mars 2010, 12h18=0A> On Tue, Mar 30= , 2010 at 5:27 PM,=0A> Patrick Lamaiziere=0A> =0A> w= rote:=0A> > (8-STABLE/i386)=0A> >=0A> > Hi,=0A> >=0A> > I've got some troub= les with a 3G connection. I don't=0A> know which things=0A> > I should chec= k to debug this:=0A> >=0A> > I use ppp to connect and it works fine. But af= ter a=0A> while (not a long=0A> > time), I don't have any reply to DNS requ= ests, as far=0A> I can see with=0A> > wireshark...=0A> >=0A> =0A> What are = you using to dial to your 3g network? (I use=0A> wvdial, and love it)=0A> = =0A> I've seen this happen on my 3g network as well. It seems=0A> that the = ISP=0A> randomly updates the DNS to a broken one. So write down the=0A> DNS= s when=0A> it's actually working (cat /etc/resolv.conf) and make=0A> yourse= lf a=0A> little script that updates them back to the working DNSs=0A> here = is mine=0A> for example (adjust to your working DNSs):=0A> =0A> =0A> # cat = ./dnsdigitel=0A> =0A> #!/bin/sh=0A> echo "nameserver 204.59.152.208" > /etc= /resolv.conf=0A> echo "nameserver 57.73.127.195" >> /etc/resolv.conf=0A> = =0A> So when it stops resolving I just ./dnsdigitel and that's=0A> it. Of= =0A> course, this could be easily automated, etc. but it's a=0A> quick fix = to=0A> your problem. Now, the interesting this is that your ISP=0A> does ex= actly=0A> the same as my ISP, it changes the DNS randomly to=0A> non-workin= g ones,=0A> curious.=0A> =0A> Best,=0A> Alejandro Imass=0A> =0A> > Then if = I use an IP, it works. So it looks like it is=0A> a problem with=0A> > DNS.= I've tried with an other dns server with the same=0A> result. I've=0A> > a= lso tried with a local dns server to cache the=0A> requests. It looks to=0A= > > help a bit.=0A> >=0A> > Anyway I also use a ssh tunnel to connect to my= server=0A> and (on the=0A> > server) I can see a lot of CLOSED sockets wit= h=0A> netstat, and a lot of=0A> > sshd processes stuck, even after days. So= there is=0A> something wrong with=0A> > the connection.=0A> >=0A> > Any id= ea or suggestion?=0A> >=0A> > Thanks, regards.=0A> >=0A> >=0A> > __________= _____________________________________=0A> > freebsd-questions@freebsd.org= =0A> mailing list=0A> > http://lists.freebsd.org/mailman/listinfo/freebsd-q= uestions=0A> > To unsubscribe, send any mail to "freebsd-questions-unsubscr= ibe@freebsd.org"=0A> >=0A> _______________________________________________= =0A> freebsd-questions@freebsd.org=0A> mailing list=0A> http://lists.freebs= d.org/mailman/listinfo/freebsd-questions=0A> To unsubscribe, send any mail = to "freebsd-questions-unsubscribe@freebsd.org"=0A> =0A=0A=0A