Re: Incorrect signal levels reported using wpa_supplicant's driver_nl80211

2009-11-09 Thread Alexander Sack
On Mon, Nov 02, 2009 at 11:40:33AM -0800, Dan Williams wrote:
 On Sat, 2009-10-31 at 03:50 +0200, Maxim Levitsky wrote:
  Sorry for cross-posting, but this issue really spans all three systems.
  
  I anylized why I get 100% quality on all access points except currently
  connected, when I used driver_nl80211 of wpa_supplcant.
  
  First, when NetworkManager plans to switch to this driver?
 
 Soon.  We've got some patches for this, but we'll also need tons of
 testing.  The WEXT stuff is pretty baked while nl80211 is still under
 some flux.  But of course the only way we bake nl80211 is by switching
 to it...

iirc, we currently we hardcode wext in NM code. How about adding a keyfile
config that users could use to switch to nl80211 until we feel confident
that it's good enough for everyone?

 - Alexander

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


Re: Incorrect signal levels reported using wpa_supplicant's driver_nl80211

2009-11-09 Thread Johannes Berg
On Mon, 2009-11-09 at 13:50 +0100, Alexander Sack wrote:

  Soon.  We've got some patches for this, but we'll also need tons of
  testing.  The WEXT stuff is pretty baked while nl80211 is still under
  some flux.  But of course the only way we bake nl80211 is by switching
  to it...
 
 iirc, we currently we hardcode wext in NM code. How about adding a keyfile
 config that users could use to switch to nl80211 until we feel confident
 that it's good enough for everyone?

commit d27df100b587dd95f3256a8baf9db0c5d4380089 in wpa_supplicant allows
you to do that by editing the service file.

johannes


signature.asc
Description: This is a digitally signed message part
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Incorrect signal levels reported using wpa_supplicant's driver_nl80211

2009-11-09 Thread Marcel Holtmann
Hi Johannes,

   Soon.  We've got some patches for this, but we'll also need tons of
   testing.  The WEXT stuff is pretty baked while nl80211 is still under
   some flux.  But of course the only way we bake nl80211 is by switching
   to it...
  
  iirc, we currently we hardcode wext in NM code. How about adding a keyfile
  config that users could use to switch to nl80211 until we feel confident
  that it's good enough for everyone?
 
 commit d27df100b587dd95f3256a8baf9db0c5d4380089 in wpa_supplicant allows
 you to do that by editing the service file.

that is funny, when I asked for a global command line switch for
choosing a different driver, the argument was that the application
adding the interface is suppose to do it by itself. Now we can do it in
the service file. Never the less ConnMan got its own switch to choose
which driver will be used. Does help a lot in testing and is way easier
since you don't have to restart wpa_supplicant all the time.

Regards

Marcel


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


Connection through bluetooth phones

2009-11-09 Thread Gianluca Sforna
I am looking for some info about how Fedora 12 stands wrt allowing 3G
internet connection through a mobile phone.
In particular, I tried with my Nokia 6210 Classic and the last step in
the wizard shown at:

http://blogs.gnome.org/dcbw/2009/07/10/unwire-with-networkmanager/

surely did not include the Access the Internet using your mobile phone button.

Any help is appreciated

-- 
Gianluca Sforna

http://morefedora.blogspot.com
http://www.linkedin.com/in/gianlucasforna
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Does NetworkManager support blocking non-home networks (UMTS/3g)

2009-11-09 Thread Gianluca Sforna
On Sun, Nov 8, 2009 at 3:55 PM, nodata l...@nodata.co.uk wrote:
 Hello,

 I can't seem to find it in the GUI or in the documentation.

 Can NetworkManager be configured to only connect to home networks? Say I am
 on Vodafone and get free data usage, but then move to an area with poor
 signal for Vodafone, can I prevent switching to T-Mobile which costs me
 money?

 If yes, can this be determined automatically, or is this done with a string
 match?

For this purpose, it seems you can stick the MCC/MNC code for your
operator into the Network field in the connection preferences.

The list of codes is here:
http://en.wikipedia.org/wiki/Mobile_Network_Code



-- 
Gianluca Sforna

http://morefedora.blogspot.com
http://www.linkedin.com/in/gianlucasforna
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection through bluetooth phones

2009-11-09 Thread Bastien Nocera
On Mon, 2009-11-09 at 14:22 +0100, Gianluca Sforna wrote:
 I am looking for some info about how Fedora 12 stands wrt allowing 3G
 internet connection through a mobile phone.
 In particular, I tried with my Nokia 6210 Classic and the last step in
 the wizard shown at:
 
 http://blogs.gnome.org/dcbw/2009/07/10/unwire-with-networkmanager/
 
 surely did not include the Access the Internet using your mobile phone 
 button.
 
 Any help is appreciated

