Now that squid is installed, we need to be able to access it from other computers on the network. If you are currently running ICS, then you will need to turn it off, as you only want to let your neighbours access the internet through your shiny new proxy server. If you are not connected all the time, then you will need to set your broadband dialup connection to connect automatically, otherwise your neighbours will only be able to access the internet when you are manually dialed up.
It doesn't matter whether the pc you have installed it on, has a wireless card, or an ethernet network card, that is connected to the other computers either directly or via a wireless access point. Most wireless access points allocate IP addresses to both wireless and wired computers by DHCP, so if you type ipconfig into a dos prompt, it should show an ip address of something like either 10.0.0.* or 192.168.0.* . If it is starts with 169.*.*.* then that means that windows is just making up random addresses to use, which while ok, won't make sharing your connection any easier.
You need to note down the internal network ip address of the computer running your proxy server, as the other computers on the network will have to be configured to use that address for their proxy server.
The computer that is running squid, can still access the internet as normal, as it doesn't need to go via the proxy, but all the other computers need to use squid to access the internet. For simplicity, I'm assuming you are running windows and Internet Explorer on all the other computers. If you've a Mac then I'm sorry but I don't know hwo to configure that, though I'm sure it will be similar to the Windows IE setup.
Now for the moment of truth. Make sure the proxy pc is connected to the internet, and that squid is running. Now go to one of the other computers and start Internet Explorer. Go to the Tools->Internet Options menu
Now click on the connections tab. If they have dialup networking connections, click on never dial a connection option, as they will be accsesing the internet via your proxy server. Now click on the Lan Settings button, and fill in the proxy server settings with your proxy servers internal ip address
Now type http://www.microsoft.com/ into the address bar and press return (or GO) and you should see microsofts web site appear. If you get an error from the proxy server as below (click on the picture to get a bigger example)
Then this means you have connected to the proxy server, but squid has been unable to access the page. Have a look at the reason show to see if that explains why you cannot connect. Are you dialed up? Are the dns entries right? If you get a different error, then that probably means you cannot connect to the proxy server. Is it running? Try pinging it from the a dos prompt. Type ping followed by the address of the proxy server (e.g. ping 192.168.0.5) If the pings time out, then that means your network is not working properly.
|© 2002-2010 wireless.gumph.org|