
How to Auto Identify PPPoE User Name, Wifi Radio Name and System Identity in Mikrotik Devices
It may be necessary to automate the radio name on Wifi with the PPPoE username in order not to have difficulty in identifying Client devices and accessing them later, which is one of the basic requirements for each dealer providing WISP (Wireless Internet Service Provider) service.
To solve your needs for such situations, you can eliminate this problem with the following script.
:global userset
:set $userset [/interface pppoe-client get pppoe-out1 user];
/system identity set name=$userset
/interface wireless set 0 radio-name=$userset
- Let’s see what the commands in the script above mean;
global userset: We define a globally accessible variable.
afterward
With the: set command, we draw the value information of the$usersetvariable as the user information of thePoE Clientthen we send the necessary commands to update the system identity and the wireless card radio name information with the information in the$usersetvariable.

