LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-21-2005, 02:23 AM   #1
pundun
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
dnsmasq problem in Mandrake LM


hi all,

I set up a network at my home and all the machines installed mandrake LM. Since I want all the PCs to share the Internet usage so one machine acts as the server on which I installed squid as the proxy. also I use DHCP and dnsmasq on that server.
I use webmin to configure squid and DHCP. DHCP works fine however squid works unstably. It takes a long time for the client to download a webpage even a very simple one. sometime it doesn't work at all. the error messege is kind of:

The following error was encountered:
Connection Failed
The system returned:
(113) No route to host

I guess I gave not enough time for the connection but even I changed the time, it still doesn't work .

another problem is about configuration of dsnmasq.
I changed the /etc/hosts.conf on the server side which looks like:
192.168.0.20 home1
192.168.0.21 home2
.................... ..........
192.168.0.30 home11

and configure the /etc/resolv.conf on the client side
nameserver 192.168.0.1 (my server IP)

I don't know whether anything I have to change .

the configuration seems ok since I use nslookup to test it. On my PC(home1)
>>nsloopup home2
Server: 192.168.0.1
Address: 192.168.0.1#53

Name: home2
Address:192.168.0.21

that is correct. But when I use PING command on home2 to send the messege to home1, it doesn't work while from home1 to home2 works.


there is another problem. the resolv.conf file will be automatically changed if I restart the server or even I don't do anything.

anyone can help me!!!!!

thanx
 
Old 11-21-2005, 10:12 PM   #2
pundun
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Any one can help me?
 
  


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
dnsmasq problem, nat not working tank728 Slackware 9 05-26-2006 04:15 PM
dnsmasq can't work ultrax Linux - Networking 1 08-05-2005 09:06 PM
dnsmasq users? TheRealDeal Linux - Networking 6 04-29-2004 01:24 AM
dnsmasq startup bardinjw Linux - Networking 2 07-19-2003 03:36 AM
Dnsmasq dunkyb Linux - Software 0 03-16-2003 02:25 PM

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

All times are GMT -5. The time now is 09:54 AM.

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