Attach the output of bluetooth-properties -d. My guess is that your
phone doesn't have PAN support, and there's currently no DUN support in
NetworkManager (though Dan is working on it in a branch).

Cheers


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


Network Shares disconnected by Network Manager

2009-11-09 Thread Neil Broadley
Regarding Ubuntu launchpad bug :
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/211631?comments=all

(brief summary : During shutdown/restart, Network Manager brings down wifi
interface so quickly that remote samba filesystems in fstab hang with the
CIFS VFS server not responding error.)

In comment 117, James asks :
Would it be possible for NetworkManager to bring up  down configured mount
points as part of it's configuration settings? That way, it unmounts just
before bringing the network down and mounts the filesystems after bring the
network up ? A simple checkbox would suffice e.g Control Network Shares.

Is this feasible, or on the Network Manager roadmap already?  Note that this
bug is only apparent on WIFI connected systems.  A wired connection is
apparently kept up long enough such that the remote filesystems are
unmounted cleanly.  Also ticking Available to all users has no effect on
this bug.  It would seem to require some hacking of the Network Manager app
itself and the way it processes WIFI connections on shutdown/restart.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection through bluetooth phones

2009-11-09 Thread Gianluca Sforna
On Mon, Nov 9, 2009 at 2:32 PM, Bastien Nocera had...@hadess.net wrote:

 Attach the output of bluetooth-properties -d. My guess is that your
 phone doesn't have PAN support, and there's currently no DUN support in
 NetworkManager (though Dan is working on it in a branch).

Device: Tweety (00:1B:AF:6F:39:50)
D-Bus Path: /org/bluez/1423/hci0/dev_00_1B_AF_6F_39_50
Type: Phone Icon: phone
Paired: True Trusted: True Connected: False
UUIDs: SyncMLClient DialupNetworking OBEXObjectPush OBEXFileTransfer
AudioSource A/V_RemoteControlTarget A/V_RemoteControl Headset_-_AG
HandsfreeAudioGateway SIM_Access

-- 
Gianluca Sforna

http://morefedora.blogspot.com
http://www.linkedin.com/in/gianlucasforna
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection through bluetooth phones

2009-11-09 Thread Bastien Nocera
On Mon, 2009-11-09 at 14:40 +0100, Gianluca Sforna wrote:
 On Mon, Nov 9, 2009 at 2:32 PM, Bastien Nocera had...@hadess.net wrote:
 
  Attach the output of bluetooth-properties -d. My guess is that your
  phone doesn't have PAN support, and there's currently no DUN support in
  NetworkManager (though Dan is working on it in a branch).
 
 Device: Tweety (00:1B:AF:6F:39:50)
   D-Bus Path: /org/bluez/1423/hci0/dev_00_1B_AF_6F_39_50
   Type: Phone Icon: phone
   Paired: True Trusted: True Connected: False
   UUIDs: SyncMLClient DialupNetworking OBEXObjectPush OBEXFileTransfer
 AudioSource A/V_RemoteControlTarget A/V_RemoteControl Headset_-_AG
 HandsfreeAudioGateway SIM_Access

Yep, no PAN support. You'll need to wait for DUN support to be merged
into NetworkManager proper then.

Cheers

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


Re: Connection through bluetooth phones

2009-11-09 Thread Gianluca Sforna
On Mon, Nov 9, 2009 at 3:04 PM, Bastien Nocera had...@hadess.net wrote:
 On Mon, 2009-11-09 at 14:40 +0100, Gianluca Sforna wrote:
 On Mon, Nov 9, 2009 at 2:32 PM, Bastien Nocera had...@hadess.net wrote:
 
  Attach the output of bluetooth-properties -d. My guess is that your
  phone doesn't have PAN support, and there's currently no DUN support in
  NetworkManager (though Dan is working on it in a branch).

 Device: Tweety (00:1B:AF:6F:39:50)
       D-Bus Path: /org/bluez/1423/hci0/dev_00_1B_AF_6F_39_50
       Type: Phone Icon: phone
       Paired: True Trusted: True Connected: False
       UUIDs: SyncMLClient DialupNetworking OBEXObjectPush OBEXFileTransfer
 AudioSource A/V_RemoteControlTarget A/V_RemoteControl Headset_-_AG
 HandsfreeAudioGateway SIM_Access

 Yep, no PAN support. You'll need to wait for DUN support to be merged
 into NetworkManager proper then.

