Re: Q: nm-gsm-device.c

2011-04-16 Thread Lamarque Vieira Souza
Em Sunday 17 April 2011, ran shalit escreveu:
> Hello,
> 
> I am a newbie student of the NetworkManager, and I try to undetsrand the
> way the application treats with modem & wifi devices (more ineterseted in
> the low level parts of the NetworkManager application: the "commands" to
> the devices).
> I saw that in the older released version such as 0.7.2 there was a file
> /src/nm-gsm-device.c which contained some of the AT-COMMAND used for
> initialization of modems, but in the updated version there is no such
> file(as far as I can find), and I dont see anywhere else where AT-Command
> are used. Does anyone knows how these commands are used then in the updated
> version ?

NetworkManager >= 0.8 uses ModemManager for low level configuration 
such 
as AT commands.

-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Q: nm-gsm-device.c

2011-04-16 Thread ran shalit

Hello,

I am a newbie student of the NetworkManager, and I try to undetsrand the way
the application treats with modem & wifi devices (more ineterseted in the
low level parts of the NetworkManager application: the "commands" to the
devices).
I saw that in the older released version such as 0.7.2 there was a file
/src/nm-gsm-device.c which contained some of the AT-COMMAND used for
initialization of modems, but in the updated version there is no such
file(as far as I can find), and I dont see anywhere else where AT-Command
are used. Does anyone knows how these commands are used then in the updated
version ?

Many thanks,
Ran

-- 
View this message in context: 
http://old.nabble.com/Q%3A-nm-gsm-device.c-tp31416196p31416196.html
Sent from the Gnome - NetworkManager mailing list archive at Nabble.com.

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


How nm-applet and gnome-bluetooth interact to create a bluetooth connection?

2011-04-16 Thread Lamarque Vieira Souza
Hi all,

Alex Fiestas and me are trying to implement Bluetooth DUN support for 
KDE. We spent some time trying to figure out the steps nm-applet and gnome-
bluetooth do to implement it but without much success. Can someone help us?

During my tests I hit this part of NM code in src/nm-manager.c:

/* If it was a Bluetooth modem and no bluetooth device claimed it, 
ignore
 * it.  The rfcomm port (and thus the modem) gets created automatically
 * by the Bluetooth code during the connection process.
 */
if (driver && !strcmp (driver, "bluetooth")) {
nm_log_info (LOGD_MB, "ignoring modem '%s' (no associated 
Bluetooth 
device)", ip_iface);
return;
}

Commenting the "return" allows me to use my cellphone as bluetooth 
serial 
modem (after creating /dev/rfcomm0 using BlueZ), but of course I guess that 
code is there for a reason. I still do not understand how gnome-bluetooth (or 
nm-applet) creates the rfcomm port. I know that can be done using BlueZ's DBus 
interface by calling the org.bluez.Serial.Connect method on a bluetooth 
device. But since NM is explicitly ignoring the rfcomm port, how are NM's 
bluetooth connections supposed to work?

-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: no wireless networks detected

2011-04-16 Thread Timothy Murphy
Junaid Naseer wrote:

> My networkmanager is not automatically detecting the dozen or so
> wireless networks surrounding me, even though it used to do so earlier,
> until i had to reninstall the system from scratch. All drivers etc are
> installed and all versions of the OS and network manager are the same.
> Earlier it used to work. Now it doesn't.

I've found NM often says "No wireless networks detected"
even when it is actually connected to one.

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


no wireless networks detected

2011-04-16 Thread Junaid Naseer
Hi,

My networkmanager is not automatically detecting the dozen or so
wireless networks surrounding me, even though it used to do so earlier,
until i had to reninstall the system from scratch. All drivers etc are
installed and all versions of the OS and network manager are the same.
Earlier it used to work. Now it doesn't.


Best Regards,
Junaid Naseer

MS Digital Communications
Technische Fakultät, CAU Kiel,
Schleswig-Holstein, Germany

junaidnas...@gmail.com
j...@tf.uni-kiel.de
junaid.nas...@stu.uni-kiel.de

+49 ( 0176 ) 564 560 71
+49 ( 0431 ) 219 08 79
** 

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


Modem-/NetworkManager support for modems not using PPP

2011-04-16 Thread Marius Kotsbak
Hi!

There seems to be now quite a bit of modems appearing now that does not
support the old method of using PPP protocol on the same tty device as
the AT commands are sent, or it is not recommended for higher HSPA+ and
LTE modems because of performance limitations of the PPP/tty layer.
Those devices typically accept AT commands at one interface and use
another interface for the network traffic (including first a DHCP query).

One example is the Samsung GT-B3730 I'm currently developing drivers for:

https://github.com/mkotsbak/Samsung-GT-B3730-linux-driver

It seems to be the same case for LG VL600 4G (LTE):

http://ubuntuforums.org/showpost.php?p=10589647&postcount=17

https://github.com/balrog-kun/LG-VL600-utils

The Ericsson Mobile Broadband Modules (I have an F5521gw based modem)
seems to offer both the old ACM ports and support USB WCM / CDC NCM /
CDC Ethernet protocols for higher performance:

http://www.thinkwiki.org/wiki/Ericsson_F3507g_Mobile_Broadband_Module#Connecting_to_the_net_via_CDC_Ethernet_interface

http://sourceforge.net/apps/mediawiki/mbm/index.php?title=MBM#Prerequisites

http://cateee.net/lkddb/web-lkddb/USB_NET_CDC_NCM.html

I wonder if support for this has been implemented or thought about in
Modem-/NetworkManager. We probably need a flag for a modem manager
module to tell that it does not use PPP and require to get IP address
using DHCP instead.

Else those devices benefit from the code in modem manager (and should be
classified as such to the user as well), like the PIN unlocking, signal
strength (typically found on the same device as dialling happened, since
network traffic flow on a separate interface)  etc. The configuration
tab for PPP could be hidden for those devices. For devices offering
multiple ways to connect, the modem manager module should probably find
the best performing according to the available kernel modules and use
that method.

--
Marius Kotsbak


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