Re: [systemd-devel] Network.service for wifi

2012-12-06 Thread Oleksii Shevchuk
I use this: grep -R wlan2 /etc/udev/rules.d/ /etc/udev/rules.d/70-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:27:19:f5:62:90", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="wlan2", ENV{SYSTEMD_WANTS}="wireless@wlan2.target", GOTO="net_ok" # cat /etc/systemd/syste

Re: [systemd-devel] Network.service for wifi

2012-12-06 Thread Tomasz Torcz
On Wed, Dec 05, 2012 at 04:36:04PM -0800, John Tobias wrote: > Follow up to my previous message: The systemd need to determine if my > firmware of my wifi has been loaded by the kernel. > Any idea? Probably device like sys-subsystem-net-devices-wlan0.device will appear. You can use it as an orde

Re: [systemd-devel] Network.service for wifi

2012-12-06 Thread John Tobias
Follow up to my previous message: The systemd need to determine if my firmware of my wifi has been loaded by the kernel. Any idea? Regards, john On Wed, Dec 5, 2012 at 3:44 PM, John Tobias wrote: > Hi All, > > I have a wireless interface that I have created a .service. But, the > wlan0 interfac

[systemd-devel] Network.service for wifi

2012-12-06 Thread John Tobias
Hi All, I have a wireless interface that I have created a .service. But, the wlan0 interface takes a while before it shows up in the system. I would like to know how to tell to systemd to check if the wlan0 interface is available, then if its available that's the time the systemd execute ExecStart