Ok, so with PAN devices it would have worked as advertised?

Anyway, thank you very much for the great work on BT stuff!


-- 
Gianluca Sforna

http://morefedora.blogspot.com
http://www.linkedin.com/in/gianlucasforna
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connection through bluetooth phones

2009-11-09 Thread Bastien Nocera
On Mon, 2009-11-09 at 15:08 +0100, Gianluca Sforna wrote:
 On Mon, Nov 9, 2009 at 3:04 PM, Bastien Nocera had...@hadess.net wrote:
  On Mon, 2009-11-09 at 14:40 +0100, Gianluca Sforna wrote:
  On Mon, Nov 9, 2009 at 2:32 PM, Bastien Nocera had...@hadess.net wrote:
  
   Attach the output of bluetooth-properties -d. My guess is that your
   phone doesn't have PAN support, and there's currently no DUN support in
   NetworkManager (though Dan is working on it in a branch).
 
  Device: Tweety (00:1B:AF:6F:39:50)
D-Bus Path: /org/bluez/1423/hci0/dev_00_1B_AF_6F_39_50
Type: Phone Icon: phone
Paired: True Trusted: True Connected: False
UUIDs: SyncMLClient DialupNetworking OBEXObjectPush OBEXFileTransfer
  AudioSource A/V_RemoteControlTarget A/V_RemoteControl Headset_-_AG
  HandsfreeAudioGateway SIM_Access
 
  Yep, no PAN support. You'll need to wait for DUN support to be merged
  into NetworkManager proper then.
 
 Ok, so with PAN devices it would have worked as advertised?

For comparison, this is the output on my Sony Ericsson k850i:
UUIDs: SyncMLClient SerialPort DialupNetworking IrMCSync OBEXObjectPush
OBEXFileTransfer AudioSource A/V_RemoteControlTarget A/V_RemoteControl
Headset_-_AG PANU NAP HandsfreeAudioGateway HumanInterfaceDeviceService
Phonebook_Access_-_PSE SEMC HLA SEMC Watch Phone 

Note the PANU profile.

 Anyway, thank you very much for the great work on BT stuff!

Thanks to Dan for fixing up my early, incomplete code :)

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


Re: Connection through bluetooth phones

2009-11-09 Thread Pietro Battiston
Il giorno lun, 09/11/2009 alle 15.08 +0100, Gianluca Sforna ha scritto:
 On Mon, Nov 9, 2009 at 3:04 PM, Bastien Nocera had...@hadess.net wrote:
  On Mon, 2009-11-09 at 14:40 +0100, Gianluca Sforna wrote:
  On Mon, Nov 9, 2009 at 2:32 PM, Bastien Nocera had...@hadess.net wrote:
  
   Attach the output of bluetooth-properties -d. My guess is that your
   phone doesn't have PAN support, and there's currently no DUN support in
   NetworkManager (though Dan is working on it in a branch).
 
  Device: Tweety (00:1B:AF:6F:39:50)
D-Bus Path: /org/bluez/1423/hci0/dev_00_1B_AF_6F_39_50
Type: Phone Icon: phone
Paired: True Trusted: True Connected: False
UUIDs: SyncMLClient DialupNetworking OBEXObjectPush OBEXFileTransfer
  AudioSource A/V_RemoteControlTarget A/V_RemoteControl Headset_-_AG
  HandsfreeAudioGateway SIM_Access
 
  Yep, no PAN support. You'll need to wait for DUN support to be merged
  into NetworkManager proper then.
 
 Ok, so with PAN devices it would have worked as advertised?
 
 Anyway, thank you very much for the great work on BT stuff!


FYI, in the meanwhile blueman+networkmanaer do the job for me (Ubuntu
Karmic, non-PAN mobile).

bye

Pietro

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


Re: Incorrect signal levels reported using wpa_supplicant's driver_nl80211

2009-11-09 Thread Dan Williams
On Mon, 2009-11-09 at 14:09 +0100, Marcel Holtmann wrote:
 Hi Johannes,
 
