Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#19801 closed defect (moved_to_github)

freeradius2 in Openwrt

Reported by: gacelweb@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

I have installed freeradius2 in OpenWrt Chaos Calmer 15.05-rc1 in my router Comtrend ar-5387un:

# opkg install wpad freeradius2 freeradius2-mod-eap freeradius2-mod-eap-mschapv2 freeradius2-mod-eap-peap freeradius2-mod-eap-tls freeradius2-mod-eap-ttls freeradius2-mod-files freeradius2-mod-mschap freeradius2-utils freeradius2-mod-radutmp freeradius2-mod-realm freeradius2-mod-exec freeradius2-mod-pap freeradius2-mod-chap freeradius2-democert

When I start it in debug mode (# radiusd -XX), I get an error:

Debug: including dictionary file /etc/freeradius2/dictionary
Error: Errors reading dictionary: dict_init: Couldn't open dictionary "/etc/freeradius2/dictionary": No such file or directory

How can I solve it?

Attachments (2)

error.txt (5.6 KB) - added by gacelweb@… 3 years ago.
result of the command radiusd -XX
default (18.9 KB) - added by gacelweb@… 3 years ago.
file default in /etc/freeradius2/sites

Download all attachments as: .zip

Change History (8)

comment:1 Changed 3 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from new to closed

freeradius is maintained here: https://github.com/openwrt/packages

comment:2 Changed 3 years ago by anonymous

  • Resolution moved_to_github deleted
  • Status changed from closed to reopened

comment:3 Changed 3 years ago by gacelweb@…

I'm using the pre-built packages with opkg, but they don't work.
I don't want an OpenWrt buildroot installation.
Can I create a ticket in https://github.com/openwrt/packages?

comment:4 Changed 3 years ago by anonymous

Try input the things below in the terminal

touch /etc/freeradius2/dictionary

Not anything should be a non-empty file.

And remember to comment the listening interface and ip address in the radius.conf in order to make it work properly.

comment:5 Changed 3 years ago by hauke

  • Resolution set to moved_to_github
  • Status changed from reopened to closed

Have you installed freeradius2-common ? I can not reproduce this problem, but the file should be provided by the package freeradius2-common.

If you still have this problem please open a bug report at https://github.com/openwrt/packages

comment:6 Changed 3 years ago by anonymous

freradius2-common is installed.

I have created the file in console:

touch /etc/freeradius2/dictionary

Now there is other error:
Error: /etc/freeradius2/sites/default[254]: No such attribute Auth-Type

Changed 3 years ago by gacelweb@…

result of the command radiusd -XX

Changed 3 years ago by gacelweb@…

file default in /etc/freeradius2/sites

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.