Re: Network Manager patched on Ubuntu Karmic 9.10

2009-11-29 Thread Dan Williams
On Thu, 2009-11-26 at 14:04 +0300, Louigi Verona wrote:
> I have located a similar bug and have replied there:
> https://bugzilla.gnome.org/show_bug.cgi?id=600455
> 
> And also have created a more detailed bug - a bit different, because
> it was AFTER I installed a daily build. Here:
> https://bugzilla.gnome.org/show_bug.cgi?id=603029
> 
> Please, tell me if any additional information is required.

Yes, I've seen the bug, thanks.  We were on holiday this last week in
the US so the response is going to be a bit slow.  I'll follow up in the
bug report, but note that one of the issues you noted is already fixed
in Alexander's PPAs, the one about DSL connections always failing.

The "Insufficient privilieges" issue is a PolicyKit problem that we need
to work through too and the one I'm most interested in.  Does doing what
this guy did help?

http://blogs.gnome.org/happyaron/2009/11/27/getting-networkmanager-work-with-pppoe-connection-on-ubuntu-9-10/

If so, that points further to PolicyKit configuration issues.

Dan


> Louigi Verona.
> 
> 
> On Thu, Nov 26, 2009 at 12:32 PM, Louigi Verona
>  wrote:
> Hello everyone!
> 
> It's been more than a week since I wrote to this mailing list
> asking for help. I've been asked to provide logs. I have
> provided them. What else should I do for the developers to
> take a look at the problem?
> 
> I cannot connect normally to the Internet since I've upgraded
> to Ubuntu 9.10 and it is very frustrating, not to say that
> this is embarrassing when people sitting nearby in Windows
> have no problems connecting to anything and I have to keep
> restarting the system or recreate connections in order to get
> the thing done.
> 
> PLEASE, look into this! I am ready to pay or give any logs you
> want - I just want NM to work normally!
> 
> 
> To not make you search for data in previous emails, here's the
> description of the bug again:
> 
> 1. When you create a DSL connection, if you tick the Allow all
> users, the connection will not work. You will not also be able
> to edit this connection as it will keep saying "Insufficient
> privileges".
> 2. After a couple of days the connection will not work. All
> your attempts to login prompt a password screen and when you
> enter the password, NM window will crash. The solution is to
> delete the connection through Edit Connections and create a
> new one from scratch.
> 
> Here are the different logs:
> 
> 
> 
> 
> https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/462944
> - this report has logs
> 
> This is a duplicate with logs and txt files.
> 
> https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/457109
> 
> Here is another one:
> https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/476204
> 
> 
> Louigi Verona.
> 

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


Re: OLPC mesh support backported to NM-0.7

2009-11-29 Thread Dan Williams
On Thu, 2009-11-26 at 15:36 +, Daniel Drake wrote:
> On Wed, 2009-11-25 at 12:29 -0800, Dan Williams wrote:
> 
> > > Once we're at that point I'd be interested in getting them included in
> > > Fedora 11 for the community-maintained XO-1 distro. How do you feel
> > > about that?
> > 
> > I'll have to trawl through and find a few fixes I did for the mesh stuff
> > in master and cherry-pick those back to stable too unless you get there
> > first.
> 
> Thanks for the fixes, hadn't spotted them. 
> Yeah I can do that. So are you happy for me to backport and push all
> those patches to 0.7 branch now?

Yes.  if for some reason you can't commit just post the patch series and
I'll do it.

Dan


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


Re: Unstable connectivity

2009-11-29 Thread Dan Williams
On Thu, 2009-11-26 at 18:27 +0100, Quentin Denis wrote:
> Dear all,
> 
> I've been using NM for a long time on (open)SUSE, but dispite it's
> growing maturity I really get fed up of it's unstable behavior.
> Actually, I am experiencing a really unstable connection on my
> university's open network. Access is controlled by web
> authentification, but this should not affect the connectivity at all.
> My windows and every other computer connects (almost) flawless,
> problem seems really to be nested in NM. It detects the network, but
> either it cannot connect ("configuring interface..." then aborts) or
> it connects for a short time only and disconnects while surfing.
> 
> Well, it is very difficult to debug NM, so it you need specific
> information please tell me how to acces it.

