Re: Excluding a group of interfaces

2015-01-20 Thread Eugene Yakubovich
On Tue, Jan 20, 2015 at 1:24 PM, Thomas Haller  wrote:
> On Mon, 2015-01-19 at 16:53 -0800, Eugene Yakubovich wrote:

>> For example ignore all interfaces whose name starts with abc. I tried
>> adding "iface abc*" to /etc/network/interfaces but it seems like globs
>> are not supported. All these interfaces are veth devices so ignoring
>> by device type would also work.
>>
>> Any help would be greatly appreciated.
>
>
> how about putting into /etc/NetworkManager/NetworkManager.conf
>
>
> [keyfile]
> unmanaged-devices=interface-name:abc*
>

This didn't seem to do the trick. Are wildcards supported? However I
found that if the veth interface name starts with "veth", it ignores
it. Not ideal solution but definitely workable.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 2. New to debian, and the mail list

2015-01-20 Thread Garrison Ricketson
Just wanted to say I did fix the problem, it turned out to be that a
driver was missing, thanks


> Message: 1
> Date: Mon, 19 Jan 2015 18:01:48 -0800
> From: "Garrison Ricketson" 
> To: networkmanager-list@gnome.org
> Subject: Not sure on confirmation
> Message-ID:
>   
> <459066b345a2e76a7b362fa716d3e260.squir...@webmail.garryricketsonartworks.com>
>
> Content-Type: text/plain;charset=iso-8859-1
>
> Hello ,
>  I just joined the mailinglist and am not sure if it confirmed all right.
> My reason for joining the list is I have some problem with network
> manager,not working. I will explain the details, if and when I am actually
> on the list.
>  Thank you
>
>
>>From Garry
> Message: 2
> Date: Mon, 19 Jan 2015 21:38:45 -0800
> From: "Garrison Ricketson" 
> To: networkmanager-list@gnome.org
> Subject: New to debian, and the mail list
> Message-ID:
>   
> <745bf26832c4256333018ef6d2e9c1a2.squir...@webmail.garryricketsonartworks.com>
>
> Content-Type: text/plain;charset=iso-8859-1
>
>
> Hello every one,
>  I am new to this mail list, also just a few days ago installed debian ,
>  all though the install went fine, the only thing is "network manger" is
> not working to well, it does pick up my "broad band" mobile usb device,
> but does not pick up on the offices "wifi" or wlan connection, which is
> what I want to use, the broadband usb device is very expensive for me,
> and the office, "wifi" or wlan is free,  I do not know much about this,
> and normally let everything configure automaticly.
>  When I installed xubuntu on a different partition, the "network
> connections" or manager worked fine, all I needed to do is put in the
> password for the office modem, in the "security" part and it works fine.
>  I would need to know what information anyone will need, if they have some
> ideas, please let me know what is needed.
> thanks
>>From Garry
> networkmanager-list mailing list
> networkmanager-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/networkmanager-list
>
>
> --
>
> End of networkmanager-list Digest, Vol 124, Issue 17
> 
>


>From Garry


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


Re: Excluding a group of interfaces

2015-01-20 Thread Thomas Haller
On Mon, 2015-01-19 at 16:53 -0800, Eugene Yakubovich wrote:
> Hello NM List,
> 
> I need to exclude a group of interfaces from being managed by NM. I'm
> running Ubuntu and wanted to use /etc/network/interfaces in
> conjunction with manged=false in [ifupdown] section. However I need NM
> to ignore a whole bunch of interfaces based on the wildcard in the
> name.
> 
> For example ignore all interfaces whose name starts with abc. I tried
> adding "iface abc*" to /etc/network/interfaces but it seems like globs
> are not supported. All these interfaces are veth devices so ignoring
> by device type would also work.
> 
> Any help would be greatly appreciated.


how about putting into /etc/NetworkManager/NetworkManager.conf


[keyfile]
unmanaged-devices=interface-name:abc*


(and restart NM)


Thomas


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


Re: Not sure on confirmation

2015-01-20 Thread Dan Williams
On Mon, 2015-01-19 at 18:01 -0800, Garrison Ricketson wrote:
> Hello ,
>  I just joined the mailinglist and am not sure if it confirmed all right.
> My reason for joining the list is I have some problem with network
> manager,not working. I will explain the details, if and when I am actually
> on the list.

