[PATCH] Support for openvpn --auth option

2008-11-04 Thread Robert Vogelgesang
Hello everybody, this is my first post to this list, and it combines submitting a patch for a new feature, and a request for help. The attached patch is against NetworkManager-openvpn-0.7.0-16.svn4027 (Fedora 9) and adds support for the --auth option of openvpn. The configuration import feature

Re: VPN "Only for this address range" equivalent

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 14:59 -0800, the_leech wrote: > > Dan Williams wrote: > > > > > > You can add custom routes in the IPv4 tab of the connection editor for > > the VPN connection. You can also check "ignore automatically provided > > routes" if you don't care what the server sends you. > >

NetworkManager 0.7.0-rc1 released

2008-11-04 Thread Dan Williams
Hi, I tagged and uploaded NM 0.7.0-rc1 on Sunday night. Yes, there are still bugs, and yes, we'll fix the bad ones, and yes, some people's pet bugs will only get fixed after the final release. I'll do an rc2 this coming weekend, and we'll wrap up the 0.7 development cycle by November 15th. This

Re: Problems with NM seeing 3G modem

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 15:18 -0800, [EMAIL PROTECTED] wrote: > Dan Williams <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-11-04 at 14:25 -0800, [EMAIL PROTECTED] wrote: > > > Dan Williams <[EMAIL PROTECTED]> wrote: > > > > On Tue, 2008-11-04 at 20:15 +0100, Alexander Sack wrote: > > > > >

Re: VPN "Only for this address range" equivalent

2008-11-04 Thread the_leech
Dan Williams wrote: > > > You can add custom routes in the IPv4 tab of the connection editor for > the VPN connection. You can also check "ignore automatically provided > routes" if you don't care what the server sends you. > > Dan, Would you please elaborate on how to do that? I just need

Re: Problems with NM seeing 3G modem

2008-11-04 Thread tcwalker
Dan Williams <[EMAIL PROTECTED]> wrote: > On Tue, 2008-11-04 at 14:25 -0800, [EMAIL PROTECTED] wrote: > > Dan Williams <[EMAIL PROTECTED]> wrote: > > > On Tue, 2008-11-04 at 20:15 +0100, Alexander Sack wrote: > > > > On Tue, Nov 04, 2008 at 01:48:40PM -0500, Dan Williams wrote: > > > >

Re: Problems with NM seeing 3G modem

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 14:25 -0800, [EMAIL PROTECTED] wrote: > Dan Williams <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-11-04 at 20:15 +0100, Alexander Sack wrote: > > > On Tue, Nov 04, 2008 at 01:48:40PM -0500, Dan Williams wrote: > > > > On Tue, 2008-11-04 at 00:58 -0800, [EMAIL PROTECTED] w

Re: Problems with NM seeing 3G modem

2008-11-04 Thread tcwalker
Alexander Sack <[EMAIL PROTECTED]> wrote: > On Tue, Nov 04, 2008 at 01:48:40PM -0500, Dan Williams wrote: > > On Tue, 2008-11-04 at 00:58 -0800, [EMAIL PROTECTED] wrote: > > > Hello, I am a new user to Linux and tried to find the proper resources > > > before seeking help. > > > > > > I am

RE: blank lines added to /etc/hosts [PATCH]

2008-11-04 Thread Miner, Jonathan W (US SSA)
I think this will fix my issue... only append the newline if we're not parsing the last line of the file. --- src/NetworkManagerPolicy.c.orig 2008-11-03 09:33:08.0 -0500 +++ src/NetworkManagerPolicy.c 2008-11-04 17:02:39.0 -0500 @@ -306,7 +306,8 @@ if (add_l

blank lines added to /etc/hosts

2008-11-04 Thread Miner, Jonathan W (US SSA)
Hi - Each time I unplug, or reconnect my network cable, a blank line gets added to the end of /etc/hosts. # wc -l /etc/hosts 4 /etc/hosts (unplug my cable...) # wc -l /etc/hosts 5 /etc/hosts (plug cable back in...) # wc -l /etc/hosts 6 /etc/hosts Guessing that it is the g_string_append_c() call

Re: ModemManager API review

2008-11-04 Thread Marcel Holtmann
Hi Dan, So the first thing that draw me off is that we are stupidly mapping the HAL devices 1:1 to our devices. That is wrong. We should not do this. So for example my Option card has three TTYs and one network device. This all is one device. Currently it shows up as three devices. The number of

Re: Problems with NM seeing 3G modem

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 20:15 +0100, Alexander Sack wrote: > On Tue, Nov 04, 2008 at 01:48:40PM -0500, Dan Williams wrote: > > On Tue, 2008-11-04 at 00:58 -0800, [EMAIL PROTECTED] wrote: > > > Hello, I am a new user to Linux and tried to find the proper > resources before seeking help. > > > > > > I

