Simple freeradius install ins wrong by default
Ing. Pedro Pablo Delgado Martell
ppmartell at eleka.co.cu
Mon Feb 12 20:32:38 CET 2018
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!
|
**
More information about the Freeradius-Users
mailing list