I see the mail, I think you're subscribed.  Welcome!

Dan

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


Re: Unavailable, managed device.

2015-01-20 Thread Dan Williams
On Tue, 2015-01-20 at 10:16 +0100, Léo Peltier wrote:
> > $ rfkill list
> > 1: phy0: Wireless LAN
> > Soft blocked: no
> > Hard blocked: no
> 
> There is no wpa_supplicant running.

So that would be the issue.  NetworkManager tries to start the
supplicant via D-Bus service actiavation if it's not already running, so
either there's an issue with D-Bus service activation, or you're running
systemd and you have the supplicant masked, or you could just try making
sure the supplicant is running when NM starts and ensure that it's
launched with the "-u" option.

Does that make things work?

Dan

> On 01/19/2015 08:30 PM, Dan Williams wrote:
> > Some quick things that I can think of:
> > 
> > 1) rfkill - what does 'rfkill list' say?
> > 2) wpa_supplicant - is the supplicant running, and was it spawned with
> > the "-u" option?
> > 
> > Dan
> 


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


Re: Problems with routing

2015-01-20 Thread Mustafa Muhammad
On Tue, Jan 20, 2015 at 12:47 AM, Thomas Haller  wrote:
> On Sat, 2015-01-17 at 17:44 +0300, Mustafa Muhammad wrote:
>> Hi,
>> I am trying to use NetworkManager with per interface routing and split
>> routing tables, when I use network I can put the route in a file
>> route-ifname with:
>> default via 192.168.222.1 table rt2
>>
>> and it works, when I switched to using NM, this no longer work, I
>> tried several times and found that I can use:
>> 192.168.222.0/0 via 192.168.222.1 table rt2
>>
>> but not "default", is this a bug or am I missing something?
>
> initscripts pass the lines from route-ifname directly to ip-route.
> NetworkManager does not support all this flexibility, especially it
> does not support specifying routing tables...
>
>
> But... recently the following got merged, so if you use NetworkManager
> from master, it might work for you:
>
> http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=6d5e62a3877491299654de99809e156fd348c549
>
>
> The related bug on RHEL-7 is:
> https://bugzilla.redhat.com/show_bug.cgi?id=1160013
>
>
>
> If you use an older NetworkManger, you might get around it by using a
> dispatcher script. Something like
> https://bugzilla.redhat.com/show_bug.cgi?id=1160013#c3
>
>

Thank you for answering, I use Fedora 21 server, so not from master,
but I'll use a script, happy to see this come to NM.
Thank you for your suggestion and for the links.

Regards
Mustafa Muhammad

>
> Thomas
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Unavailable, managed device.

2015-01-20 Thread Léo Peltier
> $ rfkill list
> 1: phy0: Wireless LAN
>   Soft blocked: no
>   Hard blocked: no

There is no wpa_supplicant running.

On 01/19/2015 08:30 PM, Dan Williams wrote:
> Some quick things that I can think of:
> 
> 1) rfkill - what does 'rfkill list' say?
> 2) wpa_supplicant - is the supplicant running, and was it spawned with
> the "-u" option?
> 
> Dan

-- 
Léo Peltier
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: New to debian, and the mail list

2015-01-20 Thread Marius Kotsbak
2015-01-20 6:38 GMT+01:00 Garrison Ricketson <
ga...@garryricketsonartworks.com>:

>
> Hello every one,
>  I am new to this mail list, also just a few days ago installed debian ,
>  all though the install went fine, the only thing is "network manger" is
> not working to well, it does pick up my "broad band" mobile usb device,
> but does not pick up on the offices "wifi" or wlan connection, which is
> what I want to use, the broadband usb device is very expensive for me,
> and the office, "wifi" or wlan is free,  I do not know much about this,
> and normally let everything configure automaticly.
>  When I installed xubuntu on a different partition, the "network
> connections" or manager worked fine, all I needed to do is put in the
> password for the office modem, in the "security" part and it works fine.
>  I would need to know what information anyone will need, if they have some
> ideas, please let me know what is needed.
>

Then please report the bug to Debian: https://wiki.debian.org/reportbug

It probably would be useful to add the output of "lsusb" and "lspci" to
know which hardware you are using.

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