Re: How to deal with a new Wifi Adapter?



Thanks, Thomas,

Thomas Haller via networkmanager-list <networkmanager-list gnome org>
writes:

[snip]

Any chance you could give a quick explanation of what these (two?) sets
of commands are doing?

Thanks,

-derek

Hi,

I'd do:

    UUIDS="$(nmcli -g TYPE,UUID connection show | \
                    sed -n 's/802-11-wireless://p')"

    for UUID in $UUIDS; \
    do \
        nmcli \
           -f 
connection.id,connection.uuid,802-11-wireless.ssid,connection.interface-name,802-11-wireless.mac-address \
           -mode multiline \
           connection show uuid "$UUID" ; \
        echo ; \
    done

if you want to clear these values:

    for UUID in $UUIDS; \
    do \
        echo "$UUID ..." ; \
        nmcli connection modify uuid "$UUID" \
            connection.interface-name '' \
            wifi.mac-address '' ; \
    done


In a similar vein, is there a way to tell NM to disable to embedded
wifi
adapter?

put

  [device-unmanage-internal-wifi]
  match-device=mac:aa:bb:cc:dd:ee:ff
  managed=0

to /etc/NetworkManager/conf.d/99-unmanaged-internal-wifi.conf and
restart.

Or even blacklist the module from loading in /etc/modprobe.d.


best,
Thomas

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


-- 
       Derek Atkins                 617-623-3745
       derek ihtfp com             www.ihtfp.com
       Computer and Internet Security Consultant


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]