Am 11.04.2011 01:49, schrieb John Pearson:
> Hi Michael,
> 
> Thanks for looking at this bug, and for pointing me to
> /etc/NetworkManager/dispatcher.d/.
> 
> However, this does not allow me the degree of control that I'd like: I
> have both a wired and wireless interface, and don't want to modify
> accept_ra when connecting to an unknown wireless network.  Having read
> man 8 NetworkManager, those scripts receive only the interface name and
> state - I'd also need the SSID to give me enough information to do what

That is not quite true.
Run "nmcli con", this will print out the list of connections you have configured
including a UUID for each connection.

This UUID is exported as environment variable CONNECTION_UUID when the
dispatcher script is run, so you can easily match for that.

HTH,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to