Simple freeradius install ins wrong by default

Martin, Jeremy jmartin at emcc.edu
Mon Feb 12 20:34:58 CET 2018


Likely the installer started the service and you tried to launch the application as well.  Stop the service then you can run in debug mode.

Jeremy

-----Original Message-----
From: Freeradius-Users [mailto:freeradius-users-bounces+jmartin=emcc.edu at lists.freeradius.org] On Behalf Of Ing. Pedro Pablo Delgado Martell
Sent: Monday, February 12, 2018 2:33 PM
To: Freeradius-Users at lists.freeradius.org
Subject: Simple freeradius install ins wrong by default

My boss asked me to set up a wireless hotspot at the company I work. I decided to use freeradius (first time used) and captive portal (under pfSense). I saw a few tutorial videos on YouTube and for a basic installation were all almost the same.

*OS: Ubuntu Server 16.04 LTS*

*Guide: *https://wiki.freeradius.org/guide/Getting-Started

*User:* root


Next are the commands I used for the first basic use:

1. root at radius:~# apt-get update -y && apt-get upgrade -y

2. root at radius:~# apt-get install -f freeradius freeradius-ldap

3. root at radius:~# freeradius -X


*Failed binding to authentication address * port 1812: Address already in use**
**/etc/freeradius/radiusd.conf[273]: Error binding to port for 0.0.0.0 port 1812*

Really don't get why is freeradius telling the port is already in use. I took some port info, BEFORE the installation, and this is how it look:


tcp        0      0 0.0.0.0:22 0.0.0.0:*                        LISTEN
tcp        0      0 127.0.0.1:25 0.0.0.0:*                        LISTEN
tcp        0      320 10.10.10.252:22 10.10.10.18:29324      ESTABLISHED

No further connections, not even any of them listening on 1812. After 
installation the netstat -van output:

tcp        0      0 0.0.0.0:22 0.0.0.0:*                         LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*            LISTEN
tcp        0     10.10.10.252:22         10.10.10.18:29340 ESTABLISHED
udp       0      0 0.0.0.0:47291         0.0.0.0:*
udp       0      0 127.0.0.1:18120     0.0.0.0:*
udp       0      0 0.0.0.0:1812            0.0.0.0:*
udp       0      0 0.0.0.0:1813            0.0.0.0:*
udp       0      0 0.0.0.0:1814            0.0.0.0:*

According to the tutorial 
(https://wiki.freeradius.org/guide/Getting-Started) the output should 
be: |Ready to process requests|

|Thanks in advance!
|

**

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list