LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2012, 03:49 AM   #1
hahtt
LQ Newbie
 
Registered: Mar 2012
Posts: 15

Rep: Reputation: Disabled
How to configure freeradius to enable MAC addresses


Hello everyone,
I am a new member of linuxquestions.org. I've been trying to setup a wifi-hotspot server using ubuntu and did manage to make it working. But there is only one problem I can't solve is to enable certain MAC address to have direct access to the Internet without seeing the login screen.

Please help if you have any idea.

Regards
Hoang
 
Old 03-15-2012, 12:58 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Hi,

Welcome to LQ!

You have to look into the /etc/freeradius/users file and configure accordingly with a single valid mac address.

Then after that you can test using radtest command.

Code:
# radtest <mac_address>
here mac_address will be without colon(.
 
Old 03-16-2012, 09:08 AM   #3
hahtt
LQ Newbie
 
Registered: Mar 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hi, thank for your reply. I did manage to enable MAC address before receiving your reply, but not the easy way you've highlighted.

Now there is another more serious problem. Easyhotspot is only working for the network cards, but not for wireless network card. When I've tested with wireless connection, it calculated wrong online time and behave very funny, which is not happened by using network cable.

Do you have any idea for this problem?

Hoang
 
Old 03-18-2012, 01:44 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
There would be some time settings there for Easyhotspot, checkout those settings.
 
Old 03-18-2012, 11:47 AM   #5
hahtt
LQ Newbie
 
Registered: Mar 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
I managed to connect 1 wireless client (laptop), but that the only one, other clients can not login. It's really funny how the easyhotspot server behave.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet MAC Addresses database; MAC address-based processing cctualatin Linux - Newbie 1 04-14-2009 08:59 AM
Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 skhira Linux - Networking 13 02-24-2008 08:16 PM
Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 skhira Linux - Networking 1 02-09-2008 07:17 AM
Mapping IP addresses to MAC addresses basilio Linux - Networking 17 09-12-2007 01:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration