Freeradius-setup-help!! DD-WRT (build 51937)

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
chayrlion
DD-WRT Novice


Joined: 09 Mar 2023
Posts: 1

PostPosted: Thu Mar 09, 2023 23:12    Post subject: Freeradius-setup-help!! DD-WRT (build 51937) Reply with quote
Running DD-WRT (build-51937) on RT-AC66U_B1 with a 64G usb3.0 drive attached partitioned as 2G Swap and the remaing partition labeled as OPtware.

For 2 days in vain, I can't seem to generate a certificate. It gets stuck at either 60% or 80%.

I fill in the form, apply setting. Stuck even after 24 hrs.
Factory reset the router already over 3 times. The same issue.

Has anyone ever succeeded using the web-ui procedure.

I don't mind using CLI steps if I could find a reliable guide.

Thanks in advance.


[/img]



Screenshot 2023-03-09 165817.png
 Description:
 Filesize:  5.77 KB
 Viewed:  596 Time(s)

Screenshot 2023-03-09 165817.png


Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Fri Mar 10, 2023 11:39    Post subject: Reply with quote
It could be that jffs is required for FreeRadius

I always make three partitions for my USB stick (ext2) one labelled opt , one labelled jffs and one SWAP partition of 1 GB

Not sure I do not use it but took a quick look at the code

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
jzenberg
DD-WRT Novice


Joined: 16 Oct 2021
Posts: 11

PostPosted: Fri Apr 07, 2023 15:46    Post subject: Reply with quote
I followed the guide from the below url to set up mine and it worked

https://teledom.gr/tech/dd-wrt/dd-wrt-wrt1900acs-v2-freeradius/

Although I find that setting a Passphrase that's too long or has too many speacial characters creates an issue with generating the certificate. hope this helps as I was succesfull in setting it up.

But now I'm having an issue as well but not the same.

It started after upgrading the firmware to r52217 (not sure if related)
but in syslog i get: Message: [radiusd] : Error on startup, returncode 1

I ran debug through ssh with command radiusd -X then at the end i get the result in red:

Unable to check file "/etc/freeradius/certs/server.pem": No such file or directory
/etc/freeradius/mods-enabled/eap[177]: Failed parsing configuration item "private_key_file"
rlm_eap_tls: Failed initializing SSL context
rlm_eap (EAP): Failed to initialise rlm_eap_tls
/etc/freeradius/mods-enabled/eap[14]: Instantiation failed for module "eap"

Not sure why because when I checked in the directory the file server.pem is there.

If anyone could help I would apreciate.

_________________
WRT1900Ac-v1...DD-WRT v3.0-r51787 std, Forced DNS, WAN redirection, OpenVPN, VAP, Freeradius, DNScrypt-proxy2.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum