Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-05-19 Thread Jan Engelhardt
On Tuesday 2015-05-19 19:03, Tom Gundersen wrote: >> Unlike hwdevtype, arphrd is at least set _all the time_. > >True, but not always to something useful (which is why we special case >ARPHRD_ETHER and DEVTYPE==wlan|wwan). How so? If ethernet frames is what the OS has to send to the device to mak

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-05-19 Thread Tom Gundersen
On Tue, May 19, 2015 at 6:57 PM, Jan Engelhardt wrote: > > On Tuesday 2015-05-19 18:38, Tom Gundersen wrote: > # networkctl status --no-pager eth0 > ??● 3: eth0 >Link File: n/a > Network File: n/a > Type: ether >State: off (unmanaged) >

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-05-19 Thread Jan Engelhardt
On Tuesday 2015-05-19 18:38, Tom Gundersen wrote: >>> > # networkctl status --no-pager eth0 >>> > ??● 3: eth0 >>> >Link File: n/a >>> > Network File: n/a >>> > Type: ether >>> >State: off (unmanaged) >>> > Path: pci-:01:00.0 >>> > Driver: r8169 [...] >>> >

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-05-19 Thread Tom Gundersen
On Tue, Apr 21, 2015 at 6:26 PM, Lennart Poettering wrote: > On Tue, 21.04.15 14:47, Tom Gundersen (t...@jklm.no) wrote: > >> > I'm having a similar problem while running systemd version-219. Did you >> > work >> > out what was wrong? >> > >> > My link file is ignored even when I symlink >> > /et

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-21 Thread Lennart Poettering
On Tue, 21.04.15 14:47, Tom Gundersen (t...@jklm.no) wrote: > > I'm having a similar problem while running systemd version-219. Did you work > > out what was wrong? > > > > My link file is ignored even when I symlink > > /etc/systemd/network/99-default.link to /dev/null. I don't see anything > > i

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-21 Thread Tom Gundersen
On Tue, Apr 14, 2015 at 7:08 PM, Andrew Cooks wrote: > On Tue, Jan 13, 2015 at 6:46 AM, Jan Engelhardt wrote: >> >> >> On Monday 2015-01-12 18:29, Tom Gundersen wrote: >> >> In systemd-218, I have configured the following testcase: >> >> >> >> /etc/systemd/network# ls -al >> >> total 20 >> >> drw

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-21 Thread Lennart Poettering
On Tue, 21.04.15 11:42, Andrew Cooks (aco...@linux.com) wrote: > > > # cat /etc/systemd/network/01-mgmt.link > > > [Match] > > > Path=pci-:01:00.0 > > > Type=ether > > > > > > [Link] > > > Name=mgmt > > > MACAddressPolicy=persistent > > > > Consider testing the .link file with "udevadm test-bu

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-20 Thread Andrew Cooks
On Tue, Apr 21, 2015 at 12:40 AM, Lennart Poettering wrote: > On Wed, 15.04.15 01:08, Andrew Cooks (aco...@linux.com) wrote: > > > On Tue, Jan 13, 2015 at 6:46 AM, Jan Engelhardt wrote: > > > > > > > > On Monday 2015-01-12 18:29, Tom Gundersen wrote: > > > >> In systemd-218, I have configured th

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-20 Thread Lennart Poettering
On Mon, 20.04.15 13:17, Ian Pilcher (arequip...@gmail.com) wrote: > On 04/20/2015 01:06 PM, Lennart Poettering wrote: > >On Mon, 20.04.15 13:02, Ian Pilcher (arequip...@gmail.com) wrote: > >>I would love to be able to set the MTU of a physical interface in a > >>.network file. Is this possible?

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-20 Thread Ian Pilcher
On 04/20/2015 01:06 PM, Lennart Poettering wrote: On Mon, 20.04.15 13:02, Ian Pilcher (arequip...@gmail.com) wrote: I would love to be able to set the MTU of a physical interface in a .network file. Is this possible? (The systemd.network(5) doesn't list it.) Yes, this is supported via MTU=.

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-20 Thread Lennart Poettering
On Mon, 20.04.15 13:02, Ian Pilcher (arequip...@gmail.com) wrote: > On 01/12/2015 05:38 PM, Tom Gundersen wrote: > >Some of the .link settings may make sense to tweak also per-network, > >in which case we support changing them in .network files. > > I would love to be able to set the MTU of a phy

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-20 Thread Ian Pilcher
On 01/12/2015 05:38 PM, Tom Gundersen wrote: Some of the .link settings may make sense to tweak also per-network, in which case we support changing them in .network files. I would love to be able to set the MTU of a physical interface in a .network file. Is this possible? (The systemd.network

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-20 Thread Lennart Poettering
On Wed, 15.04.15 01:08, Andrew Cooks (aco...@linux.com) wrote: > On Tue, Jan 13, 2015 at 6:46 AM, Jan Engelhardt wrote: > > > > > On Monday 2015-01-12 18:29, Tom Gundersen wrote: > > >> In systemd-218, I have configured the following testcase: > > >> > > >> /etc/systemd/network# ls -al > > >> to

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-04-14 Thread Andrew Cooks
On Tue, Jan 13, 2015 at 6:46 AM, Jan Engelhardt wrote: > > On Monday 2015-01-12 18:29, Tom Gundersen wrote: > >> In systemd-218, I have configured the following testcase: > >> > >> /etc/systemd/network# ls -al > >> total 20 > >> drwxr-xr-x 2 root root 4096 Jan 11 18:14 . > >> drwxr-xr-x 5 root ro

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-01-12 Thread Tom Gundersen
On Mon, Jan 12, 2015 at 11:46 PM, Jan Engelhardt wrote: > > On Monday 2015-01-12 18:29, Tom Gundersen wrote: >>> In systemd-218, I have configured the following testcase: >>> >>> /etc/systemd/network# ls -al >>> total 20 >>> drwxr-xr-x 2 root root 4096 Jan 11 18:14 . >>> drwxr-xr-x 5 root root 409

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-01-12 Thread Jan Engelhardt
On Monday 2015-01-12 18:29, Tom Gundersen wrote: >> In systemd-218, I have configured the following testcase: >> >> /etc/systemd/network# ls -al >> total 20 >> drwxr-xr-x 2 root root 4096 Jan 11 18:14 . >> drwxr-xr-x 5 root root 4096 Jan 11 16:23 .. >> -rw-r--r-- 1 root root 96 Jan 11 18:14 99a-

Re: [systemd-devel] networkd-218 seems to ignore .link files

2015-01-12 Thread Tom Gundersen
Hi Jan, On Mon, Jan 12, 2015 at 12:20 AM, Jan Engelhardt wrote: > > In systemd-218, I have configured the following testcase: > > /etc/systemd/network# ls -al > total 20 > drwxr-xr-x 2 root root 4096 Jan 11 18:14 . > drwxr-xr-x 5 root root 4096 Jan 11 16:23 .. > -rw-r--r-- 1 root root 96 Jan 11

[systemd-devel] networkd-218 seems to ignore .link files

2015-01-11 Thread Jan Engelhardt
In systemd-218, I have configured the following testcase: /etc/systemd/network# ls -al total 20 drwxr-xr-x 2 root root 4096 Jan 11 18:14 . drwxr-xr-x 5 root root 4096 Jan 11 16:23 .. -rw-r--r-- 1 root root 96 Jan 11 18:14 99a-ether.link -rw-r--r-- 1 root root 241 Jan 11 18:12 brd0.network -rw-