Re: Need help in querying Network manager from browser

2012-04-16 Thread Joseph Gunn
On Wed, 11 Apr 2012 07:54:53 +0100
Santosh Kumar <100sant...@gmail.com> wrote:

> Hello All,
> I am new to networking and browser related work in Linux. I have a
> requirement where browser has to query and manage Internet connection.
> I am using ubuntu on panda board. I have network manager on it. I
> dont want to use NM-applet instead i want to control through browser.
> To be precise, i have to pop-up a window when Net goes down and
> search for new wifi and allow user to enter ID and pass for secured
> wifi. As of now i know we can get these things done by querying dbus.
> Since i am new to NM, browser and dbus, not able to figure out how to
> start. Any links, sample code and suggestion will be very help full
> for me.
> 
You may wish to check out this link.
It may be the missing piece.
http://github.com/codebutler/mozjs-dbus/wikis

> If not from browser, managing through a shell script will be
> sufficient. Please guide me how to proceed.
This may be The easiest route.
If you have enough privs to install programs on the browser machine
> 
> Thanks in advance.
> 
> Regards,
> Santosh

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


Re: Show Hidden network from connection file

2011-12-02 Thread Joseph Gunn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 2 Dec 2011 16:13:10 -0300
"marcos m."  wrote:

> Anyone?
> Is not possible to at least show in the apllet an ad-hoc connection crated
> form a connection file?
> Is there a security policy to prevent autoconnecting to wireless ad-hoc?
> If so, can anyone tell me where to edit this beahiviour from source?
> I appoligise for beeing so insistent but I relly need this.
> Thanks!

There is a reasonably good example of adding a connection in the test 
sub-directory of the source.

Adjust as required.

- -- 
Joseph J. Gunn
CTO, The Curly Cloud Corporation

"We're giving Chrome OS a run for their money"
8F56 6689 4AA0 1710 743B F504 6323 A298 D1B1 14D9
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk7ZMHoACgkQYyOimNGxFNmQPgCeN0TGbxhcmdgqFPEo8tD2a0k1
2n4AoLMqJ5Bw5PJVq9uTopP7uYU+i+Yv
=TA9k
-END PGP SIGNATURE-
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3GPP interface name in MM 0.6

2011-11-30 Thread Joseph Gunn
On Wed, 30 Nov 2011 17:40:21 -0600
Dan Williams  wrote:

> On Mon, 2011-11-28 at 17:15 +0100, Aleksander Morgado wrote:
> > Hey,
> > 
> > According to the DBus specs [1], no element within a DBus interface can
> > start with a digit... so "org.freedesktop.ModemManager1.Modem.3gpp" is a
> > bad name. :-/

> Hmm, forgot about that.  3GPP really is the name of the group under
> which GSM, EDGE, UMTS, and LTE live, and I didn't think continuing to
> call it Modem.Gsm was accurate.  Maybe Tgpp or ThreeGpp or M3gpp?  I
> don't like those much either; any other suggestions?
> 
from the 3gpp site, http://www.3gpp.org/About-3GPP

These technologies are constantly evolving through - what have become
known as - Generations of commercial cellular/mobile systems

so Cellular, or mobile?

Just .5 cent, maybe even not that.

Enjoy 
Joe


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


-- 
Joseph J. Gunn
CTO, The Curly Cloud Corporation

"We're giving Chrome OS a run for their money"
8F56 6689 4AA0 1710 743B F504 6323 A298 D1B1 14D9
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Wrong SIM-Pin not detected by MM?

2011-11-15 Thread Joseph Gunn
On Tue, 15 Nov 2011 10:19:13 +0200
Uwe Geuder  wrote:

> On 15 November 2011 09:55, Thomas Bechtold  wrote:
> 
> > MM can handle different modems. Not only modems included in phones. eg.
> > usb-umts-modems aks for the sim pin.
> >
> Probably the implementers of the N900 reasoned a bit like me: Because
> entering the PIN is not relevant at the AT modem interface of the phone
> at all, they just return ERROR instead of implementing anything real.
Is it possible that the phone/computer link is bluetooth? Depending on the 
setup that
may require a PIN?
> 
> If you have an issue with PIN handling you would need to demonstrate it
> with a 3G USB modem, which really requires PIN handling by MM.
> 
> Regards,
> 
> Uwe
> 
> 
> ___
> networkmanager-list mailing list
> networkmanager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list


-- 
Joseph J. Gunn
CTO, The Curly Cloud Corporation

"We're giving Chrome OS a run for their money"
8F56 6689 4AA0 1710 743B F504 6323 A298 D1B1 14D9
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Connect to ad-hoc network?

2011-11-14 Thread Joseph Gunn
On Mon, 14 Nov 2011 17:54:34 +0100
Matej Kovacic  wrote:

> Hi,
> 
> in NetworkManager I see a wireless network, which has an icon of a
> monitor before the name (see attached screenschoot). Is this ad-hoc network?
> 
> However, I am not able to connect to it. Is there some trick or something?
>
The strength meter has a small "lock" icon if its protected.

If it has no lock icon it is open.
 
> I have Network Manager version 0.9.1.90 (found it in terminal typing
> nmcli -v).
nm-tool, if present, will give you a list of Wireless Access Points ( and the 
encryption used, if any)
> 

-- 
Joseph J. Gunn
CTO, The Curly Cloud Corporation

"We're giving Chrome OS a run for their money"
8F56 6689 4AA0 1710 743B F504 6323 A298 D1B1 14D9
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Auto registering connections

2011-11-06 Thread Joseph Gunn
Hello

I have been trying to work thru some issues. and have exhausted all resources.

I am trying to script auto-registering to open wireless interfaces. 

In short i'd like to connect to open wifi networks before i have a chance to 
"click" on the
nm-applet in my tray, as i usually just need "any" net connection and i find 
myself in a "new" environment fairly often.

So far i am able to create, thru the DBus API, connections that represent open 
wireless networks. These only show up
if i reload NetworkManager. Until the reload the connections show on disk, but 
not using the DBus interface. As soon as NM is restarted the connections show, 
and are usable.

The python examples, add-system-wifi-connection.py and list-connections.py, 
show this behavior.

I am using NM 0.8.1 as distributed in Debian Squeeze (0.8.1-6+squeeze1).

Anyone have a clue what i am missing?

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