Soon.  We've got some patches for this, but we'll also need tons of
testing.  The WEXT stuff is pretty baked while nl80211 is still under
some flux.  But of course the only way we bake nl80211 is by switching
to it...
   
   iirc, we currently we hardcode wext in NM code. How about adding a keyfile
   config that users could use to switch to nl80211 until we feel confident
   that it's good enough for everyone?
  
  commit d27df100b587dd95f3256a8baf9db0c5d4380089 in wpa_supplicant allows
  you to do that by editing the service file.
 
 that is funny, when I asked for a global command line switch for
 choosing a different driver, the argument was that the application
 adding the interface is suppose to do it by itself. Now we can do it in
 the service file. Never the less ConnMan got its own switch to choose
 which driver will be used. Does help a lot in testing and is way easier
 since you don't have to restart wpa_supplicant all the time.

In reality, NM upstream will just switch over one day and distros that
use shitty and/or proprietary drivers will need to either (a) fix them,
or (b) patch NM to use wext locally.  That's how progress gets made.

Dan


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


Re: orinoco_usb driver

2009-11-09 Thread Dan Williams
On Sun, 2009-11-08 at 22:16 +, Timothy Murphy wrote:
 Is the orinoco_usb Linux module still maintained?

AFAIK, it never was; it's never been part of the upstream official
kernel, and therefore it's of questionable quality and probably not
really supported.

 I'm looking for a driver for an Avaya PCI-to-PCMCIA WiFi device
 under Fedora-11.

I think that's the PLX bridge thing but I could be wrong.  What do you
get from 'lspci' and 'lspcmcia'?  I doubt that thing has anything to do
with USB.  It could be as simple as your cards' IDs not being in the
driver.

Dan


 The orinoco-users mailing list seems to be more or less in abeyance,
 with no posts since May.
 
 I downloaded the orinoco_usb sources by
 svn co https://svn.sourceforge.net/svnroot/orinoco/branches/usb orinoco
 but they don't compile under kernel-2.6.30.8-64.fc11.i586 :
 --
 make -C /usr/src/kernels/2.6.30.8-64.fc11.i586 M=/tmp/orinoco 
 KERNELRELEASE=2.6.30.8-64.fc11.i586 modules
 make[1]: Entering directory `/usr/src/kernels/2.6.30.8-64.fc11.i586'
   CC [M]  /tmp/orinoco/orinoco_usb.o
 In file included from /tmp/orinoco/orinoco_usb.c:70:
 /tmp/orinoco/orinoco.h: In function ‘orinoco_spin_unlock’:
 /tmp/orinoco/orinoco.h:188: warning: ‘__raw_spin_unlock’ is static but used 
 in inline function ‘orinoco_spin_unlock’ which is not static
 /tmp/orinoco/orinoco.h:188: warning: ‘raw_local_irq_enable’ is static but 
 used in inline function ‘orinoco_spin_unlock’ which is not static
 /tmp/orinoco/orinoco_usb.c: In function ‘ezusb_request_out_callback’:
 /tmp/orinoco/orinoco_usb.c:568: error: implicit declaration of function 
 ‘warn’
 /tmp/orinoco/orinoco_usb.c: In function ‘ezusb_probe’:
 /tmp/orinoco/orinoco_usb.c:1535: warning: assignment discards qualifiers 
 from pointer target type
 make[2]: *** [/tmp/orinoco/orinoco_usb.o] Error 1
 make[1]: *** [_module_/tmp/orinoco] Error 2
 make[1]: Leaving directory `/usr/src/kernels/2.6.30.8-64.fc11.i586'
 make: *** [modules] Error 2
 --
 
 

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


Re: Multiple active devices

2009-11-09 Thread Dan Williams
On Sat, 2009-11-07 at 19:35 +0200, Rudolf Meijering wrote:
 Hi,
 
 NetworkManager is able to have multiple active devices, but still
 unable to connect to a PPPoE connection and eth0 at the same time.
 With the current design of NetworkManager how hard is it to implement
 being able to connect to both at the same time? Are there any plans to
 implement this in the foreseeable future? 

It's been discussed a few times on the mailing list.  It's not hard, it
probably involves doing both the PPPoE and the normal IP4 config in
parallel like the IP4 and IP6 are done right now.  It's definitely been
requested quite a few times.

If I may ask, what's your network setup?  I'm trying to gather more
information on when people actually need to use PPPoE on their machine
instead of just letting their wifi/cable/dsl router do it for them.

Dan

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


Re: change wpa-psk authentication timeout

2009-11-09 Thread Dan Williams
On Fri, 2009-11-06 at 18:59 +0100, Fabio Airoldi wrote:
 I have an authentication timeout when connecting to my wireless network.
 However if I move closer to the AP I can connect without problems, and
 even if I go back to my desk the connection doesn't drop.
 
 I am using networkmanager v 0.7.1 on fedora 11 (kernel 2.6.30.9). I
 tried setting iwlagn parameters (disable_hw_scan, sw_crypto ... almost
 every combination possible) but nothing changed.
 
 Is it possible to increase the authentication timeout? Maybe this is a
 dumb question but I wasn't able to find any documentation about
 timeouts.