RE: location of DHCP lease files

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 13:52 -0500, Miner, Jonathan W (US SSA) wrote: > I understand the need for multiple lease files, based on network. > > My concern was the two different directories being used. I was trying to > solve a network problem, and couldn't understand why my lease files were > seve

Re: Problems with NM seeing 3G modem

2008-11-04 Thread Alexander Sack
On Tue, Nov 04, 2008 at 01:48:40PM -0500, Dan Williams wrote: > On Tue, 2008-11-04 at 00:58 -0800, [EMAIL PROTECTED] wrote: > > Hello, I am a new user to Linux and tried to find the proper resources > > before seeking help. > > > > I am using NM 0.7.0-lp.0025.o.4 > > I am using a Sierra Wireless

Re: Problems with NM seeing 3G modem

2008-11-04 Thread Jerone Young
I just submitted a patch for this card up stream? What distro are you running? You try Ubuntu Intrepid ? You will need hal entries for it to find it in your distro. I use the ATT Sierra Wireless now. Only thing with Ubuntu Intrepid (as temporary work around till network manager gets updated), yo

RE: location of DHCP lease files

2008-11-04 Thread Miner, Jonathan W (US SSA)
I understand the need for multiple lease files, based on network. My concern was the two different directories being used. I was trying to solve a network problem, and couldn't understand why my lease files were several months old... Then I discovered that NM was putting lease files somewhere e

Re: Problems with NM and a AccessPoint

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 17:24 +0100, Marco Franke wrote: > Good evening, > > I went with a notebook in the range of my AccessPoint and the NetworkManager > need 40s to create with it. Is it normal? Not usually, no, but it depends greatly on how strong the AP's signal is. > How can I get inform

Re: Cannot list wireless networks

2008-11-04 Thread Dan Williams
On Mon, 2008-11-03 at 18:42 -0600, fREW Schmidt wrote: > Ok, so I got networkmanager up and running and I can't see any > networks listed in the add new connection screen. > > I am using knetworkmanager as an interface, but I presume that it's a > lower level issue, so I'll post the output to nm-t

Re: Problems with NM seeing 3G modem

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 00:58 -0800, [EMAIL PROTECTED] wrote: > Hello, I am a new user to Linux and tried to find the proper resources before > seeking help. > > I am using NM 0.7.0-lp.0025.o.4 > I am using a Sierra Wireless 881 WCDMA modem with ATT > > As far as I can tell, I successfully install

Re: Network Manager Autologin

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 15:54 +0100, Pablo Martí wrote: > On Tue, Nov 4, 2008 at 3:21 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 04, 2008 at 03:11:13PM +0100, Pablo Martí wrote: > >> Sure! I also think that the Firefox approach is not the right one, is > >> just that I'm not very f

Re: location of DHCP lease files

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 11:47 -0500, Miner, Jonathan W (US SSA) wrote: > Hi - > > I've noticed that the native Fedora "ifup-eth" script puts its lease files > into > > /var/lib/dhclient/dhclient-${DEVICE}.leases > > but, NetworkManager puts the lease files into > > /var/run/dhclient-${DEVICE}.le

Problems with NM seeing 3G modem

2008-11-04 Thread tcwalker
Hello, I am a new user to Linux and tried to find the proper resources before seeking help. I am using NM 0.7.0-lp.0025.o.4 I am using a Sierra Wireless 881 WCDMA modem with ATT As far as I can tell, I successfully installed the modem driver and it is listed as /dev/ttyUSB0 Unfortunately, when

Re: ModemManager API review

2008-11-04 Thread Dan Williams
On Tue, 2008-11-04 at 10:04 +0100, Marcel Holtmann wrote: > Hi Tambet, > > >> So the first thing that draw me off is that we are stupidly mapping > >> the HAL > >> devices 1:1 to our devices. That is wrong. We should not do this. > >> So for > >> example my Option card has three TTYs and one n

location of DHCP lease files

2008-11-04 Thread Miner, Jonathan W (US SSA)
Hi - I've noticed that the native Fedora "ifup-eth" script puts its lease files into /var/lib/dhclient/dhclient-${DEVICE}.leases but, NetworkManager puts the lease files into /var/run/dhclient-${DEVICE}.lease It looks like this is coming from nm-dhcp-manager.h, which builds NM_DHCP_MANAGER_RU

Problems with NM and a AccessPoint

