network manager command-line control?

Jeremy Katz katzj at redhat.com
Mon Dec 3 16:24:31 UTC 2007


On Mon, 2007-12-03 at 10:43 -0500, Matthew Miller wrote:
> I want to make sure I'm not missing something before I file an RFE. I'd like
> to be able to enable/disable wireless (or wired, for that matter) networking
> from scripts. The nm-tool program seems like the logical place for this
> functionality, but it doesn't appear to actually have it at this point.

While I can see a use for this functionality in general...

> Specifically, my laptop generates a custom Sony ACPI button event when the
> wireless antenna is switched on or off -- I'd like to automatically enable
> or disable wireless networking correspondingly. Is there an easy way to do
> this that I'm just not seeing? Thanks.

The right fix for this is for the kernel to hook the ACPI event properly
into generating a kill switch event rather than piling on hacks ;)

Jeremy




More information about the fedora-devel-list mailing list