LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-23-2008, 03:36 AM   #1
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Rep: Reputation: 15
Unhappy DHCP failed on ubuntu-8.04


Hello there

installation of ubuntu on my desktop was fine.
my purpose of this is to UP the firestarter as my internet sharing with a basic firewall...

the requirements are:

Two Lan Card

eth0 - for ISP IP
eth1 - for internatl ip which is start tom192.168.1.1

1. firestarter - installed
2. DHCP3-Server - Installed
3. webmin for my web administration - installed


but when i try to restart the dhcp3 it gives me an error

Failed to start dhcpd:
Starting DHCP server dhcpd3----fail!


My config file:

ddns-update-style interim;
ignore client updates;

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
openton domain-name-servers localhost, localhost2;
option ip-forwarding off;
range dynamic-bootp 192.168.1.2 192.168.1.254;
default-lease-time 21600;
max-lease-time 43200;
}


please anyone can help me...
 
Old 06-23-2008, 04:10 AM   #2
Swagata Paul
Member
 
Registered: Jun 2008
Location: Kolkata, India
Posts: 57

Rep: Reputation: 15
send me last 10 lines of /var/log/messages , just after restarting the DHCP service.
 
Old 06-23-2008, 08:08 PM   #3
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Swagata Paul View Post
send me last 10 lines of /var/log/messages , just after restarting the DHCP service.

hello

here is the command i used for to restart the DHCP
rsumook@rsumook-desktop:~$ sudo /etc/init.d/dhcp3-server restart
* Stopping DHCP server dhcpd3 [fail]
* Starting DHCP server dhcpd3 [fail]


and for the last 10 lines on the messages

Jun 24 08:45:03 rsumook-desktop kernel: [ 47.473946] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 20
Jun 24 08:45:03 rsumook-desktop kernel: [ 47.475670] [drm] Initialized savage 2.4.1 20050313 on minor 0
Jun 24 08:45:03 rsumook-desktop kernel: [ 47.477107] mtrr: base(0xd2000000) is not aligned on a size(0x5000000) boundary
Jun 24 08:45:03 rsumook-desktop kernel: [ 47.477686] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
Jun 24 08:45:03 rsumook-desktop kernel: [ 47.477715] agpgart: Putting AGP V2 device at 0000:00:00.0 into 0x mode
Jun 24 08:45:03 rsumook-desktop kernel: [ 47.477785] agpgart: Putting AGP V2 device at 0000:01:00.0 into 0x mode
Jun 24 08:45:30 rsumook-desktop pulseaudio[5424]: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
Jun 24 08:45:30 rsumook-desktop pulseaudio[5424]: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
Jun 24 08:49:50 rsumook-desktop kernel: [ 335.001831] eth0: setting full-duplex.
Jun 24 08:49:51 rsumook-desktop kernel: [ 335.123360] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
Jun 24 08:52:13 rsumook-desktop kernel: [ 479.041995] eth0: setting full-duplex.
Jun 24 08:52:13 rsumook-desktop kernel: [ 479.147260] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
Jun 24 09:04:54 rsumook-desktop
-- MARK --





thanks
 
Old 06-24-2008, 01:05 AM   #4
Swagata Paul
Member
 
Registered: Jun 2008
Location: Kolkata, India
Posts: 57

Rep: Reputation: 15
see the line
openton domain-name-servers localhost, localhost2;
in your dhcp configuration file.
 
Old 06-25-2008, 03:03 AM   #5
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Swagata Paul View Post
see the line
openton domain-name-servers localhost, localhost2;
in your dhcp configuration file.

hello

yes i input wrong data but i already changed it.
same problem DHCP failed...once i start or restart...



please help...
 
  


Reply



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
Failed to sertup X server - ubuntu 7.04 truegilly Ubuntu 1 10-10-2007 02:09 AM
connection dhcp failed in backtrack final tgh12 Linux - Networking 0 06-10-2007 03:52 PM
Dhcp failed with error (Pump Told us : no dhcp reply recived.) alok.rhct Linux - Networking 3 03-24-2007 07:28 AM
DHCP failed with kernel 2.6.17.13 colonelx Slackware 2 11-13-2006 06:02 AM
Firestarter + Ubuntu + DHCP Help mightymidget Linux - Security 1 09-19-2006 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:27 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
Open Source Consulting | Domain Registration