2008-11-04 Thread Marco Franke
Good evening, I went with a notebook in the range of my AccessPoint and the NetworkManager need 40s to create with it. Is it normal? How can I get informations about the problem? How can I start the NM with debug informations? Thanks -- Mfg der bijektive Homomorphismus ist ein Isomorphis

Re: Network Manager Autologin

2008-11-04 Thread Pablo Martí
On Tue, Nov 4, 2008 at 4:10 PM, Tambet Ingo <[EMAIL PROTECTED]> wrote: > On Tue, Nov 4, 2008 at 4:54 PM, Pablo Martí <[EMAIL PROTECTED]> wrote: >> On Tue, Nov 4, 2008 at 3:21 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: >>> OK thanks for the links. I really think this can be done outside of NM >>>

Re: Network Manager Autologin

2008-11-04 Thread Tambet Ingo
On Tue, Nov 4, 2008 at 4:54 PM, Pablo Martí <[EMAIL PROTECTED]> wrote: > On Tue, Nov 4, 2008 at 3:21 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: >> OK thanks for the links. I really think this can be done outside of NM >> applet to things started. >> >> Writing a wispr-applet that listens to D-Bu

Re: Network Manager Autologin

2008-11-04 Thread Pablo Martí
On Tue, Nov 4, 2008 at 3:21 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > On Tue, Nov 04, 2008 at 03:11:13PM +0100, Pablo Martí wrote: >> Sure! I also think that the Firefox approach is not the right one, is >> just that I'm not very fond on NM's dispatcher >> architecture/capabilities. I kinda l

Re: Network Manager Autologin

2008-11-04 Thread Pablo Martí
On Tue, Nov 4, 2008 at 3:10 PM, Patryk Zawadzki <[EMAIL PROTECTED]> wrote: > On Tue, Nov 4, 2008 at 3:06 PM, Pablo Martí <[EMAIL PROTECTED]> wrote: >> No, the very first time you interact with the hotspot, you'll be >> redirected to the login page anyway. You'll have to accept the ToS and >> *pay*.

Re: Network Manager Autologin

2008-11-04 Thread Alexander Sack
On Tue, Nov 04, 2008 at 03:11:13PM +0100, Pablo Martí wrote: > Sure! I also think that the Firefox approach is not the right one, is > just that I'm not very fond on NM's dispatcher > architecture/capabilities. I kinda like the description/mockup given > here [0]. Marcelo asked in nm-list 1 year ag

Re: Network Manager Autologin

2008-11-04 Thread Dani Baeyens
El mar, 04-11-2008 a las 15:02 +0100, Patryk Zawadzki escribió: > On Tue, Nov 4, 2008 at 2:46 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 04, 2008 at 02:13:37PM +0100, Pablo Martí wrote: > >> The benefit is that the user is not redirected to the hotspot webpage, > >> but is logged

Re: Network Manager Autologin

2008-11-04 Thread Pablo Martí
On Tue, Nov 4, 2008 at 2:46 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > On Tue, Nov 04, 2008 at 02:13:37PM +0100, Pablo Martí wrote: >> On Tue, Nov 4, 2008 at 1:21 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: >> > On Tue, Nov 04, 2008 at 01:29:22PM +0200, Tambet Ingo wrote: >> >> On Tue, Nov 4

Re: Network Manager Autologin

2008-11-04 Thread Patryk Zawadzki
On Tue, Nov 4, 2008 at 3:06 PM, Pablo Martí <[EMAIL PROTECTED]> wrote: > No, the very first time you interact with the hotspot, you'll be > redirected to the login page anyway. You'll have to accept the ToS and > *pay*. The use-case discussed here is after paying for the access, not > having to exp

Re: Network Manager Autologin

2008-11-04 Thread Alexander Sack
On Tue, Nov 04, 2008 at 03:02:04PM +0100, Patryk Zawadzki wrote: > On Tue, Nov 4, 2008 at 2:46 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 04, 2008 at 02:13:37PM +0100, Pablo Martí wrote: > >> The benefit is that the user is not redirected to the hotspot webpage, > >> but is logge

Re: Network Manager Autologin

2008-11-04 Thread Pablo Martí
On Tue, Nov 4, 2008 at 3:02 PM, Patryk Zawadzki <[EMAIL PROTECTED]> wrote: > On Tue, Nov 4, 2008 at 2:46 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: >> On Tue, Nov 04, 2008 at 02:13:37PM +0100, Pablo Martí wrote: >>> The benefit is that the user is not redirected to the hotspot webpage, >>> but i

Re: Network Manager Autologin

2008-11-04 Thread Patryk Zawadzki
On Tue, Nov 4, 2008 at 2:46 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > On Tue, Nov 04, 2008 at 02:13:37PM +0100, Pablo Martí wrote: >> The benefit is that the user is not redirected to the hotspot webpage, >> but is logged in automatically. It might seem a silly difference, but >> is a request

