gitbls / sdm

Raspberry Pi SD Card Image Manager
MIT License
469 stars 48 forks source link

Specify wlan1 instead of wlan0? #241

Closed thk686 closed 3 months ago

thk686 commented 4 months ago

I have a usb wifi. How do I configure that one instead of the built-in wifi?

gitbls commented 4 months ago

You'll have to wait for an update to the network plugin next week.

In the meantime you can edit the .nmconnection file to adjust it.

gitbls commented 4 months ago

I pushed an updated network plugin that has the argument iwname. If not specified, the default is wlan0. If specified, the interface provided will be configured in the .nmconnection file.

There is obviously no checking on the validity of the device name since the target system may have devices that the host system does not.

Please test and LMK if this works for you. Thx

gitbls commented 3 months ago

Closing due to no activity, and I know that it works 👍