It doesn't matter where you put anything in the configuration file. It's broken up into sections to help readability.
Printable View
It doesn't matter where you put anything in the configuration file. It's broken up into sections to help readability.
Geoff
I have been playing around for about 2 days now not really getting anywhere. I noticed that after editing the conf file I was getting FAILED in the startup for the firewall.
So I reinstalled Clarkconnect all was fine untill I tried to edit the squid config file. Then on reboot I got this Failed again.
I am using notepad to do the editing and I am thinking after re reading your posts that this my be the problem, if it is can you recomend a freeware text editor for this purpose.
www.textpad.com not free but it just nags you to pay for it.
metapad or PSPad, both freeware.
It might be a good idea to learn using a *nix text editor on windows.
Vi and emacs are both available for windows:
http://www.vim.org/download.php
http://www.gnu.org/software/emacs/windows/ntemacs.html
Its can be a religious debate as to which is 'better'
Well I must be doing something wrong!!
I have just tried editing the config file with textpad and the samething happens.
Here is what I am doing
1. connect to the Linux box with winSCP
2. browse to the config file
3. save to the desktop
4 edit with textpad
5 upload the config file
6. reboot the linuxbox
7. firewall fails on reboot
8. putting the config file back to its original state fails
Is there a command that I can use to check the installation of squid ect
you'll need to login via ssh or on the console:Quote:
Is there a command that I can use to check the installation of squid ect
locate the squid binary file - I assume its in /usr/sbin/squid -but depends on your distro.
might helpCode:whereis squid
will output any errors in the config.Code:/usr/sbin/squid -k parse
you shouldn't need to reboot - tryandCode:/etc/init.d/squid restart
to see if its runningCode:/etc/init.d/squid status
Thanks for all that, what a learning curve this is turning into!
It seems that there are no errors in the config file, so I guess I need to check the lines I am entering again to make sure I have got everthing correct
Hi Back again, Well I have had the box talking to the internet, when I put the dns server addresses for the ISP into the settings, but if I reboot the settings revert back to the network DNS and therefore the can't talk to the internet. Once I correct this problem it can take nearly a day before the internet is back.
Any Ideas?
You're not using DHCP on this box are you?
What are the contents of your interfaces and resolv.conf files ?
The DHCP on the box is not running, although there is DHCP on my network
This is the Resol.conf
I don't know where the interface.conf is on the system ( still learning )Code:; generated by /sbin/dhclient-script
search schoolname.lea.sch.uk
nameserver 10.2.x.x
nameserver 62.171.x.x
nameserver 62.171.x.x
Perhaps you could try a recursive GREP to see if there is another file with your normal LAN DNS settings