Pwnd2Pwnr Posted November 24, 2012 Share Posted November 24, 2012 OK... setting up a new dhcpd3 to establish an ad-hoc to airbase-ng... trivial, right? Well, I am setting it up on ubuntu, and when I get to this step dhcpd3 -cf /etc/dhcp3/dhcpd.conf -pf /var/run/dhcp3-server/dhcpd.pid at0 No command 'dhcpd3' found, did you mean: Command 'dhcpd' from package 'isc-dhcp-server' (main) Command 'dhcpd' from package 'isc-dhcp-server-ldap' (universe) Command 'dhcpcd3' from package 'dhcpcd' (universe) dhcpd3: command not found I have configured the .conf file and am assuming that since I am not a BT distro; it has issues... can anyone help..? Quote Link to comment Share on other sites More sharing options...
digip Posted November 24, 2012 Share Posted November 24, 2012 (edited) tried dhcp3d vs dhcpd3? or just type dhc and hit the tab key few times for auto complete, should list all dhcXXXXX commands available, or you need dhcp3 installed. There are two different dhcp daemons that I know of,. dhcpd and dhcp3d(I think). Might have misspelled it using "dhcpd3" vs "dhcp3d". I forget which is the correct one, but you might be right with dhcpd3. I'd have to open Backtrack and try it. Either that or the service isn't started/setup properly? http://pastebin.com/ixM6EZT8/ Also, dumb question, tried it with sudo vs by itself? Edited November 24, 2012 by digip Quote Link to comment Share on other sites More sharing options...
Pwnd2Pwnr Posted November 25, 2012 Author Share Posted November 25, 2012 (edited) yeah... I have tried sudo; even sudo su for some super root... nothing... I will give it a shot; never thought setting up dhcpd3 would be such a pain in the ass... especially when I checked syntax about a million times just to be sure there was no typos... I will get back with ya... *update* Tried the dhcpd without the 3... and now I get this lovely message: dhcpd -cf /etc/dhcp3/dhcpd.conf -pf /var/run/dhcpd/dhcpd.pid at0 drop_privileges: could not set group id: Operation not permitted Now, with sudo; sudo dhcpd -cf /etc/dhcp3/dhcpd.conf -pf /var/run/dhcpd/dhcpd.pid at0 Internet Systems Consortium DHCP Server 4.1-ESV-R4 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Can't open /etc/dhcp3/dhcpd.conf: Permission denied Now, with SU: dhcpd -cf /etc/dhcp3/dhcpd.conf -pf /var/run/dhcpd/dhcpd.pid at0 Internet Systems Consortium DHCP Server 4.1-ESV-R4 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Can't open /etc/dhcp3/dhcpd.conf: Permission denied Why is permission being denied? Hmmmmm... Edited November 25, 2012 by Pwnd2Pwnr Quote Link to comment Share on other sites More sharing options...
digip Posted November 25, 2012 Share Posted November 25, 2012 (edited) 1 - Is the service started 2 - Who owns the conf file, and does it need to be executable, or set to a specific users group or need its own user with less than root privlileges (chmod+x ? - that i have no clue about) Seems some more documentation reading is in order. One thing you can do, is compare ownership and permission settings, for say, either a live disc with the same software, or another system with the same software that has it working already, ie: backtrack. Edited November 25, 2012 by digip Quote Link to comment Share on other sites More sharing options...
Pwnd2Pwnr Posted November 25, 2012 Author Share Posted November 25, 2012 Thanks Digip, I am reading the man pages; sometimes I think my eyes are going to pop out of my head... ai ai ai... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.