Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-07-2013, 07:23 AM   #1
LQ Newbie
Registered: Oct 2013
Posts: 1

Rep: Reputation: Disabled
Backtrack etc/dhcp3/dhcpd.confg help !

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 .
Old 10-07-2013, 12:44 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,454

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
You are aware that the now unsupported BT5 is based on the unsupported ubuntu 10.04

BT5 rc3 is a dead project

the new operating system is Kali

it is intended to be used BY computer EXPERTS
Experts in networks and security
and by experts i do mean a Masters or phd background

BT was also considered a tool targeted at someone with a masters / doctorate in CS

seeing as you are New to linux and in keeping with the Debian family bt was in

Have a look at installing Linux Mint


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
use 2.4 confg-file for 2.6 kernel compiling rasidrasid Linux - Software 2 09-26-2012 08:36 AM
Slackware 11.0 Install/confg Issues midas Linux - Laptop and Netbook 2 04-06-2007 09:42 AM
XWindow Confg jackjill Linux - General 1 11-11-2004 04:11 PM
newbie needs help to confg router in suse fernandoo Linux - Networking 8 11-28-2003 04:12 PM
Linux Confg. for 4 speakers. crab_2004 Linux - Software 0 11-16-2003 12:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration