Fixing wlan number in Pups - any value per adapter [SOLVED]
Posted: Mon 06 Apr 2020, 23:46
G'day,
I have many Pups on each computer and now each computer connects to the home network and router via Wifi.
I use Pwidgets in 32-bit Pups and Conky in 64-bit Pups to display on the Desktop, the wifi status among other stuff.
I have seen that the naming of the same wifi dongle varies between Pups on the same computer if there's more than one adapter so the Pwidget/Conky Wifi script fails to show wifi details if it is wlan1 when the config script has wlan0, or vice versa. Sometimes the wifi is 'wl' followed by a long string of alphanumeric digits.
I believe Puppy decides what number to give to the wifi adapter. The wifi router/modem uses the MAC address (a constant for the dongle) not any wlan number.
Is the wlan's number assigned by a Puppy to the particular wifi dongle (identified via its MAC address) set by something in /etc/udev/rules.d/70.persistant.netrules or somewhere else?
I don't see this 'persistentnet.rules...' text file in every Pup so am confused (as usual).
For example, I'd like my wifi dongle to be wlan1 in every Pup so my Pwidget/Conky scripts don't have to be edited so often.
I think it would be easier for me when adding a new Pup to do the "set-wlan-dongle-to-wlan1" at Pup set-up than have multiple PWidget/Conky config scripts.
I would also like to know if this permanent fixing of this wlan number for the same wifi dongle would affect the Internet connection wizards.
Thanks.
David S.
I have many Pups on each computer and now each computer connects to the home network and router via Wifi.
I use Pwidgets in 32-bit Pups and Conky in 64-bit Pups to display on the Desktop, the wifi status among other stuff.
I have seen that the naming of the same wifi dongle varies between Pups on the same computer if there's more than one adapter so the Pwidget/Conky Wifi script fails to show wifi details if it is wlan1 when the config script has wlan0, or vice versa. Sometimes the wifi is 'wl' followed by a long string of alphanumeric digits.
I believe Puppy decides what number to give to the wifi adapter. The wifi router/modem uses the MAC address (a constant for the dongle) not any wlan number.
Is the wlan's number assigned by a Puppy to the particular wifi dongle (identified via its MAC address) set by something in /etc/udev/rules.d/70.persistant.netrules or somewhere else?
I don't see this 'persistentnet.rules...' text file in every Pup so am confused (as usual).
For example, I'd like my wifi dongle to be wlan1 in every Pup so my Pwidget/Conky scripts don't have to be edited so often.
I think it would be easier for me when adding a new Pup to do the "set-wlan-dongle-to-wlan1" at Pup set-up than have multiple PWidget/Conky config scripts.
I would also like to know if this permanent fixing of this wlan number for the same wifi dongle would affect the Internet connection wizards.
Thanks.
David S.