LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-07-2013, 08:23 AM   #1
rudolfdiesel
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
Quote:
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;
authoritative;
subnet 192.168.2.128 netmask 255.255.255.128 {
option subnet-mask 255.255.255.128;
option broadcast-address 192.168.2.255;
option routers 192.168.2.129;
option domain-name-servers 192.168.2.1;
range 192.168.2.130 192.168.2.140;
}
==============================================

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

ifconfig at0 up
ifconfig at0 192.168.2.129 netmask 255.255.255.128
route add -net 192.168.2.128 netmask 255.255.255.128 gw 192.168.2.129


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/dhcpd.pid at0 <---- Problem line

dhcpd3 -d -f -cf /etc/root/dhcp3/dhcpd.conf -pf /var/run/dhcpd/dhcpd.pid 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, 01:44 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,225

Rep: Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521
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

but
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
http://www.linuxmint.com/
 
  


Reply


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 09:36 AM
Slackware 11.0 Install/confg Issues midas Linux - Laptop and Netbook 2 04-06-2007 10:42 AM
XWindow Confg jackjill Linux - General 1 11-11-2004 05:11 PM
newbie needs help to confg router in suse fernandoo Linux - Networking 8 11-28-2003 05:12 PM
Linux Confg. for 4 speakers. crab_2004 Linux - Software 0 11-16-2003 01:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 PM.

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