I threw up a page last week on debugging NM:

http://live.gnome.org/NetworkManager/Debugging

see especially the bits about NM and wpa_supplicant debugging (Debugging
Wifi Connections).  Logs from NM and the supplicant would greatly help
in figuring the issue out.

Also, what driver and kernel version do you have?

Dan


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


Re: Handling GetSecrets with request_new == true

2009-11-29 Thread Dan Williams
On Fri, 2009-11-27 at 00:57 +0100, Will Stephenson wrote:
> I often observe password dialogs caused by a GetSecrets with request_new == 
> true when the secrets are correct, for example due to unfavourable wireless 
> propagation conditions.  This blocks the machine from reconnecting until a 
> user OKs the dialog.  
> 
> Would it be very wrong to automatically Ok the dialog after a countdown, so 
> temporary disconnections can resolve themselves?

Possibly not; but something that's been on my list for a long time
has been to  make NM just try harder and only request new secrets as a
last resort.  Like if there's only one AP in the area that NM could
possibly connect to, and it fails, try again.  If that fails, wait a bit
and try again.  If that fails, wait a bit longer and try again.  Same
for ethernet.

Basically, the idea originally was that your password was wrong and you
should re-enter it.  That was valid in 2005, but is no longer really
valid.  These days the password is usually correct and the driver or
connection is just shitty.  If the password actually isnt' correct,
there are better ways of handling this, and it's something we need to
enhance wpa_supplicant for so we can actually propagate the "your
password is wrong" error back up to the user in a meaningful way.

Dan


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


Re: modem manager choose incorrect port for onda mt503hsa

2009-11-29 Thread Dan Williams
On Fri, 2009-11-27 at 11:56 +0100, Alessandro Bono wrote:
> Hi all
> 
> I have an onda mt503hsa that worked without problem with networkmanager
> 0.7, after upgrade system to ubuntu karmic and networkmanager 0.8 +
> modem-manager I have a problem with correct port selection
> Modem manager sometimes choose incorrect port ttyUSB1 instead of ttyUSB2
> to open ppp connection, this depends on which port is probed first
> below a log with correct and incorrect port selection

What is the 'lsusb' output when the modem is plugged in an modeswitched?
We need to make sure the device is listed in 77-mm-zte-port-types.rules
with the correct port.  The port #s there were taken from the ZTE
windows drivers, so if this is a newer device we may need to just add
it.

Dan


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


Unstable connectivity

2009-11-29 Thread Quentin Denis
Dear all,

I've been using NM for a long time on (open)SUSE, but dispite it's
growing maturity I really get fed up of it's unstable behavior.
Actually, I am experiencing a really unstable connection on my
university's open network. Access is controlled by web
authentification, but this should not affect the connectivity at all.
My windows and every other computer connects (almost) flawless,
problem seems really to be nested in NM. It detects the network, but
either it cannot connect ("configuring interface..." then aborts) or
it connects for a short time only and disconnects while surfing.

Well, it is very difficult to debug NM, so it you need specific
information please tell me how to acces it.

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


Re: [solved] HUAWEI E220, connection problems.

