Backtrack etc/dhcp3/dhcpd.confg help !

There are many different operating systems; which one will you choose?

Backtrack etc/dhcp3/dhcpd.confg help !

Post by rudolfdiesel on Mon Oct 07, 2013 7:08 am
([msg=77609]see Backtrack etc/dhcp3/dhcpd.confg help ![/msg])

Hello respected members ,

I had been trying to set up a software accesspoint on Backtrack 5 with a usb wifi adapter , bringing it on Monitor mode and then specifying the dhcpd.confg file to run dhcp server . Problem I encounter is ,

Everything goes well to this point
airmon-ng stop wlan0

airmon-ng start wlan0

// dhcpd.confg file content below
ddns-update-style ad-hoc;
default-lease-time 600;
max-lease-time 7200;
subnet netmask {
option subnet-mask;
option broadcast-address;
option routers;
option domain-name-servers;

airbase-ng -e Wifitest -c 11 -v wlan0 &

ifconfig at0 up
ifconfig at0 netmask
route add -net netmask gw

mkdir -p /var/run/dhcpd && chown dhcpd:dhcpd /var/run/dhcpd
echo > '/var/lib/dhcp3/dhcpd.leases'
dhcpd3 -d -f -cf /etc/dhcp3/dhcpd.conf -pf /var/run/dhcpd/ at0 <---- Problem line

dhcpd3 -d -f -cf /etc/root/dhcp3/dhcpd.conf -pf /var/run/dhcpd/ at0 --> i get error that cant access /etc/dhcp3/dhcpd.conf - permission denied , i looked up on google , google hinted it is something related to apparmor , but when i looked to see if apparmor is running , Apparmor isnt installed on the backtrack 5 i use , what could i try to resolve this ?

I am new to linux and backtrack , are there any ways to setup dhcp for my
accespoint so that my clients would have an ip address .
New User
New User
Posts: 1
Joined: Mon Oct 07, 2013 6:55 am
Blog: View Blog (0)

Re: Backtrack etc/dhcp3/dhcpd.confg help !

Post by fashizzlepop on Mon Oct 07, 2013 10:44 am
([msg=77610]see Re: Backtrack etc/dhcp3/dhcpd.confg help ![/msg])

Try running it with "sudo" in front. Also, the backtrack forums are probably better suited to help for backtrack related issues.
The glass is neither half-full nor half-empty; it's merely twice as big as it needs to be.
User avatar
Posts: 2303
Joined: Sat May 24, 2008 1:20 pm
Blog: View Blog (0)

Re: Backtrack etc/dhcp3/dhcpd.confg help !

Post by -Ninjex- on Mon Oct 07, 2013 12:08 pm
([msg=77611]see Re: Backtrack etc/dhcp3/dhcpd.confg help ![/msg])

rudolfdiesel wrote:chown dhcpd:dhcpd /var/run/dhcpd

I'm not quite sure, but you should probably upgrade to Kali Linux. The BT forums might not prove as helpful as they used to be. Make sure you have permissions to the file after you set the ownership status to dhcpd:dhcpd
1. No system is safe.
2. Aim for the impossible.
3. Have fun in cyberspace and meatspace.

For those that know
K: 0x2CD8D4F9
User avatar
Posts: 1584
Joined: Sun Sep 02, 2012 8:02 pm
Blog: View Blog (0)

Re: Backtrack etc/dhcp3/dhcpd.confg help !

Post by Amazingred on Mon Oct 07, 2013 1:53 pm
([msg=77613]see Re: Backtrack etc/dhcp3/dhcpd.confg help ![/msg])

Here's my advice...I see about 80 percent of people jump right into using Backtrack or backbox or even Hiren's Boot CD instead of going with full linux release of one flavor or another and it always makes me a bit sad. I know a lot of you don't see it this way but personally....BACKTRACKS toolset should not be the first one a new *nix user learns.

Here's my theory:
You'll learn how to use the system JUST AS FAST (probably a lot faster cuz you'll have to force yourself to learn a few basic and vastly ignored concepts first) with a mainstream Ubuntu release.
*You won't spend half of your google-time looking for a search string continaing the words "UNBRICK" or "RECOVER" because you accidentally deleted home/root/ or fudged a partition table.
Once you learn the basic operations of the system, you'll actually know the correct PURPOSE of some of those tools and thus be able to know which one to use, when, and how to use it right.

I'm just throwing that out there cuz I wish I had taken my time when I was first using *nix..../endrant
There are 10 types of people in the world. Those who understand binary and those who don't.
User avatar
Experienced User
Experienced User
Posts: 74
Joined: Wed Jul 25, 2012 7:10 pm
Location: Wayyyyyy out there
Blog: View Blog (0)

Re: Backtrack etc/dhcp3/dhcpd.confg help !

Post by Goatboy on Mon Oct 07, 2013 6:14 pm
([msg=77624]see Re: Backtrack etc/dhcp3/dhcpd.confg help ![/msg])

I used BT for a long time. Dumped that shit like a TCP stream when Kali came out.
Assume that everything I say is or could be a lie.
User avatar
Posts: 2860
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)

Return to Operating Systems

Who is online

Users browsing this forum: No registered users and 0 guests