LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-29-2011, 11:11 PM   #1
snowflake
LQ Newbie
 
Registered: Jan 2011
Posts: 5

Rep: Reputation: 0
Dnsmasq starting troubles


it says that this is a bad option
dchp-range=ignore,192.168.1.99,192.168.1.99
i am very new to linux but it says that's a bad option to why my dnsmasq service isnt running

Last edited by snowflake; 01-30-2011 at 04:57 AM.
 
Old 01-30-2011, 04:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
dhcp-range, not dhcp-rang. See the manpage for details.
 
Old 01-30-2011, 04:58 AM   #3
snowflake
LQ Newbie
 
Registered: Jan 2011
Posts: 5

Original Poster
Rep: Reputation: 0
it says range that was a mistype by me
 
Old 01-30-2011, 06:03 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
So type it correctly then. We can't be expected to tell you what's wrong with only a single line of info if that line has your typing errors in it, can we? again though, check the dnsmasq.conf manpage for correct options.
 
Old 01-30-2011, 07:04 AM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,059

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Quote:
Originally Posted by snowflake View Post
it says that this is a bad option
dchp-range=ignore,192.168.1.99,192.168.1.99
i am very new to linux but it says that's a bad option to why my dnsmasq service isnt running
some general tips:
  • Post-facto re-editing of your original post makes the thread confusing; anyone coming to the thread after the editing has been done does not easily get the picture. They may then conclude that your postings include random rubbish. If they do, they may move on to another thread that they find understandable, and so it is inadvisable.
  • Cut and paste any error messages, rather than re-typing them; it is much less error prone

...but it says that's a bad option...
What says that its a bad option (where do you see the error message)? When does the error message come? What is the exact error message?

...why my dnsmasq service isnt running...

Are you saying that no task called dnsmasq is running, or that there is a task called dnsmasq is running but that it doesn't do what you want? What did you do to find out?

The range that you specify doesn't seem to be a range in the usually understood sense, but the same IP repeated; is that allowable?

You don't say what you are trying to achieve by using the dhcp-range=ignore feature, so a clue about that might be helpful.

...and welcome to Linuxquestions!
 
Old 01-30-2011, 11:03 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
OK, it *STILL* says "dchp"... is this a typo in your config file or a typo in your post? Is there an additional typo in your config file , e.g. dhelephantsintutuscp-range which was corrected by accident in your post here?

I still don't think that if you are using the option spelt correctly it doesn't make sense. if you want to stop a specific IP being dished out, then just set a reservation for that IP.

Last edited by acid_kewpie; 01-30-2011 at 11:09 AM.
 
Old 01-30-2011, 05:11 PM   #7
snowflake
LQ Newbie
 
Registered: Jan 2011
Posts: 5

Original Poster
Rep: Reputation: 0
that's a typo on here only so was range
 
Old 01-30-2011, 05:18 PM   #8
snowflake
LQ Newbie
 
Registered: Jan 2011
Posts: 5

Original Poster
Rep: Reputation: 0
the error message comes up in the server configuration and it's when i try to start my dnsmasq it says:

dnsmasq failed. The error was: Starting dnsmasq
dnsmasq: bad option at line 474 of /etc/dnsmasq.conf
[FAILED]

and that line is dhcp-range=ignore,192.168.1.99,192.168.1.99

so i don't know what to do
 
Old 01-30-2011, 05:31 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
What do you expect this option to do? As above it doesn't seem to fit any possible uses of the option according to the man page. Why have you written it like that? What do you actually want to achieve?
 
Old 01-30-2011, 05:38 PM   #10
snowflake
LQ Newbie
 
Registered: Jan 2011
Posts: 5

Original Poster
Rep: Reputation: 0
i want to be able to start the service so i can finally get my social networking site up
 
Old 01-31-2011, 02:58 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well delete the line then if you don't even know what that one line is there for.
 
  


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
troubles starting with ubuntu 10.04 Lts version kuchito Linux - Newbie 1 01-19-2011 11:01 AM
Troubles starting irserver and lirc userbrian Linux - Software 1 10-18-2008 07:52 PM
starting dnsmasq at boot kola Linux - Software 3 07-17-2004 03:05 AM
troubles starting GUI in Mandrake 7.2 zakak Linux - General 2 09-08-2002 05:26 AM


All times are GMT -5. The time now is 09:01 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