Jump to content

DHCP - client devices can not connect


you

Recommended Posts

Good day!

When trying to connect to the pineapple client devices receive incorrect ip(169.254.x.x), netmask and gw ip.

When I filling it manually - the device is connected to the pineapple and everything is all right.

Please help in this matter!

Thank you.

Link to comment
Share on other sites

Make sure the DHCP service on the Pineapple is actually running.

Link to comment
Share on other sites

Infiltrator, thanks for the answer!

root@Pineapple:~# ps aux | grep dhcp
  895 root      1504 S    udhcpc -p /var/run/udhcpc-eth1.pid -s /lib/netifd/dh
 1614 root      1496 S    grep dhcp
root@Pineapple:/etc/config# cat dhcp

config 'dnsmasq'
	option 'domainneeded' '1'
	option 'boguspriv' '1'
	option 'filterwin2k' '0'
	option 'localise_queries' '1'
	option 'rebind_protection' '1'
	option 'rebind_localhost' '1'
	option 'local' '/lan/'
	option 'domain' 'lan'
	option 'expandhosts' '1'
	option 'nonegcache' '0'
	option 'authoritative' '1'
	option 'readethers' '1'
	option 'leasefile' '/tmp/dhcp.leases'
	option 'resolvfile' '/tmp/resolv.conf.auto'

config 'dhcp' 'lan'
	option 'interface' 'lan'
	option 'start' '100'
	option 'limit' '150'
	option 'leasetime' '12h'
	option 'ignore' '0'
	list 'dhcp_option' '3,172.16.42.42'
	list 'dhcp_option' '3,172.16.42.1'
	list 'dhcp_option' '6,172.16.42.1,8.8.8.8'
	list 'dhcp_option' '6,172.16.42.1,208.67.222.222'

#config 'dhcp' 'wan'
#	option 'interface' 'wan'
#	option 'ignore' '1'
#	option 'start' '100'
#	option 'limit' '150'
#	option 'leasetime' '12h'
#	list 'dhcp_option' '3,172.16.42.42'
#	list 'dhcp_option' '6,172.16.42.1,8.8.8.8'
#	list 'dhcp_option' '6,172.16.42.1,208.67.222.222'

Edited by you
Link to comment
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...