Hi There Treat your Proxy server as a normal pc dialing to your ISP, like:
Under your /etc/resolve.conf file, add the DNS servers your ISP provide. This file should contain two lines search yourdomain.com nameserver 196.196.196.196 This will resolve the DNS problem. Make sure that the squid server can get its own hostname, test by typing squid -z on the command line, and tail your access.log file for errors. If it does have a problem resolving its hostname, just edit your squid.conf file, and add your hostname: visible_hostname proxy.yourdomain.com Edit your /etc/hosts file, and split the hostname for localhost as well: 127.0.0.1 localhost localhost.localdomain 196.196.196.196 proxy.yourdomain.com Only do this if your Dial up is static, and you have the same ip every time when you dial up. If not, just take out the second line I made in the /etc/hosts file. Let me know if you WANT SQUID to dial up the connection if it gets a request or NOT. Cause then you would have to change the half_closed_clients off client_lifetime 10 minutes This is to prevent some user from browsing the net, and going to the bathroom, and forgetting that he is connected. This would allow squid to close a connection if not used, and not cause hang up connections. This is just extra things I am thinking of. Regards Gert Brits Senior Engineer Technology Concepts Tel +27 11 803 2169 Fax +27 11 803 2189 http://www.techconcepts.co.za -----Original Message----- From: Brent Clark [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 4:38 PM To: Gert Brits; Squid-Users Subject: RE: [squid-users] Squid on a ppp box Hi Gert Thanks for you reply, I really appreciate it. But my next question, it then. Will no errors be displayed etc, due to not dns querys been resolved or no internet connection available. Is there not a patch or a script to tell squid that the connection it not available, or down etc. For example (I know the two are different, but this is just an example) A while ago I used qmail for my ppp box, I had to patch qmail and setup a script in the ip-up.d (or down) that would tell qmail that the link is, going down. I know my example it a bit, lame and that im probally comparing apple to pears, but im just trying to get all the info I can before I try and make mission of trying to setup squid. I do have wwwoffle on my box current;y, which works fantasticlly, but there is no challenge in setting up the off line cache \ proxy server Kind Regards and thanks once again Brent Clark -----Original Message----- From: Gert Brits [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 3:18 PM To: Squid-Users Subject: RE: [squid-users] Squid on a ppp box Hi There Setting it up for a ppp line is not much different. Ensure to run squid on 0.0.0.0 and not an ip address, to make it easier to work. Try and find a cache server for your ISP, and use that as your parent server. Let us know if you have any specific problems Regards Gert Brits Senior Engineer Technology Concepts Tel +27 11 803 2169 Fax +27 11 803 2189 http://www.techconcepts.co.za -----Original Message----- From: Brent Clark [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 3:06 PM To: Squid-Users Subject: [squid-users] Squid on a ppp box Hi all im new to the list and basically wanted to say hi and ask my first question. Would anyone know, have a url \ link, or have experience in setting up squid for a linux box that connects to the internet only via ppp. if anyone could assist, that would be most apprecitatd Kind Regards Brent Clark
