Ubuntu Installation :: Setting Up A Freeradius Server And Coovachilli In 9.10?
Apr 21, 2011
setting up a freeradius server and coovachilli in my ubuntu9.10.. I want software and hardware system requirments needed to install freeradius,coovachilli,mysql and apache.
Im having a lot of trouble configuring freeradius for Ubuntu. I have freeradius installed but Im having trouble finding any information on how to edit the configuration files to create users and be able to WPA2 Enterprise. The wireless router that I am using is an Linksys WRT54gl.
I'm running freeradius2-2.1.7-7.el5, on CentOS 5.5. I have gotten all of the authentication setup for active directory and I know that the machine is able to pass requests along to our AD server. However it doesn't appear that freeradius is doing the same. I have been looking at the attached radius -x output for about 2 days now and I have done a ton of searching and have come up relatively empty handed.
I was trying to install and configure freeradius server in centos 5.5 .I installed freeradius 2.1.7. I added a sigle line at the top of the users file like this. bob Cleartext-Password := "hello". when I tried to test using radtest command (radtest bob hello 127.0.0.1 0 testing123).but Igot access-reject mesage from radius server. first I was trying on the same pc with defferent terminal. I serched and tried lot of options but all the time I got the same access reject message. I put debug message in debug site. I can see lot of users posted the same error message in many forums. But I cant find any solutions. I installed ntradping in my laptop and tried but same error. Delaying reject of request 0 for 1 seconds. Going to the next request. Waking up in 0.9 seconds. Sending delayed reject for request 0. Sending Access-Reject of id 16 to 10.10.204.73 port 1619. Waking up in 4.9 seconds. Cleaning up request 0 ID 16 with timestamp +3. Ready to process requests.
I've configured the RADIUS to use a PostgreSQL DB for accounting. Everything works fine if the connection from the RAD to the SQL is OK. If the PostgreSQL service dead, the RAD will skip the failed connection and continue to work. That's OK, too. But if I shutdown the network interface of the SQL (simulating a connection lost - timeout problem), the RAD thread which processes accounting request will be hung up, remains as active and unresponsive forever. So the RAD will not return anything to accounting client (my NAS).
As more accounting requests come, spare threads for processing the requests will reduce and be used up eventually. I've debugged for a while and found it's the problem of PQexec() function. The function blocks the thread eternally till if the connection lost. I know the RAD version is a little outdated, but I cannot replace it right now. I wonder if there's a way to make the RAD reply to the NAS even when the connection between the RAD and the SQL lost.
This is for freeradius-1.1.7. I'm trying to compile freeradius to get around the missing rlm_eap_tls.so library, following/adapting the instructions in this thread.
Now I'm stuck at an error that says:
/bin/bash: line 20: --with-rlm_sql_postgresql_lib_dir=/usr/lib/freeradius: No such file or directory /bin/bash: line 20: --with-rlm_sql_postgresql_include_dir=/usr/include/postgresql: No such file or directory
The directories named DO exist. The line numbers make no sense. A script error, perhaps? Or, a badly worded error message that actually means something else?
Its 2 weeks i'm trying to configure freeradius2 on centos5 64bit after installed it from yum.all seems working, but i cant authenticate unix users.after digging in many sites its simply cant find user name and password ( ++[unix] returns notfound )Also how can i paste here all the radiusd -X log lines? i can't find any radius.log file.
I like to run a mySql database server on a Ubuntu (which is no server) for local use only. Is there some instruction how to do this? I downloaded several DBMS but they all seem to assume a running server.
I got this laptop that's 3 years old. Previously, I installed Ubuntu 10.04 (32-bit) using a bootable CD. Occasionally, Ubuntu would freeze and I did not know of a way to safe-shutdown. Everytime it froze, I simply did a hard-shutdown. And there we go. This hard-shutdown damaged the OS. Anyway, I downloaded Ubuntu 10.04 (64-bit) and burned a CD. Magic! Laptop won't read the CD. Boot is far ahead, it's just not reading it at all! Looked around, found that setting up a PXE server is my last hope. The guides? They weren't nice to read. What I'm looking for is to set up a PXE server on the PC (running Windows 7 / Ubuntu 10.04 dual-boot) and boot from the PC through the PXE server. I have downloaded Ubuntu 10.04 Desktop AMD64
I've been looking for the last few days for a good how to on setting up a home server using Ubuntu 10.10. I have found several and looked them over and have installed the server on to a system and started to get it setup. Now though I cannot access anything via http, even the php info. I want to start from scratch on this but finding the best tutorial on how to do this. The idea on what I plan to do is set it up to be able to hold mp3's on and allow them to be downloaded or played on other computers on the home network. Also will be looking to setup to have other items done as well such as a database that can accessed. I would like to be able to use both Http and Ftp on this if possible.
While building my new server I grinded ta hold shortly after inserting the FDR10 DVD.
Hardware: Chenbro es34069 Albatron KI690-AM2 AMD Athlon X2 64 4850E IDE 2.5" HD (master) IDE Slimline DVD (slave) 4x SATA II swap (still empty)
It stops at the message "net: Registered protocol family 2" but in one of my desperate attempts I changed almost every setting in my BIOS (updated to 1.07) and all of a sudden it passed on. Stupid enough I figured it would be a small effort to find the setting and figure out the problem, so I changed them one at a time after loading the defaults....
I've just set up the local mirror for my 96 CentOS 5 workstations. The mirroring script is taken from public-mirror howto and looks like this:
#!/bin/sh rsync="/usr/bin/rsync -avHzL --delete --delay-updates" # replaced -q with -v for debuging purposes, removed --bwlimit, added -L to follow symlinks mirror=centos.politechnika.lublin.pl::CentOS # tried several different same result
[Code]....
I tested mirror consistency by putting the mirror addres I'm syncing with, directly into repo file. Than yumex works fine. I tried several different mirrors with the same result.
I run an 11.04 Server with Bind9, DHCP, Apache 2 PHP5, PostgreSQL8.4 and would like to install an FreeradiusServer. After I downloaded the packages with code...
I configured the server freeradius with mysql and I think I configured well freeradius and mysql but when I m testing my configuration with: radtest nezar azerty 127.0.0.1 0 azerty1234 I have always: rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=108, length=20
I'm currently trying to set up FreeRADIUS with DaloRADIUS and I'm stuck at FreeRADIUS getting clients (as NAS-es) from the MySQL database.
FreeRADIUS will no longer start after uncommenting the following line in my /etc/freeradius/sql.conf (which is supposed to let it use the MySQL database):
Code: Select allreadclients = yes
I have ran "freeradius -X" to find out what's going on with this output:
Code: Select allrlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked rlm_sql (sql): Attempting to connect to radius@localhost:/radius rlm_sql (sql): starting 0 rlm_sql (sql): Attempting to connect rlm_sql_mysql #0 rlm_sql_mysql: Starting connect to MySQL server for #0
[Code] ....
So it seems that the radius user is not authenticated. However I have verified that the login details I entered in my sql.conf are the correct ones (I even tried manually logging in with them and it worked).
I have installed freeradius from repositories in both Debian and Ubuntu. I have built from source with 'fakeroot dpkg-buildpackage -b -uc' on both the official freeradius source code and the source provided by apt-src in both Debian and Ubuntu. On a normal install via aptitude there is no ssl-support, I understand this is because of license issues. Otherwise is works, but is of course useless in a wifi-auth setup. On a install from source code, after editing debian/rules and debian/control as recommended different places on the net, freeradius fail to start because of ssl error. Same on install via source code downloaded directly from [URL]... Anyone have a working ssl-enabled freeradius server running Debian or the likes?
I am trying in debian 8.2 but i am not found packet libapache2-mod-auth-radius whereas i have been include dvd1-3 debian and dvd1-2 update debian in my system. Where is that packet stand?
I have been battling with FreeRadius with LDAP backend and Microsofts built-in supplicant. I found on some directions that the certificate you use have to have a EKU(Enhanced Key Usage) with an ODI of 1.3.6.1.5.5.7.3.1 and a Client side Cert with the same except a ODI of 1.3.6.1.5.5.7.3.2. First off, is this still the case in Windows 7/xp?If it is, how do I add that to a certificate with OpenSSL, FYI I am using the ca.cnf/server.cnf under the /etc/raddb/certs directory.Another question, has anyone got the MS Supplicant to work with Freeradius and a LDAP backend? If so can you point me in the direction of some good walk through?
I am about to install FreeRadius on my machine and the download page for the RPM lists all the software requirements to install it but I don't know how to check my machine to see if it has all those requirements.
Because our visitors/customers are short term, and may be configured incorrectly with their own mail servers we automagically redirect all port 25 traffic going to internal IP's to our own mail servers while on our network.(postfix on centos 5.6)While I have taken some measures to prevent it from spamming, I would greatly appreciate some assistance.I will be putting in clamav, but I haven't configured it yet with the mail.I am using postfix, but can also put on procmail or even spam assassin
Having some issues setting up sendmail on a (basically) blank RHEL 5.5 server setup. My ultimate goal is to be able to automagically send logs / errors / notifications to ourselves from the server.
Our basic setup is a Win 2003 domain with exchange running on mail.domain.com.au.
I've edited the '/etc/mail/sendmail.mc' and added the :
Code:
line to it.
Also added the domain (domain.com.au) to the '/etc/mail/local-host-names' files
Also edited submit.mc and added
Code:
When I try and send a mail from root or a test user to one of the domain accounts, it seems to go fine, i.e no errors are reported but it never gets delivered.
From the mail logs:
Code:
So it seems to be sent to the queue no problems and when I check the queue :
Code:
Total requests: 0
Not nothing ever gets received. Am I missing something? I have read and read and read but dont seem to be getting any furthur.
So in the end this server doesn't need to do anything except be able to send mail from root to an external mail address.
I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be: