Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daloRADIUS Install Requirements #87

Closed
lirantal opened this issue Feb 23, 2019 · 14 comments
Closed

daloRADIUS Install Requirements #87

lirantal opened this issue Feb 23, 2019 · 14 comments
Assignees

Comments

@lirantal
Copy link
Owner

Requirements

  • Apache.
  • PHP v5 or higher.
  • MySQL v4.1 or higher.
  • PEAR PHP extension.
  • PEAR package DB in order to access the database. To install it, execute at the command line:
    pear install DB
    
  • PEAR packages Mail and Mail_Mime to send notifications by email. To install them, execute at the command line:
    pear install -a Mail
    pear install -a Mail_Mime
    

More details about installation and requirements can be found if needed on the (maybe very old) files:

  • INSTALL
  • INSTALL.openSUSE
  • INSTALL.quick
  • INSTALL.win
  • FAQS
@lirantal lirantal pinned this issue Feb 23, 2019
@siliconhippy
Copy link

Can daloRADIUS support wired clients behind firewalls ( i.e., with private IP only) via say reverse SSH ?

@lirantal
Copy link
Owner Author

daloRADIUS doesn't really care as long as it gets the record/sessions handled by something like FreeRADIUS that will manage all of this and keep the DB up to date

@siliconhippy
Copy link

Thanks for the prompt response. So unlike some online hype, daloRADIUS is alive and well 😎

Since I am a noob, can you give me a link or two that explain how I might set up say a PAM module on a minimal Linux distro like discourse.coreelec.org ( it has Entware package manager so PAM/RADIUS packages can be installed); then communicate behind firewall with a public server VPS running RADIUS server?

Essentially I am looking to authenticate many such home based TV boxes so that I can remotely log into the RADIUS server and manually configure a small database of these boxes with userID /password plus predefined permissions to run/shut various applications on each tv box.

I looked at below but it doesn't tell me about the NATed situation, or how to set up some minimal permissions per client:

https://www.howtoforge.com/configuring-ssh-to-use-freeradius-and-wikid-for-two-factor-authentication

As you might know, CoreELEC and other Kodi JeOSes run on TV boxes more efficiently than the original Android OS, and have become very popular, including on RPi boards as well !

@lirantal
Copy link
Owner Author

I don't really have a link to share but I can say that this is mostly a FreeRADIUS configuration thing so I suggest focusing the search there to enable this capability. You can always jump on the mailing list and ask as well.

@frauhottelmann
Copy link
Contributor

pear DB is appearently deprecated:

This package has been superseded, but is still maintained for bugs and security fixes. Use MDB2 instead.

https://pear.php.net/package/DB/redirected

I don't know anything about pear. Can we move to the new package?

@MiguelVis
Copy link
Collaborator

pear DB is appearently deprecated:

This package has been superseded, but is still maintained for bugs and security fixes. Use MDB2 instead.

https://pear.php.net/package/DB/redirected

I don't know anything about pear. Can we move to the new package?

It seems DB is more regularly maintained than MDB2 - current releases:

DB:

1.9.3 (stable) was released on 2018-12-05 by ashnazg (Changelog)

MDB2:

2.5.0b5 (beta) was released on 2012-10-29 by danielc (Changelog)
2.4.1 (stable) was released on 2007-05-03 (Changelog)

I continue with DB without any apparent problem.

@frauhottelmann
Copy link
Contributor

I was thinking the same 😃

@siliconhippy
Copy link

siliconhippy commented Oct 25, 2019 via email

@lirantal
Copy link
Owner Author

lirantal commented Oct 25, 2019

thanks @frauhottelmann. @MiguelVis do you think you can push a PR to move to DB?

Can daloRadius be installed in a cloud server ( AWS, Google, Azure) so it
can manage remote devices in different locations , i.e., not in the same
LAN?

@siliconhippy yes, you can install daloRADIUS in the cloud. perhaps open this question in a new issue to not hijack this one and allow others to easily find it.

@MiguelVis
Copy link
Collaborator

@MiguelVis do you think you can push a PR to move to DB?

Hi @lirantal, no need for that, we are already linked to DB!

:)

@lirantal
Copy link
Owner Author

@MiguelVis you're the best ✨

@edimondi
Copy link

edimondi commented Dec 3, 2020

In Freeradius v3.0.20 these are the tables that need to be added to fr2-mysq-daloradius-and-freeradius.sql and than do mysql -u root -p radius < contrib/db/fr2-mysql-daloradius-and-freeradius.sql :
acctupdatetime datetime default NULL,
acctinterval int(12) default NULL,
framedipv6address varchar(15) collate utf8_unicode_ci NOT NULL default '',
framedipv6prefix varchar(15) collate utf8_unicode_ci NOT NULL default '',
framedinterfaceid varchar(15) collate utf8_unicode_ci NOT NULL default '',
delegatedipv6prefix varchar(15) collate utf8_unicode_ci NOT NULL default '',

@lirantal
Copy link
Owner Author

lirantal commented Dec 3, 2020

perhaps it is worth to create a fr3-* mysql schema?
if you end up doing that @edimondi and submit a PR for this new FR3 version then I'm happy to merge it in.

@siliconhippy
Copy link

siliconhippy commented Mar 8, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants