Greg Playle wrote:

I've been fighting this for a bit, and don't seem to be making headway.


ok, lets see..


No subnet declaration for eth0(0.0.0.0)
Please write a subnet declaration for eth0 in your dhcpd.conf


dhcpd tells us here that the address for eth0 is 0.0.0.0 hmm, that's odd. This is your internal network interface, so it should be 192.16.1.254


# dhcp.conf file
dynamic-bootp-lease-length 604800;
max-lease-time 1209600;

subnet 192.168.1.0 netmask 255.255.255.0 {
   option routers 192.168.1.254;
   option domain-name "thrn";
   option domain-name-servers 192.168.1.254;
   range 192.168.1.1 192.168.1.199;
}


well, that should issue IPs, at least.. if it could find a configured eth0, which it can't.


ping 192.168.1.254 output:
PING 192.168.1.254 (192.168.1.254): 56 data bytes
ping: sendto: operation not permitted


something is wrong with that interface.


3: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 3
   link/ppp
   inet 10.64.64.64 peer 10.112.112.112/32 scope global ppp0


odd, but unrelated.


4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 100
   link/ether 00:60:08:8a:0d:4d brd ff:ff:ff:ff:ff:ff


This interface is not configured. It has no IP address, and therefore dhcpd will not function over it. If the interface exists, then it must have a kernel module loaded...


********************
lsmod output:
Module         Pages    Used by
3c589_cs                8580   0 (unused)
ds                      6796   2 [3c589_cs]
i82365                 27044   2
pcmcia_core            41088   0 [3c589_cs ds i82365]
ip_nat_irc              2176   0 (unused)
ip_nat_ftp              2784   0 (unused)
ip_conntrack_irc        2880   1
ip_conntrack_ftp        3648   1
ppp_async               6284   0 (unused)
ppp_generic            16152   1 [ppp_async]
slhc                    4352   0 [ppp_generic]


I can see no module here that looks like an ethernet driver. Either you
have the driver (for your ethernet chipset) built in to the kernel, or it is not loaded.


What is the ethernet chipset for eth0 ? Try to insmod the module for it and see what happens.

shorewall status output:


unrelated.


daemon.log from /var/log:


no mention of eth0 in here.


Jul 26 18:51:14 firewall dhcpd:
Jul 26 18:51:14 firewall dhcpd: No subnet declaration for eth0 (0.0.0.0).
Jul 26 18:51:14 firewall cardmgr[24938]: + /sbin/ifup: interface eth0 already configured



dhcpd asks cardmgr to ifup eth0 to see if it can rectify the situation.


Jul 26 18:51:14 firewall dhcpd: Please write a subnet declaration in your dhcpd.conf file for the


and fails...


# /etc/network/interfaces
auto lo ppp0 eth0
iface lo inet loopback
iface ppp0 inet ppp
      provider provider

iface eth0 inet static
      address 192.168.1.254
      masklen 24
      broadcast 192.168.1.255


here are your interface settings. dunno why it did not assign 192.168.1.254 to eth0 coz you told it to.



up pon up /etc/init.d/dnscache restart


At this point, we need to kick eth0 into life.


add "/etc/init.d/network restart" or whatever the command is. Let's see if eth0 will come up.

up dhcpd restart
up shorewall restart
down shorewall stop
down /etc/init.d/dnscache stop
down poff


# pump configuration
retries 3
script "/etc/pump.shorewall"
device eth0 {
        nodns
}


huh? is pump running on eth0 ? Do you want eth0 to get its' address with pump, or do you want it set static ?
Do `ps ax` and see if pump is running.



HTH, Steve






------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to