2 2
Massimiliano Neri

Armbian HotSpot, reserve an IP address of a device

Recommended Posts

Hello.

I created a HotSpot with my Orange Pi Zero H2 with the latest version of Armbian Bionic.
Everything seems to work, but I need the access point to reserve dynamic IPs, ie for a device with MAC address XX.XX.XX.XX.XX I have to reserve and then assign a specific IP address XXX.XXX. XXX.XXX.
Any idea how to configure this HotSpot?
Do I have to add some commands to the hostapd.conf file or what?

Thanks in advance for any help.

Share this post


Link to post
Share on other sites

IP for clients are dynamic by default. It's a job from dnsmasq (/etc/dnsmasq). This is not really an Armbian problem, so you have to look into manual pages from dnsmasq how to set that up.

Share this post


Link to post
Share on other sites

I have issues with other equipment that won't allow static leasing. My 'workaround' has been to limit the DHCP range and statically program the necessary clients with IP's outside the DHCP range. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
2 2