Re: Cisco Anyconnect VPN

2010-08-16 Thread Gianluca Sforna
On Thu, Aug 12, 2010 at 9:25 PM, David Woodhouse dw...@infradead.org wrote:
 Let's start by doing it from the command line.

 Run 'openconnect -v https://your.vpn.server/' and show me the output.

So, thanks to David it turned out I needed to restart NM (in my case,
I rebooted) for picking up the just installed plugin.

Everything now works as expected

Thanks a lot

G.


-- 
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: Cisco Anyconnect VPN

2010-08-11 Thread Gianluca Sforna
On Wed, Aug 11, 2010 at 3:03 AM, Mathieu Trudel mathieu...@gmail.com wrote:
 If you're really using the vpnc plugin, and not the openconnect
 plugin, then it's very likely this is the cause of your problems.

Ah, I suspected it could be the wrong plugin, but the other one I had
installed (OpenVPN) did not fit as well.


 On the other hand, openconnect supports the same VPN over SSL methods
 as the Cisco AnyConnect client. At least on Ubuntu, it worked quite
 nicely back when I was using it.

Now, I installed the openconnect plugin and set the correct gateway
address. Unfortunately it does not ask me for a login/password pair
and I'm stuck again :(

Anyway, I really thank you for the pointer.

-- 
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


Cisco Anyconnect VPN

2010-08-10 Thread Gianluca Sforna
For a work I'm doing I'd need to connect to a Cisco Anyconnect based
VPN and it seems I can't figure how to do it with NetworkManager (I'm
currently on Fedora 12) vpnc plugin.

Their client (I tested it in Windows)  is interesting becasue it seems
it negotiate which credentials it is going to require.

In fact, while if I use the info from
http://www.usc.edu/its/vpn/anyconnect.html it asks for a group to join
as represented in the page; when I use the real address I need to
connect to it just shows a prompt for login and password.

Needless to say, NM won't let me save a connection without a Group
Name  set and I can't connect successfully.

I am not sure how long my credentials will be valid, so if you think I
can help with any kind of diagnostic please let me know.

Cheers

G.

-- 
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: force broadband connection to H3G network

2010-04-20 Thread Gianluca Sforna
On Tue, Apr 20, 2010 at 10:18 AM, Nicolo' Chieffo
nicolo.chie...@gmail.com wrote:
 Hi, I have an H3G broadband connection and I would like to know if
 there is a way to force network-manager to only use H3G network and
 not go to national roaming in not covered areas: the roaming traffic
 is much more expensive.

 I see that in the connection option there is an entry called
 Network, I tried to write 3 or H3G but I don't think it works in
 this way, since I can't click apply. Can you help me?

I had this problem as well, see if this helps:
http://morefedora.blogspot.com/2010/04/come-evitare-il-roaming-umts-con.html

I guess you understand italian, if not just yell at me... :)

-- 
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


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 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 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: Huawei E156G connection issue

2009-10-07 Thread Gianluca Sforna
On Wed, Oct 7, 2009 at 6:55 PM, Dan Williams d...@redhat.com wrote:

 0.7.2 will have it as well:

 http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=NETWORKMANAGER_0_7id=99db3d89725c4f1853107111bc601f422e70900b

Thanks Dan, much 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


Huawei E156G connection issue

2009-10-05 Thread Gianluca Sforna
I'm on Fedora 11 (NetworkManager-0.7.1-8.git20090708.fc11.x86_64) and
I'm experiencing an issue with my USB dongle in that after it connect
correctly I can't browse any site.
I tried to connect using the same account with my Nokia phone and
everything works correctly.

Comparing the relevant sections of the kernel logs (see below) it
seems the connection with the USB dongle lacks proper DNS records.

If this worth filing in bugzilla?

=== Dongle ===
Oct  4 18:18:39 localhost NetworkManager: info  Searching for a network...
Oct  4 18:18:41 localhost NetworkManager: info  Registered on Home network
Oct  4 18:18:41 localhost NetworkManager: info  Associated with
network: +COPS: 0,0,3 ITA,2
Oct  4 18:18:41 localhost NetworkManager: info  Connected, Woo!
Oct  4 18:18:41 localhost NetworkManager: info  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) scheduled...
Oct  4 18:18:41 localhost NetworkManager: info  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) starting...
Oct  4 18:18:41 localhost NetworkManager: info  (ttyUSB0): device
state change: 4 - 5 (reason 0)
Oct  4 18:18:41 localhost NetworkManager: info  Starting pppd connection
Oct  4 18:18:41 localhost NetworkManager: info  Activation (ttyUSB0)
Stage 2 of 5 (Device Configure) complete.
Oct  4 18:18:41 localhost pppd[20803]: Plugin
/usr/lib64/pppd/2.4.4/nm-pppd-plugin.so loaded.
Oct  4 18:18:41 localhost pppd[20803]: pppd 2.4.4 started by root, uid 0
Oct  4 18:18:41 localhost pppd[20803]: Using interface ppp0
Oct  4 18:18:41 localhost pppd[20803]: Connect: ppp0 -- /dev/ttyUSB0
Oct  4 18:18:41 localhost NetworkManager: info  (ttyUSB0): device
state change: 5 - 6 (reason 0)
Oct  4 18:18:41 localhost pppd[20803]: CHAP authentication succeeded
Oct  4 18:18:41 localhost pppd[20803]: CHAP authentication succeeded
Oct  4 18:18:41 localhost NetworkManager: info  (ttyUSB0): device
state change: 6 - 7 (reason 0)
Oct  4 18:18:51 localhost pppd[20803]: Could not determine remote IP
address: defaulting to 10.64.64.64
Oct  4 18:18:51 localhost pppd[20803]: local  IP address 1.83.82.180
Oct  4 18:18:51 localhost pppd[20803]: remote IP address 10.64.64.64
Oct  4 18:18:51 localhost pppd[20803]: primary   DNS address 10.11.12.13
Oct  4 18:18:51 localhost pppd[20803]: secondary DNS address 10.11.12.14

