Score:1

Freeradius doesn't start when CoS user attributes are configured

us flag

I have a problem with a POC, I tried use Freeradius for authentication purpose and assign attributes for users of a broadband network (PPPoE). When I configure the user with this parameters I can connect the PPPoE client in the network and the Freeradius start without problems:

[email protected]     Cleartext-Password := "Passwd123"
                  ERX-Virtual-Router-Name = "test",
                  ERX-Address-Pool-Name = "FTTH-V4-POOL",
                  ERX-Primary-DNS = 8.8.8.8,
                  ERX-Ingress-Policy-Name = "AB-5M",
                  ERX-Egress-Policy-Name = "AB-5M"

However, when I try to add more attributes about CoS, I can't start the Freeradius Server:

Job for radiusd.service failed because the control process exited with error code. See "systemctl status radiusd.service" and "journalctl -xe" for details

systemctl status radiusd.service output:

● radiusd.service - FreeRADIUS high performance RADIUS server.
Loaded: loaded (/usr/lib/systemd/system/radiusd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since lun 2021-07-26 15:20:52 -05; 33s ago Process: 30884 ExecStart=/usr/sbin/radiusd -d /etc/raddb (code=exited, status=0/SUCCESS) Process: 31061 ExecStartPre=/usr/sbin/radiusd -C (code=exited, status=1/FAILURE) Process: 31059 ExecStartPre=/bin/chown -R radiusd.radiusd /var/run/radiusd (code=exited, status=0/SUCCESS) Main PID: 30887 (code=exited, status=0/SUCCESS)

The additional attributes that I try to add are the follow:

[email protected]     Cleartext-Password := "Passwd123"
                  ERX-Virtual-Router-Name = "test",
                  ERX-Address-Pool-Name = "FTTH-V4-POOL",
                  ERX-Primary-DNS = 8.8.8.8,
                  ERX-Ingress-Policy-Name = "AB-5M",
                  ERX-Egress-Policy-Name = "AB-5M",
                  ERX-CoS-Parameter-Type = "T01 BB-SUB-COS",
                  ERX-CoS-Parameter-Type = "T02 5m",
                  ERX-CoS-Scheduler-Pmt-Type = "SCHEDULER-EF T01 2m",
                  ERX-CoS-Scheduler-Pmt-Type = "SCHEDULER-AF T01 1m",
                  ERX-CoS-Scheduler-Pmt-Type = "SCHEDULER-AF T02 1m",
                  ERX-CoS-Scheduler-Pmt-Type = "SCHEDULER-NC T01 1m",
                  ERX-CoS-Scheduler-Pmt-Type = "SCHEDULER-NC T02 1m"

I use a Juniper MX router like BNG. Does anyone know what problem is happening with user settings?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.