2009-11-29 Thread Alexey Fisher
Am Mittwoch, den 25.11.2009, 12:28 -0800 schrieb Dan Williams:
> On Tue, 2009-11-24 at 11:27 +0100, Alexey Fisher wrote:
> > Am Montag, den 23.11.2009, 23:10 +0100 schrieb Alexey Fisher:
> > > Am Montag, den 23.11.2009, 13:55 -0800 schrieb Greg KH:
> > > > On Mon, Nov 23, 2009 at 09:51:07PM +0100, Alexey Fisher wrote:
> > > > > Hallo, 
> > > > > i have HUAWEI E220 (Vodafone/Germany) and i have some random problems 
> > > > > to
> > > > > connect it on ubuntu karmik.
> > > > > First of all, this do not working with 2.6.31. But you probably know 
> > > > > it.
> > > > 
> > > > Doesn't 2.6.31.6 solve the E220 issues?
> > > 
> > > Oh... only God and Shuttleworth know what 2.6.31-14-generic is. 
> > > Alexander, do ubuntu 2.6.31-14-generic == 2.6.31.6?
> > > 
> > > 
> > > > > I use now recent master git 2.6.32-rc8-00011-ga8a8a66 and it is 
> > > > > getting
> > > > > connected some times. If i plug it, it will take like about 30-60
> > > > > seconds till NM will start it. 
> > > > > Normally first time the connection will fail, some times it will work 
> > > > > on
> > > > > second try. If you try too mach, this will not work at all.. only 
> > > > > reboot
> > > > > will help.
> > > > 
> > > > Well, that's better than the old 2.6.31 problem :)
> > 
> > Mia culpa, mia maxima culpa...
> > Dr. Google say i need update firmware. Newer thought there is firmware
> > and need to be updated :( Now it's working.
> 
> Is it *actually* an E220?  Huawei uses the same USB IDs for different
> devices.  What's the model # that's printed on the device?  (my E160G is
> *also* 12d1/1003 for example)

This *is* actually E220, at least it printed on cover. i used
E220Update_11.117.09.04.00.B268.exe
from this page:
http://www.vodafone.de/hilfe-support/technischer-support/129464.html


> In any case, what firmware version did you update to that made it work?
> I'd like to note the correct version on the NM mobile broadband wiki
> page:
> 
> http://live.gnome.org/NetworkManager/MobileBroadband
> 
> Thanks!
> Dan
> 


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


tap device support (for iphone)?

2009-11-29 Thread Bradley Baetz
Hi,

I'm working on a userspace driver for the iphone's tethering
functionality via USB, which I've reverse engineered (my carrier
allows tethering - this isn't a jailbroken iPhone). After a bit of
setup, this ends up basically just bridging a tap device (userspace L2
ethernet) to the appropriate USB pipes.

I have this working, and can run dhclient on the tap interface
manually, however I'm having trouble getting NetworkManager to
recognise the device. Even if I call the interface 'eth1' rather than
'iphone0' NM (NetworkManager-0.7.996-6.git20091021.fc12.x86_64 from
F12) logs:

NetworkManager:   device_creator():
/sys/devices/virtual/net/eth1: couldn't determine device driver;
ignoring...

which is sort of correct, since there isn't a kernel driver for it.

What I'd like to do is have the iphone interface made available to NM,
but at a lower priority than ethernet or wifi interfaces, ideally with
the 'mobile broadband' icon appearing in the applet, and without DHCP
running unless the interface is the top choice (I don't want to send
data over the mobile interface unless we have to, due to cost). There
may later be a way to get a signal strength out of the interface, but
for the moment the only status messages I can decode are the
linkup/linkdown toggles (which my code currently ignores)

Is there any way to do this? I took a look at ModemManager, but that
looks like its designed around serial interfaces, and the iPhone
presents as ethernet.

Thanks,

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


Re: WPA troubles in F12

2009-11-29 Thread Jud Craft
I have not forgotten about this and will gather the needed data.  Just
happen to be life-busy for the current time.

On Tue, Nov 17, 2009 at 5:15 PM, Dan Williams wrote:>
> Can you grab /var/log/messages from a successful run (cert+peap0) and a
> failed run so I can look at what NM is sending to the supplicant?

Please note that my initial successful run is only with NoCert+Peap0.
Once I connect in this manner, subsequent Cert+Peap0(or Automatic)
connections work just fine (for the duration of the session).
___
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


Saying NetworkManager about active connection

2009-11-29 Thread Boris Dolgov
Hello everybody!

To connect to the Internet I use device, which is not yet supported by
NetworkManager. But I like NetworkManager and use it to connect to
wireless/wired networks.

So, when I am connecting to the Internet, I have to kill
NetworkManager, connect to the Internet, change "Work offline" flag in
Firefox and restart applications, waiting for the network dbus
notifications (such as Pidgin).

How can I tell NetworkManager that the connection is already
established by another application? So, it will not generate empty
resolv.conf file, all applications will know, that there is the
Internet connections.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list