Enable DHCP Authentication WiDirect 3.0

From WiDirect
Jump to: navigation, search

Version 3.2

As of version 3.2 the steps below are no longer needed. To do MAC authentication from DHCP simply add "domacauthfromdhcpd 1" to the firewall configuration file.

DHCP authentication enables the user to be authenticated immediately when they make a DHCP request. For DHCP authentication to work the options for MAC based authentication and MAC based authentication without a splash page must be enabled for the profile the user is on. Also to authenticate users on a remote WiClient the WiDirect must have the WiClient added with the correct MAC address.

This page describes how to enable this functionality on newer devices that don't have it available by default. The following steps only need to be made on products that ship with version 3.0, and these steps below can be followed on either a WiDirect or WiClient.

Get Device Ready

If you are connecting on the LAN interface on the WiDirect be sure to set a static IP address so that you are not using the DHCP server.

It is also important to disable the automatic address configuration on eth0 interface. On the network configuration page be sure the "Use DHCP" checkbox is not checked. Click update when done.

Disable DHCP.jpg

It is also a good idea to backup the DHCP configuration on the device. You can view copy the configuration to a notepad document from the DHCP service page. The steps below should save the current configuration, but it is a good idea to have a backup in case something goes wrong.

Install Custom DHCP Version

Verify Operating System Version

This change only applies to devices running version 6 and above of the base operating system. To view the operating system run the following command:

cat /etc/redhat-release


After verifying the operating system is version 6.3 or above run the following commands one at a time from the command line:

su -
yum remove dhcp*
rpm -i http://awi6.net/3.0/dhclient-4.1.1-34.P1.el6.x86_64.rpm http://awi6.net/3.0/dhcp-4.1.1-34.P1.el6.x86_64.rpm http://awi6.net/3.0/dhcp-common-4.1.1-34.P1.el6.x86_64.rpm
cp /etc/dhcp/dhcpd.conf.rpmsave /etc/dhcp/dhcpd.conf
cp /var/lib/dhcpd/dhcpd.leases.rpmsave /var/lib/dhcpd/dhcpd.leases
chmod +x /etc/dhcp
chkconfig dhcpd on
service dhcpd start

Remove DHCP.jpg

Additional Notes

This DHCP version will get overwritten by updates. When doing an update command be sure to exclude the DHCP package from the update to keep the above changes:

yum --exclude=dhcp* ...