u3g network problem
ait at p2ee.org
Wed Mar 31 12:18:27 UTC 2010
On Tue, Mar 30, 2010 at 5:27 PM, Patrick Lamaiziere
<patfbsd at davenulle.org> wrote:
> I've got some troubles with a 3G connection. I don't know which things
> I should check to debug this:
> I use ppp to connect and it works fine. But after a while (not a long
> time), I don't have any reply to DNS requests, as far I can see with
What are you using to dial to your 3g network? (I use wvdial, and love it)
I've seen this happen on my 3g network as well. It seems that the ISP
randomly updates the DNS to a broken one. So write down the DNSs when
it's actually working (cat /etc/resolv.conf) and make yourself a
little script that updates them back to the working DNSs here is mine
for example (adjust to your working DNSs):
# cat ./dnsdigitel
echo "nameserver 220.127.116.11" > /etc/resolv.conf
echo "nameserver 18.104.22.168" >> /etc/resolv.conf
So when it stops resolving I just ./dnsdigitel and that's it. Of
course, this could be easily automated, etc. but it's a quick fix to
your problem. Now, the interesting this is that your ISP does exactly
the same as my ISP, it changes the DNS randomly to non-working ones,
> Then if I use an IP, it works. So it looks like it is a problem with
> DNS. I've tried with an other dns server with the same result. I've
> also tried with a local dns server to cache the requests. It looks to
> help a bit.
> Anyway I also use a ssh tunnel to connect to my server and (on the
> server) I can see a lot of CLOSED sockets with netstat, and a lot of
> sshd processes stuck, even after days. So there is something wrong with
> the connection.
> Any idea or suggestion?
> Thanks, regards.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions