Re: [squid-users] Squid not working for me

From: Indunil Jayasooriya <indunil75@dont-contact.us>
Date: Tue, 8 Jan 2008 15:29:50 +0530

> > I have a laptop running XP (Home) connected to eth1 which reports the
> > following in response to 'ipconfig'

> > IP Address ..........192.168.60.199
> > Default Gateway....192.168.60.254

> > My Laptop cannot access the Internet, it just says "Server not found"
Hey, Could you pls check DNS entries in your Windows XP PC.
I think We will have to look in to it as well. You have a DHCP server
that assingns ips to clients. Does it also assign Dns to clients?

just try whether something similar given below are in your dchpd.conf
file in Ubuntu box.

 option domain-name "domain.org";
 option domain-name-servers 192.168.1.1,192.168.1.2;

here is my /etc/dhcpd.conf file on Centos 4.5. where squid 2.5 is
running as transparent intercepting

[root@netmonitor ~]# cat /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;

subnet 192.168.101.0 netmask 255.255.255.0 {
        authoritative;

# --- default gateway
        option routers 192.168.101.254;
        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.101.255;
# option nis-domain "domain.org";
        option domain-name " domain.org";
# option domain-name-servers 192.168.1.1;
        option domain-name-servers 192.168.100.124, 192.168.100.127;
        option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;

        range dynamic-bootp 192.168.101.225 192.168.101.230;
        default-lease-time 21600;
        max-lease-time 43200;

# Don't forward DHCP requests from this
# NIC interface to any other NIC
# interfaces

        option ip-forwarding off;

        # we want the nameserver to appear at a fixed address
# host ns {
# next-server marvin.redhat.com;
# hardware ethernet 12:34:56:78:AB:CD;
# fixed-address 207.175.42.254;
# }

}

#
# List an unused interface here
#
subnet 192.168.100.0 netmask 255.255.255.0 {
}

my dhcp server assigns both ip addresses and dns servers to clinets.

> Please use Squid 2.6STABLE17 or 3.0STABLE1.
> There are serious security advisories out on all earlier releases.
YES of course.

-- 
Thank you
Indunil Jayasooriya
Received on Tue Jan 08 2008 - 02:59:55 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:04 MST