The full WPA connection timeout for NM is about 30 seconds.  That's
usually plenty of time for the supplicant to scan, find the AP, initiate
the 4-way handshake, and finish it, *especially* for WPA.  I'm very
curious about why your setup is taking longer.  You can put the option
-dddt into
your /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service 
file at teh end of the Exec= line, then 'killall -TERM wpa_supplicant', then 
attempt to reproduce the issue, and mail me /var/log/wpa_supplicant.log so we 
can see what's going on.

Dan

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


Re: orinoco_usb driver

2009-11-09 Thread Dan Williams
On Mon, 2009-11-09 at 23:07 -0800, Dan Williams wrote:
 On Sun, 2009-11-08 at 22:16 +, Timothy Murphy wrote:
  Is the orinoco_usb Linux module still maintained?
 
 AFAIK, it never was; it's never been part of the upstream official
 kernel, and therefore it's of questionable quality and probably not
 really supported.
 
  I'm looking for a driver for an Avaya PCI-to-PCMCIA WiFi device
  under Fedora-11.
 
 I think that's the PLX bridge thing but I could be wrong.  What do you
 get from 'lspci' and 'lspcmcia'?  I doubt that thing has anything to do
 with USB.  It could be as simple as your cards' IDs not being in the
 driver.

Also, what are the numbers on the large bridge chip that's on the card?

Dan

 Dan
 
 
  The orinoco-users mailing list seems to be more or less in abeyance,
  with no posts since May.
  
  I downloaded the orinoco_usb sources by
  svn co https://svn.sourceforge.net/svnroot/orinoco/branches/usb orinoco
  but they don't compile under kernel-2.6.30.8-64.fc11.i586 :
  --
  make -C /usr/src/kernels/2.6.30.8-64.fc11.i586 M=/tmp/orinoco 
  KERNELRELEASE=2.6.30.8-64.fc11.i586 modules
  make[1]: Entering directory `/usr/src/kernels/2.6.30.8-64.fc11.i586'
CC [M]  /tmp/orinoco/orinoco_usb.o
  In file included from /tmp/orinoco/orinoco_usb.c:70:
  /tmp/orinoco/orinoco.h: In function ‘orinoco_spin_unlock’:
  /tmp/orinoco/orinoco.h:188: warning: ‘__raw_spin_unlock’ is static but used 
  in inline function ‘orinoco_spin_unlock’ which is not static
  /tmp/orinoco/orinoco.h:188: warning: ‘raw_local_irq_enable’ is static but 
  used in inline function ‘orinoco_spin_unlock’ which is not static
  /tmp/orinoco/orinoco_usb.c: In function ‘ezusb_request_out_callback’:
  /tmp/orinoco/orinoco_usb.c:568: error: implicit declaration of function 
  ‘warn’
  /tmp/orinoco/orinoco_usb.c: In function ‘ezusb_probe’:
  /tmp/orinoco/orinoco_usb.c:1535: warning: assignment discards qualifiers 
  from pointer target type
  make[2]: *** [/tmp/orinoco/orinoco_usb.o] Error 1
  make[1]: *** [_module_/tmp/orinoco] Error 2
  make[1]: Leaving directory `/usr/src/kernels/2.6.30.8-64.fc11.i586'
  make: *** [modules] Error 2
  --
  
  
 
 ___
 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: Does NetworkManager support blocking non-home networks (UMTS/3g)

2009-11-09 Thread Dan Williams
On Sun, 2009-11-08 at 15:55 +0100, nodata wrote:
 Hello,
 
 I can't seem to find it in the GUI or in the documentation.
 
 Can NetworkManager be configured to only connect to home networks? Say I 
 am on Vodafone and get free data usage, but then move to an area with 
 poor signal for Vodafone, can I prevent switching to T-Mobile which 
 costs me money?
 
 If yes, can this be determined automatically, or is this done with a 
 string match?

For cards where we actually know the commands for controlling roaming,
yes we can do this, otherwise NM will need to send the specific MCC/MNC
of your operator to the modem, which has its own problems.  This is
definitely going to be fixed in the near future, but there's no facility
for doing so now other than entering the MCC/MNC of your operator into
teh Network entry in the connection editor.

Dan

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