Re: Network Manager Autologin

2008-11-04 Thread Alexander Sack
On Tue, Nov 04, 2008 at 02:13:37PM +0100, Pablo Martí wrote: > On Tue, Nov 4, 2008 at 1:21 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 04, 2008 at 01:29:22PM +0200, Tambet Ingo wrote: > >> On Tue, Nov 4, 2008 at 1:00 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > >> > On Tue, Nov

Re: Network Manager Autologin

2008-11-04 Thread Pablo Martí
On Tue, Nov 4, 2008 at 2:13 PM, Pablo Martí <[EMAIL PROTECTED]> wrote: > On Tue, Nov 4, 2008 at 1:21 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: >> On Tue, Nov 04, 2008 at 01:29:22PM +0200, Tambet Ingo wrote: >>> On Tue, Nov 4, 2008 at 1:00 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: >>> > On T

Re: Network Manager Autologin

2008-11-04 Thread Pablo Martí
On Tue, Nov 4, 2008 at 1:21 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > On Tue, Nov 04, 2008 at 01:29:22PM +0200, Tambet Ingo wrote: >> On Tue, Nov 4, 2008 at 1:00 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: >> > On Tue, Nov 04, 2008 at 10:44:59AM +0200, Tambet Ingo wrote: >> >> >> >> Add a d

Re: Network Manager Autologin

2008-11-04 Thread Alexander Sack
On Tue, Nov 04, 2008 at 01:29:22PM +0200, Tambet Ingo wrote: > On Tue, Nov 4, 2008 at 1:00 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 04, 2008 at 10:44:59AM +0200, Tambet Ingo wrote: > >> > >> Add a dispatcher script that runs "xdg-open $url" for a specific SSID > >> you need it

Re: Network Manager Autologin

2008-11-04 Thread Tambet Ingo
On Tue, Nov 4, 2008 at 1:00 PM, Alexander Sack <[EMAIL PROTECTED]> wrote: > On Tue, Nov 04, 2008 at 10:44:59AM +0200, Tambet Ingo wrote: >> >> Add a dispatcher script that runs "xdg-open $url" for a specific SSID >> you need it for and you're done. > > Do we have per-user dispatcher scripts or are

Re: Network Manager Autologin

2008-11-04 Thread Alexander Sack
On Tue, Nov 04, 2008 at 10:44:59AM +0200, Tambet Ingo wrote: > > Add a dispatcher script that runs "xdg-open $url" for a specific SSID > you need it for and you're done. Do we have per-user dispatcher scripts or are you suggesting to open the browser as root here :) ? - Alexander

Re: ModemManager API review

2008-11-04 Thread Tambet Ingo
On Tue, Nov 4, 2008 at 11:01 AM, Tomas Kovacik <[EMAIL PROTECTED]> wrote: > and this is HAL .fdi problem?: > > dmesg: > [82410.648181] usb 2-2: new full speed USB device using uhci_hcd and address > 2 > [82410.821948] usb 2-2: configuration #1 chosen from 1 choice > [82411.050542] cdc_acm 2-2:1.1:

Re: ModemManager API review

2008-11-04 Thread Marcel Holtmann
Hi Tambet, So the first thing that draw me off is that we are stupidly mapping the HAL devices 1:1 to our devices. That is wrong. We should not do this. So for example my Option card has three TTYs and one network device. This all is one device. Currently it shows up as three devices. The

Re: ModemManager API review

2008-11-04 Thread Tomas Kovacik
Tambet Ingo wrote: > On Tue, Nov 4, 2008 at 3:54 AM, Marcel Holtmann <[EMAIL PROTECTED]> wrote: > >> So the first thing that draw me off is that we are stupidly mapping the HAL >> devices 1:1 to our devices. That is wrong. We should not do this. So for >> example my Option card has three TTYs an

Re: Network Manager Autologin

2008-11-04 Thread Tambet Ingo
On Tue, Nov 4, 2008 at 1:41 AM, Slokunshialgo <[EMAIL PROTECTED]> wrote: > I know I posted something about this awhile ago, but thinking about it a > bit more, a couple of questions and ideas have arisen in my mind. For > those who may not have read this before, the idea is to have something > usi

Re: ModemManager API review

2008-11-04 Thread Tambet Ingo
On Tue, Nov 4, 2008 at 3:54 AM, Marcel Holtmann <[EMAIL PROTECTED]> wrote: > So the first thing that draw me off is that we are stupidly mapping the HAL > devices 1:1 to our devices. That is wrong. We should not do this. So for > example my Option card has three TTYs and one network device. This al