=== Phone ===
Oct  4 18:33:10 localhost NetworkManager: info  Activation (ttyACM0)
starting connection '3 Ricaricabile'
Oct  4 18:33:10 localhost NetworkManager: info  (ttyACM0): device
state change: 3 - 4 (reason 0)
Oct  4 18:33:10 localhost NetworkManager: info  Activation (ttyACM0)
Stage 1 of 5 (Device Prepare) scheduled...
Oct  4 18:33:10 localhost NetworkManager: info  Activation (ttyACM0)
Stage 1 of 5 (Device Prepare) started...
Oct  4 18:33:10 localhost NetworkManager: info  Activation (ttyACM0)
Stage 1 of 5 (Device Prepare) complete.
Oct  4 18:33:10 localhost NetworkManager: info  (ttyACM0): powering up...
Oct  4 18:33:10 localhost NetworkManager: info  Registered on Home network
Oct  4 18:33:10 localhost NetworkManager: info  Associated with
network: +COPS: 0,2,22299,2
Oct  4 18:33:12 localhost NetworkManager: info  Connected, Woo!
Oct  4 18:33:12 localhost NetworkManager: info  Activation (ttyACM0)
Stage 2 of 5 (Device Configure) scheduled...
Oct  4 18:33:12 localhost NetworkManager: info  Activation (ttyACM0)
Stage 2 of 5 (Device Configure) starting...
Oct  4 18:33:12 localhost NetworkManager: info  (ttyACM0): device
state change: 4 - 5 (reason 0)
Oct  4 18:33:12 localhost NetworkManager: info  Starting pppd connection
Oct  4 18:33:12 localhost NetworkManager: info  Activation (ttyACM0)
Stage 2 of 5 (Device Configure) complete.
Oct  4 18:33:12 localhost pppd[21439]: Plugin
/usr/lib64/pppd/2.4.4/nm-pppd-plugin.so loaded.
Oct  4 18:33:12 localhost pppd[21439]: pppd 2.4.4 started by root, uid 0
Oct  4 18:33:12 localhost pppd[21439]: Using interface ppp0
Oct  4 18:33:12 localhost pppd[21439]: Connect: ppp0 -- /dev/ttyACM0
Oct  4 18:33:13 localhost NetworkManager: info  (ttyACM0): device
state change: 5 - 6 (reason 0)
Oct  4 18:33:13 localhost pppd[21439]: PAP authentication succeeded
Oct  4 18:33:13 localhost NetworkManager: info  (ttyACM0): device
state change: 6 - 7 (reason 0)
Oct  4 18:33:15 localhost pppd[21439]: local  IP address 1.83.82.180
Oct  4 18:33:15 localhost pppd[21439]: remote IP address 10.6.6.6
Oct  4 18:33:15 localhost pppd[21439]: primary   DNS address 62.13.171.2
Oct  4 18:33:15 localhost pppd[21439]: secondary DNS address 62.13.171.1

-- 
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: Avoiding 3G roaming costs

2009-09-23 Thread Gianluca Sforna
On Wed, Sep 23, 2009 at 8:51 AM, Dan Williams d...@redhat.com wrote:
 We can hack something together with F11 perhaps, and on F12 it's even
 easier.  You can try to enter your providers' MCC/MNC (a 6-digit number
 for the US, 5 digits for everywhere else) in the connection editor in
 the Network entry and NM will direct the modem to register *only* on
 your providers network and thus not roam, but there are certainly
 improvements we can do.

The obvious improvement I can think of, assuming the 5/6 digits codes
you mention are stored in the providers database, is to add a checkbox
allow roaming to the edit connection page... do we have such codes?
if not, where should I look for?

By the way, thanks for replying, I thought mailman redirected the
message to /dev/null ;)


-- 
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


Avoiding 3G roaming costs

2009-08-27 Thread Gianluca Sforna
Hi,
I recently bought from a Huawei based USB dongle and it seems
NetworkManager works pretty well with it; however I later discovered I
dried out my account's credit (it's a prepaid contract) by attempting
the connection in a place not covered by the network (so the roaming
tariff applied).

I think I've read somewhere newer NM builds should support selecting
the network (so I assume I could avoid the roaming costs by fixing the
network to use) but I can find anything like that in my Fedora 11 nor
in the F12alpha LiveCD I tried. Any hint at where I should look?

TIA

Gianluca

-- 
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


Huawei E156G anyone?

2009-06-10 Thread Gianluca Sforna
I just put my hands on this cheap USB dongle and it appears I can't
connect with it; I'm on Fedora 11,
NetworkManager-0.7.1-4.git20090414.fc11.x86_64

Now since it's possible the SIM is not yet active (grabbed it just few
hours ago) I'd like to know if anyone here has the same dongle model
and can confirm it works.

TIA

Gianluca

-- 
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