Re: NetworkManager and domain names

2009-12-06 Thread Dan Williams
On Sat, 2009-12-05 at 13:42 +, Alex Buell wrote:
 On Sat, 2009-12-05 at 13:34 +, Rick Jones wrote:
 
  OK, thanks. I just wondered, as I've never perceived a need for a FQDN when 
  using a mobile link. I don't use Evolution.
 
 Evolution works just fine, the problem is with only posts to newsgroups
 that needs a FQDN. 
 
  I do find an irritating problem with 3 in that sometimes it fails to 
  provide DNS addresses, and I have to disconnect and re-connect to pick them 
  up. I'm pretty sure it's not a NM issue, just something glitchy with their 
  connections or maybe the sh*t ZTE modem. :(. Seems to be worse with low 
  signal strength, so maybe the link just loses the info. and never re-tries.
  
  Do you ever get that?
 
 Yes, loads. Rather than disconnecting, I plonk the correct DNS addresses
 into /etc/resolv.conf whenever that happens. Usually I get the 10.x.x.x
 ones or even more curiouser, the 4.3.2.1 ones. Any ideas why? It's
 weird!

Any of those addresses are fake ones from either pppd or the modem
because of some internal error or miscommunication.  I don't think
anybody has figured out yet why.  In any case, NM 0.7.2 and recent NM
0.8 snapshots should detect those address and substitute known-good
servers for them (4.2.2.1 and 4.2.2.2).  Not optimal, but at least you
can get online.

I see this occasionally with T-Mobile US and my Huawei stick, but I've
never seen it with Option devices for example.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager and domain names

2009-12-05 Thread Rick Jones
--On Friday, December 04, 2009 16:34:48 -0800 Dan Williams 
d...@redhat.com wrote:



On Sun, 2009-11-29 at 18:40 +, Alex Buell wrote:

I use NetworkManager with three's mobile broadband. I have just found
out that it is not able to obtain a domain name with dhcpcd. Any ideas
how I can force NetworkManager into getting a domain name from three's
DHCP servers? Thanks for any advice given!


I'm curious as to what domain name you'd expect to see, snd what it would 
do for you?


Rick


Remember that cellular mobile broadband doesn't actually use DHCP at
all; the DHCP or PPP session is between you and the 3G device itself.
What happens over the air is not DHCP, but a GPRS PDP context setup
between the 3G device and the network that does not include the domain
name.  You *may* be able to obtain a domain name through reverse-DNS,
which NM may already be doing if you haven't set a persistent machine
hostname through /etc/hostname or wherever.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list



___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager and domain names

2009-12-05 Thread Alex Buell
On Sat, 2009-12-05 at 09:54 +, Rick Jones wrote:
 --On Friday, December 04, 2009 16:34:48 -0800 Dan Williams 
 d...@redhat.com wrote:
 
  On Sun, 2009-11-29 at 18:40 +, Alex Buell wrote:
  I use NetworkManager with three's mobile broadband. I have just found
  out that it is not able to obtain a domain name with dhcpcd. Any ideas
  how I can force NetworkManager into getting a domain name from three's
  DHCP servers? Thanks for any advice given!
 
 I'm curious as to what domain name you'd expect to see, snd what it would 
 do for you?

I'd expect to see something like hostname.wibble.three.com etc., the
reason why I ask is because Evolution likes to have a FQDN when posting
to news via leafnode which I use on my laptop. If there's no FQDN or an
invalid one, leafnode refuses to accept any posts. 

This is only a problem when away from home. When at home I do have a
proper FQDN from my router.
-- 
http://www.munted.org.uk

One very high maintenance cat living here.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager and domain names

2009-12-05 Thread Rick Jones
--On Saturday, December 05, 2009 12:51:27 + Alex Buell 
alex.bu...@munted.org.uk wrote:


 On Sun, 2009-11-29 at 18:40 +, Alex Buell wrote:
 I use NetworkManager with three's mobile broadband. I have just found
 out that it is not able to obtain a domain name with dhcpcd. Any ideas
 how I can force NetworkManager into getting a domain name from three's
 DHCP servers? Thanks for any advice given!

I'm curious as to what domain name you'd expect to see, snd what it
would  do for you?


I'd expect to see something like hostname.wibble.three.com etc., the
reason why I ask is because Evolution likes to have a FQDN when posting
to news via leafnode which I use on my laptop. If there's no FQDN or an
invalid one, leafnode refuses to accept any posts.

This is only a problem when away from home. When at home I do have a
proper FQDN from my router.


OK, thanks. I just wondered, as I've never perceived a need for a FQDN when 
using a mobile link. I don't use Evolution.


I do find an irritating problem with 3 in that sometimes it fails to 
provide DNS addresses, and I have to disconnect and re-connect to pick them 
up. I'm pretty sure it's not a NM issue, just something glitchy with their 
connections or maybe the sh*t ZTE modem. :(. Seems to be worse with low 
signal strength, so maybe the link just loses the info. and never re-tries.


Do you ever get that?

Cheers, Rick
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager and domain names

2009-12-05 Thread Alex Buell
On Sat, 2009-12-05 at 13:34 +, Rick Jones wrote:

 OK, thanks. I just wondered, as I've never perceived a need for a FQDN when 
 using a mobile link. I don't use Evolution.

Evolution works just fine, the problem is with only posts to newsgroups
that needs a FQDN. 

 I do find an irritating problem with 3 in that sometimes it fails to 
 provide DNS addresses, and I have to disconnect and re-connect to pick them 
 up. I'm pretty sure it's not a NM issue, just something glitchy with their 
 connections or maybe the sh*t ZTE modem. :(. Seems to be worse with low 
 signal strength, so maybe the link just loses the info. and never re-tries.
 
 Do you ever get that?

Yes, loads. Rather than disconnecting, I plonk the correct DNS addresses
into /etc/resolv.conf whenever that happens. Usually I get the 10.x.x.x
ones or even more curiouser, the 4.3.2.1 ones. Any ideas why? It's
weird!
-- 
http://www.munted.org.uk

One very high maintenance cat living here.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: NetworkManager and domain names

2009-12-04 Thread Dan Williams
On Sun, 2009-11-29 at 18:40 +, Alex Buell wrote:
 I use NetworkManager with three's mobile broadband. I have just found
 out that it is not able to obtain a domain name with dhcpcd. Any ideas
 how I can force NetworkManager into getting a domain name from three's
 DHCP servers? Thanks for any advice given!

Remember that cellular mobile broadband doesn't actually use DHCP at
all; the DHCP or PPP session is between you and the 3G device itself.
What happens over the air is not DHCP, but a GPRS PDP context setup
between the 3G device and the network that does not include the domain
name.  You *may* be able to obtain a domain name through reverse-DNS,
which NM may already be doing if you haven't set a persistent machine
hostname through /etc/hostname or wherever.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


NetworkManager and domain names

2009-11-29 Thread Alex Buell
I use NetworkManager with three's mobile broadband. I have just found
out that it is not able to obtain a domain name with dhcpcd. Any ideas
how I can force NetworkManager into getting a domain name from three's
DHCP servers? Thanks for any advice given!

Regards
Alex
-- 
http://www.munted.org.uk

One very high maintenance cat living here.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list