Squid problem.
mr_i_davis_at_hotmail.com
Date: 10/28/05
- Next message: sandy: "How to use ospfd and zebra on virtual interfaces?"
- Previous message: Kenneth Sparre: "serial interface to ethernet interface"
- Next in thread: Raqueeb Hassan: "Re: Squid problem."
- Reply: Raqueeb Hassan: "Re: Squid problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Oct 2005 00:13:20 -0700
I am setting up Squid on a debian machine (a Knoppix 4.0.2 remaster to
be specific), and am having a problem with Squid and the dns. When I
fire up the remaster on my laptop, there is no network connection. ie:
no DNS entries in the resolv.conf file until I specify my SSID and WEP
key to my wireless card and bring it up. Since I am staring with no
network connection, I am having to start Squid with the -D option to
bypass the initial DNS lookup. Here's where the problem comes in. I
wrote a sript to set up my wireless card and bring it to life.
Everything works fine, except Squid will not automatically reload the
resolv.conf file. At this point, I have Squid running, Dansguardian
running, the proper iptables rules in place, and the browser will
connect to Squid/Dansguardian, just Squid sits there never looking up
the correct ip. I can ping an address and it resolves fine. Here's the
next catch. If I manually issue the command 'squid -k reconfigure' as
root, it will pick up the new entries, and off we go. But since this is
a Knoppix distribution, I eventually want to lock down the ability of
the user to be able to issue these commands on their own. Defeats the
purpose of a kid proof distro when the kids can stop the processes
implemented to keep them safe.
If anyone is still with me, it boils down to how can you get Squid to
reload the resolv.conf file even if it's on a set timeframe, like each
minute? I have tried with a crontab entry - no luck. I need it to be
"squid" contained and not another script or program causing this.
Thanks in advance,
Isaac
- Next message: sandy: "How to use ospfd and zebra on virtual interfaces?"
- Previous message: Kenneth Sparre: "serial interface to ethernet interface"
- Next in thread: Raqueeb Hassan: "Re: Squid problem."
- Reply: Raqueeb Hassan: "Re: Squid problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|